Lines Matching refs:skd_device
204 struct skd_device {
282 static inline u32 skd_reg_read32(struct skd_device *skdev, u32 offset)
291 static inline void skd_reg_write32(struct skd_device *skdev, u32 val,
299 static inline void skd_reg_write64(struct skd_device *skdev, u64 val,
353 static void skd_destruct(struct skd_device *skdev);
355 static void skd_send_fitmsg(struct skd_device *skdev,
357 static void skd_send_special_fitmsg(struct skd_device *skdev,
359 static bool skd_preop_sg_list(struct skd_device *skdev,
361 static void skd_postop_sg_list(struct skd_device *skdev,
364 static void skd_restart_device(struct skd_device *skdev);
365 static int skd_quiesce_dev(struct skd_device *skdev);
366 static int skd_unquiesce_dev(struct skd_device *skdev);
367 static void skd_disable_interrupts(struct skd_device *skdev);
368 static void skd_isr_fwstate(struct skd_device *skdev);
369 static void skd_recover_requests(struct skd_device *skdev);
370 static void skd_soft_reset(struct skd_device *skdev);
374 static void skd_log_skdev(struct skd_device *skdev, const char *event);
375 static void skd_log_skreq(struct skd_device *skdev,
391 static int skd_in_flight(struct skd_device *skdev)
444 struct skd_device *skdev = q->queuedata;
482 struct skd_device *skdev = q->queuedata;
603 struct skd_device *skdev = req->q->queuedata;
618 static bool skd_preop_sg_list(struct skd_device *skdev,
679 static void skd_postop_sg_list(struct skd_device *skdev,
699 static void skd_timer_tick_not_online(struct skd_device *skdev);
703 struct skd_device *skdev = container_of(work, typeof(*skdev),
716 struct skd_device *skdev = from_timer(skdev, t, timer);
741 static void skd_timer_tick_not_online(struct skd_device *skdev)
860 static int skd_start_timer(struct skd_device *skdev)
872 static void skd_kill_timer(struct skd_device *skdev)
883 static int skd_format_internal_skspcl(struct skd_device *skdev)
911 static void skd_send_internal_skspcl(struct skd_device *skdev,
992 static void skd_refresh_device_data(struct skd_device *skdev)
999 static int skd_chk_read_buf(struct skd_device *skdev,
1013 static void skd_log_check_status(struct skd_device *skdev, u8 status, u8 key,
1025 static void skd_complete_internal(struct skd_device *skdev,
1193 static void skd_send_fitmsg(struct skd_device *skdev,
1239 static void skd_send_special_fitmsg(struct skd_device *skdev,
1302 static void skd_complete_other(struct skd_device *skdev,
1352 skd_check_status(struct skd_device *skdev,
1409 static void skd_resolve_req_exception(struct skd_device *skdev,
1449 static void skd_release_skreq(struct skd_device *skdev,
1458 static int skd_isr_completion_posted(struct skd_device *skdev,
1588 static void skd_complete_other(struct skd_device *skdev,
1650 static void skd_reset_skcomp(struct skd_device *skdev)
1665 struct skd_device *skdev =
1666 container_of(work, struct skd_device, completion_worker);
1682 static void skd_isr_msg_from_dev(struct skd_device *skdev);
1687 struct skd_device *skdev = ptr;
1765 static void skd_drive_fault(struct skd_device *skdev)
1771 static void skd_drive_disappeared(struct skd_device *skdev)
1777 static void skd_isr_fwstate(struct skd_device *skdev)
1899 struct skd_device *const skdev = data;
1917 static void skd_recover_requests(struct skd_device *skdev)
1922 static void skd_isr_msg_from_dev(struct skd_device *skdev)
2016 static void skd_disable_interrupts(struct skd_device *skdev)
2031 static void skd_enable_interrupts(struct skd_device *skdev)
2056 static void skd_soft_reset(struct skd_device *skdev)
2066 static void skd_start_device(struct skd_device *skdev)
2177 static void skd_stop_device(struct skd_device *skdev)
2251 static void skd_restart_device(struct skd_device *skdev)
2273 static int skd_quiesce_dev(struct skd_device *skdev)
2300 static int skd_unquiesce_dev(struct skd_device *skdev)
2369 struct skd_device *skdev = skd_host_data;
2384 struct skd_device *skdev = skd_host_data;
2398 struct skd_device *skdev = skd_host_data;
2424 struct skd_device *skdev = skd_host_data;
2438 struct skd_device *skdev = skd_host_data;
2484 static int skd_acquire_msix(struct skd_device *skdev)
2537 static int skd_acquire_irq(struct skd_device *skdev)
2577 static void skd_release_irq(struct skd_device *skdev)
2604 static void *skd_alloc_dma(struct skd_device *skdev, struct kmem_cache *s,
2623 static void skd_free_dma(struct skd_device *skdev, struct kmem_cache *s,
2635 static int skd_cons_skcomp(struct skd_device *skdev)
2661 static int skd_cons_skmsg(struct skd_device *skdev)
2705 static struct fit_sg_descriptor *skd_cons_sg_list(struct skd_device *skdev,
2730 static void skd_free_sg_list(struct skd_device *skdev,
2744 struct skd_device *skdev = set->driver_data;
2759 struct skd_device *skdev = set->driver_data;
2765 static int skd_cons_sksb(struct skd_device *skdev)
2816 static int skd_cons_disk(struct skd_device *skdev)
2885 static struct skd_device *skd_construct(struct pci_dev *pdev)
2887 struct skd_device *skdev;
2978 static void skd_free_skcomp(struct skd_device *skdev)
2988 static void skd_free_skmsg(struct skd_device *skdev)
3013 static void skd_free_sksb(struct skd_device *skdev)
3036 static void skd_free_disk(struct skd_device *skdev)
3057 static void skd_destruct(struct skd_device *skdev)
3092 struct skd_device *skdev;
3111 static int skd_bdev_attach(struct device *parent, struct skd_device *skdev)
3137 static char *skd_pci_info(struct skd_device *skdev, char *str)
3171 struct skd_device *skdev;
3294 struct skd_device *skdev;
3323 struct skd_device *skdev;
3353 struct skd_device *skdev;
3441 struct skd_device *skdev;
3566 static void skd_log_skdev(struct skd_device *skdev, const char *event)
3579 static void skd_log_skreq(struct skd_device *skdev,