Home
last modified time | relevance | path

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

1234

/net/bridge/
Dbr_sysfs_br.c27 static ssize_t store_bridge_parm(struct device *d, in store_bridge_parm()
55 static ssize_t forward_delay_show(struct device *d, in forward_delay_show()
62 static ssize_t forward_delay_store(struct device *d, in forward_delay_store()
70 static ssize_t hello_time_show(struct device *d, struct device_attribute *attr, in hello_time_show()
77 static ssize_t hello_time_store(struct device *d, in hello_time_store()
85 static ssize_t max_age_show(struct device *d, struct device_attribute *attr, in max_age_show()
92 static ssize_t max_age_store(struct device *d, struct device_attribute *attr, in max_age_store()
99 static ssize_t ageing_time_show(struct device *d, in ageing_time_show()
111 static ssize_t ageing_time_store(struct device *d, in ageing_time_store()
119 static ssize_t stp_state_show(struct device *d, in stp_state_show()
[all …]
/net/rds/
Dib.c128 static int rds_ib_add_one(struct ib_device *device) in rds_ib_add_one() argument
134 if (device->node_type != RDMA_NODE_IB_CA) in rds_ib_add_one()
138 if (!(device->attrs.device_cap_flags & IB_DEVICE_MEM_MGT_EXTENSIONS)) 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()
154 rds_ibdev->max_sge = min(device->attrs.max_send_sge, RDS_IB_MAX_SGE); in rds_ib_add_one()
157 !!(device->attrs.device_cap_flags & in rds_ib_add_one()
159 !!(device->attrs.odp_caps.per_transport_caps.rc_odp_caps & in rds_ib_add_one()
161 !!(device->attrs.odp_caps.per_transport_caps.rc_odp_caps & in rds_ib_add_one()
164 rds_ibdev->max_1m_mrs = device->attrs.max_mr ? in rds_ib_add_one()
[all …]
/net/atm/
Datm_sysfs.c14 static ssize_t show_type(struct device *cdev, in show_type()
22 static ssize_t show_address(struct device *cdev, in show_address()
30 static ssize_t show_atmaddress(struct device *cdev, in show_atmaddress()
53 static ssize_t show_atmindex(struct device *cdev, in show_atmindex()
61 static ssize_t show_carrier(struct device *cdev, in show_carrier()
70 static ssize_t show_link_rate(struct device *cdev, in show_link_rate()
111 static int atm_uevent(struct device *cdev, struct kobj_uevent_env *env) in atm_uevent()
128 static void atm_release(struct device *cdev) in atm_release()
141 int atm_register_sysfs(struct atm_dev *adev, struct device *parent) in atm_register_sysfs()
143 struct device *cdev = &adev->class_dev; in atm_register_sysfs()
[all …]
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()
587 brvcc->device = net_dev; in br2684_regvcc()
/net/wireless/
Dsysfs.c21 struct device *dev) in dev_to_rdev()
27 static ssize_t name ## _show(struct device *dev, \
39 static ssize_t name_show(struct device *dev, in name_show()
49 static ssize_t addresses_show(struct device *dev, in addresses_show()
77 static void wiphy_dev_release(struct device *dev) in wiphy_dev_release()
84 static int wiphy_uevent(struct device *dev, struct kobj_uevent_env *env) in wiphy_uevent()
99 static int wiphy_suspend(struct device *dev) in wiphy_suspend()
126 static int wiphy_resume(struct device *dev) in wiphy_resume()
148 static const void *wiphy_namespace(struct device *d) in wiphy_namespace()
/net/ieee802154/
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/
Dnet-sysfs.c41 static ssize_t netdev_show(const struct device *dev, in netdev_show()
62 static ssize_t field##_show(struct device *dev, \
77 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, in netdev_store()
114 static ssize_t iflink_show(struct device *dev, struct device_attribute *attr, in iflink_show()
128 static ssize_t name_assign_type_show(struct device *dev, in name_assign_type_show()
143 static ssize_t address_show(struct device *dev, struct device_attribute *attr, in address_show()
157 static ssize_t broadcast_show(struct device *dev, in broadcast_show()
175 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr, in carrier_store()
189 static ssize_t carrier_show(struct device *dev, in carrier_show()
201 static ssize_t speed_show(struct device *dev, in speed_show()
[all …]
/net/
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/wimax/
Dop-rfkill.c82 struct device *dev = wimax_dev_to_dev(wimax_dev); in wimax_report_rfkill_hw()
137 struct device *dev = wimax_dev_to_dev(wimax_dev); in wimax_report_rfkill_sw()
194 struct device *dev = wimax_dev_to_dev(wimax_dev); in __wimax_rf_toggle_radio()
237 struct device *dev = wimax_dev_to_dev(wimax_dev); in wimax_rfkill_set_radio_block()
288 struct device *dev = wimax_dev_to_dev(wimax_dev); in wimax_rfkill()
336 struct device *dev = wimax_dev_to_dev(wimax_dev); in wimax_rfkill_add()
380 struct device *dev = wimax_dev_to_dev(wimax_dev); in wimax_rfkill_rm()
402 struct device *dev; in wimax_gnl_doit_rfkill()
Dstack.c92 struct device *dev = wimax_dev_to_dev(wimax_dev); in wimax_gnl_re_state_change_alloc()
158 struct device *dev = wimax_dev_to_dev(wimax_dev); in wimax_gnl_re_state_change_send()
191 struct device *dev = wimax_dev_to_dev(wimax_dev); in __wimax_state_change()
468 struct device *dev = net_dev->dev.parent; in wimax_dev_add()
Dop-msg.c111 struct device *dev = wimax_dev_to_dev(wimax_dev); in wimax_msg_alloc()
260 struct device *dev = wimax_dev_to_dev(wimax_dev); in wimax_msg_send()
321 struct device *dev; in wimax_gnl_doit_msg_from_user()
/net/bluetooth/
Dhci_sysfs.c11 static void bt_link_release(struct device *dev) in bt_link_release()
27 static int __match_tty(struct device *dev, void *data) in __match_tty()
75 struct device *dev; in hci_conn_del_sysfs()
87 static void bt_host_release(struct device *dev) in bt_host_release()
104 struct device *dev = &hdev->dev; in hci_init_sysfs()
/net/l3mdev/
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/tls/
Dtls_toe.c125 void tls_toe_register_device(struct tls_toe_device *device) in tls_toe_register_device() argument
128 list_add_tail(&device->dev_list, &device_list); in tls_toe_register_device()
133 void tls_toe_unregister_device(struct tls_toe_device *device) in tls_toe_unregister_device() argument
136 list_del(&device->dev_list); in tls_toe_unregister_device()
/net/rfkill/
Dcore.c59 struct device dev;
669 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show()
678 static ssize_t type_show(struct device *dev, struct device_attribute *attr, in type_show()
687 static ssize_t index_show(struct device *dev, struct device_attribute *attr, in index_show()
696 static ssize_t persistent_show(struct device *dev, in persistent_show()
705 static ssize_t hard_show(struct device *dev, struct device_attribute *attr, in hard_show()
714 static ssize_t soft_show(struct device *dev, struct device_attribute *attr, in soft_show()
722 static ssize_t soft_store(struct device *dev, struct device_attribute *attr, in soft_store()
757 static ssize_t state_show(struct device *dev, struct device_attribute *attr, in state_show()
765 static ssize_t state_store(struct device *dev, struct device_attribute *attr, in state_store()
[all …]
/net/switchdev/
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/batman-adv/
Dtrace.h41 __string(device, bat_priv->soft_iface->name)
47 __assign_str(device, bat_priv->soft_iface->name);
58 __get_str(device),
/net/9p/
Dtrans_rdma.c302 ib_dma_unmap_single(rdma->cm_id->device, c->busa, client->msize, in recv_done()
349 ib_dma_unmap_single(rdma->cm_id->device, in send_done()
391 c->busa = ib_dma_map_single(rdma->cm_id->device, in post_recv()
394 if (ib_dma_mapping_error(rdma->cm_id->device, c->busa)) in post_recv()
410 ib_dma_unmap_single(rdma->cm_id->device, c->busa, in post_recv()
486 c->busa = ib_dma_map_single(rdma->cm_id->device, in rdma_request()
489 if (ib_dma_mapping_error(rdma->cm_id->device, c->busa)) { in rdma_request()
525 ib_dma_unmap_single(rdma->cm_id->device, c->busa, in rdma_request()
698 rdma->cq = ib_alloc_cq_any(rdma->cm_id->device, client, in rdma_create_trans()
705 rdma->pd = ib_alloc_pd(rdma->cm_id->device, 0); in rdma_create_trans()
/net/sunrpc/xprtrdma/
Dverbs.c270 ep->re_id->device->name, sap); in rpcrdma_cm_event_handler()
307 ep->re_id->device->name, rdma_event_msg(event->event)); in rpcrdma_cm_event_handler()
398 struct ib_device *device; in rpcrdma_ep_create() local
415 device = id->device; in rpcrdma_ep_create()
421 rc = frwr_query_device(ep, device); in rpcrdma_ep_create()
447 ep->re_attr.send_cq = ib_alloc_cq_any(device, r_xprt, in rpcrdma_ep_create()
456 ep->re_attr.recv_cq = ib_alloc_cq_any(device, r_xprt, in rpcrdma_ep_create()
482 min_t(int, U8_MAX, device->attrs.max_qp_rd_atom); in rpcrdma_ep_create()
497 ep->re_pd = ib_alloc_pd(device, 0); in rpcrdma_ep_create()
1190 ib_dma_unmap_sg(r_xprt->rx_ep->re_id->device, in rpcrdma_mr_put()
[all …]
Dsvc_rdma_sendto.c149 addr = ib_dma_map_single(rdma->sc_pd->device, buffer, in svc_rdma_send_ctxt_alloc()
151 if (ib_dma_mapping_error(rdma->sc_pd->device, addr)) in svc_rdma_send_ctxt_alloc()
189 ib_dma_unmap_single(rdma->sc_pd->device, in svc_rdma_send_ctxts_destroy()
244 struct ib_device *device = rdma->sc_cm_id->device; in svc_rdma_send_ctxt_put() local
251 ib_dma_unmap_page(device, in svc_rdma_send_ctxt_put()
312 ib_dma_sync_single_for_device(rdma->sc_pd->device, in svc_rdma_send()
515 struct ib_device *dev = rdma->sc_cm_id->device; in svc_rdma_dma_map_page()
Dfrwr_ops.c76 ib_dma_unmap_sg(r_xprt->rx_ep->re_id->device, in frwr_mr_recycle()
168 int frwr_query_device(struct rpcrdma_ep *ep, const struct ib_device *device) in frwr_query_device() argument
170 const struct ib_device_attr *attrs = &device->attrs; in frwr_query_device()
177 device->name); in frwr_query_device()
315 dma_nents = ib_dma_map_sg(ep->re_id->device, mr->mr_sg, mr->mr_nents, in frwr_map()
/net/ax25/
DTODO6 A device might be deleted after lookup in the SIOCADDRT ioctl but before it's
9 Routes to a device being taken down might be deleted by ax25_rt_device_down
10 but added by somebody else before the device has been deleted fully.
/net/caif/
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/rose/
Daf_rose.c195 if (rose->device == dev) { in rose_kill_by_device()
211 if (rose->device == dev) { in rose_kill_by_device()
215 dev_put(rose->device); in rose_kill_by_device()
216 rose->device = NULL; in rose_kill_by_device()
628 rose->device = orose->device; in rose_make_new()
629 if (rose->device) in rose_make_new()
630 dev_hold(rose->device); in rose_make_new()
685 dev_put(rose->device); in rose_release()
686 rose->device = NULL; in rose_release()
738 rose->device = dev; in rose_bind()
[all …]
/net/dsa/
Ddsa.c130 static int dev_is_class(struct device *dev, void *class) in dev_is_class()
138 static struct device *dev_find_class(struct device *parent, char *class) in dev_find_class()
148 struct net_device *dsa_dev_to_net_device(struct device *dev) in dsa_dev_to_net_device()
150 struct device *d; in dsa_dev_to_net_device()

1234