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

1234567891011>>

/linux-master/arch/powerpc/include/asm/
H A Dlibata-portmap.h5 #define ATA_PRIMARY_IRQ(dev) pci_get_legacy_ide_irq(dev, 0)
7 #define ATA_SECONDARY_IRQ(dev) pci_get_legacy_ide_irq(dev, 1)
/linux-master/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.h9 extern int mid_chip_setup(struct drm_device *dev);
/linux-master/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_pm.h12 int s5p_mfc_init_pm(struct s5p_mfc_dev *dev);
13 void s5p_mfc_final_pm(struct s5p_mfc_dev *dev);
15 int s5p_mfc_clock_on(struct s5p_mfc_dev *dev);
16 void s5p_mfc_clock_off(struct s5p_mfc_dev *dev);
17 int s5p_mfc_power_on(struct s5p_mfc_dev *dev);
18 int s5p_mfc_power_off(struct s5p_mfc_dev *dev);
H A Ds5p_mfc_cmd.c15 void s5p_mfc_init_hw_cmds(struct s5p_mfc_dev *dev) argument
17 if (IS_MFCV6_PLUS(dev))
18 dev->mfc_cmds = s5p_mfc_init_hw_cmds_v6();
20 dev->mfc_cmds = s5p_mfc_init_hw_cmds_v5();
H A Ds5p_mfc_ctrl.h14 int s5p_mfc_release_firmware(struct s5p_mfc_dev *dev);
15 int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev);
16 int s5p_mfc_load_firmware(struct s5p_mfc_dev *dev);
18 int s5p_mfc_init_hw(struct s5p_mfc_dev *dev);
19 void s5p_mfc_deinit_hw(struct s5p_mfc_dev *dev);
21 int s5p_mfc_sleep(struct s5p_mfc_dev *dev);
22 int s5p_mfc_wakeup(struct s5p_mfc_dev *dev);
24 int s5p_mfc_reset(struct s5p_mfc_dev *dev);
26 int s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx);
27 void s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struc
[all...]
H A Ds5p_mfc_ctrl.c23 int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev) argument
25 struct s5p_mfc_priv_buf *fw_buf = &dev->fw_buf;
28 fw_buf->size = dev->variant->buf_size->fw;
35 err = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &dev->fw_buf);
45 int s5p_mfc_load_firmware(struct s5p_mfc_dev *dev) argument
59 if (!IS_MFCV12(dev))
60 if (dev->fw_get_done)
64 if (!dev->variant->fw_name[i])
67 dev
92 s5p_mfc_release_firmware(struct s5p_mfc_dev *dev) argument
101 s5p_mfc_bus_reset(struct s5p_mfc_dev *dev) argument
121 s5p_mfc_reset(struct s5p_mfc_dev *dev) argument
179 s5p_mfc_init_memctrl(struct s5p_mfc_dev *dev) argument
197 s5p_mfc_clear_cmds(struct s5p_mfc_dev *dev) argument
211 s5p_mfc_init_hw(struct s5p_mfc_dev *dev) argument
295 s5p_mfc_deinit_hw(struct s5p_mfc_dev *dev) argument
305 s5p_mfc_sleep(struct s5p_mfc_dev *dev) argument
334 s5p_mfc_v8_wait_wakeup(struct s5p_mfc_dev *dev) argument
360 s5p_mfc_wait_wakeup(struct s5p_mfc_dev *dev) argument
386 s5p_mfc_wakeup(struct s5p_mfc_dev *dev) argument
429 s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) argument
470 s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) argument
[all...]
/linux-master/drivers/infiniband/hw/mlx5/
H A Dfs.h12 int mlx5_ib_fs_init(struct mlx5_ib_dev *dev);
13 void mlx5_ib_fs_cleanup_anchor(struct mlx5_ib_dev *dev);
15 static inline int mlx5_ib_fs_init(struct mlx5_ib_dev *dev) argument
17 dev->flow_db = kzalloc(sizeof(*dev->flow_db), GFP_KERNEL);
19 if (!dev->flow_db)
22 mutex_init(&dev->flow_db->lock);
26 inline void mlx5_ib_fs_cleanup_anchor(struct mlx5_ib_dev *dev) {} argument
29 static inline void mlx5_ib_fs_cleanup(struct mlx5_ib_dev *dev) argument
42 mlx5_ib_fs_cleanup_anchor(dev);
[all...]
/linux-master/drivers/misc/mei/
H A Dinit.c81 * @dev: the device structure
83 void mei_cancel_work(struct mei_device *dev) argument
85 cancel_work_sync(&dev->reset_work);
86 cancel_work_sync(&dev->bus_rescan_work);
88 cancel_delayed_work_sync(&dev->timer_work);
92 static void mei_save_fw_status(struct mei_device *dev) argument
97 ret = mei_fw_status(dev, &fw_status);
99 dev_err(dev->dev, "failed to read firmware status: %d\n", ret);
103 dev
115 mei_reset(struct mei_device *dev) argument
218 mei_start(struct mei_device *dev) argument
273 mei_restart(struct mei_device *dev) argument
302 struct mei_device *dev = local
325 mei_stop(struct mei_device *dev) argument
361 mei_write_is_idle(struct mei_device *dev) argument
387 mei_device_init(struct mei_device *dev, struct device *device, bool slow_fw, const struct mei_hw_ops *hw_ops) argument
[all...]
/linux-master/drivers/net/wireless/broadcom/b43/
H A Dwa.h5 void b43_wa_initgains(struct b43_wldev *dev);
6 void b43_wa_all(struct b43_wldev *dev);
H A Dbus.c21 static int b43_bus_bcma_bus_may_powerdown(struct b43_bus_dev *dev) argument
23 return 0; /* bcma_bus_may_powerdown(dev->bdev->bus); */
25 static int b43_bus_bcma_bus_powerup(struct b43_bus_dev *dev, argument
28 return 0; /* bcma_bus_powerup(dev->sdev->bus, dynamic_pctl); */
30 static int b43_bus_bcma_device_is_enabled(struct b43_bus_dev *dev) argument
32 return bcma_core_is_enabled(dev->bdev);
34 static void b43_bus_bcma_device_enable(struct b43_bus_dev *dev, argument
37 bcma_core_enable(dev->bdev, core_specific_flags);
39 static void b43_bus_bcma_device_disable(struct b43_bus_dev *dev, argument
42 bcma_core_disable(dev
44 b43_bus_bcma_read16(struct b43_bus_dev *dev, u16 offset) argument
48 b43_bus_bcma_read32(struct b43_bus_dev *dev, u16 offset) argument
53 b43_bus_bcma_write16(struct b43_bus_dev *dev, u16 offset, u16 value) argument
58 b43_bus_bcma_write32(struct b43_bus_dev *dev, u16 offset, u32 value) argument
63 b43_bus_bcma_block_read(struct b43_bus_dev *dev, void *buffer, size_t count, u16 offset, u8 reg_width) argument
69 b43_bus_bcma_block_write(struct b43_bus_dev *dev, const void *buffer, size_t count, u16 offset, u8 reg_width) argument
77 struct b43_bus_dev *dev = kzalloc(sizeof(*dev), GFP_KERNEL); local
126 b43_bus_ssb_bus_may_powerdown(struct b43_bus_dev *dev) argument
130 b43_bus_ssb_bus_powerup(struct b43_bus_dev *dev, bool dynamic_pctl) argument
135 b43_bus_ssb_device_is_enabled(struct b43_bus_dev *dev) argument
139 b43_bus_ssb_device_enable(struct b43_bus_dev *dev, u32 core_specific_flags) argument
144 b43_bus_ssb_device_disable(struct b43_bus_dev *dev, u32 core_specific_flags) argument
150 b43_bus_ssb_read16(struct b43_bus_dev *dev, u16 offset) argument
154 b43_bus_ssb_read32(struct b43_bus_dev *dev, u16 offset) argument
158 b43_bus_ssb_write16(struct b43_bus_dev *dev, u16 offset, u16 value) argument
162 b43_bus_ssb_write32(struct b43_bus_dev *dev, u16 offset, u32 value) argument
166 b43_bus_ssb_block_read(struct b43_bus_dev *dev, void *buffer, size_t count, u16 offset, u8 reg_width) argument
172 b43_bus_ssb_block_write(struct b43_bus_dev *dev, const void *buffer, size_t count, u16 offset, u8 reg_width) argument
180 struct b43_bus_dev *dev; local
223 b43_bus_get_wldev(struct b43_bus_dev *dev) argument
238 b43_bus_set_wldev(struct b43_bus_dev *dev, void *wldev) argument
[all...]
/linux-master/drivers/media/pci/cx23885/
H A Dcx23888-ir.h12 int cx23888_ir_probe(struct cx23885_dev *dev);
13 int cx23888_ir_remove(struct cx23885_dev *dev);
H A Dnetup-init.h11 extern void netup_initialize(struct cx23885_dev *dev);
H A Dcx23885-input.h12 void cx23885_input_rx_work_handler(struct cx23885_dev *dev, u32 events);
14 int cx23885_input_init(struct cx23885_dev *dev);
15 void cx23885_input_fini(struct cx23885_dev *dev);
/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-kthread-touch.h10 int vivid_start_generating_touch_cap(struct vivid_dev *dev);
11 void vivid_stop_generating_touch_cap(struct vivid_dev *dev);
H A Dvivid-osd.h11 int vivid_fb_init(struct vivid_dev *dev);
12 void vivid_fb_release_buffers(struct vivid_dev *dev);
13 void vivid_clear_fb(struct vivid_dev *dev);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Decpf.h16 bool mlx5_read_embedded_cpu(struct mlx5_core_dev *dev);
17 int mlx5_ec_init(struct mlx5_core_dev *dev);
18 void mlx5_ec_cleanup(struct mlx5_core_dev *dev);
20 int mlx5_cmd_host_pf_enable_hca(struct mlx5_core_dev *dev);
21 int mlx5_cmd_host_pf_disable_hca(struct mlx5_core_dev *dev);
26 mlx5_read_embedded_cpu(struct mlx5_core_dev *dev) { return false; } argument
27 static inline int mlx5_ec_init(struct mlx5_core_dev *dev) { return 0; } argument
28 static inline void mlx5_ec_cleanup(struct mlx5_core_dev *dev) {} argument
/linux-master/include/linux/soc/sunxi/
H A Dsunxi_sram.h16 int sunxi_sram_claim(struct device *dev);
17 void sunxi_sram_release(struct device *dev);
/linux-master/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);
/linux-master/drivers/comedi/drivers/
H A Dni_labpc_isadma.h11 void labpc_init_dma_chan(struct comedi_device *dev, unsigned int dma_chan);
12 void labpc_free_dma_chan(struct comedi_device *dev);
13 void labpc_setup_dma(struct comedi_device *dev, struct comedi_subdevice *s);
14 void labpc_drain_dma(struct comedi_device *dev);
15 void labpc_handle_dma_status(struct comedi_device *dev);
19 static inline void labpc_init_dma_chan(struct comedi_device *dev, argument
24 static inline void labpc_free_dma_chan(struct comedi_device *dev) argument
28 static inline void labpc_setup_dma(struct comedi_device *dev, argument
33 static inline void labpc_drain_dma(struct comedi_device *dev) argument
37 static inline void labpc_handle_dma_status(struct comedi_device *dev) argument
[all...]
/linux-master/drivers/media/test-drivers/visl/
H A Dvisl-debugfs.h16 int visl_debugfs_init(struct visl_dev *dev);
17 int visl_debugfs_bitstream_init(struct visl_dev *dev);
19 void visl_debugfs_clear_bitstream(struct visl_dev *dev);
20 void visl_debugfs_bitstream_deinit(struct visl_dev *dev);
21 void visl_debugfs_deinit(struct visl_dev *dev);
25 static inline int visl_debugfs_init(struct visl_dev *dev) argument
30 static inline int visl_debugfs_bitstream_init(struct visl_dev *dev) argument
36 static inline void visl_debugfs_clear_bitstream(struct visl_dev *dev) {} argument
37 static inline void visl_debugfs_bitstream_deinit(struct visl_dev *dev) {} argument
38 static inline void visl_debugfs_deinit(struct visl_dev *dev) {} argument
[all...]
/linux-master/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_hw.c69 cedrus_write(ctx->dev, VE_MODE, reg);
74 void cedrus_engine_disable(struct cedrus_dev *dev) argument
76 cedrus_write(dev, VE_MODE, VE_MODE_DISABLED);
79 void cedrus_dst_format_set(struct cedrus_dev *dev, argument
92 cedrus_write(dev, VE_PRIMARY_OUT_FMT, reg);
95 cedrus_write(dev, VE_PRIMARY_CHROMA_BUF_LEN, reg);
99 cedrus_write(dev, VE_PRIMARY_FB_LINE_STRIDE, reg);
105 cedrus_write(dev, VE_PRIMARY_OUT_FMT, reg);
108 cedrus_write(dev, VE_CHROMA_BUF_LEN, reg);
116 struct cedrus_dev *dev local
155 struct cedrus_dev *dev; local
173 struct cedrus_dev *dev = dev_get_drvdata(device); local
186 struct cedrus_dev *dev = dev_get_drvdata(device); local
229 cedrus_hw_probe(struct cedrus_dev *dev) argument
332 cedrus_hw_remove(struct cedrus_dev *dev) argument
[all...]
/linux-master/include/linux/
H A Dkdev_t.h10 #define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS))
11 #define MINOR(dev) ((unsigned int) ((dev) & MINORMASK))
14 #define print_dev_t(buffer, dev) \
15 sprintf((buffer), "%u:%u\n", MAJOR(dev), MINOR(dev))
17 #define format_dev_t(buffer, dev) \
19 sprintf(buffer, "%u:%u", MAJOR(dev), MINOR(dev)); \
24 old_valid_dev(dev_t dev) argument
29 old_encode_dev(dev_t dev) argument
39 new_encode_dev(dev_t dev) argument
46 new_decode_dev(u32 dev) argument
53 huge_encode_dev(dev_t dev) argument
58 huge_decode_dev(u64 dev) argument
63 sysv_valid_dev(dev_t dev) argument
68 sysv_encode_dev(dev_t dev) argument
73 sysv_major(u32 dev) argument
78 sysv_minor(u32 dev) argument
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dpci_init.c13 mt76x2_mac_pbf_init(struct mt76x02_dev *dev) argument
23 mt76_set(dev, MT_PBF_SYS_CTRL, val);
24 mt76_clear(dev, MT_PBF_SYS_CTRL, val);
26 mt76_wr(dev, MT_PBF_TX_MAX_PCNT, 0xefef3f1f);
27 mt76_wr(dev, MT_PBF_RX_MAX_PCNT, 0xfebf);
31 mt76x2_fixup_xtal(struct mt76x02_dev *dev) argument
36 eep_val = mt76x02_eeprom_get(dev, MT_EE_XTAL_TRIM_2);
46 eep_val = mt76x02_eeprom_get(dev, MT_EE_XTAL_TRIM_1);
54 mt76_rmw_field(dev, MT_XO_CTRL5, MT_XO_CTRL5_C2_VAL, eep_val + offset);
55 mt76_set(dev, MT_XO_CTRL
70 mt76x2_mac_reset(struct mt76x02_dev *dev, bool hard) argument
142 mt76x2_power_on_rf_patch(struct mt76x02_dev *dev) argument
163 mt76x2_power_on_rf(struct mt76x02_dev *dev, int unit) argument
185 mt76x2_power_on(struct mt76x02_dev *dev) argument
220 mt76x2_resume_device(struct mt76x02_dev *dev) argument
237 mt76x2_init_hardware(struct mt76x02_dev *dev) argument
271 mt76x2_stop_hardware(struct mt76x02_dev *dev) argument
281 mt76x2_cleanup(struct mt76x02_dev *dev) argument
290 mt76x2_register_device(struct mt76x02_dev *dev) argument
[all...]
/linux-master/drivers/base/
H A Dpinctrl.c19 * @dev: the device that is just about to probe
21 int pinctrl_bind_pins(struct device *dev) argument
25 if (dev->of_node_reused)
28 dev->pins = devm_kzalloc(dev, sizeof(*(dev->pins)), GFP_KERNEL);
29 if (!dev->pins)
32 dev->pins->p = devm_pinctrl_get(dev);
33 if (IS_ERR(dev
[all...]

Completed in 515 milliseconds

1234567891011>>