Lines Matching refs:skd_device
206 struct skd_device { struct
284 static inline u32 skd_reg_read32(struct skd_device *skdev, u32 offset) in skd_reg_read32() argument
293 static inline void skd_reg_write32(struct skd_device *skdev, u32 val, in skd_reg_write32()
301 static inline void skd_reg_write64(struct skd_device *skdev, u64 val, in skd_reg_write64()
355 static void skd_destruct(struct skd_device *skdev);
357 static void skd_send_fitmsg(struct skd_device *skdev,
359 static void skd_send_special_fitmsg(struct skd_device *skdev,
361 static bool skd_preop_sg_list(struct skd_device *skdev,
363 static void skd_postop_sg_list(struct skd_device *skdev,
366 static void skd_restart_device(struct skd_device *skdev);
367 static int skd_quiesce_dev(struct skd_device *skdev);
368 static int skd_unquiesce_dev(struct skd_device *skdev);
369 static void skd_disable_interrupts(struct skd_device *skdev);
370 static void skd_isr_fwstate(struct skd_device *skdev);
371 static void skd_recover_requests(struct skd_device *skdev);
372 static void skd_soft_reset(struct skd_device *skdev);
376 static void skd_log_skdev(struct skd_device *skdev, const char *event);
377 static void skd_log_skreq(struct skd_device *skdev,
392 static int skd_in_flight(struct skd_device *skdev) in skd_in_flight()
445 struct skd_device *skdev = q->queuedata; in skd_fail_all()
483 struct skd_device *skdev = q->queuedata; in skd_mq_queue_rq()
599 struct skd_device *skdev = req->q->queuedata; in skd_timed_out()
614 static bool skd_preop_sg_list(struct skd_device *skdev, in skd_preop_sg_list()
675 static void skd_postop_sg_list(struct skd_device *skdev, in skd_postop_sg_list()
694 static void skd_timer_tick_not_online(struct skd_device *skdev);
698 struct skd_device *skdev = container_of(work, typeof(*skdev), in skd_start_queue()
711 struct skd_device *skdev = from_timer(skdev, t, timer); in skd_timer_tick()
736 static void skd_timer_tick_not_online(struct skd_device *skdev) in skd_timer_tick_not_online()
855 static int skd_start_timer(struct skd_device *skdev) in skd_start_timer()
867 static void skd_kill_timer(struct skd_device *skdev) in skd_kill_timer()
878 static int skd_format_internal_skspcl(struct skd_device *skdev) in skd_format_internal_skspcl()
906 static void skd_send_internal_skspcl(struct skd_device *skdev, in skd_send_internal_skspcl()
987 static void skd_refresh_device_data(struct skd_device *skdev) in skd_refresh_device_data()
994 static int skd_chk_read_buf(struct skd_device *skdev, in skd_chk_read_buf()
1008 static void skd_log_check_status(struct skd_device *skdev, u8 status, u8 key, in skd_log_check_status()
1020 static void skd_complete_internal(struct skd_device *skdev, in skd_complete_internal()
1188 static void skd_send_fitmsg(struct skd_device *skdev, in skd_send_fitmsg()
1234 static void skd_send_special_fitmsg(struct skd_device *skdev, in skd_send_special_fitmsg()
1297 static void skd_complete_other(struct skd_device *skdev,
1347 skd_check_status(struct skd_device *skdev, in skd_check_status()
1404 static void skd_resolve_req_exception(struct skd_device *skdev, in skd_resolve_req_exception()
1442 static void skd_release_skreq(struct skd_device *skdev, in skd_release_skreq()
1451 static int skd_isr_completion_posted(struct skd_device *skdev, in skd_isr_completion_posted()
1580 static void skd_complete_other(struct skd_device *skdev, in skd_complete_other()
1642 static void skd_reset_skcomp(struct skd_device *skdev) in skd_reset_skcomp()
1657 struct skd_device *skdev = in skd_completion_worker()
1658 container_of(work, struct skd_device, completion_worker); in skd_completion_worker()
1674 static void skd_isr_msg_from_dev(struct skd_device *skdev);
1679 struct skd_device *skdev = ptr; in skd_isr()
1757 static void skd_drive_fault(struct skd_device *skdev) in skd_drive_fault()
1763 static void skd_drive_disappeared(struct skd_device *skdev) in skd_drive_disappeared()
1769 static void skd_isr_fwstate(struct skd_device *skdev) in skd_isr_fwstate()
1891 struct skd_device *const skdev = data; in skd_recover_request()
1908 static void skd_recover_requests(struct skd_device *skdev) in skd_recover_requests()
1913 static void skd_isr_msg_from_dev(struct skd_device *skdev) in skd_isr_msg_from_dev()
2007 static void skd_disable_interrupts(struct skd_device *skdev) in skd_disable_interrupts()
2022 static void skd_enable_interrupts(struct skd_device *skdev) in skd_enable_interrupts()
2047 static void skd_soft_reset(struct skd_device *skdev) in skd_soft_reset()
2057 static void skd_start_device(struct skd_device *skdev) in skd_start_device()
2168 static void skd_stop_device(struct skd_device *skdev) in skd_stop_device()
2242 static void skd_restart_device(struct skd_device *skdev) in skd_restart_device()
2264 static int skd_quiesce_dev(struct skd_device *skdev) in skd_quiesce_dev()
2291 static int skd_unquiesce_dev(struct skd_device *skdev) in skd_unquiesce_dev()
2360 struct skd_device *skdev = skd_host_data; in skd_reserved_isr()
2375 struct skd_device *skdev = skd_host_data; in skd_statec_isr()
2389 struct skd_device *skdev = skd_host_data; in skd_comp_q()
2415 struct skd_device *skdev = skd_host_data; in skd_msg_isr()
2429 struct skd_device *skdev = skd_host_data; in skd_qfull_isr()
2475 static int skd_acquire_msix(struct skd_device *skdev) in skd_acquire_msix()
2528 static int skd_acquire_irq(struct skd_device *skdev) in skd_acquire_irq()
2568 static void skd_release_irq(struct skd_device *skdev) in skd_release_irq()
2595 static void *skd_alloc_dma(struct skd_device *skdev, struct kmem_cache *s, in skd_alloc_dma()
2614 static void skd_free_dma(struct skd_device *skdev, struct kmem_cache *s, in skd_free_dma()
2626 static int skd_cons_skcomp(struct skd_device *skdev) in skd_cons_skcomp()
2652 static int skd_cons_skmsg(struct skd_device *skdev) in skd_cons_skmsg()
2697 static struct fit_sg_descriptor *skd_cons_sg_list(struct skd_device *skdev, in skd_cons_sg_list()
2722 static void skd_free_sg_list(struct skd_device *skdev, in skd_free_sg_list()
2736 struct skd_device *skdev = set->driver_data; in skd_init_request()
2751 struct skd_device *skdev = set->driver_data; in skd_exit_request()
2757 static int skd_cons_sksb(struct skd_device *skdev) in skd_cons_sksb()
2808 static int skd_cons_disk(struct skd_device *skdev) in skd_cons_disk()
2878 static struct skd_device *skd_construct(struct pci_dev *pdev) in skd_construct()
2880 struct skd_device *skdev; in skd_construct()
2971 static void skd_free_skcomp(struct skd_device *skdev) in skd_free_skcomp()
2981 static void skd_free_skmsg(struct skd_device *skdev) in skd_free_skmsg()
3006 static void skd_free_sksb(struct skd_device *skdev) in skd_free_sksb()
3029 static void skd_free_disk(struct skd_device *skdev) in skd_free_disk()
3050 static void skd_destruct(struct skd_device *skdev) in skd_destruct()
3085 struct skd_device *skdev; in skd_bdev_getgeo()
3104 static int skd_bdev_attach(struct device *parent, struct skd_device *skdev) in skd_bdev_attach()
3130 static char *skd_pci_info(struct skd_device *skdev, char *str) in skd_pci_info()
3164 struct skd_device *skdev; in skd_pci_probe()
3293 struct skd_device *skdev; in skd_pci_remove()
3322 struct skd_device *skdev; in skd_pci_suspend()
3352 struct skd_device *skdev; in skd_pci_resume()
3448 struct skd_device *skdev; in skd_pci_shutdown()
3573 static void skd_log_skdev(struct skd_device *skdev, const char *event) in skd_log_skdev()
3586 static void skd_log_skreq(struct skd_device *skdev, in skd_log_skreq()