Searched refs:dev (Results 276 - 300 of 8049) sorted by relevance

<<11121314151617181920>>

/drivers/net/irda/
H A Dold_belkin-sir.c36 #include "sir-dev.h"
64 static int old_belkin_open(struct sir_dev *dev);
65 static int old_belkin_close(struct sir_dev *dev);
66 static int old_belkin_change_speed(struct sir_dev *dev, unsigned speed);
67 static int old_belkin_reset(struct sir_dev *dev);
89 static int old_belkin_open(struct sir_dev *dev) argument
91 struct qos_info *qos = &dev->qos;
96 sirdev_set_dtr_rts(dev, TRUE, TRUE);
109 static int old_belkin_close(struct sir_dev *dev) argument
114 sirdev_set_dtr_rts(dev, FALS
124 old_belkin_change_speed(struct sir_dev *dev, unsigned speed) argument
138 old_belkin_reset(struct sir_dev *dev) argument
[all...]
/drivers/net/wireless/zd1211rw/
H A Dzd_def.h29 #define dev_printk_f(level, dev, fmt, args...) \
30 dev_printk(level, dev, "%s() " fmt, __func__, ##args)
33 # define dev_dbg_f(dev, fmt, args...) \
34 dev_printk_f(KERN_DEBUG, dev, fmt, ## args)
35 # define dev_dbg_f_limit(dev, fmt, args...) do { \
37 dev_printk_f(KERN_DEBUG, dev, fmt, ## args); \
39 # define dev_dbg_f_cond(dev, cond, fmt, args...) ({ \
42 dev_printk_f(KERN_DEBUG, dev, fmt, ## args); \
45 # define dev_dbg_f(dev, fmt, args...) do { (void)(dev); } whil
[all...]
/drivers/usb/core/
H A Dotg_whitelist.h49 static int is_targeted(struct usb_device *dev) argument
54 if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a &&
55 le16_to_cpu(dev->descriptor.idProduct) == 0xbadd))
63 id->idVendor != le16_to_cpu(dev->descriptor.idVendor))
67 id->idProduct != le16_to_cpu(dev->descriptor.idProduct))
73 (id->bcdDevice_lo > le16_to_cpu(dev->descriptor.bcdDevice)))
77 (id->bcdDevice_hi < le16_to_cpu(dev->descriptor.bcdDevice)))
81 (id->bDeviceClass != dev->descriptor.bDeviceClass))
85 (id->bDeviceSubClass != dev->descriptor.bDeviceSubClass))
89 (id->bDeviceProtocol != dev
[all...]
H A Dusb.c104 * @dev: the device whose current configuration is considered
123 struct usb_interface *usb_ifnum_to_if(const struct usb_device *dev, argument
126 struct usb_host_config *config = dev->actconfig;
178 static int __find_interface(struct device *dev, void *data) argument
183 if (!is_usb_interface(dev))
186 if (dev->driver != arg->drv)
188 intf = to_usb_interface(dev);
206 struct device *dev; local
211 dev = bus_find_device(&usb_bus_type, NULL, &argb, __find_interface);
214 put_device(dev);
225 __each_dev(struct device *dev, void *data) argument
260 usb_release_dev(struct device *dev) argument
277 usb_dev_uevent(struct device *dev, struct kobj_uevent_env *env) argument
301 usb_dev_prepare(struct device *dev) argument
306 usb_dev_complete(struct device *dev) argument
312 usb_dev_suspend(struct device *dev) argument
317 usb_dev_resume(struct device *dev) argument
322 usb_dev_freeze(struct device *dev) argument
327 usb_dev_thaw(struct device *dev) argument
332 usb_dev_poweroff(struct device *dev) argument
337 usb_dev_restore(struct device *dev) argument
361 usb_devnode(struct device *dev, umode_t *mode, kuid_t *uid, kgid_t *gid) argument
408 struct usb_device *dev; local
518 usb_get_dev(struct usb_device *dev) argument
533 usb_put_dev(struct usb_device *dev) argument
652 usb_get_current_frame_number(struct usb_device *dev) argument
716 usb_alloc_coherent(struct usb_device *dev, size_t size, gfp_t mem_flags, dma_addr_t *dma) argument
736 usb_free_coherent(struct usb_device *dev, size_t size, void *addr, dma_addr_t dma) argument
991 struct device *dev = data; local
[all...]
/drivers/net/arcnet/
H A Dcom90io.c46 static int com90io_found(struct net_device *dev);
47 static void com90io_command(struct net_device *dev, int command);
48 static int com90io_status(struct net_device *dev);
49 static void com90io_setmask(struct net_device *dev, int mask);
50 static int com90io_reset(struct net_device *dev, int really_reset);
51 static void com90io_copy_to_card(struct net_device *dev, int bufnum, int offset,
53 static void com90io_copy_from_card(struct net_device *dev, int bufnum, int offset,
91 static u_char get_buffer_byte(struct net_device *dev, unsigned offset) argument
93 int ioaddr = dev->base_addr;
102 static void put_buffer_byte(struct net_device *dev, unsigne argument
115 get_whole_buffer(struct net_device *dev, unsigned offset, unsigned length, char *dest) argument
130 put_whole_buffer(struct net_device *dev, unsigned offset, unsigned length, char *dest) argument
149 com90io_probe(struct net_device *dev) argument
234 com90io_found(struct net_device *dev) argument
291 com90io_reset(struct net_device *dev, int really_reset) argument
323 com90io_command(struct net_device *dev, int cmd) argument
331 com90io_status(struct net_device *dev) argument
339 com90io_setmask(struct net_device *dev, int mask) argument
346 com90io_copy_to_card(struct net_device *dev, int bufnum, int offset, void *buf, int count) argument
353 com90io_copy_from_card(struct net_device *dev, int bufnum, int offset, void *buf, int count) argument
394 struct net_device *dev; local
419 struct net_device *dev = my_dev; local
[all...]
/drivers/base/power/
H A Dsysfs.c102 static ssize_t control_show(struct device *dev, struct device_attribute *attr, argument
106 dev->power.runtime_auto ? ctrl_auto : ctrl_on);
109 static ssize_t control_store(struct device * dev, struct device_attribute *attr, argument
118 device_lock(dev);
120 pm_runtime_allow(dev);
122 pm_runtime_forbid(dev);
125 device_unlock(dev);
131 static ssize_t rtpm_active_time_show(struct device *dev, argument
135 spin_lock_irq(&dev->power.lock);
136 update_pm_runtime_accounting(dev);
144 rtpm_suspended_time_show(struct device *dev, struct device_attribute *attr, char *buf) argument
158 rtpm_status_show(struct device *dev, struct device_attribute *attr, char *buf) argument
190 autosuspend_delay_ms_show(struct device *dev, struct device_attribute *attr, char *buf) argument
198 autosuspend_delay_ms_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t n) argument
218 pm_qos_resume_latency_show(struct device *dev, struct device_attribute *attr, char *buf) argument
225 pm_qos_resume_latency_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t n) argument
246 pm_qos_latency_tolerance_show(struct device *dev, struct device_attribute *attr, char *buf) argument
260 pm_qos_latency_tolerance_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t n) argument
280 pm_qos_no_power_off_show(struct device *dev, struct device_attribute *attr, char *buf) argument
288 pm_qos_no_power_off_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t n) argument
307 pm_qos_remote_wakeup_show(struct device *dev, struct device_attribute *attr, char *buf) argument
315 pm_qos_remote_wakeup_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t n) argument
340 wake_show(struct device * dev, struct device_attribute *attr, char * buf) argument
348 wake_store(struct device * dev, struct device_attribute *attr, const char * buf, size_t n) argument
373 wakeup_count_show(struct device *dev, struct device_attribute *attr, char *buf) argument
390 wakeup_active_count_show(struct device *dev, struct device_attribute *attr, char *buf) argument
407 wakeup_abort_count_show(struct device *dev, struct device_attribute *attr, char *buf) argument
425 wakeup_expire_count_show(struct device *dev, struct device_attribute *attr, char *buf) argument
443 wakeup_active_show(struct device *dev, struct device_attribute *attr, char *buf) argument
460 wakeup_total_time_show(struct device *dev, struct device_attribute *attr, char *buf) argument
477 wakeup_max_time_show(struct device *dev, struct device_attribute *attr, char *buf) argument
494 wakeup_last_time_show(struct device *dev, struct device_attribute *attr, char *buf) argument
512 wakeup_prevent_sleep_time_show(struct device *dev, struct device_attribute *attr, char *buf) argument
536 rtpm_usagecount_show(struct device *dev, struct device_attribute *attr, char *buf) argument
542 rtpm_children_show(struct device *dev, struct device_attribute *attr, char *buf) argument
549 rtpm_enabled_show(struct device *dev, struct device_attribute *attr, char *buf) argument
569 async_show(struct device *dev, struct device_attribute *attr, char *buf) argument
577 async_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t n) argument
693 dpm_sysfs_add(struct device *dev) argument
728 wakeup_sysfs_add(struct device *dev) argument
733 wakeup_sysfs_remove(struct device *dev) argument
738 pm_qos_sysfs_add_resume_latency(struct device *dev) argument
743 pm_qos_sysfs_remove_resume_latency(struct device *dev) argument
748 pm_qos_sysfs_add_flags(struct device *dev) argument
753 pm_qos_sysfs_remove_flags(struct device *dev) argument
758 rpm_sysfs_remove(struct device *dev) argument
763 dpm_sysfs_remove(struct device *dev) argument
[all...]
/drivers/pci/
H A Dprobe.c61 static int find_anything(struct device *dev, void *data) argument
73 struct device *dev; local
76 dev = bus_find_device(&pci_bus_type, NULL, NULL, find_anything);
77 no_devices = (dev == NULL);
78 put_device(dev);
86 static void release_pcibus_dev(struct device *dev) argument
88 struct pci_bus *pci_bus = to_pci_bus(dev);
127 static inline unsigned long decode_bar(struct pci_dev *dev, u32 bar) argument
164 * @dev: the PCI device
171 int __pci_read_base(struct pci_dev *dev, enu argument
324 pci_read_bases(struct pci_dev *dev, unsigned int howmany, int rom) argument
346 struct pci_dev *dev = child->self; local
386 struct pci_dev *dev = child->self; local
408 struct pci_dev *dev = child->self; local
461 struct pci_dev *dev = child->self; local
515 pci_release_host_bridge_dev(struct device *dev) argument
737 pci_add_new_bus(struct pci_bus *parent, struct pci_dev *dev, int busnr) argument
773 pci_scan_bridge(struct pci_bus *bus, struct pci_dev *dev, int max, int pass) argument
970 pci_read_irq(struct pci_dev *dev) argument
1021 pci_ext_cfg_is_aliased(struct pci_dev *dev) argument
1053 pci_cfg_space_size_ext(struct pci_dev *dev) argument
1069 pci_cfg_space_size(struct pci_dev *dev) argument
1107 pci_setup_device(struct pci_dev *dev) argument
1259 program_hpp_type0(struct pci_dev *dev, struct hpp_type0 *hpp) argument
1295 program_hpp_type1(struct pci_dev *dev, struct hpp_type1 *hpp) argument
1301 program_hpp_type2(struct pci_dev *dev, struct hpp_type2 *hpp) argument
1367 pci_configure_device(struct pci_dev *dev) argument
1382 pci_release_capabilities(struct pci_dev *dev) argument
1396 pci_release_dev(struct device *dev) argument
1411 struct pci_dev *dev; local
1471 struct pci_dev *dev; local
1496 pci_init_capabilities(struct pci_dev *dev) argument
1520 pci_device_add(struct pci_dev *dev, struct pci_bus *bus) argument
1568 struct pci_dev *dev; local
1586 next_fn(struct pci_bus *bus, struct pci_dev *dev, unsigned fn) argument
1642 struct pci_dev *dev; local
1670 pcie_find_smpss(struct pci_dev *dev, void *data) argument
1702 pcie_write_mps(struct pci_dev *dev, int mps) argument
1731 pcie_write_mrrs(struct pci_dev *dev) argument
1766 pcie_bus_detect_mps(struct pci_dev *dev) argument
1782 pcie_bus_configure_set(struct pci_dev *dev, void *data) argument
1843 struct pci_dev *dev; local
[all...]
/drivers/gpu/drm/
H A Ddrm_agpsupport.c55 int drm_agp_info(struct drm_device *dev, struct drm_agp_info *info) argument
59 if (!dev->agp || !dev->agp->acquired)
62 kern = &dev->agp->agp_info;
78 int drm_agp_info_ioctl(struct drm_device *dev, void *data, argument
84 err = drm_agp_info(dev, info);
94 * \param dev DRM device that is to acquire AGP.
100 int drm_agp_acquire(struct drm_device * dev) argument
102 if (!dev->agp)
104 if (dev
126 drm_agp_acquire_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
140 drm_agp_release(struct drm_device * dev) argument
150 drm_agp_release_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
166 drm_agp_enable(struct drm_device * dev, struct drm_agp_mode mode) argument
179 drm_agp_enable_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
199 drm_agp_alloc(struct drm_device *dev, struct drm_agp_buffer *request) argument
232 drm_agp_alloc_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
249 drm_agp_lookup_entry(struct drm_device * dev, unsigned long handle) argument
273 drm_agp_unbind(struct drm_device *dev, struct drm_agp_binding *request) argument
292 drm_agp_unbind_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
313 drm_agp_bind(struct drm_device *dev, struct drm_agp_binding *request) argument
336 drm_agp_bind_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
358 drm_agp_free(struct drm_device *dev, struct drm_agp_buffer *request) argument
379 drm_agp_free_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
399 drm_agp_init(struct drm_device *dev) argument
439 drm_agp_clear(struct drm_device *dev) argument
471 drm_agp_bind_pages(struct drm_device *dev, struct page **pages, unsigned long num_pages, uint32_t gtt_offset, u32 type) argument
[all...]
H A Ddrm_pci.c34 * @dev: DRM device
41 drm_dma_handle_t *drm_pci_alloc(struct drm_device * dev, size_t size, size_t align) argument
59 dmah->vaddr = dma_alloc_coherent(&dev->pdev->dev, size, &dmah->busaddr, GFP_KERNEL | __GFP_COMP);
85 void __drm_legacy_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) argument
97 dma_free_coherent(&dev->pdev->dev, dmah->size, dmah->vaddr,
104 * @dev: DRM device
107 void drm_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) argument
109 __drm_legacy_pci_free(dev, dma
117 drm_get_pci_domain(struct drm_device *dev) argument
131 drm_pci_set_busid(struct drm_device *dev, struct drm_master *master) argument
146 drm_pci_set_unique(struct drm_device *dev, struct drm_master *master, struct drm_unique *u) argument
190 drm_pci_irq_by_busid(struct drm_device *dev, struct drm_irq_busid *p) argument
216 drm_irq_by_busid(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
234 drm_pci_agp_init(struct drm_device *dev) argument
248 drm_pci_agp_destroy(struct drm_device *dev) argument
273 struct drm_device *dev; local
367 drm_pcie_get_speed_cap_mask(struct drm_device *dev, u32 *mask) argument
412 drm_pci_agp_destroy(struct drm_device *dev) argument
414 drm_irq_by_busid(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
420 drm_pci_set_unique(struct drm_device *dev, struct drm_master *master, struct drm_unique *u) argument
440 struct drm_device *dev, *tmp; local
[all...]
H A Ddrm_drv.c123 struct drm_device *dev = master->minor->dev; local
126 mutex_lock(&dev->struct_mutex);
127 if (dev->driver->master_destroy)
128 dev->driver->master_destroy(dev, master);
130 list_for_each_entry_safe(r_list, list_temp, &dev->maplist, head) {
132 drm_legacy_rmmap_locked(dev, r_list->map);
145 mutex_unlock(&dev->struct_mutex);
156 int drm_setmaster_ioctl(struct drm_device *dev, voi argument
190 drm_dropmaster_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
226 drm_minor_get_slot(struct drm_device *dev, unsigned int type) argument
241 drm_minor_alloc(struct drm_device *dev, unsigned int type) argument
287 drm_minor_free(struct drm_device *dev, unsigned int type) argument
308 drm_minor_register(struct drm_device *dev, unsigned int type) argument
343 drm_minor_unregister(struct drm_device *dev, unsigned int type) argument
421 drm_put_dev(struct drm_device *dev) argument
435 drm_unplug_dev(struct drm_device *dev) argument
543 struct drm_device *dev; local
626 struct drm_device *dev = container_of(ref, struct drm_device, ref); local
656 drm_dev_ref(struct drm_device *dev) argument
670 drm_dev_unref(struct drm_device *dev) argument
691 drm_dev_register(struct drm_device *dev, unsigned long flags) argument
747 drm_dev_unregister(struct drm_device *dev) argument
781 drm_dev_set_unique(struct drm_device *dev, const char *fmt, ...) argument
[all...]
/drivers/media/platform/vivid/
H A Dvivid-osd.c60 void vivid_clear_fb(struct vivid_dev *dev) argument
62 void *p = dev->video_vbase;
66 if (dev->fb_defined.green.length == 6)
69 for (y = 0; y < dev->display_height; y++) {
72 for (x = 0; x < dev->display_width; x++)
74 p += dev->display_byte_stride;
82 struct vivid_dev *dev = (struct vivid_dev *)info->par; local
99 dprintk(dev, 1, "Unknown ioctl %08x\n", cmd);
107 static int vivid_fb_set_var(struct vivid_dev *dev, struct fb_var_screeninfo *var) argument
109 dprintk(dev,
120 vivid_fb_get_fix(struct vivid_dev *dev, struct fb_fix_screeninfo *fix) argument
140 _vivid_fb_check_var(struct fb_var_screeninfo *var, struct vivid_dev *dev) argument
182 struct vivid_dev *dev = (struct vivid_dev *) info->par; local
196 struct vivid_dev *dev = (struct vivid_dev *) info->par; local
243 struct vivid_dev *dev = (struct vivid_dev *)info->par; local
276 vivid_fb_init_vidmode(struct vivid_dev *dev) argument
351 vivid_fb_release_buffers(struct vivid_dev *dev) argument
367 vivid_fb_init(struct vivid_dev *dev) argument
[all...]
/drivers/net/wireless/b43/
H A Dmain.h73 u8 b43_ieee80211_antenna_sanitize(struct b43_wldev *dev,
76 void b43_tsf_read(struct b43_wldev *dev, u64 * tsf);
77 void b43_tsf_write(struct b43_wldev *dev, u64 tsf);
79 u32 b43_shm_read32(struct b43_wldev *dev, u16 routing, u16 offset);
80 u16 b43_shm_read16(struct b43_wldev *dev, u16 routing, u16 offset);
81 void b43_shm_write32(struct b43_wldev *dev, u16 routing, u16 offset, u32 value);
82 void b43_shm_write16(struct b43_wldev *dev, u16 routing, u16 offset, u16 value);
84 u64 b43_hf_read(struct b43_wldev *dev);
85 void b43_hf_write(struct b43_wldev *dev, u64 value);
87 void b43_dummy_transmission(struct b43_wldev *dev, boo
[all...]
/drivers/media/usb/em28xx/
H A Dem28xx-core.c56 dev->name, __func__ , ##arg); } while (0)
65 dev->name, __func__ , ##arg); } while (0)
71 dev->name, __func__ , ##arg); } while (0)
77 int em28xx_read_reg_req_len(struct em28xx *dev, u8 req, u16 reg, argument
81 int pipe = usb_rcvctrlpipe(dev->udev, 0);
83 if (dev->disconnected)
99 mutex_lock(&dev->ctrl_urb_lock);
100 ret = usb_control_msg(dev->udev, pipe, req,
102 0x0000, reg, dev->urb_buf, len, HZ);
106 mutex_unlock(&dev
131 em28xx_read_reg_req(struct em28xx *dev, u8 req, u16 reg) argument
143 em28xx_read_reg(struct em28xx *dev, u16 reg) argument
153 em28xx_write_regs_req(struct em28xx *dev, u8 req, u16 reg, char *buf, int len) argument
197 em28xx_write_regs(struct em28xx *dev, u16 reg, char *buf, int len) argument
204 em28xx_write_reg(struct em28xx *dev, u16 reg, u8 val) argument
215 em28xx_write_reg_bits(struct em28xx *dev, u16 reg, u8 val, u8 bitmask) argument
235 em28xx_toggle_reg_bits(struct em28xx *dev, u16 reg, u8 bitmask) argument
254 em28xx_is_ac97_ready(struct em28xx *dev) argument
278 em28xx_read_ac97(struct em28xx *dev, u8 reg) argument
305 em28xx_write_ac97(struct em28xx *dev, u8 reg, u16 val) argument
344 set_ac97_input(struct em28xx *dev) argument
369 em28xx_set_audio_source(struct em28xx *dev) argument
431 em28xx_audio_analog_set(struct em28xx *dev) argument
504 em28xx_audio_setup(struct em28xx *dev) argument
612 em28xx_find_led(struct em28xx *dev, enum em28xx_led_role role) argument
628 em28xx_capture_start(struct em28xx *dev, int start) argument
689 em28xx_gpio_set(struct em28xx *dev, struct em28xx_reg_seq *gpio) argument
724 em28xx_set_mode(struct em28xx *dev, enum em28xx_mode set_mode) argument
755 struct em28xx *dev = urb->context; local
794 em28xx_uninit_usb_xfer(struct em28xx *dev, enum em28xx_mode mode) argument
842 em28xx_stop_urbs(struct em28xx *dev) argument
867 em28xx_alloc_urbs(struct em28xx *dev, enum em28xx_mode mode, int xfer_bulk, int num_bufs, int max_pkt_size, int packet_multiplier) argument
990 em28xx_init_usb_xfer(struct em28xx *dev, enum em28xx_mode mode, int xfer_bulk, int num_bufs, int max_pkt_size, int packet_multiplier, int (*urb_data_copy) (struct em28xx *dev, struct urb *urb)) argument
1068 struct em28xx *dev = NULL; local
1083 struct em28xx *dev = NULL; local
1095 em28xx_init_extension(struct em28xx *dev) argument
1108 em28xx_close_extension(struct em28xx *dev) argument
1121 em28xx_suspend_extension(struct em28xx *dev) argument
1135 em28xx_resume_extension(struct em28xx *dev) argument
[all...]
/drivers/net/can/sja1000/
H A Dems_pcmcia.c25 #include <linux/can/dev.h>
93 struct net_device *dev; local
106 dev = card->net_dev[i];
107 if (!dev)
110 if (sja1000_interrupt(irq, dev) == IRQ_HANDLED)
142 struct net_device *dev; local
148 dev = card->net_dev[i];
149 if (!dev)
153 DRV_NAME, dev->name, i);
154 unregister_sja1000dev(dev);
172 struct net_device *dev; local
259 ems_pcmcia_probe(struct pcmcia_device *dev) argument
308 ems_pcmcia_remove(struct pcmcia_device *dev) argument
[all...]
/drivers/amba/
H A Dbus.c27 amba_lookup(const struct amba_id *table, struct amba_device *dev) argument
32 ret = (dev->periphid & table->mask) == table->id;
41 static int amba_match(struct device *dev, struct device_driver *drv) argument
43 struct amba_device *pcdev = to_amba_device(dev);
49 static int amba_uevent(struct device *dev, struct kobj_uevent_env *env) argument
51 struct amba_device *pcdev = to_amba_device(dev);
66 struct amba_device *dev = to_amba_device(_dev); \
74 amba_attr_func(id, "%08x\n", dev->periphid);
75 amba_attr(irq0, "%u\n", dev->irq[0]);
76 amba_attr(irq1, "%u\n", dev
93 amba_pm_runtime_suspend(struct device *dev) argument
104 amba_pm_runtime_resume(struct device *dev) argument
178 amba_probe(struct device *dev) argument
215 amba_remove(struct device *dev) argument
236 amba_shutdown(struct device *dev) argument
276 amba_device_release(struct device *dev) argument
294 amba_device_add(struct amba_device *dev, struct resource *parent) argument
378 struct amba_device *dev; local
444 amba_device_initialize(struct amba_device *dev, const char *name) argument
467 struct amba_device *dev; local
490 amba_device_register(struct amba_device *dev, struct resource *parent) argument
502 amba_device_put(struct amba_device *dev) argument
519 amba_device_unregister(struct amba_device *dev) argument
526 struct amba_device *dev; member in struct:find_data
533 amba_find_match(struct device *dev, void *data) argument
589 amba_request_regions(struct amba_device *dev, const char *name) argument
611 amba_release_regions(struct amba_device *dev) argument
[all...]
/drivers/input/mouse/
H A Damimouse.c40 struct input_dev *dev = data; local
62 input_report_rel(dev, REL_X, dx);
63 input_report_rel(dev, REL_Y, dy);
65 input_report_key(dev, BTN_LEFT, ciaa.pra & 0x40);
66 input_report_key(dev, BTN_MIDDLE, potgor & 0x0100);
67 input_report_key(dev, BTN_RIGHT, potgor & 0x0400);
69 input_sync(dev);
74 static int amimouse_open(struct input_dev *dev) argument
85 dev);
87 dev_err(&dev
92 amimouse_close(struct input_dev *dev) argument
100 struct input_dev *dev; local
134 struct input_dev *dev = platform_get_drvdata(pdev); local
[all...]
/drivers/pnp/
H A Dbase.h19 int pnp_add_device(struct pnp_dev *dev);
20 struct pnp_id *pnp_add_id(struct pnp_dev *dev, const char *id);
24 int pnp_add_card_device(struct pnp_card *card, struct pnp_dev *dev);
25 void pnp_remove_card_device(struct pnp_dev *dev);
80 int pnp_register_irq_resource(struct pnp_dev *dev, unsigned int option_flags,
82 int pnp_register_dma_resource(struct pnp_dev *dev, unsigned int option_flags,
84 int pnp_register_port_resource(struct pnp_dev *dev, unsigned int option_flags,
88 int pnp_register_mem_resource(struct pnp_dev *dev, unsigned int option_flags,
109 static inline unsigned int pnp_new_dependent_set(struct pnp_dev *dev, argument
115 dev_warn(&dev
[all...]
/drivers/media/common/saa7146/
H A Dsaa7146_vbi.c5 static int vbi_workaround(struct saa7146_dev *dev) argument
7 struct saa7146_vv *vv = dev->vv_data;
17 DEB_VBI("dev:%p\n", dev);
24 cpu = pci_alloc_consistent(dev->pci, 4096, &dma_addr);
29 saa7146_write(dev, BASE_EVEN3, dma_addr);
30 saa7146_write(dev, BASE_ODD3, dma_addr+vbi_pixel_to_capture);
31 saa7146_write(dev, PROT_ADDR3, dma_addr+4096);
32 saa7146_write(dev, PITCH3, vbi_pixel_to_capture);
33 saa7146_write(dev, BASE_PAGE
134 saa7146_set_vbi_capture(struct saa7146_dev *dev, struct saa7146_buf *buf, struct saa7146_buf *next) argument
204 buffer_activate(struct saa7146_dev *dev, struct saa7146_buf *buf, struct saa7146_buf *next) argument
222 struct saa7146_dev *dev = fh->dev; local
292 struct saa7146_dev *dev = fh->dev; local
304 struct saa7146_dev *dev = fh->dev; local
322 struct saa7146_dev *dev = fh->dev; local
355 struct saa7146_dev *dev = fh->dev; local
362 vbi_init(struct saa7146_dev *dev, struct saa7146_vv *vv) argument
376 vbi_open(struct saa7146_dev *dev, struct file *file) argument
425 vbi_close(struct saa7146_dev *dev, struct file *file) argument
437 vbi_irq_done(struct saa7146_dev *dev, unsigned long status) argument
459 struct saa7146_dev *dev = fh->dev; local
[all...]
/drivers/gpu/drm/nouveau/dispnv04/
H A Dhw.c39 NVWriteVgaSeq(struct drm_device *dev, int head, uint8_t index, uint8_t value) argument
41 NVWritePRMVIO(dev, head, NV_PRMVIO_SRX, index);
42 NVWritePRMVIO(dev, head, NV_PRMVIO_SR, value);
46 NVReadVgaSeq(struct drm_device *dev, int head, uint8_t index) argument
48 NVWritePRMVIO(dev, head, NV_PRMVIO_SRX, index);
49 return NVReadPRMVIO(dev, head, NV_PRMVIO_SR);
53 NVWriteVgaGr(struct drm_device *dev, int head, uint8_t index, uint8_t value) argument
55 NVWritePRMVIO(dev, head, NV_PRMVIO_GRX, index);
56 NVWritePRMVIO(dev, head, NV_PRMVIO_GX, value);
60 NVReadVgaGr(struct drm_device *dev, in argument
85 NVSetOwner(struct drm_device *dev, int owner) argument
110 NVBlankScreen(struct drm_device *dev, int head, bool blank) argument
132 nouveau_hw_decode_pll(struct drm_device *dev, uint32_t reg1, uint32_t pll1, uint32_t pll2, struct nouveau_pll_vals *pllvals) argument
164 nouveau_hw_get_pllvals(struct drm_device *dev, enum nvbios_pll_type plltype, struct nouveau_pll_vals *pllvals) argument
215 nouveau_hw_get_clock(struct drm_device *dev, enum nvbios_pll_type plltype) argument
246 nouveau_hw_fix_bad_vpll(struct drm_device *dev, int head) argument
284 nouveau_vga_font_io(struct drm_device *dev, void __iomem *iovram, bool save, unsigned plane) argument
304 nouveau_hw_save_vga_fonts(struct drm_device *dev, bool save) argument
373 rd_cio_state(struct drm_device *dev, int head, struct nv04_crtc_reg *crtcstate, int index) argument
380 wr_cio_state(struct drm_device *dev, int head, struct nv04_crtc_reg *crtcstate, int index) argument
387 nv_save_state_ramdac(struct drm_device *dev, int head, struct nv04_mode_state *state) argument
462 nv_load_state_ramdac(struct drm_device *dev, int head, struct nv04_mode_state *state) argument
534 nv_save_state_vga(struct drm_device *dev, int head, struct nv04_mode_state *state) argument
558 nv_load_state_vga(struct drm_device *dev, int head, struct nv04_mode_state *state) argument
584 nv_save_state_ext(struct drm_device *dev, int head, struct nv04_mode_state *state) argument
659 nv_load_state_ext(struct drm_device *dev, int head, struct nv04_mode_state *state) argument
765 nv_save_state_palette(struct drm_device *dev, int head, struct nv04_mode_state *state) argument
784 nouveau_hw_load_state_palette(struct drm_device *dev, int head, struct nv04_mode_state *state) argument
802 nouveau_hw_save_state(struct drm_device *dev, int head, struct nv04_mode_state *state) argument
816 nouveau_hw_load_state(struct drm_device *dev, int head, struct nv04_mode_state *state) argument
[all...]
/drivers/media/pci/saa7164/
H A Dsaa7164-core.c258 struct saa7164_dev *dev = port->dev; local
365 struct saa7164_dev *dev = port->dev; local
442 struct saa7164_dev *dev = port->dev; local
516 struct saa7164_dev *dev = container_of(w, struct saa7164_dev, workcmd); local
519 saa7164_irq_dequeue(dev);
534 struct saa7164_dev *dev = port->dev; local
559 struct saa7164_dev *dev = port->dev; local
583 struct saa7164_dev *dev = port->dev; local
621 struct saa7164_dev *dev = dev_id; local
723 saa7164_getfirmwarestatus(struct saa7164_dev *dev) argument
744 saa7164_getcurrentfirmwareversion(struct saa7164_dev *dev) argument
760 saa7164_dumpregs(struct saa7164_dev *dev, u32 addr) argument
790 saa7164_dump_hwdesc(struct saa7164_dev *dev) argument
820 saa7164_dump_intfdesc(struct saa7164_dev *dev) argument
842 saa7164_dump_busdesc(struct saa7164_dev *dev) argument
860 saa7164_get_descriptors(struct saa7164_dev *dev) argument
885 saa7164_pci_quirks(struct saa7164_dev *dev) argument
890 get_resources(struct saa7164_dev *dev) argument
908 saa7164_port_init(struct saa7164_dev *dev, int portnr) argument
958 saa7164_dev_setup(struct saa7164_dev *dev) argument
1043 saa7164_dev_unregister(struct saa7164_dev *dev) argument
1065 struct saa7164_dev *dev; local
1155 struct saa7164_dev *dev = data; local
1191 struct saa7164_dev *dev; local
1383 saa7164_shutdown(struct saa7164_dev *dev) argument
1390 struct saa7164_dev *dev = pci_get_drvdata(pci_dev); local
[all...]
/drivers/usb/gadget/legacy/
H A Dprinter.c286 struct printer_dev *dev = ep->driver_data; local
290 spin_lock_irqsave(&dev->lock, flags);
299 list_add_tail(&req->list, &dev->rx_buffers);
300 DBG(dev, "G_Printer : rx length %d\n", req->actual);
302 list_add(&req->list, &dev->rx_reqs);
309 VDBG(dev, "rx shutdown, code %d\n", status);
310 list_add(&req->list, &dev->rx_reqs);
315 DBG(dev, "rx %s reset\n", ep->name);
316 list_add(&req->list, &dev->rx_reqs);
324 DBG(dev, "r
335 struct printer_dev *dev = ep->driver_data; local
366 struct printer_dev *dev; local
393 struct printer_dev *dev = fd->private_data; local
410 setup_rx_reqs(struct printer_dev *dev) argument
449 struct printer_dev *dev = fd->private_data; local
585 struct printer_dev *dev = fd->private_data; local
695 struct printer_dev *dev = fd->private_data; local
718 struct printer_dev *dev = fd->private_data; local
747 struct printer_dev *dev = fd->private_data; local
792 set_printer_interface(struct printer_dev *dev) argument
828 printer_reset_interface(struct printer_dev *dev) argument
847 set_interface(struct printer_dev *dev, unsigned number) argument
866 printer_soft_reset(struct printer_dev *dev) argument
925 struct printer_dev *dev = container_of(f, struct printer_dev, function); local
989 struct printer_dev *dev = container_of(f, struct printer_dev, function); local
1039 struct printer_dev *dev = container_of(f, struct printer_dev, function); local
1050 struct printer_dev *dev = container_of(f, struct printer_dev, function); local
1062 struct printer_dev *dev; local
1115 struct printer_dev *dev; local
[all...]
/drivers/gpu/drm/gma500/
H A Dpower.c43 * @dev: our device
47 void gma_power_init(struct drm_device *dev) argument
49 struct drm_psb_private *dev_priv = dev->dev_private;
62 dev_priv->ops->init_pm(dev);
67 * @dev: device to end for
71 void gma_power_uninit(struct drm_device *dev) argument
73 pm_runtime_disable(&dev->pdev->dev);
74 pm_runtime_set_suspended(&dev->pdev->dev);
83 gma_suspend_display(struct drm_device *dev) argument
102 struct drm_device *dev = pci_get_drvdata(pdev); local
126 struct drm_device *dev = pci_get_drvdata(pdev); local
156 struct drm_device *dev = pci_get_drvdata(pdev); local
191 struct drm_device *dev = pci_get_drvdata(pdev); local
218 struct drm_device *dev = pci_get_drvdata(pdev); local
235 gma_power_is_on(struct drm_device *dev) argument
249 gma_power_begin(struct drm_device *dev, bool force_on) argument
288 gma_power_end(struct drm_device *dev) argument
299 psb_runtime_suspend(struct device *dev) argument
304 psb_runtime_resume(struct device *dev) argument
309 psb_runtime_idle(struct device *dev) argument
[all...]
/drivers/i2c/busses/
H A Di2c-tiny-usb.c61 dev_dbg(&adapter->dev, "master xfer %d messages:\n", num);
78 dev_dbg(&adapter->dev,
89 dev_err(&adapter->dev,
99 dev_err(&adapter->dev,
108 dev_err(&adapter->dev, "failure reading status\n");
113 dev_dbg(&adapter->dev, " status = %d\n", *pstatus);
136 dev_err(&adapter->dev, "failure reading functionality\n");
180 struct i2c_tiny_usb *dev = (struct i2c_tiny_usb *)adapter->algo_data; local
183 return usb_control_msg(dev->usb_dev, usb_rcvctrlpipe(dev
191 struct i2c_tiny_usb *dev = (struct i2c_tiny_usb *)adapter->algo_data; local
199 i2c_tiny_usb_free(struct i2c_tiny_usb *dev) argument
208 struct i2c_tiny_usb *dev; local
268 struct i2c_tiny_usb *dev = usb_get_intfdata(interface); local
[all...]
/drivers/staging/comedi/drivers/
H A Daddi_apci_2200.c38 static int apci2200_di_insn_bits(struct comedi_device *dev, argument
43 data[1] = inw(dev->iobase + APCI2200_DI_REG);
48 static int apci2200_do_insn_bits(struct comedi_device *dev, argument
53 s->state = inw(dev->iobase + APCI2200_DO_REG);
56 outw(s->state, dev->iobase + APCI2200_DO_REG);
63 static int apci2200_reset(struct comedi_device *dev) argument
65 outw(0x0, dev->iobase + APCI2200_DO_REG);
67 addi_watchdog_reset(dev->iobase + APCI2200_WDOG_REG);
72 static int apci2200_auto_attach(struct comedi_device *dev, argument
75 struct pci_dev *pcidev = comedi_to_pci_dev(dev);
117 apci2200_detach(struct comedi_device *dev) argument
131 apci2200_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) argument
[all...]
/drivers/w1/masters/
H A Dmatrox_w1.c106 static __inline__ u8 matrox_w1_read_reg(struct matrox_device *dev, u8 reg) argument
110 writeb(reg, dev->port_index);
111 ret = readb(dev->port_data);
117 static __inline__ void matrox_w1_write_reg(struct matrox_device *dev, u8 reg, u8 val) argument
119 writeb(reg, dev->port_index);
120 writeb(val, dev->port_data);
127 struct matrox_device *dev = data; local
132 bit = dev->data_mask;
134 ret = matrox_w1_read_reg(dev, MATROX_GET_CONTROL);
135 matrox_w1_write_reg(dev, MATROX_GET_CONTRO
142 struct matrox_device *dev = data; local
149 matrox_w1_hw_init(struct matrox_device *dev) argument
157 struct matrox_device *dev; local
225 struct matrox_device *dev = pci_get_drvdata(pdev); local
[all...]

Completed in 6849 milliseconds

<<11121314151617181920>>