Home
last modified time | relevance | path

Searched refs:device (Results 1 – 25 of 96) sorted by relevance

1234

/net/bridge/
A Dbr_sysfs_br.c31 static ssize_t store_bridge_parm(struct device *d, in store_bridge_parm()
66 static ssize_t forward_delay_show(struct device *d, in forward_delay_show()
79 static ssize_t forward_delay_store(struct device *d, in forward_delay_store()
100 static ssize_t hello_time_store(struct device *d, in hello_time_store()
128 static ssize_t ageing_time_show(struct device *d, in ageing_time_show()
141 static ssize_t ageing_time_store(struct device *d, in ageing_time_store()
149 static ssize_t stp_state_show(struct device *d, in stp_state_show()
163 static ssize_t stp_state_store(struct device *d, in stp_state_store()
298 static ssize_t group_addr_show(struct device *d, in group_addr_show()
355 static ssize_t flush_store(struct device *d, in flush_store()
[all …]
/net/sunrpc/xprtrdma/
A Dib_client.c39 if (!device) in rpcrdma_get_client_data()
56 int rpcrdma_rn_register(struct ib_device *device, in rpcrdma_rn_register() argument
69 trace_rpcrdma_client_register(device, rn); in rpcrdma_rn_register()
87 void rpcrdma_rn_unregister(struct ib_device *device, in rpcrdma_rn_unregister() argument
95 trace_rpcrdma_client_unregister(device, rn); in rpcrdma_rn_unregister()
107 static int rpcrdma_add_one(struct ib_device *device) in rpcrdma_add_one() argument
117 rd->rd_device = device; in rpcrdma_add_one()
121 trace_rpcrdma_client_add_one(device); in rpcrdma_add_one()
140 trace_rpcrdma_client_remove_one(device); in rpcrdma_remove_one()
151 trace_rpcrdma_client_wait_on(device); in rpcrdma_remove_one()
[all …]
A Dverbs.c381 struct ib_device *device; in rpcrdma_ep_create() local
398 device = id->device; in rpcrdma_ep_create()
405 rc = frwr_query_device(ep, device); in rpcrdma_ep_create()
456 min_t(int, U8_MAX, device->attrs.max_qp_rd_atom); in rpcrdma_ep_create()
471 ep->re_pd = ib_alloc_pd(device, 0); in rpcrdma_ep_create()
753 struct ib_device *device = ep->re_id->device; in rpcrdma_mrs_create() local
762 ibdev_to_node(device)); in rpcrdma_mrs_create()
952 struct ib_device *device = ep->re_id->device; in rpcrdma_rep_create() local
961 ibdev_to_node(device)); in rpcrdma_rep_create()
1304 struct ib_device *device = r_xprt->rx_ep->re_id->device; in __rpcrdma_regbuf_dma_map() local
[all …]
A Dsvc_rdma_sendto.c119 int node = ibdev_to_node(rdma->sc_cm_id->device); in svc_rdma_send_ctxt_alloc()
139 addr = ib_dma_map_single(rdma->sc_pd->device, buffer, in svc_rdma_send_ctxt_alloc()
141 if (ib_dma_mapping_error(rdma->sc_pd->device, addr)) in svc_rdma_send_ctxt_alloc()
183 ib_dma_unmap_single(rdma->sc_pd->device, in svc_rdma_send_ctxts_destroy()
237 struct ib_device *device = rdma->sc_cm_id->device; in svc_rdma_send_ctxt_release() local
252 ib_dma_unmap_page(device, in svc_rdma_send_ctxt_release()
360 ib_dma_sync_single_for_device(rdma->sc_pd->device, in svc_rdma_post_send()
578 struct ib_device *dev = rdma->sc_cm_id->device; in svc_rdma_page_dma_map()
A Dfrwr_ops.c130 ibdev_to_node(ep->re_id->device)); in frwr_mr_init()
172 int frwr_query_device(struct rpcrdma_ep *ep, const struct ib_device *device) in frwr_query_device() argument
174 const struct ib_device_attr *attrs = &device->attrs; in frwr_query_device()
181 device->name); in frwr_query_device()
313 dma_nents = ib_dma_map_sg(ep->re_id->device, mr->mr_sg, mr->mr_nents, in frwr_map()
317 mr->mr_device = ep->re_id->device; in frwr_map()
A Dsvc_rdma_transport.c242 ibdev_to_node(new_cma_id->device)); in handle_connect_req()
308 cma_id->device->name); in svc_rdma_listen_handler()
434 dev = newxprt->sc_cm_id->device; in svc_rdma_accept()
598 struct ib_device *device = rdma->sc_cm_id->device; in __svc_rdma_free() local
628 rpcrdma_rn_unregister(device, &rdma->sc_rn); in __svc_rdma_free()
/net/rds/
A Dib.c134 if (device->node_type != RDMA_NODE_IB_CA) in rds_ib_add_one()
142 ibdev_to_node(device)); in rds_ib_add_one()
153 rds_ibdev->max_wrs = device->attrs.max_qp_wr; in rds_ib_add_one()
157 !!(device->attrs.kernel_cap_flags & in rds_ib_add_one()
164 rds_ibdev->max_1m_mrs = device->attrs.max_mr ? in rds_ib_add_one()
168 rds_ibdev->max_8k_mrs = device->attrs.max_mr ? in rds_ib_add_one()
185 rds_ibdev->dev = device; in rds_ib_add_one()
186 rds_ibdev->pd = ib_alloc_pd(device, 0); in rds_ib_add_one()
213 pr_info("RDS/IB: %s: added\n", device->name); in rds_ib_add_one()
478 if (ret || !cm_id->device || in rds_ib_laddr_check()
[all …]
/net/atm/
A Datm_sysfs.c14 static ssize_t type_show(struct device *cdev, in type_show()
22 static ssize_t address_show(struct device *cdev, in address_show()
30 static ssize_t atmaddress_show(struct device *cdev, in atmaddress_show()
53 static ssize_t atmindex_show(struct device *cdev, in atmindex_show()
61 static ssize_t carrier_show(struct device *cdev, in carrier_show()
70 static ssize_t link_rate_show(struct device *cdev, in link_rate_show()
111 static int atm_uevent(const struct device *cdev, struct kobj_uevent_env *env) in atm_uevent()
126 static void atm_release(struct device *cdev) in atm_release()
139 int atm_register_sysfs(struct atm_dev *adev, struct device *parent) in atm_register_sysfs()
141 struct device *cdev = &adev->class_dev; in atm_register_sysfs()
[all …]
A Dbr2684.c68 struct net_device *device; member
189 pr_debug("(vcc %p ; net_dev %p )\n", vcc, brvcc->device); in br2684_pop()
194 netif_wake_queue(brvcc->device); in br2684_pop()
262 netif_stop_queue(brvcc->device); in br2684_xmit_vcc()
265 netif_wake_queue(brvcc->device); in br2684_xmit_vcc()
279 netif_wake_queue(brvcc->device); in br2684_release_cb()
323 netif_stop_queue(brvcc->device); in br2684_start_xmit()
411 pr_debug("removing VCC %p from dev %p\n", brvcc, brvcc->device); in br2684_close_vcc()
426 struct net_device *net_dev = brvcc->device; in br2684_push()
589 brvcc->device = net_dev; in br2684_regvcc()
/net/wireless/
A Dsysfs.c22 struct device *dev) in dev_to_rdev()
28 static ssize_t name ## _show(struct device *dev, \
40 static ssize_t name_show(struct device *dev, in name_show()
50 static ssize_t addresses_show(struct device *dev, in addresses_show()
78 static void wiphy_dev_release(struct device *dev) in wiphy_dev_release()
94 static int wiphy_suspend(struct device *dev) in wiphy_suspend()
127 static int wiphy_resume(struct device *dev) in wiphy_resume()
157 static const void *wiphy_namespace(const struct device *d) in wiphy_namespace()
/net/ieee802154/
A Dsysfs.c20 dev_to_rdev(struct device *dev) in dev_to_rdev()
27 static ssize_t name ## _show(struct device *dev, \
37 static ssize_t name_show(struct device *dev, in name_show()
47 static void wpan_phy_release(struct device *dev) in wpan_phy_release()
62 static int wpan_phy_suspend(struct device *dev) in wpan_phy_suspend()
76 static int wpan_phy_resume(struct device *dev) in wpan_phy_resume()
/net/core/
A Dnet-sysfs.c313 static ssize_t carrier_show(struct device *dev, in carrier_show()
338 static ssize_t speed_show(struct device *dev, in speed_show()
366 static ssize_t duplex_show(struct device *dev, in duplex_show()
710 struct device *dev = kobj_to_dev(kobj); in netdev_phys_is_visible()
1185 struct device *dev = &queue->dev->dev; in rx_queue_namespace()
1935 struct device *dev = &queue->dev->dev; in netdev_queue_namespace()
2240 static void netdev_release(struct device *d) in netdev_release()
2300 struct device *dev; in of_find_net_device_by_node()
2316 struct device *dev = &ndev->dev; in netdev_unregister_kobject()
2333 struct device *dev = &ndev->dev; in netdev_register_kobject()
[all …]
/net/
A Ddevres.c14 static void devm_free_netdev(struct device *dev, void *this) in devm_free_netdev()
21 struct net_device *devm_alloc_etherdev_mqs(struct device *dev, int sizeof_priv, in devm_alloc_etherdev_mqs()
42 static void devm_unregister_netdev(struct device *dev, void *this) in devm_unregister_netdev()
49 static int netdev_devres_match(struct device *dev, void *this, void *match_data) in netdev_devres_match()
67 int devm_register_netdev(struct device *dev, struct net_device *ndev) in devm_register_netdev()
/net/bluetooth/
A Dhci_sysfs.c13 static void bt_link_release(struct device *dev) in bt_link_release()
70 struct device *dev; in hci_conn_del_sysfs()
82 static void bt_host_release(struct device *dev) in bt_host_release()
93 static ssize_t reset_store(struct device *dev, struct device_attribute *attr, in reset_store()
119 struct device *dev = &hdev->dev; in hci_init_sysfs()
/net/rfkill/
A Dcore.c61 struct device dev;
691 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show()
700 static ssize_t type_show(struct device *dev, struct device_attribute *attr, in type_show()
718 static ssize_t persistent_show(struct device *dev, in persistent_show()
774 static ssize_t hard_block_reasons_show(struct device *dev, in hard_block_reasons_show()
846 static void rfkill_release(struct device *dev) in rfkill_release()
909 static int rfkill_suspend(struct device *dev) in rfkill_suspend()
919 static int rfkill_resume(struct device *dev) in rfkill_resume()
982 struct device *parent, in rfkill_alloc()
988 struct device *dev; in rfkill_alloc()
[all …]
/net/tls/
A Dtls_toe.c127 void tls_toe_register_device(struct tls_toe_device *device) in tls_toe_register_device() argument
130 list_add_tail(&device->dev_list, &device_list); in tls_toe_register_device()
135 void tls_toe_unregister_device(struct tls_toe_device *device) in tls_toe_unregister_device() argument
138 list_del(&device->dev_list); in tls_toe_unregister_device()
/net/l3mdev/
A DKconfig3 # Configuration for L3 master device support
7 bool "L3 Master device support"
10 This module provides glue between core networking code and device
/net/batman-adv/
A Dtrace.h37 __string(device, bat_priv->mesh_iface->name)
43 __assign_str(device);
51 __get_str(device),
/net/9p/
A Dtrans_rdma.c301 ib_dma_unmap_single(rdma->cm_id->device, c->busa, client->msize, in recv_done()
348 ib_dma_unmap_single(rdma->cm_id->device, in send_done()
390 c->busa = ib_dma_map_single(rdma->cm_id->device, in post_recv()
393 if (ib_dma_mapping_error(rdma->cm_id->device, c->busa)) in post_recv()
409 ib_dma_unmap_single(rdma->cm_id->device, c->busa, in post_recv()
485 c->busa = ib_dma_map_single(rdma->cm_id->device, in rdma_request()
488 if (ib_dma_mapping_error(rdma->cm_id->device, c->busa)) { in rdma_request()
524 ib_dma_unmap_single(rdma->cm_id->device, c->busa, in rdma_request()
697 rdma->cq = ib_alloc_cq_any(rdma->cm_id->device, client, in rdma_create_trans()
704 rdma->pd = ib_alloc_pd(rdma->cm_id->device, 0); in rdma_create_trans()
/net/switchdev/
A DKconfig3 # Configuration for Switch device support
7 bool "Switch (and switch-ish) device support"
10 This module provides glue between core networking code and device
/net/caif/
A DKconfig35 tristate "CAIF GPRS Network device"
39 Say Y if you will be using a CAIF based GPRS network device.
41 If you select to build it as a built-in then the main CAIF device must
52 If you select to build it as a built-in then the main CAIF device must
/net/mac80211/
A Dwbrf.c17 struct device *dev; in ieee80211_check_wbrf_support()
69 struct device *dev; in ieee80211_add_wbrf()
84 struct device *dev; in ieee80211_remove_wbrf()
/net/rose/
A Daf_rose.c196 if (rose->device == dev) { in rose_kill_by_device()
212 if (rose->device == dev) { in rose_kill_by_device()
216 netdev_put(rose->device, &rose->dev_tracker); in rose_kill_by_device()
217 rose->device = NULL; in rose_kill_by_device()
629 rose->device = orose->device; in rose_make_new()
630 if (rose->device) in rose_make_new()
686 netdev_put(rose->device, &rose->dev_tracker); in rose_release()
687 rose->device = NULL; in rose_release()
745 rose->device = dev; in rose_bind()
849 rose->device = dev; in rose_connect()
[all …]
/net/ethernet/
A Deth.c487 int eth_platform_get_mac_address(struct device *dev, u8 *mac_addr) in eth_platform_get_mac_address()
514 int platform_get_ethdev_address(struct device *dev, struct net_device *netdev) in platform_get_ethdev_address()
535 int nvmem_get_mac_address(struct device *dev, void *addrbuf) in nvmem_get_mac_address()
614 int device_get_mac_address(struct device *dev, char *addr) in device_get_mac_address()
628 int device_get_ethdev_address(struct device *dev, struct net_device *netdev) in device_get_ethdev_address()
/net/qrtr/
A Dmhi.c17 struct device *dev;
121 static int __maybe_unused qcom_mhi_qrtr_pm_suspend_late(struct device *dev) in qcom_mhi_qrtr_pm_suspend_late()
139 static int __maybe_unused qcom_mhi_qrtr_pm_resume_early(struct device *dev) in qcom_mhi_qrtr_pm_resume_early()

Completed in 48 milliseconds

1234