/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-kthread-cap.c | 45 static inline v4l2_std_id vivid_get_std_cap(const struct vivid_dev *dev) argument 47 if (vivid_is_sdtv_cap(dev)) 48 return dev->std_cap[dev->input]; 52 static void copy_pix(struct vivid_dev *dev, int win_y, int win_x, argument 60 if ((dev->fbuf_out_flags & V4L2_FBUF_FLAG_CHROMAKEY) && 61 *osd != dev->chromakey_out) 63 if ((dev->fbuf_out_flags & V4L2_FBUF_FLAG_SRC_CHROMAKEY) && 64 out == dev->chromakey_out) 66 if (dev 80 blend_line(struct vivid_dev *dev, unsigned y_offset, unsigned x_offset, u8 *vcapbuf, const u8 *vosdbuf, unsigned width, unsigned pixsize) argument 145 vivid_precalc_copy_rects(struct vivid_dev *dev) argument 216 vivid_copy_buffer(struct vivid_dev *dev, unsigned p, u8 *vcapbuf, struct vivid_buffer *vid_cap_buf) argument 386 vivid_fillbuff(struct vivid_dev *dev, struct vivid_buffer *buf) argument 536 vivid_cap_update_frame_period(struct vivid_dev *dev) argument 555 vivid_thread_vid_cap_tick(struct vivid_dev *dev, int dropped_bufs) argument 666 struct vivid_dev *dev = data; local 776 vivid_grab_controls(struct vivid_dev *dev, bool grab) argument 783 vivid_start_generating_vid_cap(struct vivid_dev *dev, bool *pstreaming) argument 824 vivid_stop_generating_vid_cap(struct vivid_dev *dev, bool *pstreaming) argument [all...] |
H A D | vivid-kthread-cap.h | 11 int vivid_start_generating_vid_cap(struct vivid_dev *dev, bool *pstreaming); 12 void vivid_stop_generating_vid_cap(struct vivid_dev *dev, bool *pstreaming);
|
H A D | vivid-kthread-out.h | 11 int vivid_start_generating_vid_out(struct vivid_dev *dev, bool *pstreaming); 12 void vivid_stop_generating_vid_out(struct vivid_dev *dev, bool *pstreaming);
|
/linux-master/drivers/net/wireless/broadcom/b43legacy/ |
H A D | sysfs.h | 7 int b43legacy_sysfs_register(struct b43legacy_wldev *dev); 8 void b43legacy_sysfs_unregister(struct b43legacy_wldev *dev);
|
/linux-master/drivers/net/wireless/broadcom/b43/ |
H A D | sysfs.h | 7 int b43_sysfs_register(struct b43_wldev *dev); 8 void b43_sysfs_unregister(struct b43_wldev *dev);
|
/linux-master/drivers/staging/rtl8192e/rtl8192e/ |
H A D | rtl_ps.h | 19 void rtl92e_hw_wakeup(struct net_device *dev); 20 void rtl92e_enter_sleep(struct net_device *dev, u64 time); 21 void rtl92e_rtllib_ips_leave_wq(struct net_device *dev); 22 void rtl92e_rtllib_ips_leave(struct net_device *dev); 25 void rtl92e_ips_enter(struct net_device *dev); 26 void rtl92e_ips_leave(struct net_device *dev); 28 void rtl92e_leisure_ps_enter(struct net_device *dev); 29 void rtl92e_leisure_ps_leave(struct net_device *dev);
|
H A D | rtl_eeprom.c | 13 static void _rtl92e_gpio_write_bit(struct net_device *dev, int no, bool val) argument 15 u8 reg = rtl92e_readb(dev, EPROM_CMD); 22 rtl92e_writeb(dev, EPROM_CMD, reg); 26 static bool _rtl92e_gpio_get_bit(struct net_device *dev, int no) argument 28 u8 reg = rtl92e_readb(dev, EPROM_CMD); 33 static void _rtl92e_eeprom_ck_cycle(struct net_device *dev) argument 35 _rtl92e_gpio_write_bit(dev, EPROM_CK_BIT, 1); 36 _rtl92e_gpio_write_bit(dev, EPROM_CK_BIT, 0); 39 static u16 _rtl92e_eeprom_xfer(struct net_device *dev, u16 data, int tx_len) argument 44 _rtl92e_gpio_write_bit(dev, EPROM_CS_BI 66 rtl92e_eeprom_read(struct net_device *dev, u32 addr) argument [all...] |
/linux-master/include/linux/usb/ |
H A D | ezusb.h | 5 extern int ezusb_fx1_set_reset(struct usb_device *dev, unsigned char reset_bit); 6 extern int ezusb_fx1_ihex_firmware_download(struct usb_device *dev,
|
/linux-master/drivers/gpu/drm/fsl-dcu/ |
H A D | fsl_dcu_drm_plane.h | 11 void fsl_dcu_drm_init_planes(struct drm_device *dev); 12 struct drm_plane *fsl_dcu_drm_primary_create_plane(struct drm_device *dev);
|
/linux-master/sound/soc/ti/ |
H A D | edma-pcm.h | 16 int edma_pcm_platform_register(struct device *dev); 18 static inline int edma_pcm_platform_register(struct device *dev) argument
|
H A D | udma-pcm.h | 10 int udma_pcm_platform_register(struct device *dev); 12 static inline int udma_pcm_platform_register(struct device *dev) argument
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | pci_vsc.h | 16 void mlx5_pci_vsc_init(struct mlx5_core_dev *dev); 17 int mlx5_vsc_gw_lock(struct mlx5_core_dev *dev); 18 int mlx5_vsc_gw_unlock(struct mlx5_core_dev *dev); 19 int mlx5_vsc_gw_set_space(struct mlx5_core_dev *dev, u16 space, 21 int mlx5_vsc_gw_read_block_fast(struct mlx5_core_dev *dev, u32 *data, 24 static inline bool mlx5_vsc_accessible(struct mlx5_core_dev *dev) argument 26 return !!dev->vsc_addr; 29 int mlx5_vsc_sem_set_space(struct mlx5_core_dev *dev, u16 space,
|
/linux-master/drivers/gpu/drm/pl111/ |
H A D | pl111_nomadik.h | 11 void pl111_nomadik_init(struct device *dev); 15 static inline void pl111_nomadik_init(struct device *dev) argument
|
/linux-master/drivers/gpu/drm/omapdrm/ |
H A D | omap_fbdev.h | 15 void omap_fbdev_setup(struct drm_device *dev); 17 static inline void omap_fbdev_setup(struct drm_device *dev) argument
|
/linux-master/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_fbdev.h | 15 void exynos_drm_fbdev_setup(struct drm_device *dev); 17 static inline void exynos_drm_fbdev_setup(struct drm_device *dev) argument
|
/linux-master/include/linux/ |
H A D | pm_wakeirq.h | 9 extern int dev_pm_set_wake_irq(struct device *dev, int irq); 10 extern int dev_pm_set_dedicated_wake_irq(struct device *dev, int irq); 11 extern int dev_pm_set_dedicated_wake_irq_reverse(struct device *dev, int irq); 12 extern void dev_pm_clear_wake_irq(struct device *dev); 16 static inline int dev_pm_set_wake_irq(struct device *dev, int irq) argument 21 static inline int dev_pm_set_dedicated_wake_irq(struct device *dev, int irq) argument 26 static inline int dev_pm_set_dedicated_wake_irq_reverse(struct device *dev, int irq) argument 31 static inline void dev_pm_clear_wake_irq(struct device *dev) argument
|
H A D | pm_runtime.h | 67 extern int pm_generic_runtime_suspend(struct device *dev); 68 extern int pm_generic_runtime_resume(struct device *dev); 69 extern int pm_runtime_force_suspend(struct device *dev); 70 extern int pm_runtime_force_resume(struct device *dev); 72 extern int __pm_runtime_idle(struct device *dev, int rpmflags); 73 extern int __pm_runtime_suspend(struct device *dev, int rpmflags); 74 extern int __pm_runtime_resume(struct device *dev, int rpmflags); 75 extern int pm_runtime_get_if_active(struct device *dev); 76 extern int pm_runtime_get_if_in_use(struct device *dev); 77 extern int pm_schedule_suspend(struct device *dev, unsigne 107 pm_suspend_ignore_children(struct device *dev, bool enable) argument 116 pm_runtime_get_noresume(struct device *dev) argument 127 pm_runtime_put_noidle(struct device *dev) argument 144 pm_runtime_suspended(struct device *dev) argument 162 pm_runtime_active(struct device *dev) argument 179 pm_runtime_status_suspended(struct device *dev) argument 194 pm_runtime_enabled(struct device *dev) argument 206 pm_runtime_has_no_callbacks(struct device *dev) argument 218 pm_runtime_mark_last_busy(struct device *dev) argument 231 pm_runtime_is_irq_safe(struct device *dev) argument 242 pm_generic_runtime_suspend(struct device *dev) argument 243 pm_generic_runtime_resume(struct device *dev) argument 244 pm_runtime_force_suspend(struct device *dev) argument 245 pm_runtime_force_resume(struct device *dev) argument 247 __pm_runtime_idle(struct device *dev, int rpmflags) argument 251 __pm_runtime_suspend(struct device *dev, int rpmflags) argument 255 __pm_runtime_resume(struct device *dev, int rpmflags) argument 259 pm_schedule_suspend(struct device *dev, unsigned int delay) argument 263 pm_runtime_get_if_in_use(struct device *dev) argument 267 pm_runtime_get_if_active(struct device *dev) argument 271 __pm_runtime_set_status(struct device *dev, unsigned int status) argument 273 pm_runtime_barrier(struct device *dev) argument 274 pm_runtime_enable(struct device *dev) argument 275 __pm_runtime_disable(struct device *dev, bool c) argument 276 pm_runtime_allow(struct device *dev) argument 277 pm_runtime_forbid(struct device *dev) argument 279 devm_pm_runtime_enable(struct device *dev) argument 281 pm_suspend_ignore_children(struct device *dev, bool enable) argument 282 pm_runtime_get_noresume(struct device *dev) argument 283 pm_runtime_put_noidle(struct device *dev) argument 284 pm_runtime_suspended(struct device *dev) argument 285 pm_runtime_active(struct device *dev) argument 286 pm_runtime_status_suspended(struct device *dev) argument 287 pm_runtime_enabled(struct device *dev) argument 289 pm_runtime_no_callbacks(struct device *dev) argument 290 pm_runtime_irq_safe(struct device *dev) argument 291 pm_runtime_is_irq_safe(struct device *dev) argument 293 pm_runtime_has_no_callbacks(struct device *dev) argument 294 pm_runtime_mark_last_busy(struct device *dev) argument 295 __pm_runtime_use_autosuspend(struct device *dev, bool use) argument 297 pm_runtime_set_autosuspend_delay(struct device *dev, int delay) argument 299 pm_runtime_autosuspend_expiration( struct device *dev) argument 301 pm_runtime_set_memalloc_noio(struct device *dev, bool enable) argument 303 pm_runtime_get_suppliers(struct device *dev) argument 304 pm_runtime_put_suppliers(struct device *dev) argument 305 pm_runtime_new_link(struct device *dev) argument 319 pm_runtime_idle(struct device *dev) argument 328 pm_runtime_suspend(struct device *dev) argument 340 pm_runtime_autosuspend(struct device *dev) argument 349 pm_runtime_resume(struct device *dev) argument 361 pm_request_idle(struct device *dev) argument 370 pm_request_resume(struct device *dev) argument 382 pm_request_autosuspend(struct device *dev) argument 394 pm_runtime_get(struct device *dev) argument 413 pm_runtime_get_sync(struct device *dev) argument 426 pm_runtime_resume_and_get(struct device *dev) argument 446 pm_runtime_put(struct device *dev) argument 458 __pm_runtime_put_autosuspend(struct device *dev) argument 470 pm_runtime_put_autosuspend(struct device *dev) argument 489 pm_runtime_put_sync(struct device *dev) argument 505 pm_runtime_put_sync_suspend(struct device *dev) argument 522 pm_runtime_put_sync_autosuspend(struct device *dev) argument 536 pm_runtime_set_active(struct device *dev) argument 550 pm_runtime_set_suspended(struct device *dev) argument 565 pm_runtime_disable(struct device *dev) argument 582 pm_runtime_use_autosuspend(struct device *dev) argument 595 pm_runtime_dont_use_autosuspend(struct device *dev) argument [all...] |
/linux-master/drivers/net/mctp/ |
H A D | mctp-serial.c | 76 static int next_chunk_len(struct mctp_serial *dev) argument 81 if (dev->txpos == dev->txlen) 87 if (needs_escape(dev->txbuf[dev->txpos])) 94 for (i = 1; i + dev->txpos + 1 < dev->txlen; i++) { 95 if (needs_escape(dev->txbuf[dev->txpos + i + 1])) 102 static int write_chunk(struct mctp_serial *dev, unsigne argument 109 struct mctp_serial *dev = container_of(work, struct mctp_serial, local 234 struct mctp_serial *dev = netdev_priv(ndev); local 262 struct mctp_serial *dev = tty->disc_data; local 267 mctp_serial_rx(struct mctp_serial *dev) argument 296 mctp_serial_push_header(struct mctp_serial *dev, unsigned char c) argument 326 mctp_serial_push_trailer(struct mctp_serial *dev, unsigned char c) argument 350 mctp_serial_push(struct mctp_serial *dev, unsigned char c) argument 396 struct mctp_serial *dev = tty->disc_data; local 409 struct mctp_serial *dev = netdev_priv(ndev); local 440 struct mctp_serial *dev; local 491 struct mctp_serial *dev = tty->disc_data; local [all...] |
/linux-master/drivers/base/power/ |
H A D | runtime.c | 22 static pm_callback_t __rpm_get_callback(struct device *dev, size_t cb_offset) argument 27 if (dev->pm_domain) 28 ops = &dev->pm_domain->ops; 29 else if (dev->type && dev->type->pm) 30 ops = dev->type->pm; 31 else if (dev->class && dev->class->pm) 32 ops = dev->class->pm; 33 else if (dev 66 update_pm_runtime_accounting(struct device *dev) argument 94 __update_runtime_status(struct device *dev, enum rpm_status status) argument 101 rpm_get_accounted_time(struct device *dev, bool suspended) argument 116 pm_runtime_active_time(struct device *dev) argument 121 pm_runtime_suspended_time(struct device *dev) argument 131 pm_runtime_deactivate_timer(struct device *dev) argument 143 pm_runtime_cancel_pending(struct device *dev) argument 165 pm_runtime_autosuspend_expiration(struct device *dev) argument 186 dev_memalloc_noio(struct device *dev, void *data) argument 219 pm_runtime_set_memalloc_noio(struct device *dev, bool enable) argument 259 rpm_check_suspend_allowed(struct device *dev) argument 285 rpm_get_suppliers(struct device *dev) argument 328 __rpm_put_suppliers(struct device *dev, bool try_to_suspend) argument 340 rpm_put_suppliers(struct device *dev) argument 345 rpm_suspend_suppliers(struct device *dev) argument 385 rpm_put_suppliers(dev); variable 428 rpm_callback(int (*cb)(struct device *), struct device *dev) argument 468 rpm_idle(struct device *dev, int rpmflags) argument 617 pm_runtime_cancel_pending(dev); variable 680 pm_runtime_deactivate_timer(dev); variable 712 rpm_suspend_suppliers(dev); variable 741 pm_runtime_cancel_pending(dev); variable 793 pm_runtime_deactivate_timer(dev); variable 917 pm_runtime_cancel_pending(dev); variable 922 pm_runtime_mark_last_busy(dev); variable 954 struct device *dev = container_of(work, struct device, power.work); local 995 struct device *dev = container_of(timer, struct device, power.suspend_timer); local 1022 pm_schedule_suspend(struct device *dev, unsigned int delay) argument 1054 rpm_drop_usage_count(struct device *dev) argument 1086 __pm_runtime_idle(struct device *dev, int rpmflags) argument 1124 __pm_runtime_suspend(struct device *dev, int rpmflags) argument 1160 __pm_runtime_resume(struct device *dev, int rpmflags) argument 1201 pm_runtime_get_conditional(struct device *dev, bool ign_usage_count) argument 1233 pm_runtime_get_if_active(struct device *dev) argument 1249 pm_runtime_get_if_in_use(struct device *dev) argument 1279 __pm_runtime_set_status(struct device *dev, unsigned int status) argument 1390 __pm_runtime_barrier(struct device *dev) argument 1441 pm_runtime_barrier(struct device *dev) argument 1477 __pm_runtime_disable(struct device *dev, bool check_resume) argument 1521 pm_runtime_enable(struct device *dev) argument 1562 devm_pm_runtime_enable(struct device *dev) argument 1578 pm_runtime_forbid(struct device *dev) argument 1599 pm_runtime_allow(struct device *dev) argument 1627 pm_runtime_no_callbacks(struct device *dev) argument 1648 pm_runtime_irq_safe(struct device *dev) argument 1670 update_autosuspend(struct device *dev, int old_delay, int old_use) argument 1707 pm_runtime_set_autosuspend_delay(struct device *dev, int delay) argument 1728 __pm_runtime_use_autosuspend(struct device *dev, bool use) argument 1745 pm_runtime_init(struct device *dev) argument 1777 pm_runtime_reinit(struct device *dev) argument 1796 pm_runtime_remove(struct device *dev) argument 1806 pm_runtime_get_suppliers(struct device *dev) argument 1827 pm_runtime_put_suppliers(struct device *dev) argument 1844 pm_runtime_new_link(struct device *dev) argument 1851 pm_runtime_drop_link_count(struct device *dev) argument 1877 pm_runtime_need_not_resume(struct device *dev) argument 1905 pm_runtime_force_suspend(struct device *dev) argument 1957 pm_runtime_force_resume(struct device *dev) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | main.c | 72 #include "sf/dev/dev.h" 189 static int wait_fw_init(struct mlx5_core_dev *dev, u32 max_wait_mili, argument 197 fw_initializing = ioread32be(&dev->iseg->initializing); 201 mlx5_core_err(dev, "Firmware over %u MS in %s state, aborting\n", 205 if (test_bit(MLX5_BREAK_FW_WAIT, &dev->intf_state)) { 206 mlx5_core_warn(dev, "device is being removed, stop waiting for FW %s\n", 211 mlx5_core_warn(dev, "Waiting for FW %s, timeout abort in %ds (0x%x)\n", 216 msleep(mlx5_tout_ms(dev, FW_PRE_INIT_WAIT)); 222 static void mlx5_set_driver_version(struct mlx5_core_dev *dev) argument 263 mlx5_pci_enable_device(struct mlx5_core_dev *dev) argument 279 mlx5_pci_disable_device(struct mlx5_core_dev *dev) argument 317 to_fw_pkey_sz(struct mlx5_core_dev *dev, u32 size) argument 338 mlx5_core_uplink_netdev_set(struct mlx5_core_dev *dev, struct net_device *netdev) argument 347 mlx5_core_uplink_netdev_event_replay(struct mlx5_core_dev *dev) argument 356 mlx5_core_mp_event_replay(struct mlx5_core_dev *dev, u32 event, void *data) argument 362 mlx5_core_get_caps_mode(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type, enum mlx5_cap_mode cap_mode) argument 409 mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type) argument 419 set_caps(struct mlx5_core_dev *dev, void *in, int opmod) argument 426 handle_hca_cap_atomic(struct mlx5_core_dev *dev, void *set_ctx) argument 455 handle_hca_cap_odp(struct mlx5_core_dev *dev, void *set_ctx) argument 503 max_uc_list_get_devlink_param(struct mlx5_core_dev *dev) argument 518 mlx5_is_roce_on(struct mlx5_core_dev *dev) argument 536 handle_hca_cap_2(struct mlx5_core_dev *dev, void *set_ctx) argument 561 handle_hca_cap(struct mlx5_core_dev *dev, void *set_ctx) argument 667 is_roce_fw_disabled(struct mlx5_core_dev *dev) argument 673 handle_hca_cap_roce(struct mlx5_core_dev *dev, void *set_ctx) argument 701 handle_hca_cap_port_selection(struct mlx5_core_dev *dev, void *set_ctx) argument 728 set_hca_cap(struct mlx5_core_dev *dev) argument 784 set_hca_ctrl(struct mlx5_core_dev *dev) argument 801 mlx5_core_set_hca_defaults(struct mlx5_core_dev *dev) argument 812 mlx5_core_enable_hca(struct mlx5_core_dev *dev, u16 func_id) argument 823 mlx5_core_disable_hca(struct mlx5_core_dev *dev, u16 func_id) argument 834 mlx5_core_set_issi(struct mlx5_core_dev *dev) argument 882 mlx5_pci_init(struct mlx5_core_dev *dev, struct pci_dev *pdev, const struct pci_device_id *id) argument 935 mlx5_pci_close(struct mlx5_core_dev *dev) argument 947 mlx5_register_hca_devcom_comp(struct mlx5_core_dev *dev) argument 963 mlx5_unregister_hca_devcom_comp(struct mlx5_core_dev *dev) argument 968 mlx5_init_once(struct mlx5_core_dev *dev) argument 1117 mlx5_cleanup_once(struct mlx5_core_dev *dev) argument 1145 mlx5_function_enable(struct mlx5_core_dev *dev, bool boot, u64 timeout) argument 1220 mlx5_function_disable(struct mlx5_core_dev *dev, bool boot) argument 1229 mlx5_function_open(struct mlx5_core_dev *dev) argument 1268 mlx5_function_close(struct mlx5_core_dev *dev) argument 1281 mlx5_function_setup(struct mlx5_core_dev *dev, bool boot, u64 timeout) argument 1295 mlx5_function_teardown(struct mlx5_core_dev *dev, bool boot) argument 1304 mlx5_load(struct mlx5_core_dev *dev) argument 1423 mlx5_unload(struct mlx5_core_dev *dev) argument 1446 mlx5_init_one_devl_locked(struct mlx5_core_dev *dev) argument 1510 mlx5_init_one(struct mlx5_core_dev *dev) argument 1524 mlx5_uninit_one(struct mlx5_core_dev *dev) argument 1554 mlx5_load_one_devl_locked(struct mlx5_core_dev *dev, bool recovery) argument 1601 mlx5_load_one(struct mlx5_core_dev *dev, bool recovery) argument 1612 mlx5_unload_one_devl_locked(struct mlx5_core_dev *dev, bool suspend) argument 1632 mlx5_unload_one(struct mlx5_core_dev *dev, bool suspend) argument 1644 mlx5_query_hca_caps_light(struct mlx5_core_dev *dev) argument 1678 mlx5_init_one_light(struct mlx5_core_dev *dev) argument 1720 mlx5_uninit_one_light(struct mlx5_core_dev *dev) argument 1738 mlx5_unload_one_light(struct mlx5_core_dev *dev) argument 1771 mlx5_hca_caps_free(struct mlx5_core_dev *dev) argument 1782 mlx5_hca_caps_alloc(struct mlx5_core_dev *dev) argument 1805 struct mlx5_core_dev *dev = file->private; local 1813 mlx5_mdev_init(struct mlx5_core_dev *dev, int profile_idx) argument 1902 mlx5_mdev_uninit(struct mlx5_core_dev *dev) argument 1927 struct mlx5_core_dev *dev; local 1985 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); local 2017 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); local 2041 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); local 2068 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); local 2101 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); local 2122 mlx5_try_fast_unload(struct mlx5_core_dev *dev) argument 2174 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); local 2187 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); local 2196 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); local 2229 mlx5_disable_device(struct mlx5_core_dev *dev) argument 2235 mlx5_recover_device(struct mlx5_core_dev *dev) argument [all...] |
/linux-master/drivers/media/platform/chips-media/wave5/ |
H A D | wave5-vpu.c | 49 struct vpu_device *dev = dev_id; local 51 if (wave5_vdi_read_register(dev, W5_VPU_VPU_INT_STS)) { 52 irq_reason = wave5_vdi_read_register(dev, W5_VPU_VINT_REASON); 53 wave5_vdi_write_register(dev, W5_VPU_VINT_REASON_CLR, irq_reason); 54 wave5_vdi_write_register(dev, W5_VPU_VINT_CLEAR, 0x1); 56 list_for_each_entry(inst, &dev->instances, list) { 57 seq_done = wave5_vdi_read_register(dev, W5_RET_SEQ_DONE_INSTANCE_INFO); 58 cmd_done = wave5_vdi_read_register(dev, W5_RET_QUEUE_CMD_DONE_INST); 64 wave5_vdi_write_register(dev, W5_RET_SEQ_DONE_INSTANCE_INFO, 74 wave5_vdi_write_register(dev, W5_RET_QUEUE_CMD_DONE_INS 87 wave5_vpu_load_firmware(struct device *dev, const char *fw_name, u32 *revision) argument 123 struct vpu_device *dev; local 255 struct vpu_device *dev = dev_get_drvdata(&pdev->dev); local [all...] |
/linux-master/drivers/hid/intel-ish-hid/ishtp/ |
H A D | init.c | 11 #include "ishtp-dev.h" 47 * @dev: ISHTP device instance 52 void ishtp_device_init(struct ishtp_device *dev) argument 54 dev->dev_state = ISHTP_DEV_INITIALIZING; 55 INIT_LIST_HEAD(&dev->cl_list); 56 INIT_LIST_HEAD(&dev->device_list); 57 dev->rd_msg_fifo_head = 0; 58 dev->rd_msg_fifo_tail = 0; 59 spin_lock_init(&dev->rd_msg_spinlock); 61 init_waitqueue_head(&dev 90 ishtp_start(struct ishtp_device *dev) argument [all...] |
/linux-master/include/xen/ |
H A D | pci.h | 7 int xen_find_device_domain_owner(struct pci_dev *dev); 8 int xen_register_device_domain_owner(struct pci_dev *dev, uint16_t domain); 9 int xen_unregister_device_domain_owner(struct pci_dev *dev); 11 static inline int xen_find_device_domain_owner(struct pci_dev *dev) argument 16 static inline int xen_register_device_domain_owner(struct pci_dev *dev, argument 22 static inline int xen_unregister_device_domain_owner(struct pci_dev *dev) argument
|
/linux-master/drivers/gpu/drm/gma500/ |
H A D | power.h | 38 void gma_power_init(struct drm_device *dev); 39 void gma_power_uninit(struct drm_device *dev); 44 int gma_power_suspend(struct device *dev); 45 int gma_power_resume(struct device *dev); 51 bool gma_power_begin(struct drm_device *dev, bool force); 52 void gma_power_end(struct drm_device *dev);
|
/linux-master/drivers/w1/ |
H A D | w1_int.c | 28 struct w1_master *dev; local 34 dev = kzalloc(sizeof(struct w1_master) + sizeof(struct w1_bus_master), GFP_KERNEL); 35 if (!dev) { 42 dev->bus_master = (struct w1_bus_master *)(dev + 1); 44 dev->owner = THIS_MODULE; 45 dev->max_slave_count = slave_count; 46 dev->slave_count = 0; 47 dev->attempts = 0; 48 dev 83 w1_free_dev(struct w1_master *dev) argument 94 struct w1_master *dev, *entry; local 173 __w1_remove_master_device(struct w1_master *dev) argument 225 struct w1_master *dev, *found = NULL; local [all...] |