Searched refs:dev (Results 1 - 25 of 8049) sorted by relevance

1234567891011>>

/drivers/gpu/drm/gma500/
H A Dopregion.h26 extern void psb_intel_opregion_asle_intr(struct drm_device *dev);
27 extern void psb_intel_opregion_init(struct drm_device *dev);
28 extern void psb_intel_opregion_fini(struct drm_device *dev);
29 extern int psb_intel_opregion_setup(struct drm_device *dev);
30 extern void psb_intel_opregion_enable_asle(struct drm_device *dev);
34 extern inline void psb_intel_opregion_asle_intr(struct drm_device *dev) argument
38 extern inline void psb_intel_opregion_init(struct drm_device *dev) argument
42 extern inline void psb_intel_opregion_fini(struct drm_device *dev) argument
46 extern inline int psb_intel_opregion_setup(struct drm_device *dev) argument
51 extern inline void psb_intel_opregion_enable_asle(struct drm_device *dev) argument
[all...]
H A Dmid_bios.h20 extern int mid_chip_setup(struct drm_device *dev);
H A Dpower.h36 void gma_power_init(struct drm_device *dev);
37 void gma_power_uninit(struct drm_device *dev);
42 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);
52 bool gma_power_begin(struct drm_device *dev, bool force);
53 void gma_power_end(struct drm_device *dev);
61 bool gma_power_is_on(struct drm_device *dev);
66 int psb_runtime_suspend(struct device *dev);
[all...]
H A Dgma_device.h19 extern void gma_get_core_freq(struct drm_device *dev);
/drivers/misc/mei/
H A Dinit.c61 * @dev: the device structure
63 void mei_cancel_work(struct mei_device *dev) argument
65 cancel_work_sync(&dev->init_work);
66 cancel_work_sync(&dev->reset_work);
68 cancel_delayed_work(&dev->timer_work);
75 * @dev: the device structure
79 int mei_reset(struct mei_device *dev) argument
81 enum mei_dev_state state = dev->dev_state;
91 mei_fw_status(dev, &fw_status);
92 dev_warn(dev
180 mei_start(struct mei_device *dev) argument
249 mei_restart(struct mei_device *dev) argument
280 struct mei_device *dev = local
300 mei_stop(struct mei_device *dev) argument
330 mei_write_is_idle(struct mei_device *dev) argument
353 mei_device_init(struct mei_device *dev, struct device *device, const struct mei_hw_ops *hw_ops) argument
[all...]
H A Dwd.c42 static void mei_wd_set_start_timeout(struct mei_device *dev, u16 timeout) argument
44 dev_dbg(dev->dev, "wd: set timeout=%d.\n", timeout);
45 memcpy(dev->wd_data, mei_start_wd_params, MEI_WD_HDR_SIZE);
46 memcpy(dev->wd_data + MEI_WD_HDR_SIZE, &timeout, sizeof(u16));
52 * @dev: the device structure
58 int mei_wd_host_init(struct mei_device *dev) argument
60 struct mei_cl *cl = &dev->wd_cl;
64 mei_cl_init(cl, dev);
66 dev
113 mei_wd_send(struct mei_device *dev) argument
160 mei_wd_stop(struct mei_device *dev) argument
214 struct mei_device *dev; local
250 struct mei_device *dev; local
272 struct mei_device *dev; local
321 struct mei_device *dev; local
368 mei_watchdog_register(struct mei_device *dev) argument
388 mei_watchdog_unregister(struct mei_device *dev) argument
[all...]
/drivers/gpu/drm/exynos/
H A Dexynos_drm_fbdev.h18 int exynos_drm_fbdev_init(struct drm_device *dev);
19 int exynos_drm_fbdev_reinit(struct drm_device *dev);
20 void exynos_drm_fbdev_fini(struct drm_device *dev);
21 void exynos_drm_fbdev_restore_mode(struct drm_device *dev);
/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_ctrl.h18 int s5p_mfc_release_firmware(struct s5p_mfc_dev *dev);
19 int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev);
20 int s5p_mfc_load_firmware(struct s5p_mfc_dev *dev);
21 int s5p_mfc_reload_firmware(struct s5p_mfc_dev *dev);
23 int s5p_mfc_init_hw(struct s5p_mfc_dev *dev);
24 void s5p_mfc_deinit_hw(struct s5p_mfc_dev *dev);
26 int s5p_mfc_sleep(struct s5p_mfc_dev *dev);
27 int s5p_mfc_wakeup(struct s5p_mfc_dev *dev);
29 int s5p_mfc_reset(struct s5p_mfc_dev *dev);
31 int s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struc
[all...]
H A Ds5p_mfc_cmd.c21 void s5p_mfc_init_hw_cmds(struct s5p_mfc_dev *dev) argument
23 if (IS_MFCV6_PLUS(dev))
28 dev->mfc_cmds = s5p_mfc_cmds;
H A Ds5p_mfc_ctrl.c27 int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev) argument
32 dev->fw_size = dev->variant->buf_size->fw;
34 if (dev->fw_virt_addr) {
39 dev->fw_virt_addr = dma_alloc_coherent(dev->mem_dev_l, dev->fw_size,
40 &dev->bank1, GFP_KERNEL);
42 if (!dev->fw_virt_addr) {
47 if (HAS_PORTNUM(dev)
78 s5p_mfc_load_firmware(struct s5p_mfc_dev *dev) argument
120 s5p_mfc_release_firmware(struct s5p_mfc_dev *dev) argument
133 s5p_mfc_reset(struct s5p_mfc_dev *dev) argument
188 s5p_mfc_init_memctrl(struct s5p_mfc_dev *dev) argument
201 s5p_mfc_clear_cmds(struct s5p_mfc_dev *dev) argument
215 s5p_mfc_init_hw(struct s5p_mfc_dev *dev) argument
292 s5p_mfc_deinit_hw(struct s5p_mfc_dev *dev) argument
302 s5p_mfc_sleep(struct s5p_mfc_dev *dev) argument
331 s5p_mfc_wakeup(struct s5p_mfc_dev *dev) argument
379 s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) argument
421 s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) argument
[all...]
/drivers/net/wireless/b43/
H A Dwa.c33 static void b43_wa_papd(struct b43_wldev *dev) argument
37 backup = b43_ofdmtab_read16(dev, B43_OFDMTAB_PWRDYN2, 0);
38 b43_ofdmtab_write16(dev, B43_OFDMTAB_PWRDYN2, 0, 7);
39 b43_ofdmtab_write16(dev, B43_OFDMTAB_UNKNOWN_APHY, 0, 0);
40 b43_dummy_transmission(dev, true, true);
41 b43_ofdmtab_write16(dev, B43_OFDMTAB_PWRDYN2, 0, backup);
44 static void b43_wa_auxclipthr(struct b43_wldev *dev) argument
46 b43_phy_write(dev, B43_PHY_OFDM(0x8E), 0x3800);
49 static void b43_wa_afcdac(struct b43_wldev *dev) argument
51 b43_phy_write(dev,
55 b43_wa_txdc_offset(struct b43_wldev *dev) argument
60 b43_wa_initgains(struct b43_wldev *dev) argument
84 b43_wa_divider(struct b43_wldev *dev) argument
90 b43_wa_gt(struct b43_wldev *dev) argument
119 b43_wa_rssi_lt(struct b43_wldev *dev) argument
134 b43_wa_analog(struct b43_wldev *dev) argument
152 b43_wa_dac(struct b43_wldev *dev) argument
162 b43_wa_fft(struct b43_wldev *dev) argument
174 b43_wa_nft(struct b43_wldev *dev) argument
196 b43_wa_rt(struct b43_wldev *dev) argument
204 b43_write_null_nst(struct b43_wldev *dev) argument
212 b43_write_nst(struct b43_wldev *dev, const u16 *nst) argument
220 b43_wa_nst(struct b43_wldev *dev) argument
245 b43_wa_art(struct b43_wldev *dev) argument
254 b43_wa_txlna_gain(struct b43_wldev *dev) argument
259 b43_wa_crs_reset(struct b43_wldev *dev) argument
264 b43_wa_2060txlna_gain(struct b43_wldev *dev) argument
270 b43_wa_lms(struct b43_wldev *dev) argument
275 b43_wa_mixedsignal(struct b43_wldev *dev) argument
280 b43_wa_msst(struct b43_wldev *dev) argument
301 b43_wa_iqadc(struct b43_wldev *dev) argument
308 b43_wa_crs_ed(struct b43_wldev *dev) argument
326 b43_wa_crs_thr(struct b43_wldev *dev) argument
331 b43_wa_crs_blank(struct b43_wldev *dev) argument
336 b43_wa_cck_shiftbits(struct b43_wldev *dev) argument
341 b43_wa_wrssi_offset(struct b43_wldev *dev) argument
358 b43_wa_txpuoff_rxpuon(struct b43_wldev *dev) argument
364 b43_wa_altagc(struct b43_wldev *dev) argument
442 b43_wa_tr_ltov(struct b43_wldev *dev) argument
447 b43_wa_cpll_nonpilot(struct b43_wldev *dev) argument
453 b43_wa_rssi_adc(struct b43_wldev *dev) argument
459 b43_wa_boards_a(struct b43_wldev *dev) argument
485 b43_wa_boards_g(struct b43_wldev *dev) argument
517 b43_wa_all(struct b43_wldev *dev) argument
[all...]
H A Dwa.h4 void b43_wa_initgains(struct b43_wldev *dev);
5 void b43_wa_all(struct b43_wldev *dev);
H A Dbus.c34 static int b43_bus_bcma_bus_may_powerdown(struct b43_bus_dev *dev) argument
36 return 0; /* bcma_bus_may_powerdown(dev->bdev->bus); */
38 static int b43_bus_bcma_bus_powerup(struct b43_bus_dev *dev, argument
41 return 0; /* bcma_bus_powerup(dev->sdev->bus, dynamic_pctl); */
43 static int b43_bus_bcma_device_is_enabled(struct b43_bus_dev *dev) argument
45 return bcma_core_is_enabled(dev->bdev);
47 static void b43_bus_bcma_device_enable(struct b43_bus_dev *dev, argument
50 bcma_core_enable(dev->bdev, core_specific_flags);
52 static void b43_bus_bcma_device_disable(struct b43_bus_dev *dev, argument
55 bcma_core_disable(dev
57 b43_bus_bcma_read16(struct b43_bus_dev *dev, u16 offset) argument
61 b43_bus_bcma_read32(struct b43_bus_dev *dev, u16 offset) argument
66 b43_bus_bcma_write16(struct b43_bus_dev *dev, u16 offset, u16 value) argument
71 b43_bus_bcma_write32(struct b43_bus_dev *dev, u16 offset, u32 value) argument
76 b43_bus_bcma_block_read(struct b43_bus_dev *dev, void *buffer, size_t count, u16 offset, u8 reg_width) argument
82 b43_bus_bcma_block_write(struct b43_bus_dev *dev, const void *buffer, size_t count, u16 offset, u8 reg_width) argument
90 struct b43_bus_dev *dev = kzalloc(sizeof(*dev), GFP_KERNEL); local
139 b43_bus_ssb_bus_may_powerdown(struct b43_bus_dev *dev) argument
143 b43_bus_ssb_bus_powerup(struct b43_bus_dev *dev, bool dynamic_pctl) argument
148 b43_bus_ssb_device_is_enabled(struct b43_bus_dev *dev) argument
152 b43_bus_ssb_device_enable(struct b43_bus_dev *dev, u32 core_specific_flags) argument
157 b43_bus_ssb_device_disable(struct b43_bus_dev *dev, u32 core_specific_flags) argument
163 b43_bus_ssb_read16(struct b43_bus_dev *dev, u16 offset) argument
167 b43_bus_ssb_read32(struct b43_bus_dev *dev, u16 offset) argument
171 b43_bus_ssb_write16(struct b43_bus_dev *dev, u16 offset, u16 value) argument
175 b43_bus_ssb_write32(struct b43_bus_dev *dev, u16 offset, u32 value) argument
179 b43_bus_ssb_block_read(struct b43_bus_dev *dev, void *buffer, size_t count, u16 offset, u8 reg_width) argument
185 b43_bus_ssb_block_write(struct b43_bus_dev *dev, const void *buffer, size_t count, u16 offset, u8 reg_width) argument
193 struct b43_bus_dev *dev; local
236 b43_bus_get_wldev(struct b43_bus_dev *dev) argument
251 b43_bus_set_wldev(struct b43_bus_dev *dev, void *wldev) argument
[all...]
/drivers/media/pci/cx23885/
H A Dcx23888-ir.h21 int cx23888_ir_probe(struct cx23885_dev *dev);
22 int cx23888_ir_remove(struct cx23885_dev *dev);
H A Dnetup-init.h21 extern void netup_initialize(struct cx23885_dev *dev);
H A Dcx23885-input.h21 void cx23885_input_rx_work_handler(struct cx23885_dev *dev, u32 events);
23 int cx23885_input_init(struct cx23885_dev *dev);
24 void cx23885_input_fini(struct cx23885_dev *dev);
/drivers/gpu/drm/nouveau/
H A Dnouveau_hwmon.h29 struct drm_device *dev; member in struct:nouveau_hwmon
34 nouveau_hwmon(struct drm_device *dev) argument
36 return nouveau_drm(dev)->hwmon;
40 int nouveau_hwmon_init(struct drm_device *dev);
41 void nouveau_hwmon_fini(struct drm_device *dev);
/drivers/base/power/
H A Dpower.h3 static inline void device_pm_init_common(struct device *dev) argument
5 if (!dev->power.early_init) {
6 spin_lock_init(&dev->power.lock);
7 dev->power.qos = NULL;
8 dev->power.early_init = true;
14 static inline void pm_runtime_early_init(struct device *dev) argument
16 dev->power.disable_depth = 1;
17 device_pm_init_common(dev);
20 extern void pm_runtime_init(struct device *dev);
21 extern void pm_runtime_remove(struct device *dev);
25 pm_runtime_early_init(struct device *dev) argument
30 pm_runtime_init(struct device *dev) argument
31 pm_runtime_remove(struct device *dev) argument
57 device_pm_sleep_init(struct device *dev) argument
59 device_pm_add(struct device *dev) argument
61 device_pm_remove(struct device *dev) argument
70 device_pm_move_last(struct device *dev) argument
74 device_pm_init(struct device *dev) argument
99 dpm_sysfs_add(struct device *dev) argument
100 dpm_sysfs_remove(struct device *dev) argument
101 rpm_sysfs_remove(struct device *dev) argument
102 wakeup_sysfs_add(struct device *dev) argument
103 wakeup_sysfs_remove(struct device *dev) argument
104 pm_qos_sysfs_add(struct device *dev) argument
105 pm_qos_sysfs_remove(struct device *dev) argument
[all...]
/drivers/staging/comedi/drivers/
H A Dni_labpc_isadma.h12 static inline bool labpc_have_dma_chan(struct comedi_device *dev) argument
14 struct labpc_private *devpriv = dev->private;
19 int labpc_init_dma_chan(struct comedi_device *dev, unsigned int dma_chan);
20 void labpc_free_dma_chan(struct comedi_device *dev);
21 void labpc_setup_dma(struct comedi_device *dev, struct comedi_subdevice *s);
22 void labpc_drain_dma(struct comedi_device *dev);
23 void labpc_handle_dma_status(struct comedi_device *dev);
27 static inline bool labpc_have_dma_chan(struct comedi_device *dev) argument
32 static inline int labpc_init_dma_chan(struct comedi_device *dev, argument
38 static inline void labpc_free_dma_chan(struct comedi_device *dev) argument
42 labpc_setup_dma(struct comedi_device *dev, struct comedi_subdevice *s) argument
47 labpc_drain_dma(struct comedi_device *dev) argument
51 labpc_handle_dma_status(struct comedi_device *dev) argument
[all...]
/drivers/base/
H A Dpinctrl.c20 * @dev: the device that is just about to probe
22 int pinctrl_bind_pins(struct device *dev) argument
26 dev->pins = devm_kzalloc(dev, sizeof(*(dev->pins)), GFP_KERNEL);
27 if (!dev->pins)
30 dev->pins->p = devm_pinctrl_get(dev);
31 if (IS_ERR(dev->pins->p)) {
32 dev_dbg(dev, "n
[all...]
H A Ddd.c62 struct device *dev; local
79 typeof(*dev->p), deferred_probe);
80 dev = private->device;
83 get_device(dev);
98 device_pm_move_last(dev);
101 dev_dbg(dev, "Retrying from deferred list\n");
102 bus_probe_device(dev);
106 put_device(dev);
112 static void driver_deferred_probe_add(struct device *dev) argument
115 if (list_empty(&dev
122 driver_deferred_probe_del(struct device *dev) argument
195 driver_bound(struct device *dev) argument
220 driver_sysfs_add(struct device *dev) argument
240 driver_sysfs_remove(struct device *dev) argument
264 device_bind_driver(struct device *dev) argument
278 really_probe(struct device *dev, struct device_driver *drv) argument
388 driver_probe_device(struct device_driver *drv, struct device *dev) argument
407 struct device *dev = data; local
429 device_attach(struct device *dev) argument
456 __driver_attach(struct device *dev, void *data) argument
504 __device_release_driver(struct device *dev) argument
544 device_release_driver(struct device *dev) argument
564 struct device *dev; local
[all...]
/drivers/media/platform/vivid/
H A Dvivid-osd.h23 int vivid_fb_init(struct vivid_dev *dev);
24 void vivid_fb_release_buffers(struct vivid_dev *dev);
25 void vivid_clear_fb(struct vivid_dev *dev);
H A Dvivid-kthread-out.c54 static void vivid_thread_vid_out_tick(struct vivid_dev *dev) argument
59 dprintk(dev, 1, "Video Output Thread Tick\n");
62 if (dev->perc_dropped_buffers &&
63 prandom_u32_max(100) < dev->perc_dropped_buffers)
66 spin_lock(&dev->slock);
71 if (!list_empty(&dev->vid_out_active) &&
72 !list_is_singular(&dev->vid_out_active)) {
73 vid_out_buf = list_entry(dev->vid_out_active.next,
77 if (!list_empty(&dev->vbi_out_active) &&
78 (dev
123 struct vivid_dev *dev = data; local
218 vivid_grab_controls(struct vivid_dev *dev, bool grab) argument
227 vivid_start_generating_vid_out(struct vivid_dev *dev, bool *pstreaming) argument
261 vivid_stop_generating_vid_out(struct vivid_dev *dev, bool *pstreaming) argument
[all...]
/drivers/scsi/aacraid/
H A Drkt.c42 * @dev: Adapter
46 static int aac_rkt_select_comm(struct aac_dev *dev, int comm) argument
49 retval = aac_rx_select_comm(dev, comm);
62 if (dev->scsi_host_ptr->can_queue > AAC_NUM_IO_FIB_RKT) {
63 dev->init->MaxIoCommands =
65 dev->scsi_host_ptr->can_queue = AAC_NUM_IO_FIB_RKT;
76 static int aac_rkt_ioremap(struct aac_dev * dev, u32 size) argument
79 iounmap(dev->regs.rkt);
82 dev->base = dev
98 aac_rkt_init(struct aac_dev *dev) argument
[all...]
/drivers/media/rc/
H A Dene_ir.c50 static void ene_set_reg_addr(struct ene_device *dev, u16 reg) argument
52 outb(reg >> 8, dev->hw_io + ENE_ADDR_HI);
53 outb(reg & 0xFF, dev->hw_io + ENE_ADDR_LO);
57 static u8 ene_read_reg(struct ene_device *dev, u16 reg) argument
60 ene_set_reg_addr(dev, reg);
61 retval = inb(dev->hw_io + ENE_IO);
67 static void ene_write_reg(struct ene_device *dev, u16 reg, u8 value) argument
70 ene_set_reg_addr(dev, reg);
71 outb(value, dev->hw_io + ENE_IO);
75 static void ene_set_reg_mask(struct ene_device *dev, u1 argument
83 ene_clear_reg_mask(struct ene_device *dev, u16 reg, u8 mask) argument
91 ene_set_clear_reg_mask(struct ene_device *dev, u16 reg, u8 mask, bool set) argument
101 ene_hw_detect(struct ene_device *dev) argument
193 ene_rx_setup_hw_buffer(struct ene_device *dev) argument
251 ene_rx_restore_hw_buffer(struct ene_device *dev) argument
272 ene_rx_read_hw_pointer(struct ene_device *dev) argument
285 ene_rx_get_sample_reg(struct ene_device *dev) argument
332 ene_rx_sense_carrier(struct ene_device *dev) argument
364 ene_rx_enable_cir_engine(struct ene_device *dev, bool enable) argument
371 ene_rx_select_input(struct ene_device *dev, bool gpio_0a) argument
380 ene_rx_enable_fan_input(struct ene_device *dev, bool enable) argument
394 ene_rx_setup(struct ene_device *dev) argument
479 ene_rx_enable_hw(struct ene_device *dev) argument
510 ene_rx_enable(struct ene_device *dev) argument
517 ene_rx_disable_hw(struct ene_device *dev) argument
529 ene_rx_disable(struct ene_device *dev) argument
538 ene_rx_reset(struct ene_device *dev) argument
545 ene_tx_set_carrier(struct ene_device *dev) argument
575 ene_tx_set_transmitters(struct ene_device *dev) argument
588 ene_tx_enable(struct ene_device *dev) argument
615 ene_tx_disable(struct ene_device *dev) argument
623 ene_tx_sample(struct ene_device *dev) argument
680 struct ene_device *dev = (struct ene_device *)data; local
690 ene_irq_status(struct ene_device *dev) argument
740 struct ene_device *dev = (struct ene_device *)data; local
828 ene_setup_default_settings(struct ene_device *dev) argument
840 ene_setup_hw_settings(struct ene_device *dev) argument
853 struct ene_device *dev = rdev->priv; local
865 struct ene_device *dev = rdev->priv; local
876 struct ene_device *dev = rdev->priv; local
894 struct ene_device *dev = rdev->priv; local
918 struct ene_device *dev = rdev->priv; local
928 struct ene_device *dev = rdev->priv; local
944 struct ene_device *dev = rdev->priv; local
962 struct ene_device *dev = rdev->priv; local
973 struct ene_device *dev = rdev->priv; local
1011 struct ene_device *dev; local
1123 struct ene_device *dev = pnp_get_drvdata(pnp_dev); local
1138 ene_enable_wake(struct ene_device *dev, bool enable) argument
1147 struct ene_device *dev = pnp_get_drvdata(pnp_dev); local
1159 struct ene_device *dev = pnp_get_drvdata(pnp_dev); local
1172 struct ene_device *dev = pnp_get_drvdata(pnp_dev); local
[all...]

Completed in 314 milliseconds

1234567891011>>