Home
last modified time | relevance | path

Searched defs:qdev (Results 1 – 24 of 24) sorted by relevance

/drivers/net/ethernet/qlogic/
Dqla3xxx.c104 static int ql_sem_spinlock(struct ql3_adapter *qdev, in ql_sem_spinlock()
123 static void ql_sem_unlock(struct ql3_adapter *qdev, u32 sem_mask) in ql_sem_unlock()
131 static int ql_sem_lock(struct ql3_adapter *qdev, u32 sem_mask, u32 sem_bits) in ql_sem_lock()
145 static int ql_wait_for_drvr_lock(struct ql3_adapter *qdev) in ql_wait_for_drvr_lock()
167 static void ql_set_register_page(struct ql3_adapter *qdev, u32 page) in ql_set_register_page()
178 static u32 ql_read_common_reg_l(struct ql3_adapter *qdev, u32 __iomem *reg) in ql_read_common_reg_l()
190 static u32 ql_read_common_reg(struct ql3_adapter *qdev, u32 __iomem *reg) in ql_read_common_reg()
195 static u32 ql_read_page0_reg_l(struct ql3_adapter *qdev, u32 __iomem *reg) in ql_read_page0_reg_l()
210 static u32 ql_read_page0_reg(struct ql3_adapter *qdev, u32 __iomem *reg) in ql_read_page0_reg()
217 static void ql_write_common_reg_l(struct ql3_adapter *qdev, in ql_write_common_reg_l()
[all …]
/drivers/net/ethernet/qlogic/qlge/
Dqlge_mpi.c3 int ql_unpause_mpi_risc(struct ql_adapter *qdev) in ql_unpause_mpi_risc()
16 int ql_pause_mpi_risc(struct ql_adapter *qdev) in ql_pause_mpi_risc()
33 int ql_hard_reset_mpi_risc(struct ql_adapter *qdev) in ql_hard_reset_mpi_risc()
52 int ql_read_mpi_reg(struct ql_adapter *qdev, u32 reg, u32 *data) in ql_read_mpi_reg()
71 int ql_write_mpi_reg(struct ql_adapter *qdev, u32 reg, u32 data) in ql_write_mpi_reg()
90 int ql_soft_reset_mpi_risc(struct ql_adapter *qdev) in ql_soft_reset_mpi_risc()
102 int ql_own_firmware(struct ql_adapter *qdev) in ql_own_firmware()
126 static int ql_get_mb_sts(struct ql_adapter *qdev, struct mbox_params *mbcp) in ql_get_mb_sts()
149 static int ql_wait_mbx_cmd_cmplt(struct ql_adapter *qdev) in ql_wait_mbx_cmd_cmplt()
166 static int ql_exec_mb_cmd(struct ql_adapter *qdev, struct mbox_params *mbcp) in ql_exec_mb_cmd()
[all …]
Dqlge_main.c107 static int ql_sem_trylock(struct ql_adapter *qdev, u32 sem_mask) in ql_sem_trylock()
145 int ql_sem_spinlock(struct ql_adapter *qdev, u32 sem_mask) in ql_sem_spinlock()
156 void ql_sem_unlock(struct ql_adapter *qdev, u32 sem_mask) in ql_sem_unlock()
167 int ql_wait_reg_rdy(struct ql_adapter *qdev, u32 reg, u32 bit, u32 err_bit) in ql_wait_reg_rdy()
194 static int ql_wait_cfg(struct ql_adapter *qdev, u32 bit) in ql_wait_cfg()
215 int ql_write_cfg(struct ql_adapter *qdev, void *ptr, int size, u32 bit, in ql_write_cfg()
263 int ql_get_mac_addr_reg(struct ql_adapter *qdev, u32 type, u16 index, in ql_get_mac_addr_reg()
333 static int ql_set_mac_addr_reg(struct ql_adapter *qdev, u8 *addr, u32 type, in ql_set_mac_addr_reg()
452 static int ql_set_mac_addr(struct ql_adapter *qdev, int set) in ql_set_mac_addr()
480 void ql_link_on(struct ql_adapter *qdev) in ql_link_on()
[all …]
Dqlge_dbg.c8 static u32 ql_read_other_func_reg(struct ql_adapter *qdev, in ql_read_other_func_reg()
27 static int ql_write_other_func_reg(struct ql_adapter *qdev, in ql_write_other_func_reg()
42 static int ql_wait_other_func_reg_rdy(struct ql_adapter *qdev, u32 reg, in ql_wait_other_func_reg_rdy()
62 static int ql_read_other_func_serdes_reg(struct ql_adapter *qdev, u32 reg, in ql_read_other_func_serdes_reg()
89 static int ql_read_serdes_reg(struct ql_adapter *qdev, u32 reg, u32 *data) in ql_read_serdes_reg()
112 static void ql_get_both_serdes(struct ql_adapter *qdev, u32 addr, in ql_get_both_serdes()
134 static int ql_get_serdes_regs(struct ql_adapter *qdev, in ql_get_serdes_regs()
338 static int ql_read_other_func_xgmac_reg(struct ql_adapter *qdev, u32 reg, in ql_read_other_func_xgmac_reg()
367 static int ql_get_xgmac_regs(struct ql_adapter *qdev, u32 *buf, in ql_get_xgmac_regs()
408 static int ql_get_ets_regs(struct ql_adapter *qdev, u32 *buf) in ql_get_ets_regs()
[all …]
Dqlge_ethtool.c185 static int ql_update_ring_coalescing(struct ql_adapter *qdev) in ql_update_ring_coalescing()
243 static void ql_update_stats(struct ql_adapter *qdev) in ql_update_stats()
364 struct ql_adapter *qdev = netdev_priv(ndev); in ql_get_ethtool_stats() local
381 struct ql_adapter *qdev = netdev_priv(ndev); in ql_get_settings() local
407 struct ql_adapter *qdev = netdev_priv(ndev); in ql_get_drvinfo() local
429 struct ql_adapter *qdev = netdev_priv(ndev); in ql_get_wol() local
442 struct ql_adapter *qdev = netdev_priv(ndev); in ql_set_wol() local
464 struct ql_adapter *qdev = netdev_priv(ndev); in ql_set_phys_id() local
487 static int ql_start_loopback(struct ql_adapter *qdev) in ql_start_loopback()
498 static void ql_stop_loopback(struct ql_adapter *qdev) in ql_stop_loopback()
[all …]
Dqlge.h1380 #define QL_TXQ_IDX(qdev, skb) (smp_processor_id()%(qdev->tx_ring_count)) argument
1403 struct ql_adapter *qdev; member
1472 struct ql_adapter *qdev; member
1977 struct ql_adapter *qdev; member
2158 static inline u32 ql_read32(const struct ql_adapter *qdev, int reg) in ql_read32()
2166 static inline void ql_write32(const struct ql_adapter *qdev, int reg, u32 val) in ql_write32()
2267 #define QL_DUMP_REGS(qdev) ql_dump_regs(qdev) argument
2268 #define QL_DUMP_ROUTE(qdev) ql_dump_routing_entries(qdev) argument
2269 #define QL_DUMP_XGMAC_CONTROL_REGS(qdev) ql_dump_xgmac_control_regs(qdev) argument
2271 #define QL_DUMP_REGS(qdev) argument
[all …]
/drivers/gpu/drm/qxl/
Dqxl_cmd.c178 qxl_push_command_ring_release(struct qxl_device *qdev, struct qxl_release *release, in qxl_push_command_ring_release()
191 qxl_push_cursor_ring_release(struct qxl_device *qdev, struct qxl_release *release, in qxl_push_cursor_ring_release()
203 bool qxl_queue_garbage_collect(struct qxl_device *qdev, bool flush) in qxl_queue_garbage_collect()
214 int qxl_garbage_collect(struct qxl_device *qdev) in qxl_garbage_collect()
256 int qxl_alloc_bo_reserved(struct qxl_device *qdev, in qxl_alloc_bo_reserved()
281 static int wait_for_io_cmd_user(struct qxl_device *qdev, uint8_t val, long port, bool intr) in wait_for_io_cmd_user()
316 static void wait_for_io_cmd(struct qxl_device *qdev, uint8_t val, long port) in wait_for_io_cmd()
326 int qxl_io_update_area(struct qxl_device *qdev, struct qxl_bo *surf, in qxl_io_update_area()
358 void qxl_io_notify_oom(struct qxl_device *qdev) in qxl_io_notify_oom()
363 void qxl_io_flush_release(struct qxl_device *qdev) in qxl_io_flush_release()
[all …]
Dqxl_kms.c34 static void qxl_dump_mode(struct qxl_device *qdev, void *p) in qxl_dump_mode()
42 static bool qxl_check_device(struct qxl_device *qdev) in qxl_check_device()
76 static void setup_hw_slot(struct qxl_device *qdev, int slot_index, in setup_hw_slot()
84 static uint8_t setup_slot(struct qxl_device *qdev, uint8_t slot_index_offset, in setup_slot()
106 void qxl_reinit_memslots(struct qxl_device *qdev) in qxl_reinit_memslots()
114 struct qxl_device *qdev = container_of(work, struct qxl_device, gc_work); in qxl_gc_work() local
118 static int qxl_device_init(struct qxl_device *qdev, in qxl_device_init()
271 static void qxl_device_fini(struct qxl_device *qdev) in qxl_device_fini()
297 struct qxl_device *qdev = dev->dev_private; in qxl_driver_unload() local
314 struct qxl_device *qdev; in qxl_driver_load() local
Dqxl_object.c33 struct qxl_device *qdev; in qxl_ttm_bo_destroy() local
78 int qxl_bo_create(struct qxl_device *qdev, in qxl_bo_create()
144 void *qxl_bo_kmap_atomic_page(struct qxl_device *qdev, in qxl_bo_kmap_atomic_page()
186 void qxl_bo_kunmap_atomic_page(struct qxl_device *qdev, in qxl_bo_kunmap_atomic_page()
229 struct qxl_device *qdev = (struct qxl_device *)bo->gem_base.dev->dev_private; in qxl_bo_pin() local
252 struct qxl_device *qdev = (struct qxl_device *)bo->gem_base.dev->dev_private; in qxl_bo_unpin() local
270 void qxl_bo_force_delete(struct qxl_device *qdev) in qxl_bo_force_delete()
291 int qxl_bo_init(struct qxl_device *qdev) in qxl_bo_init()
296 void qxl_bo_fini(struct qxl_device *qdev) in qxl_bo_fini()
301 int qxl_bo_check_id(struct qxl_device *qdev, struct qxl_bo *bo) in qxl_bo_check_id()
[all …]
Dqxl_display.c38 void qxl_alloc_client_monitors_config(struct qxl_device *qdev, unsigned count) in qxl_alloc_client_monitors_config()
59 static int qxl_display_copy_rom_client_monitors_config(struct qxl_device *qdev) in qxl_display_copy_rom_client_monitors_config()
103 void qxl_display_read_client_monitors_config(struct qxl_device *qdev) in qxl_display_read_client_monitors_config()
123 struct qxl_device *qdev = dev->dev_private; in qxl_add_monitors_config_modes() local
199 struct qxl_device *qdev = dev->dev_private; in qxl_crtc_page_flip() local
242 qxl_hide_cursor(struct qxl_device *qdev) in qxl_hide_cursor()
275 struct qxl_device *qdev = dev->dev_private; in qxl_crtc_cursor_set2() local
395 struct qxl_device *qdev = dev->dev_private; in qxl_crtc_cursor_move() local
454 struct qxl_device *qdev = qxl_fb->base.dev->dev_private; in qxl_framebuffer_surface_dirty() local
521 struct qxl_device *qdev = dev->dev_private; in qxl_crtc_mode_fixup() local
[all …]
Dqxl_ioctl.c36 struct qxl_device *qdev = dev->dev_private; in qxl_alloc_ioctl() local
64 struct qxl_device *qdev = dev->dev_private; in qxl_map_ioctl() local
85 apply_reloc(struct qxl_device *qdev, struct qxl_reloc_info *info) in apply_reloc()
96 apply_surf_reloc(struct qxl_device *qdev, struct qxl_reloc_info *info) in apply_surf_reloc()
110 static struct qxl_bo *qxlhw_handle_to_bo(struct qxl_device *qdev, in qxlhw_handle_to_bo()
139 static int qxl_process_single_command(struct qxl_device *qdev, in qxl_process_single_command()
292 struct qxl_device *qdev = dev->dev_private; in qxl_execbuffer_ioctl() local
317 struct qxl_device *qdev = dev->dev_private; in qxl_update_area_ioctl() local
367 struct qxl_device *qdev = dev->dev_private; in qxl_getparam_ioctl() local
386 struct qxl_device *qdev = dev->dev_private; in qxl_clientcap_ioctl() local
[all …]
Dqxl_ttm.c43 struct qxl_device *qdev; in qxl_get_qdev() local
60 static int qxl_ttm_global_init(struct qxl_device *qdev) in qxl_ttm_global_init()
97 static void qxl_ttm_global_fini(struct qxl_device *qdev) in qxl_ttm_global_fini()
124 struct qxl_device *qdev; in qxl_mmap() local
220 struct qxl_device *qdev = qxl_get_qdev(bdev); in qxl_ttm_io_mem_reserve() local
259 struct qxl_device *qdev; member
320 struct qxl_device *qdev; in qxl_ttm_tt_create() local
364 struct qxl_device *qdev; in qxl_bo_move_notify() local
389 int qxl_ttm_init(struct qxl_device *qdev) in qxl_ttm_init()
435 void qxl_ttm_fini(struct qxl_device *qdev) in qxl_ttm_fini()
[all …]
Dqxl_release.c61 struct qxl_device *qdev; in qxl_fence_wait() local
126 qxl_release_alloc(struct qxl_device *qdev, int type, in qxl_release_alloc()
178 qxl_release_free(struct qxl_device *qdev, in qxl_release_free()
203 static int qxl_release_bo_alloc(struct qxl_device *qdev, in qxl_release_bo_alloc()
294 int qxl_alloc_surface_release_reserved(struct qxl_device *qdev, in qxl_alloc_surface_release_reserved()
327 int qxl_alloc_release_reserved(struct qxl_device *qdev, unsigned long size, in qxl_alloc_release_reserved()
389 struct qxl_release *qxl_release_from_id_locked(struct qxl_device *qdev, in qxl_release_from_id_locked()
405 union qxl_release_info *qxl_release_map(struct qxl_device *qdev, in qxl_release_map()
420 void qxl_release_unmap(struct qxl_device *qdev, in qxl_release_unmap()
440 struct qxl_device *qdev; in qxl_release_fence_buffer_objects() local
Dqxl_draw.c26 static int alloc_clips(struct qxl_device *qdev, in alloc_clips()
39 static struct qxl_rect *drawable_set_clipping(struct qxl_device *qdev, in drawable_set_clipping()
59 alloc_drawable(struct qxl_device *qdev, struct qxl_release **release) in alloc_drawable()
69 free_drawable(struct qxl_device *qdev, struct qxl_release *release) in free_drawable()
76 make_drawable(struct qxl_device *qdev, int surface, uint8_t type, in make_drawable()
116 static int alloc_palette_object(struct qxl_device *qdev, in alloc_palette_object()
158 struct qxl_device *qdev = qxl_fb_image->qdev; in qxl_draw_opaque_fb() local
266 void qxl_draw_dirty_fb(struct qxl_device *qdev, in qxl_draw_dirty_fb()
403 void qxl_draw_copyarea(struct qxl_device *qdev, in qxl_draw_copyarea()
447 struct qxl_device *qdev = qxl_draw_fill_rec->qdev; in qxl_draw_fill() local
Dqxl_fb.c59 struct qxl_device *qdev; member
78 struct qxl_device *qdev, struct fb_info *info, in qxl_fb_image_init()
105 struct qxl_device *qdev = qfbdev->qdev; in qxl_fb_dirty_flush() local
249 struct qxl_device *qdev = qfbdev->qdev; in qxl_fb_fillrect_internal() local
292 struct qxl_device *qdev = qfbdev->qdev; in qxl_fb_fillrect() local
319 struct qxl_device *qdev = qfbdev->qdev; in qxl_fb_copyarea() local
352 struct qxl_device *qdev = qfbdev->qdev; in qxl_fb_imageblit() local
366 struct qxl_device *qdev = container_of(work, struct qxl_device, fb_work); in qxl_fb_work() local
395 int qxl_fb_init(struct qxl_device *qdev) in qxl_fb_init()
429 int qxl_get_handle_for_primary_fb(struct qxl_device *qdev, in qxl_get_handle_for_primary_fb()
[all …]
Dqxl_debugfs.c43 struct qxl_device *qdev = node->minor->dev->dev_private; in qxl_debugfs_irq_received() local
57 struct qxl_device *qdev = node->minor->dev->dev_private; in qxl_debugfs_buffers_info() local
102 int qxl_debugfs_add_files(struct qxl_device *qdev, in qxl_debugfs_add_files()
135 void qxl_debugfs_remove_files(struct qxl_device *qdev) in qxl_debugfs_remove_files()
Dqxl_irq.c31 struct qxl_device *qdev = (struct qxl_device *)dev->dev_private; in qxl_irq_handler() local
73 struct qxl_device *qdev = container_of(work, struct qxl_device, in qxl_client_monitors_config_work_func() local
79 int qxl_irq_init(struct qxl_device *qdev) in qxl_irq_init()
Dqxl_gem.c39 int qxl_gem_object_create(struct qxl_device *qdev, int size, in qxl_gem_object_create()
69 int qxl_gem_object_create_with_handle(struct qxl_device *qdev, in qxl_gem_object_create_with_handle()
108 int qxl_gem_init(struct qxl_device *qdev) in qxl_gem_init()
114 void qxl_gem_fini(struct qxl_device *qdev) in qxl_gem_fini()
Dqxl_image.c33 qxl_allocate_chunk(struct qxl_device *qdev, in qxl_allocate_chunk()
56 qxl_image_alloc_objects(struct qxl_device *qdev, in qxl_image_alloc_objects()
86 void qxl_image_free_objects(struct qxl_device *qdev, struct qxl_drm_image *dimage) in qxl_image_free_objects()
100 qxl_image_init_helper(struct qxl_device *qdev, in qxl_image_init_helper()
227 int qxl_image_init(struct qxl_device *qdev, in qxl_image_init()
Dqxl_object.h37 struct qxl_device *qdev = (struct qxl_device *)bo->gem_base.dev->dev_private; in qxl_bo_reserve() local
73 struct qxl_device *qdev = (struct qxl_device *)bo->gem_base.dev->dev_private; in qxl_bo_wait() local
Dqxl_drv.c94 struct qxl_device *qdev = dev->dev_private; in qxl_drm_freeze() local
125 struct qxl_device *qdev = dev->dev_private; in qxl_drm_resume() local
193 struct qxl_device *qdev = drm_dev->dev_private; in qxl_pm_restore() local
Dqxl_drv.h74 #define QXL_INFO(qdev, fmt, ...) do { \ argument
79 #define QXL_DEBUG(qdev, fmt, ...) do { \ argument
84 #define QXL_INFO_ONCE(qdev, fmt, ...) do { \ argument
213 struct qxl_device *qdev; member
220 struct qxl_device *qdev; member
364 qxl_fb_virtual_address(struct qxl_device *qdev, unsigned long physical) in qxl_fb_virtual_address()
371 qxl_bo_physical_address(struct qxl_device *qdev, struct qxl_bo *bo, in qxl_bo_physical_address()
Dqxl_dumb.c35 struct qxl_device *qdev = dev->dev_private; in qxl_mode_dumb_create() local
/drivers/md/
Draid5.c3734 struct r5dev *pdev, *qdev; in handle_stripe() local