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

1234567891011>>

/drivers/pcmcia/
H A Dsa1100_generic.h7 extern int pcmcia_adsbitsy_init(struct device *);
8 extern int pcmcia_assabet_init(struct device *);
9 extern int pcmcia_badge4_init(struct device *);
10 extern int pcmcia_cerf_init(struct device *);
11 extern int pcmcia_flexanet_init(struct device *);
12 extern int pcmcia_freebird_init(struct device *);
13 extern int pcmcia_gcplus_init(struct device *);
14 extern int pcmcia_graphicsmaster_init(struct device *);
15 extern int pcmcia_h3600_init(struct device *);
16 extern int pcmcia_nanoengine_init(struct device *);
[all...]
/drivers/base/power/
H A Dpower.h3 static inline void device_pm_init_common(struct device *dev)
14 static inline void pm_runtime_early_init(struct device *dev)
20 extern void pm_runtime_init(struct device *dev);
21 extern void pm_runtime_remove(struct device *dev);
25 static inline void pm_runtime_early_init(struct device *dev)
30 static inline void pm_runtime_init(struct device *dev) {}
31 static inline void pm_runtime_remove(struct device *dev) {}
41 extern struct list_head dpm_list; /* The active device list */
43 static inline struct device *to_device(struct list_head *entry)
45 return container_of(entry, struct device, powe
[all...]
/drivers/gpu/drm/nouveau/core/engine/device/
H A Dnvc0.c45 #include <engine/device.h>
58 nvc0_identify(struct nouveau_device *device) argument
60 switch (device->chipset) {
62 device->cname = "GF100";
63 device->oclass[NVDEV_SUBDEV_VBIOS ] = &nouveau_bios_oclass;
64 device->oclass[NVDEV_SUBDEV_GPIO ] = nv94_gpio_oclass;
65 device->oclass[NVDEV_SUBDEV_I2C ] = nv94_i2c_oclass;
66 device->oclass[NVDEV_SUBDEV_FUSE ] = &gf100_fuse_oclass;
67 device->oclass[NVDEV_SUBDEV_CLOCK ] = &nvc0_clock_oclass;
68 device
[all...]
H A Dnv10.c37 #include <engine/device.h>
45 nv10_identify(struct nouveau_device *device) argument
47 switch (device->chipset) {
49 device->cname = "NV10";
50 device->oclass[NVDEV_SUBDEV_VBIOS ] = &nouveau_bios_oclass;
51 device->oclass[NVDEV_SUBDEV_GPIO ] = nv10_gpio_oclass;
52 device->oclass[NVDEV_SUBDEV_I2C ] = nv04_i2c_oclass;
53 device->oclass[NVDEV_SUBDEV_CLOCK ] = &nv04_clock_oclass;
54 device->oclass[NVDEV_SUBDEV_DEVINIT] = nv10_devinit_oclass;
55 device
[all...]
H A Dnv50.c43 #include <engine/device.h>
58 nv50_identify(struct nouveau_device *device) argument
60 switch (device->chipset) {
62 device->cname = "G80";
63 device->oclass[NVDEV_SUBDEV_VBIOS ] = &nouveau_bios_oclass;
64 device->oclass[NVDEV_SUBDEV_GPIO ] = nv50_gpio_oclass;
65 device->oclass[NVDEV_SUBDEV_I2C ] = nv50_i2c_oclass;
66 device->oclass[NVDEV_SUBDEV_FUSE ] = &g80_fuse_oclass;
67 device->oclass[NVDEV_SUBDEV_CLOCK ] = nv50_clock_oclass;
68 device
[all...]
H A Dnv30.c37 #include <engine/device.h>
46 nv30_identify(struct nouveau_device *device) argument
48 switch (device->chipset) {
50 device->cname = "NV30";
51 device->oclass[NVDEV_SUBDEV_VBIOS ] = &nouveau_bios_oclass;
52 device->oclass[NVDEV_SUBDEV_GPIO ] = nv10_gpio_oclass;
53 device->oclass[NVDEV_SUBDEV_I2C ] = nv04_i2c_oclass;
54 device->oclass[NVDEV_SUBDEV_CLOCK ] = &nv04_clock_oclass;
55 device->oclass[NVDEV_SUBDEV_DEVINIT] = nv20_devinit_oclass;
56 device
[all...]
H A Dnv40.c40 #include <engine/device.h>
50 nv40_identify(struct nouveau_device *device) argument
52 switch (device->chipset) {
54 device->cname = "NV40";
55 device->oclass[NVDEV_SUBDEV_VBIOS ] = &nouveau_bios_oclass;
56 device->oclass[NVDEV_SUBDEV_GPIO ] = nv10_gpio_oclass;
57 device->oclass[NVDEV_SUBDEV_I2C ] = nv04_i2c_oclass;
58 device->oclass[NVDEV_SUBDEV_CLOCK ] = &nv40_clock_oclass;
59 device->oclass[NVDEV_SUBDEV_THERM ] = &nv40_therm_oclass;
60 device
[all...]
H A Dnve0.c45 #include <engine/device.h>
58 nve0_identify(struct nouveau_device *device) argument
60 switch (device->chipset) {
62 device->cname = "GK104";
63 device->oclass[NVDEV_SUBDEV_VBIOS ] = &nouveau_bios_oclass;
64 device->oclass[NVDEV_SUBDEV_GPIO ] = nve0_gpio_oclass;
65 device->oclass[NVDEV_SUBDEV_I2C ] = nve0_i2c_oclass;
66 device->oclass[NVDEV_SUBDEV_FUSE ] = &gf100_fuse_oclass;
67 device->oclass[NVDEV_SUBDEV_CLOCK ] = &nve0_clock_oclass;
68 device
[all...]
H A Dnv04.c36 #include <engine/device.h>
44 nv04_identify(struct nouveau_device *device) argument
46 switch (device->chipset) {
48 device->cname = "NV04";
49 device->oclass[NVDEV_SUBDEV_VBIOS ] = &nouveau_bios_oclass;
50 device->oclass[NVDEV_SUBDEV_I2C ] = nv04_i2c_oclass;
51 device->oclass[NVDEV_SUBDEV_CLOCK ] = &nv04_clock_oclass;
52 device->oclass[NVDEV_SUBDEV_DEVINIT] = nv04_devinit_oclass;
53 device->oclass[NVDEV_SUBDEV_MC ] = nv04_mc_oclass;
54 device
[all...]
H A Dgm100.c45 #include <engine/device.h>
58 gm100_identify(struct nouveau_device *device) argument
60 switch (device->chipset) {
62 device->cname = "GM107";
63 device->oclass[NVDEV_SUBDEV_VBIOS ] = &nouveau_bios_oclass;
64 device->oclass[NVDEV_SUBDEV_GPIO ] = nve0_gpio_oclass;
65 device->oclass[NVDEV_SUBDEV_I2C ] = nvd0_i2c_oclass;
66 device->oclass[NVDEV_SUBDEV_FUSE ] = &gm107_fuse_oclass;
67 device->oclass[NVDEV_SUBDEV_CLOCK ] = &nve0_clock_oclass;
68 device
[all...]
H A Dacpi.c31 struct nouveau_device *device = local
32 container_of(nb, typeof(*device), acpi.nb);
36 nvkm_event_send(&device->event, 1, 0, NULL, 0);
43 nvkm_acpi_fini(struct nouveau_device *device, bool suspend) argument
46 unregister_acpi_notifier(&device->acpi.nb);
52 nvkm_acpi_init(struct nouveau_device *device) argument
55 device->acpi.nb.notifier_call = nvkm_acpi_ntfy;
56 register_acpi_notifier(&device->acpi.nb);
H A Dnv20.c38 #include <engine/device.h>
46 nv20_identify(struct nouveau_device *device) argument
48 switch (device->chipset) {
50 device->cname = "NV20";
51 device->oclass[NVDEV_SUBDEV_VBIOS ] = &nouveau_bios_oclass;
52 device->oclass[NVDEV_SUBDEV_GPIO ] = nv10_gpio_oclass;
53 device->oclass[NVDEV_SUBDEV_I2C ] = nv04_i2c_oclass;
54 device->oclass[NVDEV_SUBDEV_CLOCK ] = &nv04_clock_oclass;
55 device->oclass[NVDEV_SUBDEV_DEVINIT] = nv20_devinit_oclass;
56 device
[all...]
H A Dpriv.h4 #include <engine/device.h>
/drivers/s390/net/
H A Dqeth_l2.h11 int qeth_l2_create_device_attributes(struct device *);
12 void qeth_l2_remove_device_attributes(struct device *);
/drivers/gpu/drm/nouveau/nvif/
H A Ddevice.c25 #include "device.h"
28 nvif_device_fini(struct nvif_device *device) argument
30 nvif_object_fini(&device->base);
36 struct nvif_device *device)
39 data, size, &device->base);
41 device->object = &device->base;
42 device->info.version = 0;
43 ret = nvif_object_mthd(&device->base, NV_DEVICE_V0_INFO,
44 &device
34 nvif_device_init(struct nvif_object *parent, void (*dtor)(struct nvif_device *), u32 handle, u32 oclass, void *data, u32 size, struct nvif_device *device) argument
50 nvif_device_del(struct nvif_device *device) argument
60 struct nvif_device *device = kzalloc(sizeof(*device), GFP_KERNEL); local
75 nvif_device_ref(struct nvif_device *device, struct nvif_device **pdevice) argument
[all...]
/drivers/input/misc/
H A Dadxl34x.h13 struct device;
18 int (*read)(struct device *, unsigned char);
19 int (*read_block)(struct device *, unsigned char, int, void *);
20 int (*write)(struct device *, unsigned char, unsigned char);
25 struct adxl34x *adxl34x_probe(struct device *dev, int irq,
/drivers/block/drbd/
H A Ddrbd_actlog.c70 * sectors-written since device creation, and other data generation tag
86 * allows to cover device sizes of up to 2**54 Byte (16 PiB) */
95 void *drbd_md_get_buffer(struct drbd_device *device, const char *intent) argument
99 wait_event(device->misc_wait,
100 (r = atomic_cmpxchg(&device->md_io.in_use, 0, 1)) == 0 ||
101 device->state.disk <= D_FAILED);
106 device->md_io.current_use = intent;
107 device->md_io.start_jif = jiffies;
108 device->md_io.submit_jif = device
112 drbd_md_put_buffer(struct drbd_device *device) argument
118 wait_until_done_or_force_detached(struct drbd_device *device, struct drbd_backing_dev *bdev, unsigned int *done) argument
138 _drbd_md_sync_page_io(struct drbd_device *device, struct drbd_backing_dev *bdev, sector_t sector, int rw) argument
190 drbd_md_sync_page_io(struct drbd_device *device, struct drbd_backing_dev *bdev, sector_t sector, int rw) argument
217 find_active_resync_extent(struct drbd_device *device, unsigned int enr) argument
229 _al_get(struct drbd_device *device, unsigned int enr, bool nonblock) argument
252 drbd_al_begin_io_fastpath(struct drbd_device *device, struct drbd_interval *i) argument
269 drbd_al_begin_io_prepare(struct drbd_device *device, struct drbd_interval *i) argument
293 drbd_al_begin_io_commit(struct drbd_device *device) argument
332 drbd_al_begin_io(struct drbd_device *device, struct drbd_interval *i) argument
338 drbd_al_begin_io_nonblock(struct drbd_device *device, struct drbd_interval *i) argument
398 drbd_al_complete_io(struct drbd_device *device, struct drbd_interval *i) argument
441 al_tr_number_to_on_disk_sector(struct drbd_device *device) argument
459 al_write_transaction(struct drbd_device *device) argument
570 _try_lc_del(struct drbd_device *device, struct lc_element *al_ext) argument
592 drbd_al_shrink(struct drbd_device *device) argument
609 drbd_initialize_al(struct drbd_device *device, void *buffer) argument
649 update_rs_extent(struct drbd_device *device, unsigned int enr, int count, enum update_sync_bits_mode mode) argument
736 drbd_advance_rs_marks(struct drbd_device *device, unsigned long still_to_go) argument
753 lazy_bitmap_update_due(struct drbd_device *device) argument
758 maybe_schedule_on_disk_bitmap_update(struct drbd_device *device, bool rs_done) argument
769 update_sync_bits(struct drbd_device *device, unsigned long sbnr, unsigned long ebnr, enum update_sync_bits_mode mode) argument
829 __drbd_change_sync(struct drbd_device *device, sector_t sector, int size, enum update_sync_bits_mode mode, const char *file, const unsigned int line) argument
886 _bme_get(struct drbd_device *device, unsigned int enr) argument
926 _is_in_al(struct drbd_device *device, unsigned int enr) argument
944 drbd_rs_begin_io(struct drbd_device *device, sector_t sector) argument
996 drbd_try_rs_begin_io(struct drbd_device *device, sector_t sector) argument
1118 drbd_rs_complete_io(struct drbd_device *device, sector_t sector) argument
1156 drbd_rs_cancel_all(struct drbd_device *device) argument
1177 drbd_rs_del_all(struct drbd_device *device) argument
[all...]
/drivers/misc/
H A Dbmp085.h29 int bmp085_probe(struct device *dev, struct regmap *regmap, int irq);
30 int bmp085_remove(struct device *dev);
31 int bmp085_detect(struct device *dev);
/drivers/gpu/drm/gma500/
H A Dpower.h42 int gma_power_suspend(struct device *dev);
43 int gma_power_resume(struct device *dev);
44 int gma_power_thaw(struct device *dev);
45 int gma_power_freeze(struct device *dev);
46 int gma_power_restore(struct device *_dev);
66 int psb_runtime_suspend(struct device *dev);
67 int psb_runtime_resume(struct device *dev);
68 int psb_runtime_idle(struct device *dev);
/drivers/mfd/
H A Dtwl-core.h4 extern int twl6030_init_irq(struct device *dev, int irq_num);
6 extern int twl4030_init_irq(struct device *dev, int irq_num);
/drivers/s390/char/
H A Dtape_char.c2 * character device frontend for tape device driver
63 tapechar_setup_device(struct tape_device * device) argument
67 sprintf(device_name, "ntibm%i", device->first_minor / 2);
68 device->nt = register_tape_dev(
69 &device->cdev->dev,
70 MKDEV(tapechar_major, device->first_minor),
76 device->rt = register_tape_dev(
77 &device->cdev->dev,
78 MKDEV(tapechar_major, device
88 tapechar_cleanup_device(struct tape_device *device) argument
97 tapechar_check_idalbuffer(struct tape_device *device, size_t block_size) argument
130 struct tape_device *device; local
188 struct tape_device *device; local
272 struct tape_device *device; local
306 struct tape_device *device; local
342 __tapechar_ioctl(struct tape_device *device, unsigned int no, unsigned long data) argument
440 struct tape_device *device; local
456 struct tape_device *device = filp->private_data; local
[all...]
H A Dtape_core.c2 * basic function of the tape device driver
93 tape_medium_state_show(struct device *dev, struct device_attribute *attr, char *buf)
105 tape_first_minor_show(struct device *dev, struct device_attribute *attr, char *buf)
117 tape_state_show(struct device *dev, struct device_attribute *attr, char *buf)
130 tape_operation_show(struct device *dev, struct device_attribute *attr, char *buf)
157 tape_blocksize_show(struct device *dev, struct device_attribute *attr, char *buf)
186 tape_state_set(struct tape_device *device, enum tape_state newstate) argument
190 if (device->tape_state == TS_NOT_OPER) {
194 DBF_EVENT(4, "ts. dev: %x\n", device->first_minor);
196 if (device
212 struct tape_device *device; member in struct:tape_med_state_work_data
224 struct tape_device *device = p->device; local
248 tape_med_state_work(struct tape_device *device, enum tape_medium_state state) argument
262 tape_med_state_set(struct tape_device *device, enum tape_medium_state newstate) argument
291 __tape_cancel_io(struct tape_device *device, struct tape_request *request) argument
331 tape_assign_minor(struct tape_device *device) argument
355 tape_remove_minor(struct tape_device *device) argument
372 tape_generic_online(struct tape_device *device, struct tape_discipline *discipline) argument
421 tape_cleanup_device(struct tape_device *device) argument
445 struct tape_device *device; local
489 struct tape_device *device; local
528 struct tape_device *device; local
561 tape_get_device(struct tape_device *device) argument
577 tape_put_device(struct tape_device *device) argument
596 struct tape_device *device, *tmp; local
616 struct tape_device *device; local
639 __tape_discard_requests(struct tape_device *device) argument
668 struct tape_device * device; local
777 __tape_start_io(struct tape_device *device, struct tape_request *request) argument
803 __tape_start_next_request(struct tape_device *device) argument
861 struct tape_device *device = local
873 struct tape_device *device; local
887 __tape_end_request( struct tape_device * device, struct tape_request * request, int rc) argument
914 tape_dump_sense_dbf(struct tape_device *device, struct tape_request *request, struct irb *irb) argument
940 __tape_start_request(struct tape_device *device, struct tape_request *request) argument
985 tape_do_io_async(struct tape_device *device, struct tape_request *request) argument
1011 tape_do_io(struct tape_device *device, struct tape_request *request) argument
1043 tape_do_io_interruptible(struct tape_device *device, struct tape_request *request) argument
1086 tape_cancel_io(struct tape_device *device, struct tape_request *request) argument
1102 struct tape_device *device; local
1248 tape_open(struct tape_device *device) argument
1278 tape_release(struct tape_device *device) argument
1292 tape_mtop(struct tape_device *device, int mt_op, int mt_count) argument
[all...]
/drivers/hid/
H A Dhid-roccat.c15 * Module roccat is a char device used to report special events of roccat
18 * not stored in device. The information in these events depends on hid device
48 struct device *dev;
65 struct roccat_device *device; member in struct:roccat_reader
80 struct roccat_device *device = reader->device; local
85 mutex_lock(&device->cbuf_lock);
88 if (reader->cbuf_start == device->cbuf_end) {
89 add_wait_queue(&device
155 struct roccat_device *device; local
210 struct roccat_device *device; local
252 struct roccat_device *device; local
300 struct roccat_device *device; local
356 struct roccat_device *device; local
382 struct roccat_device *device; local
[all...]
/drivers/crypto/caam/
H A Derror.h10 void caam_jr_strstatus(struct device *jrdev, u32 status);
H A Djr.h11 struct device *caam_jr_alloc(void);
12 void caam_jr_free(struct device *rdev);
13 int caam_jr_enqueue(struct device *dev, u32 *desc,
14 void (*cbk)(struct device *dev, u32 *desc, u32 status,

Completed in 493 milliseconds

1234567891011>>