Searched refs:device (Results 1 - 25 of 73) sorted by relevance

123

/net/bridge/
H A Dbr_sysfs_br.c25 #define to_dev(obj) container_of(obj, struct device, kobj)
31 static ssize_t store_bridge_parm(struct device *d,
52 static ssize_t forward_delay_show(struct device *d,
59 static ssize_t forward_delay_store(struct device *d,
67 static ssize_t hello_time_show(struct device *d, struct device_attribute *attr,
74 static ssize_t hello_time_store(struct device *d,
82 static ssize_t max_age_show(struct device *d, struct device_attribute *attr,
89 static ssize_t max_age_store(struct device *d, struct device_attribute *attr,
96 static ssize_t ageing_time_show(struct device *d,
109 static ssize_t ageing_time_store(struct device *
[all...]
/net/bluetooth/
H A Dhci_sysfs.c26 static ssize_t show_link_type(struct device *dev,
33 static ssize_t show_link_address(struct device *dev,
54 static void bt_link_release(struct device *dev)
67 * The rfcomm tty device will possibly retain even when conn
68 * is down, and sysfs doesn't support move zombie device,
69 * so we should move the device before conn device is destroyed.
71 static int __match_tty(struct device *dev, void *data)
98 BT_ERR("Failed to register connection device");
113 struct device *de
[all...]
/net/wireless/
H A Dsysfs.c11 #include <linux/device.h>
22 struct device *dev)
28 static ssize_t name ## _show(struct device *dev, \
40 static ssize_t name_show(struct device *dev,
48 static ssize_t addresses_show(struct device *dev,
76 static void wiphy_dev_release(struct device *dev)
83 static int wiphy_uevent(struct device *dev, struct kobj_uevent_env *env)
98 static int wiphy_suspend(struct device *dev, pm_message_t state)
122 static int wiphy_resume(struct device *dev)
141 static const void *wiphy_namespace(struct device *
[all...]
/net/rds/
H A Diw.c50 MODULE_PARM_DESC(fastreg_pool_size, " Max number of fastreg MRs per device");
60 static void rds_iw_add_one(struct ib_device *device) argument
66 if (device->node_type != RDMA_NODE_RNIC)
73 if (ib_query_device(device, dev_attr)) {
74 rdsdebug("Query device failed for %s\n", device->name);
88 rds_iwdev->dev = device;
89 rds_iwdev->pd = ib_alloc_pd(device);
113 ib_set_client_data(device, &rds_iw_client, rds_iwdev);
128 static void rds_iw_remove_one(struct ib_device *device) argument
[all...]
H A Dib.c122 static void rds_ib_add_one(struct ib_device *device) argument
128 if (device->node_type != RDMA_NODE_IB_CA)
135 if (ib_query_device(device, dev_attr)) {
136 rdsdebug("Query device failed for %s\n", device->name);
141 ibdev_to_node(device));
160 rds_ibdev->dev = device;
161 rds_ibdev->pd = ib_alloc_pd(device);
187 ib_set_client_data(device, &rds_ib_client, rds_ibdev);
199 * New connections use this to find the device t
214 rds_ib_get_client_data(struct ib_device *device) argument
233 rds_ib_remove_one(struct ib_device *device) argument
[all...]
/net/atm/
H A Datm_sysfs.c13 static ssize_t show_type(struct device *cdev,
21 static ssize_t show_address(struct device *cdev,
29 static ssize_t show_atmaddress(struct device *cdev,
58 static ssize_t show_atmindex(struct device *cdev,
66 static ssize_t show_carrier(struct device *cdev,
75 static ssize_t show_link_rate(struct device *cdev,
116 static int atm_uevent(struct device *cdev, struct kobj_uevent_env *env)
133 static void atm_release(struct device *cdev)
146 int atm_register_sysfs(struct atm_dev *adev, struct device *parent)
148 struct device *cde
[all...]
H A Dresources.h45 int atm_register_sysfs(struct atm_dev *adev, struct device *parent);
/net/ieee802154/
H A Dwpan-class.c22 #include <linux/device.h>
29 static ssize_t name ## _show(struct device *dev, \
50 static ssize_t channels_supported_show(struct device *dev,
81 static void wpan_phy_release(struct device *d)
97 static int wpan_phy_match(struct device *dev, const void *data)
104 struct device *dev;
122 static int wpan_phy_iter(struct device *dev, void *_data)
/net/wimax/
H A Dop-rfkill.c29 * A non-polled generic rfkill device is embedded into the WiMAX
30 * subsystem's representation of a device.
35 * All device drivers have to do is after wimax_dev_init(), call
77 * @wimax_dev: WiMAX device descriptor
82 * When the device detects a change in the state of thehardware RF
90 * If the device doesn't have a hardware kill switch, just report
97 struct device *dev = wimax_dev_to_dev(wimax_dev);
133 * @wimax_dev: WiMAX device descriptor
142 * device for its current software radio kill switch state and feed it
145 * On the side, the device doe
[all...]
H A Ddebugfs.c43 struct device *dev = net_dev->dev.parent;
H A Did-table.c24 * We assign a single generic netlink family ID to each device (to
32 * we are looking for a WiMAX device and that most systems will have
42 #include <linux/device.h>
61 * @wimax_dev: WiMAX device descriptor to associate to the Generic
H A Dop-msg.c3 * Generic messaging interface between userspace and driver/device
25 * the driver/device, by which free form messages can be sent back and
28 * This is intended for device-specific features, vendor quirks, etc.
74 #include <linux/device.h>
91 * @wimax_dev: WiMAX device descriptor
126 struct device *dev = wimax_dev_to_dev(wimax_dev);
246 * @wimax_dev: WiMAX device descriptor
275 struct device *dev = wimax_dev_to_dev(wimax_dev);
292 * @wimax_dev: WiMAX device descriptor (properly referenced)
302 * Sends a free-form message to user space on the device
[all...]
H A Dop-reset.c3 * Implement and export a method for resetting a WiMAX device
24 * This implements a simple synchronous call to reset a WiMAX device.
26 * Resets aim at being warm, keeping the device handles active;
28 * disconnect and reconnect the device).
43 * wimax_reset - Reset a WiMAX device
45 * @wimax_dev: WiMAX device descriptor
49 * %0 if ok and a warm reset was done (the device still exists in
52 * -%ENODEV if a cold/bus reset had to be done (device has
56 * -%EINVAL if the device is not even registered.
63 * Called when wanting to reset the device fo
[all...]
H A Dwimax-internal.h39 #include <linux/device.h>
44 * Decide if a (locked) device is ready for use
46 * Before using the device structure, it must be locked
51 * one. In that case, the caller should not attempt to use the device
H A Dstack.c31 * - device state machine [wimax_state_change()] and support to send
39 * [__]wimax_state_change() Called by drivers to update device's state
43 * wimax_dev_init() Init a device
53 #include <linux/device.h>
107 struct device *dev = wimax_dev_to_dev(wimax_dev);
173 struct device *dev = wimax_dev_to_dev(wimax_dev);
201 * Set the current state of a WiMAX device [unlocking version of
206 struct device *dev = wimax_dev_to_dev(wimax_dev);
329 * wimax_state_change - Set the current state of a WiMAX device
331 * @wimax_dev: WiMAX device descripto
[all...]
/net/dsa/
H A Ddsa_priv.h57 struct device *parent,
H A Ddsa.c46 dsa_switch_probe(struct device *host_dev, int sw_addr, char **_name)
78 struct device *parent, struct device *host_dev)
222 "slave device for port %d(%s)\n",
317 static int dev_is_class(struct device *dev, void *class)
325 static struct device *dev_find_class(struct device *parent, char *class)
335 struct mii_bus *dsa_host_dev_to_mii_bus(struct device *dev)
337 struct device *d;
353 static struct net_device *dev_to_net_device(struct device *de
[all...]
/net/caif/
H A DKconfig34 tristate "CAIF GPRS Network device"
38 Say Y if you will be using a CAIF based GPRS network device.
40 If you select to build it as a built-in then the main CAIF device must
51 If you select to build it as a built-in then the main CAIF device must
/net/core/
H A Dnet-sysfs.c2 * net-sysfs.c - network device class and attributes
42 static ssize_t netdev_show(const struct device *dev,
63 static ssize_t field##_show(struct device *dev, \
78 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr,
120 static ssize_t name_assign_type_show(struct device *dev,
135 static ssize_t address_show(struct device *dev, struct device_attribute *attr,
149 static ssize_t broadcast_show(struct device *dev,
166 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr,
172 static ssize_t carrier_show(struct device *dev,
183 static ssize_t speed_show(struct device *de
[all...]
/net/rfkill/
H A Dcore.c30 #include <linux/device.h>
70 struct device dev;
464 * device type.
577 static ssize_t name_show(struct device *dev, struct device_attribute *attr,
612 static ssize_t type_show(struct device *dev, struct device_attribute *attr,
621 static ssize_t index_show(struct device *dev, struct device_attribute *attr,
630 static ssize_t persistent_show(struct device *dev,
639 static ssize_t hard_show(struct device *dev, struct device_attribute *attr,
648 static ssize_t soft_show(struct device *dev, struct device_attribute *attr,
656 static ssize_t soft_store(struct device *de
[all...]
/net/bluetooth/bnep/
H A Dbnep.h119 char device[16]; /* Name of the Ethernet device */ member in struct:bnep_connadd_req
132 char device[16]; member in struct:bnep_conninfo
H A Dsock.c80 ca.device[sizeof(ca.device)-1] = 0;
/net/9p/
H A Dtrans_rdma.c288 ib_dma_unmap_single(rdma->cm_id->device, c->busa, client->msize,
324 ib_dma_unmap_single(rdma->cm_id->device,
401 c->busa = ib_dma_map_single(rdma->cm_id->device,
404 if (ib_dma_mapping_error(rdma->cm_id->device, c->busa))
490 c->busa = ib_dma_map_single(rdma->cm_id->device,
493 if (ib_dma_mapping_error(rdma->cm_id->device, c->busa)) {
666 /* Query the device attributes */
667 err = ib_query_device(rdma->cm_id->device, &devattr);
672 rdma->cq = ib_create_cq(rdma->cm_id->device, cq_comp_handler,
680 rdma->pd = ib_alloc_pd(rdma->cm_id->device);
[all...]
/net/sunrpc/xprtrdma/
H A Dverbs.c113 dprintk("RPC: %s: QP error %X on device %s ep %p\n",
114 __func__, event->event, event->device->name, context);
127 dprintk("RPC: %s: CQ error %X on device %s ep %p\n",
128 __func__, event->event, event->device->name, context);
222 ib_dma_sync_single_for_cpu(rdmab_to_ia(rep->rr_buffer)->ri_id->device,
329 "device removal",
419 ia->ri_id->device->name,
523 ia->ri_pd = ib_alloc_pd(ia->ri_id->device);
532 * Query the device to determine if the requested memory
536 rc = ib_query_device(ia->ri_id->device,
[all...]
H A Dsvc_rdma_transport.c129 ib_dma_unmap_page(xprt->sc_cm_id->device,
519 pa = ib_dma_map_page(xprt->sc_cm_id->device,
522 if (ib_dma_mapping_error(xprt->sc_cm_id->device, pa))
754 pl = ib_alloc_fast_reg_page_list(xprt->sc_cm_id->device,
811 if (ib_dma_mapping_error(frmr->mr->device, addr))
814 ib_dma_unmap_page(frmr->mr->device, addr, PAGE_SIZE,
872 ret = ib_query_device(newxprt->sc_cm_id->device, &devattr);
874 dprintk("svcrdma: could not query device attributes on "
875 "device %p, rc=%d\n", newxprt->sc_cm_id->device, re
[all...]

Completed in 299 milliseconds

123