Searched refs:device (Results 151 - 175 of 488) sorted by relevance

1234567891011>>

/include/linux/
H A Dmcb.h15 #include <linux/device.h>
24 * @dev: pointer to carrier device
31 struct device dev;
32 struct device *carrier;
39 * struct mcb_device - MEN Chameleon Bus device
42 * @dev: device in kernel representation
43 * @bus: mcb bus the device is plugged to
45 * @is_added: flag to check if device is added to bus
47 * @id: mcb device id
58 struct device de
[all...]
H A Dvfio.h20 * struct vfio_device_ops - VFIO bus driver device callbacks
22 * @open: Called when userspace creates new file descriptor for device
23 * @release: Called when userspace releases file descriptor for device
24 * @read: Perform read(2) on device file descriptor
25 * @write: Perform write(2) on device file descriptor
26 * @ioctl: Perform ioctl(2) on device file descriptor, supporting VFIO_DEVICE_*
28 * @mmap: Perform mmap(2) on a region of the device file descriptor
43 extern int vfio_add_group_dev(struct device *dev,
47 extern void *vfio_del_group_dev(struct device *dev);
48 extern struct vfio_device *vfio_device_get_from_dev(struct device *de
[all...]
H A Dacpi.h30 #include <linux/device.h>
58 static inline void acpi_preset_companion(struct device *dev,
158 int acpi_register_gsi (struct device *dev, u32 gsi, int triggering, int polarity);
329 /* Indexes into _OSC Capabilities Buffer (DWORDs 2 & 3 are device-specific) */
424 const struct device *dev);
426 static inline bool acpi_driver_match_device(struct device *dev,
432 int acpi_device_uevent_modalias(struct device *, struct kobj_uevent_env *);
433 int acpi_device_modalias(struct device *, char *, int);
504 const struct acpi_device_id *ids, const struct device *dev)
509 static inline bool acpi_driver_match_device(struct device *de
[all...]
H A Dthermal.h30 #include <linux/device.h>
150 struct device device; member in struct:thermal_cooling_device
154 bool updated; /* true if the cooling device does not need update */
168 * @type: the thermal zone device type
169 * @device: &struct device for this thermal zone
173 * @devdata: private pointer for device private data
204 struct device device; member in struct:thermal_zone_device
[all...]
H A Dfirewire.h5 #include <linux/device.h>
84 struct device *device; member in struct:fw_card
189 struct device device; member in struct:fw_device
208 static inline struct fw_device *fw_device(struct device *dev)
210 return container_of(dev, struct fw_device, device);
213 static inline int fw_device_is_shutdown(struct fw_device *device) argument
215 return atomic_read(&device->state) == FW_DEVICE_SHUTDOWN;
218 int fw_device_enable_phys_dma(struct fw_device *device);
224 struct device device; member in struct:fw_unit
[all...]
H A Dclk.h19 struct device;
186 * @dev: device for clock "consumer"
199 struct clk *clk_get(struct device *dev, const char *id);
203 * @dev: device for clock "consumer"
216 * The clock will automatically be freed when the device is unbound
219 struct clk *devm_clk_get(struct device *dev, const char *id);
270 * @dev: device used to acquire the clock
279 void devm_clk_put(struct device *dev, struct clk *clk);
323 * clk_get_sys - get a clock based upon the device name
324 * @dev_id: device nam
[all...]
H A Di2c-omap.h35 void (*set_mpu_wkup_lat)(struct device *dev, long set);
H A Disapnp.h79 int isapnp_cfg_begin(int csn, int device);
94 unsigned short device,
105 static inline int isapnp_cfg_begin(int csn, int device) { return -ENODEV; } argument
111 unsigned short device,
110 pnp_find_card(unsigned short vendor, unsigned short device, struct pnp_card *from) argument
H A Dswitch.h23 struct device *dev;
/include/linux/mfd/
H A Dtps65090.h82 struct device *dev;
119 * of the TPS65090 sub-device drivers
121 static inline int tps65090_write(struct device *dev, int reg, uint8_t val)
128 static inline int tps65090_read(struct device *dev, int reg, uint8_t *val)
140 static inline int tps65090_set_bits(struct device *dev, int reg,
148 static inline int tps65090_clr_bits(struct device *dev, int reg,
H A Dcore.h51 * These resources can be specified relative to the parent device.
67 * device rather than the child device when requested
76 * being called only when a device is first being enabled or no other
101 * Given a platform device that's been created by mfd_add_devices(), fetch
109 extern int mfd_add_devices(struct device *parent, int id,
114 extern void mfd_remove_devices(struct device *parent);
H A Dmenelaus.h8 struct device;
11 int (* late_init)(struct device *dev);
/include/trace/events/
H A Drpm.h11 struct device;
19 TP_PROTO(struct device *dev, int flags),
60 TP_PROTO(struct device *dev, int flags),
66 TP_PROTO(struct device *dev, int flags),
72 TP_PROTO(struct device *dev, int flags),
78 TP_PROTO(struct device *dev, unsigned long ip, int ret),
/include/acpi/
H A Dghes.h54 int ghes_edac_register(struct ghes *ghes, struct device *dev);
64 static inline int ghes_edac_register(struct ghes *ghes, struct device *dev)
/include/linux/dma/
H A Ddw.h16 #include <linux/device.h>
25 * @dev: struct device of the DMA controller
32 struct device *dev;
/include/linux/input/
H A Dmatrix_keypad.h40 * @num_row_gpios: actual number of row gpios used by device
41 * @num_col_gpios: actual number of col gpios used by device
49 * @wakeup: controls whether the device should be set up as wakeup
93 int matrix_keypad_parse_of_params(struct device *dev,
96 static inline int matrix_keypad_parse_of_params(struct device *dev,
/include/linux/phy/
H A Domap_usb.h38 struct device *dev;
39 struct device *control_dev;
/include/linux/rtc/
H A Dm48t59.h53 void (*write_byte)(struct device *dev, u32 ofs, u8 val);
54 unsigned char (*read_byte)(struct device *dev, u32 ofs);
/include/media/
H A Dvideobuf-dvb.h46 struct device *device,
H A Dvideobuf2-dvb.h46 struct device *device,
H A Dvideobuf-dma-contig.h21 struct device *dev,
H A Dvideobuf-vmalloc.h34 struct device *dev,
/include/asm-generic/
H A Ddma-mapping-common.h10 static inline dma_addr_t dma_map_single_attrs(struct device *dev, void *ptr,
29 static inline void dma_unmap_single_attrs(struct device *dev, dma_addr_t addr,
42 static inline int dma_map_sg_attrs(struct device *dev, struct scatterlist *sg,
59 static inline void dma_unmap_sg_attrs(struct device *dev, struct scatterlist *sg,
71 static inline dma_addr_t dma_map_page(struct device *dev, struct page *page,
86 static inline void dma_unmap_page(struct device *dev, dma_addr_t addr,
97 static inline void dma_sync_single_for_cpu(struct device *dev, dma_addr_t addr,
109 static inline void dma_sync_single_for_device(struct device *dev,
121 static inline void dma_sync_single_range_for_cpu(struct device *dev,
135 static inline void dma_sync_single_range_for_device(struct device *de
[all...]
/include/drm/
H A Ddrm_mipi_dsi.h15 #include <linux/device.h>
48 * @attach: attach DSI device to DSI host
49 * @detach: detach DSI device from DSI host
63 * struct mipi_dsi_host - DSI host device
64 * @dev: driver model device node for this DSI host
68 struct device *dev;
97 /* device supports non-continuous clock behavior (DSI spec 5.6.1) */
110 * struct mipi_dsi_device - DSI peripheral device
112 * @dev: driver model device node for this peripheral
120 struct device de
[all...]
/include/media/davinci/
H A Dvpbe.h25 #include <media/v4l2-device.h>
72 /* Is this an i2c device ? */
81 /* Is this an i2c device ? */
140 /* initialize the device */
141 int (*initialize)(struct device *dev, struct vpbe_device *vpbe_dev);
143 /* De-initialize the device */
144 void (*deinitialize)(struct device *dev, struct vpbe_device *vpbe_dev);
161 /* struct for vpbe device */
163 /* V4l2 device */
167 /* parent device */
[all...]

Completed in 433 milliseconds

1234567891011>>