Searched refs:device (Results 76 - 100 of 13734) sorted by relevance

1234567891011>>

/linux-master/arch/mips/include/asm/
H A Ddma-direct.h5 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr);
6 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/
H A Dgf100.c27 gf100_iccsense_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, argument
30 return nvkm_iccsense_new_(device, type, inst, piccsense);
/linux-master/drivers/iio/accel/
H A Dmma7455.h12 int mma7455_core_probe(struct device *dev, struct regmap *regmap,
14 void mma7455_core_remove(struct device *dev);
/linux-master/sound/soc/sof/
H A Dsof-utils.h13 struct device;
15 int snd_sof_create_page_table(struct device *dev,
/linux-master/drivers/gpu/drm/i915/
H A Di915_sysfs.h9 struct device;
12 struct drm_i915_private *kdev_minor_to_i915(struct device *kdev);
/linux-master/drivers/mfd/
H A Dtwl-core.h5 extern int twl6030_init_irq(struct device *dev, int irq_num);
7 extern int twl4030_init_irq(struct device *dev, int irq_num);
/linux-master/arch/loongarch/include/asm/
H A Ddma-direct.h8 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr);
9 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr);
/linux-master/sound/soc/mediatek/mt8186/
H A Dmt8186-afe-gpio.h14 int mt8186_afe_gpio_init(struct device *dev);
16 int mt8186_afe_gpio_request(struct device *dev, bool enable,
/linux-master/include/linux/pinctrl/
H A Ddevinfo.h3 * Per-device information from the pin control system.
4 * This is the stuff that get included into the device
17 struct device;
21 #include <linux/device.h>
23 /* The device core acts as a consumer toward pinctrl */
30 * @p: pinctrl handle for the containing device
46 extern int pinctrl_bind_pins(struct device *dev);
47 extern int pinctrl_init_done(struct device *dev);
49 static inline struct pinctrl *dev_pinctrl(struct device *dev)
61 static inline int pinctrl_bind_pins(struct device *de
[all...]
/linux-master/sound/pci/hda/
H A Dcs35l41_hda_property.h13 #include <linux/device.h>
16 int cs35l41_add_dsd_properties(struct cs35l41_hda *cs35l41, struct device *physdev, int id,
/linux-master/drivers/misc/pvpanic/
H A Dpvpanic.h14 struct device;
16 int devm_pvpanic_probe(struct device *dev, void __iomem *base);
/linux-master/include/linux/
H A Dof_device.h5 #include <linux/device/driver.h>
7 struct device;
13 const struct of_device_id *matches, const struct device *dev);
16 * of_driver_match_device - Tell if a driver's of_match_table matches a device.
18 * @dev: the device structure to match against
20 static inline int of_driver_match_device(struct device *dev,
26 extern ssize_t of_device_modalias(struct device *dev, char *str, ssize_t len);
28 extern void of_device_uevent(const struct device *dev, struct kobj_uevent_env *env);
29 extern int of_device_uevent_modalias(const struct device *dev, struct kobj_uevent_env *env);
31 int of_dma_configure_id(struct device *de
[all...]
/linux-master/drivers/gpu/drm/xe/tests/
H A Dxe_kunit_helpers.h9 struct device;
14 struct device *dev);
/linux-master/drivers/s390/char/
H A Dtape_char.c3 * character device frontend for tape device driver
64 tapechar_setup_device(struct tape_device * device) argument
68 sprintf(device_name, "ntibm%i", device->first_minor / 2);
69 device->nt = register_tape_dev(
70 &device->cdev->dev,
71 MKDEV(tapechar_major, device->first_minor),
77 device->rt = register_tape_dev(
78 &device->cdev->dev,
79 MKDEV(tapechar_major, device
89 tapechar_cleanup_device(struct tape_device *device) argument
98 tapechar_check_idalbuffer(struct tape_device *device, size_t block_size) argument
131 struct tape_device *device; local
189 struct tape_device *device; local
273 struct tape_device *device; local
307 struct tape_device *device; local
343 __tapechar_ioctl(struct tape_device *device, unsigned int no, void __user *data) argument
434 struct tape_device *device; local
450 struct tape_device *device = filp->private_data; local
[all...]
H A Dtape_core.c3 * basic function of the tape device driver
94 tape_medium_state_show(struct device *dev, struct device_attribute *attr, char *buf)
106 tape_first_minor_show(struct device *dev, struct device_attribute *attr, char *buf)
118 tape_state_show(struct device *dev, struct device_attribute *attr, char *buf)
131 tape_operation_show(struct device *dev, struct device_attribute *attr, char *buf)
158 tape_blocksize_show(struct device *dev, struct device_attribute *attr, char *buf)
187 tape_state_set(struct tape_device *device, enum tape_state newstate) argument
191 if (device->tape_state == TS_NOT_OPER) {
195 DBF_EVENT(4, "ts. dev: %x\n", device->first_minor);
197 if (device
213 struct tape_device *device; member in struct:tape_med_state_work_data
225 struct tape_device *device = p->device; local
249 tape_med_state_work(struct tape_device *device, enum tape_medium_state state) argument
263 tape_med_state_set(struct tape_device *device, enum tape_medium_state newstate) argument
292 __tape_cancel_io(struct tape_device *device, struct tape_request *request) argument
332 tape_assign_minor(struct tape_device *device) argument
356 tape_remove_minor(struct tape_device *device) argument
373 tape_generic_online(struct tape_device *device, struct tape_discipline *discipline) argument
421 tape_cleanup_device(struct tape_device *device) argument
440 struct tape_device *device; local
479 struct tape_device *device; local
512 tape_get_device(struct tape_device *device) argument
528 tape_put_device(struct tape_device *device) argument
547 struct tape_device *device, *tmp; local
567 struct tape_device *device; local
590 __tape_discard_requests(struct tape_device *device) argument
619 struct tape_device * device; local
729 __tape_start_io(struct tape_device *device, struct tape_request *request) argument
755 __tape_start_next_request(struct tape_device *device) argument
813 struct tape_device *device = local
824 struct tape_device *device = from_timer(device, t, lb_timeout); local
837 __tape_end_request( struct tape_device * device, struct tape_request * request, int rc) argument
864 tape_dump_sense_dbf(struct tape_device *device, struct tape_request *request, struct irb *irb) argument
890 __tape_start_request(struct tape_device *device, struct tape_request *request) argument
936 tape_do_io_async(struct tape_device *device, struct tape_request *request) argument
962 tape_do_io(struct tape_device *device, struct tape_request *request) argument
994 tape_do_io_interruptible(struct tape_device *device, struct tape_request *request) argument
1037 tape_cancel_io(struct tape_device *device, struct tape_request *request) argument
1053 struct tape_device *device; local
1197 tape_open(struct tape_device *device) argument
1227 tape_release(struct tape_device *device) argument
1241 tape_mtop(struct tape_device *device, int mt_op, int mt_count) argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
H A Dnv40.c29 struct nvkm_device *device = pci->subdev.device; local
30 return nvkm_rd32(device, 0x088000 + addr);
36 struct nvkm_device *device = pci->subdev.device; local
37 nvkm_wr08(device, 0x088000 + addr, data);
43 struct nvkm_device *device = pci->subdev.device; local
44 nvkm_wr32(device, 0x088000 + addr, data);
62 nv40_pci_new(struct nvkm_device *device, enu argument
[all...]
H A Dnv04.c29 struct nvkm_device *device = pci->subdev.device; local
30 return nvkm_rd32(device, 0x001800 + addr);
36 struct nvkm_device *device = pci->subdev.device; local
37 nvkm_wr08(device, 0x001800 + addr, data);
43 struct nvkm_device *device = pci->subdev.device; local
44 nvkm_wr32(device, 0x001800 + addr, data);
55 nv04_pci_new(struct nvkm_device *device, enu argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
H A Dnv44.c29 struct nvkm_device *device = mc->subdev.device; local
30 u32 tmp = nvkm_rd32(device, 0x10020c);
32 nvkm_wr32(device, 0x000200, 0xffffffff); /* everything enabled */
34 nvkm_wr32(device, 0x001700, tmp);
35 nvkm_wr32(device, 0x001704, 0);
36 nvkm_wr32(device, 0x001708, 0);
37 nvkm_wr32(device, 0x00170c, tmp);
45 .device = &nv04_mc_device,
50 nv44_mc_new(struct nvkm_device *device, enu argument
[all...]
/linux-master/include/drm/bridge/
H A Daux-bridge.h15 int drm_aux_bridge_register(struct device *parent);
17 static inline int drm_aux_bridge_register(struct device *parent)
24 struct auxiliary_device *devm_drm_dp_hpd_bridge_alloc(struct device *parent, struct device_node *np);
25 int devm_drm_dp_hpd_bridge_add(struct device *dev, struct auxiliary_device *adev);
26 struct device *drm_dp_hpd_bridge_register(struct device *parent,
28 void drm_aux_hpd_bridge_notify(struct device *dev, enum drm_connector_status status);
30 static inline struct auxiliary_device *devm_drm_dp_hpd_bridge_alloc(struct device *parent,
41 static inline struct device *drm_dp_hpd_bridge_register(struct device *paren
[all...]
/linux-master/drivers/hid/
H A Dhid-roccat.c12 * Module roccat is a char device used to report special events of roccat
15 * not stored in device. The information in these events depends on hid device
45 struct device *dev;
62 struct roccat_device *device; member in struct:roccat_reader
77 struct roccat_device *device = reader->device; local
82 mutex_lock(&device->cbuf_lock);
85 if (reader->cbuf_start == device->cbuf_end) {
86 add_wait_queue(&device
152 struct roccat_device *device; local
207 struct roccat_device *device; local
249 struct roccat_device *device; local
301 struct roccat_device *device; local
357 struct roccat_device *device; local
383 struct roccat_device *device; local
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
H A Dnv04.c31 struct nvkm_device *device = subdev->device; local
38 nvkm_wr32(device, NV04_PTIMER_TIME_1, hi);
39 nvkm_wr32(device, NV04_PTIMER_TIME_0, lo);
45 struct nvkm_device *device = tmr->subdev.device; local
49 hi = nvkm_rd32(device, NV04_PTIMER_TIME_1);
50 lo = nvkm_rd32(device, NV04_PTIMER_TIME_0);
51 } while (hi != nvkm_rd32(device, NV04_PTIMER_TIME_1));
59 struct nvkm_device *device local
66 struct nvkm_device *device = tmr->subdev.device; local
75 struct nvkm_device *device = subdev->device; local
94 struct nvkm_device *device = subdev->device; local
148 nv04_timer_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_timer **ptmr) argument
[all...]
/linux-master/drivers/crypto/caam/
H A Djr.h12 struct device *caam_jr_alloc(void);
13 void caam_jr_free(struct device *rdev);
14 int caam_jr_enqueue(struct device *dev, u32 *desc,
15 void (*cbk)(struct device *dev, u32 *desc, u32 status,
/linux-master/arch/sh/include/asm/
H A Dsiu.h11 struct device;
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dvga.c27 nvkm_rdport(struct nvkm_device *device, int head, u16 port) argument
29 if (device->card_type >= NV_50)
30 return nvkm_rd08(device, 0x601000 + port);
35 return nvkm_rd08(device, 0x601000 + (head * 0x2000) + port);
40 if (device->card_type < NV_40)
42 return nvkm_rd08(device, 0x0c0000 + (head * 0x2000) + port);
49 nvkm_wrport(struct nvkm_device *device, int head, u16 port, u8 data) argument
51 if (device->card_type >= NV_50)
52 nvkm_wr08(device, 0x601000 + port, data);
57 nvkm_wr08(device,
69 nvkm_rdvgas(struct nvkm_device *device, int head, u8 index) argument
76 nvkm_wrvgas(struct nvkm_device *device, int head, u8 index, u8 value) argument
83 nvkm_rdvgag(struct nvkm_device *device, int head, u8 index) argument
90 nvkm_wrvgag(struct nvkm_device *device, int head, u8 index, u8 value) argument
97 nvkm_rdvgac(struct nvkm_device *device, int head, u8 index) argument
104 nvkm_wrvgac(struct nvkm_device *device, int head, u8 index, u8 value) argument
111 nvkm_rdvgai(struct nvkm_device *device, int head, u16 port, u8 index) argument
120 nvkm_wrvgai(struct nvkm_device *device, int head, u16 port, u8 index, u8 value) argument
128 nvkm_lockvgac(struct nvkm_device *device, bool lock) argument
162 nvkm_rdvgaowner(struct nvkm_device *device) argument
188 nvkm_wrvgaowner(struct nvkm_device *device, u8 select) argument
[all...]
/linux-master/drivers/staging/greybus/
H A Darche_platform.h22 /* Operational states for the APB device */
23 int apb_ctrl_coldboot(struct device *dev);
24 int apb_ctrl_fw_flashing(struct device *dev);
25 int apb_ctrl_standby_boot(struct device *dev);
26 void apb_ctrl_poweroff(struct device *dev);

Completed in 226 milliseconds

1234567891011>>