Searched refs:device (Results 251 - 275 of 13846) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/
H A Dga102.c37 ga102_nvenc_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, argument
40 if (nvkm_gsp_rm(device->gsp))
41 return r535_nvenc_new(&ga102_nvenc, device, type, inst, pnvenc);
H A Dad102.c37 ad102_nvenc_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, argument
40 if (nvkm_gsp_rm(device->gsp))
41 return r535_nvenc_new(&ad102_nvenc, device, type, inst, pnvenc);
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/nvdec/
H A Dad102.c37 ad102_nvdec_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, argument
40 if (nvkm_gsp_rm(device->gsp))
41 return r535_nvdec_new(&ad102_nvdec, device, type, inst, pnvdec);
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/nvjpg/
H A Dad102.c37 ad102_nvjpg_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, argument
40 if (nvkm_gsp_rm(device->gsp))
41 return r535_nvjpg_new(&ad102_nvjpg, device, type, inst, pengine);
H A Dga100.c37 ga100_nvjpg_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, argument
40 if (nvkm_gsp_rm(device->gsp))
41 return r535_nvjpg_new(&ga100_nvjpg, device, type, inst, pengine);
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/ofa/
H A Dad102.c37 ad102_ofa_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, argument
40 if (nvkm_gsp_rm(device->gsp))
41 return r535_ofa_new(&ad102_ofa, device, type, inst, pengine);
H A Dga100.c37 ga100_ofa_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, argument
40 if (nvkm_gsp_rm(device->gsp))
41 return r535_ofa_new(&ga100_ofa, device, type, inst, pengine);
H A Dga102.c37 ga102_ofa_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, argument
40 if (nvkm_gsp_rm(device->gsp))
41 return r535_ofa_new(&ga102_ofa, device, type, inst, pengine);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/privring/
H A Dgm200.c34 gm200_privring_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, argument
37 if (nvkm_gsp_rm(device->gsp))
40 return nvkm_subdev_new_(&gm200_privring, device, type, inst, pprivring);
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dad102.c40 ad102_gr_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_gr **pgr) argument
42 if (nvkm_gsp_rm(device->gsp))
43 return r535_gr_new(&ad102_gr, device, type, inst, pgr);
H A Dnv44.c34 struct nvkm_device *device = gr->base.engine.subdev.device; local
35 struct nvkm_fifo *fifo = device->fifo;
41 switch (device->chipset) {
44 nvkm_wr32(device, NV20_PGRAPH_TSIZE(i), tile->pitch);
45 nvkm_wr32(device, NV20_PGRAPH_TLIMIT(i), tile->limit);
46 nvkm_wr32(device, NV20_PGRAPH_TILE(i), tile->addr);
53 nvkm_wr32(device, NV47_PGRAPH_TSIZE(i), tile->pitch);
54 nvkm_wr32(device, NV47_PGRAPH_TLIMIT(i), tile->limit);
55 nvkm_wr32(device, NV47_PGRAPH_TIL
105 nv44_gr_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_gr **pgr) argument
[all...]
/linux-master/include/linux/
H A Dblk-pm.h6 struct device;
13 extern void blk_pm_runtime_init(struct request_queue *q, struct device *dev);
20 struct device *dev) {}
H A Dgpio_keys.h7 struct device;
44 * describing buttons attached to the device
48 * @enable: platform hook for enabling the device
49 * @disable: platform hook for disabling the device
50 * @name: input device name
57 int (*enable)(struct device *dev);
58 void (*disable)(struct device *dev);
H A Dcontainer.h12 #include <linux/device.h>
18 struct device dev;
22 static inline struct container_dev *to_container_dev(struct device *dev)
H A Dmsi_api.h6 * APIs which are relevant for device driver code for allocating and
11 struct device;
14 * Per device interrupt domain related constants.
58 unsigned int msi_domain_get_virq(struct device *dev, unsigned int domid, unsigned int index);
67 static inline unsigned int msi_get_virq(struct device *dev, unsigned int index)
H A Dpm_wakeup.h27 * @wakeirq: Optional device specific wakeirq
39 * @dev: Struct device for sysfs statistics about the wakeup source.
61 struct device *dev;
77 static inline bool device_can_wakeup(struct device *dev)
82 static inline bool device_may_wakeup(struct device *dev)
87 static inline bool device_wakeup_path(struct device *dev)
92 static inline void device_set_wakeup_path(struct device *dev)
102 extern struct wakeup_source *wakeup_source_register(struct device *dev,
109 extern int device_wakeup_enable(struct device *dev);
110 extern void device_wakeup_disable(struct device *de
[all...]
/linux-master/sound/soc/codecs/
H A Dlpass-macro-common.h22 struct device *macro_pd;
23 struct device *dcodec_pd;
26 struct lpass_macro *lpass_macro_pds_init(struct device *dev);
/linux-master/drivers/firewire/
H A Dcore-device.c11 #include <linux/device.h>
192 static const struct ieee1394_device_id *unit_match(struct device *dev,
208 static bool is_fw_unit(const struct device *dev);
210 static int fw_unit_match(struct device *dev, struct device_driver *drv)
216 static int fw_unit_probe(struct device *dev)
224 static void fw_unit_remove(struct device *dev)
243 static int fw_unit_uevent(const struct device *dev, struct kobj_uevent_env *env)
264 int fw_device_enable_phys_dma(struct fw_device *device) argument
266 int generation = device->generation;
268 /* device
451 struct fw_device *device = fw_device(dev->parent); local
466 struct fw_device *device = fw_device(dev); local
480 struct fw_device *device = fw_device(dev); local
493 struct fw_device *device = fw_device(dev); local
523 struct fw_device *device = fw_device(dev); local
552 read_rom(struct fw_device *device, int generation, int index, u32 *data) argument
584 read_config_rom(struct fw_device *device, int generation) argument
766 create_units(struct fw_device *device) argument
807 shutdown_unit(struct device *device, void *data) argument
827 struct fw_device *device; local
841 fw_schedule_device_work(struct fw_device *device, unsigned long delay) argument
865 struct fw_device *device = local
894 struct fw_device *device = fw_device(dev); local
938 struct fw_device *device = local
1000 set_broadcast_channel(struct fw_device *device, int generation) argument
1060 struct fw_device *device = local
1178 reread_config_rom(struct fw_device *device, int generation, bool *changed) argument
1205 struct fw_device *device = local
1272 struct fw_device *device = container_of(to_delayed_work(work), local
1279 struct fw_device *device; local
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dshadowramin.c33 struct nvkm_device *device = bios->subdev.device; local
37 *(u32 *)&bios->data[i] = nvkm_rd32(device, 0x700000 + i);
48 struct nvkm_device *device = priv->bios->subdev.device; local
49 nvkm_wr32(device, 0x001700, priv->bar0);
58 struct nvkm_device *device = subdev->device; local
63 if (device->card_type < NV_50)
67 if (device
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
H A Dgf100.c35 struct nvkm_device *device = subdev->device; local
40 ret = nvbios_pll_parse(device->bios, type, &info);
53 nvkm_mask(device, info.reg + 0x0c, 0x00000000, 0x00000100);
54 nvkm_wr32(device, info.reg + 0x04, (P << 16) | (N << 8) | M);
55 nvkm_wr32(device, info.reg + 0x10, fN << 16);
69 struct nvkm_device *device = init->subdev.device; local
70 u32 r022500 = nvkm_rd32(device, 0x022500);
73 nvkm_subdev_disable(device, NVKM_ENGINE_DIS
95 struct nvkm_device *device = subdev->device; local
114 gf100_devinit_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_devinit **pinit) argument
[all...]
H A Dnv04.c39 struct nvkm_device *device = subdev->device; local
45 fb = fbmem_init(device);
52 nvkm_wrvgas(device, 0, 1, nvkm_rdvgas(device, 0, 1) | 0x20);
53 nvkm_mask(device, NV04_PFB_DEBUG_0, 0, NV04_PFB_DEBUG_0_REFRESH_OFF);
55 nvkm_mask(device, NV04_PFB_BOOT_0, ~0,
66 nvkm_mask(device, NV04_PFB_BOOT_0,
69 nvkm_mask(device, NV04_PFB_DEBUG_0,
76 nvkm_mask(device, NV04_PFB_BOOT_
146 struct nvkm_device *device = init->subdev.device; local
201 struct nvkm_device *device = init->subdev.device; local
286 struct nvkm_device *device = init->subdev.device; local
404 struct nvkm_device *device = subdev->device; local
437 nv04_devinit_new_(const struct nvkm_devinit_func *func, struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_devinit **pinit) argument
461 nv04_devinit_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_devinit **pinit) argument
[all...]
H A Dtu102.c33 struct nvkm_device *device = subdev->device; local
39 ret = nvbios_pll_parse(device->bios, type, &info);
52 nvkm_wr32(device, 0x00ef10 + (head * 0x40), fN << 16);
53 nvkm_wr32(device, 0x00ef04 + (head * 0x40), (P << 16) |
57 nvkm_wr32(device, 0x00ef0c + (head * 0x40), 0x00000900);
58 nvkm_wr32(device, 0x00ef00 + (head * 0x40), 0x02000014);
70 tu102_devinit_wait(struct nvkm_device *device) argument
75 if (nvkm_rd32(device, 0x118128) & 0x00000001) {
76 if ((nvkm_rd32(device,
101 tu102_devinit_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_devinit **pinit) argument
[all...]
H A Dga100.c33 struct nvkm_device *device = subdev->device; local
39 ret = nvbios_pll_parse(device->bios, type, &info);
52 nvkm_wr32(device, 0x00ef00 + (head * 0x40), 0x02080004);
53 nvkm_wr32(device, 0x00ef18 + (head * 0x40), (N << 16) | fN);
54 nvkm_wr32(device, 0x00ef04 + (head * 0x40), (P << 16) | M);
55 nvkm_wr32(device, 0x00e9c0 + (head * 0x04), 0x00000001);
69 struct nvkm_device *device = init->subdev.device; local
70 u32 r820c04 = nvkm_rd32(device,
85 ga100_devinit_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_devinit **pinit) argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dbusgf119.c36 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; local
37 nvkm_mask(device, bus->addr, 0x00000001, state ? 0x00000001 : 0);
44 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; local
45 nvkm_mask(device, bus->addr, 0x00000002, state ? 0x00000002 : 0);
52 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; local
53 return !!(nvkm_rd32(device, bus->addr) & 0x00000010);
60 struct nvkm_device *device local
68 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; local
[all...]
/linux-master/drivers/s390/block/
H A Ddasd.c49 MODULE_DESCRIPTION("Linux on S/390 DASD device driver,"
73 * SECTION: Operations on the device structure.
81 * Allocate memory for a new device structure.
85 struct dasd_device *device; local
87 device = kzalloc(sizeof(struct dasd_device), GFP_ATOMIC);
88 if (!device)
91 /* Get two pages for normal block device operations. */
92 device->ccw_mem = (void *) __get_free_pages(GFP_ATOMIC | GFP_DMA, 1);
93 if (!device->ccw_mem) {
94 kfree(device);
135 dasd_free_device(struct dasd_device *device) argument
183 dasd_state_new_to_known(struct dasd_device *device) argument
197 dasd_state_known_to_new(struct dasd_device *device) argument
224 dasd_state_known_to_basic(struct dasd_device *device) argument
262 dasd_state_basic_to_known(struct dasd_device *device) argument
308 dasd_state_basic_to_ready(struct dasd_device *device) argument
368 _wait_for_empty_queues(struct dasd_device *device) argument
382 dasd_state_ready_to_basic(struct dasd_device *device) argument
405 dasd_state_unfmt_to_basic(struct dasd_device *device) argument
417 dasd_state_ready_to_online(struct dasd_device * device) argument
436 dasd_state_online_to_ready(struct dasd_device *device) argument
456 dasd_increase_state(struct dasd_device *device) argument
491 dasd_decrease_state(struct dasd_device *device) argument
526 dasd_change_state(struct dasd_device *device) argument
557 struct dasd_device *device = container_of(work, struct dasd_device, kick_work); local
565 dasd_kick_device(struct dasd_device *device) argument
580 struct dasd_device *device = container_of(work, struct dasd_device, local
586 dasd_reload_device(struct dasd_device *device) argument
598 dasd_set_target_state(struct dasd_device *device, int target) argument
619 _wait_for_device(struct dasd_device *device) argument
624 dasd_enable_device(struct dasd_device *device) argument
660 struct dasd_device *device; local
772 struct dasd_device *device; local
1141 struct dasd_device *device; local
1156 dasd_hosts_exit(struct dasd_device *device) argument
1162 dasd_hosts_init(struct dentry *base_dentry, struct dasd_device *device) argument
1178 dasd_smalloc_request(int magic, int cplength, int datasize, struct dasd_device *device, struct dasd_ccw_req *cqr) argument
1220 dasd_fmalloc_request(int magic, int cplength, int datasize, struct dasd_device *device) argument
1263 dasd_sfree_request(struct dasd_ccw_req *cqr, struct dasd_device *device) argument
1274 dasd_ffree_request(struct dasd_ccw_req *cqr, struct dasd_device *device) argument
1290 struct dasd_device *device; local
1314 struct dasd_device *device; local
1372 struct dasd_device *device; local
1493 struct dasd_device *device; local
1506 dasd_device_set_timer(struct dasd_device *device, int expires) argument
1518 dasd_device_clear_timer(struct dasd_device *device) argument
1528 struct dasd_device *device; local
1565 dasd_generic_handle_state_change(struct dasd_device *device) argument
1589 struct dasd_device *device = NULL; local
1624 struct dasd_device *device; local
1834 struct dasd_device *device; local
1859 __dasd_device_recovery(struct dasd_device *device, struct dasd_ccw_req *ref_cqr) argument
1884 __dasd_device_process_ccw_queue(struct dasd_device *device, struct list_head *final_queue) argument
1907 __dasd_process_cqr(struct dasd_device *device, struct dasd_ccw_req *cqr) argument
1933 __dasd_device_process_final_queue(struct dasd_device *device, struct list_head *final_queue) argument
1957 __dasd_device_check_autoquiesce_timeout(struct dasd_device *device, struct dasd_ccw_req *cqr) argument
1968 __dasd_device_check_expire(struct dasd_device *device) argument
2003 __dasd_device_is_unusable(struct dasd_device *device, struct dasd_ccw_req *cqr) argument
2035 __dasd_device_start_head(struct dasd_device *device) argument
2063 __dasd_device_check_path_events(struct dasd_device *device) argument
2098 dasd_flush_device_queue(struct dasd_device *device) argument
2153 struct dasd_device *device = (struct dasd_device *) data; local
2179 dasd_schedule_device_bh(struct dasd_device *device) argument
2189 dasd_device_set_stop_bits(struct dasd_device *device, int bits) argument
2195 dasd_device_remove_stop_bits(struct dasd_device *device, int bits) argument
2209 struct dasd_device *device; local
2228 struct dasd_device *device; local
2255 struct dasd_device *device; local
2270 struct dasd_device *device; local
2309 struct dasd_device *device; local
2413 struct dasd_device *device; local
2538 _dasd_term_running_cqr(struct dasd_device *device) argument
2559 struct dasd_device *device; local
2618 struct dasd_device *device = cqr->startdev; local
2645 struct dasd_device *device = cqr->startdev; local
2702 __dasd_process_erp(struct dasd_device *device, struct dasd_ccw_req *cqr) argument
3145 struct dasd_device *device; local
3369 dasd_device_is_ro(struct dasd_device *device) argument
3422 dasd_generic_free_discipline(struct dasd_device *device) argument
3444 struct dasd_device *device; local
3485 struct dasd_device *device; local
3562 struct dasd_device *device; local
3678 dasd_generic_last_path_gone(struct dasd_device *device) argument
3704 dasd_generic_path_operational(struct dasd_device *device) argument
3726 struct dasd_device *device; local
3753 struct dasd_device *device; local
3827 dasd_generic_verify_path(struct dasd_device *device, __u8 lpm) argument
3838 dasd_generic_space_exhaust(struct dasd_device *device, struct dasd_ccw_req *cqr) argument
3858 dasd_generic_space_avail(struct dasd_device *device) argument
3879 dasd_generic_requeue_all_requests(struct dasd_device *device) argument
3918 struct dasd_device *device = container_of(work, struct dasd_device, local
3927 dasd_schedule_requeue(struct dasd_device *device) argument
3936 dasd_handle_autoquiesce(struct dasd_device *device, struct dasd_ccw_req *cqr, unsigned int reason) argument
3961 dasd_generic_build_rdc(struct dasd_device *device, int rdc_buffer_size, int magic) argument
3992 dasd_generic_read_dev_chars(struct dasd_device *device, int magic, void *rdc_buffer, int rdc_buffer_size) argument
4045 struct dasd_device *device; local
[all...]

Completed in 224 milliseconds

<<11121314151617181920>>