Lines Matching refs:driver_data
124 static int mtip_block_initialize(struct driver_data *dd);
152 struct driver_data *dd = pci_get_drvdata(pdev); in mtip_check_surprise_removal()
172 static struct mtip_cmd *mtip_get_int_command(struct driver_data *dd) in mtip_get_int_command()
186 static void mtip_put_int_command(struct driver_data *dd, struct mtip_cmd *cmd) in mtip_put_int_command()
194 static struct request *mtip_rq_from_tag(struct driver_data *dd, in mtip_rq_from_tag()
202 static struct mtip_cmd *mtip_cmd_from_tag(struct driver_data *dd, in mtip_cmd_from_tag()
231 struct driver_data *dd = port->dd; in mtip_async_complete()
256 static int mtip_hba_reset(struct driver_data *dd) in mtip_hba_reset()
522 static int mtip_device_reset(struct driver_data *dd) in mtip_device_reset()
545 static void print_tags(struct driver_data *dd, in print_tags()
606 static void mtip_handle_tfe(struct driver_data *dd) in mtip_handle_tfe()
782 struct driver_data *dd = port->dd; in mtip_workq_sdbfx()
827 static inline void mtip_process_legacy(struct driver_data *dd, u32 port_stat) in mtip_process_legacy()
847 static inline void mtip_process_errors(struct driver_data *dd, u32 port_stat) in mtip_process_errors()
875 static inline irqreturn_t mtip_handle_irq(struct driver_data *data) in mtip_handle_irq()
877 struct driver_data *dd = (struct driver_data *) data; in mtip_handle_irq()
969 struct driver_data *dd = instance; in mtip_irq_handler()
1103 struct driver_data *dd = port->dd; in mtip_exec_internal_command()
1294 static void mtip_set_timeout(struct driver_data *dd, in mtip_set_timeout()
1610 static int mtip_send_trim(struct driver_data *dd, unsigned int lba, in mtip_send_trim()
1684 static bool mtip_hw_get_capacity(struct driver_data *dd, sector_t *sectors) in mtip_hw_get_capacity()
1760 static inline void fill_command_sg(struct driver_data *dd, in fill_command_sg()
2012 static int exec_drive_taskfile(struct driver_data *dd, in exec_drive_taskfile()
2277 static int mtip_hw_ioctl(struct driver_data *dd, unsigned int cmd, in mtip_hw_ioctl()
2381 static void mtip_hw_submit_io(struct driver_data *dd, struct request *rq, in mtip_hw_submit_io()
2473 struct driver_data *dd = dev_to_disk(dev)->private_data; in mtip_hw_show_status()
2493 struct driver_data *dd, *tmp; in show_device_status()
2566 struct driver_data *dd = (struct driver_data *)f->private_data; in mtip_hw_read_device_status()
2595 struct driver_data *dd = (struct driver_data *)f->private_data; in mtip_hw_read_registers()
2662 struct driver_data *dd = (struct driver_data *)f->private_data; in mtip_hw_read_flags()
2722 static int mtip_hw_sysfs_init(struct driver_data *dd, struct kobject *kobj) in mtip_hw_sysfs_init()
2743 static int mtip_hw_sysfs_exit(struct driver_data *dd, struct kobject *kobj) in mtip_hw_sysfs_exit()
2753 static int mtip_hw_debugfs_init(struct driver_data *dd) in mtip_hw_debugfs_init()
2775 static void mtip_hw_debugfs_exit(struct driver_data *dd) in mtip_hw_debugfs_exit()
2789 static inline void hba_setup(struct driver_data *dd) in hba_setup()
2801 static int mtip_device_unaligned_constrained(struct driver_data *dd) in mtip_device_unaligned_constrained()
2816 static void mtip_detect_product(struct driver_data *dd) in mtip_detect_product()
2866 static int mtip_ftl_rebuild_poll(struct driver_data *dd) in mtip_ftl_rebuild_poll()
2915 struct driver_data *dd = rq->q->queuedata; in mtip_softirq_done_fn()
2930 struct driver_data *dd = data; in mtip_abort_cmd()
2942 struct driver_data *dd = data; in mtip_queue_cmd()
2959 struct driver_data *dd = (struct driver_data *)data; in mtip_service_thread()
3072 static void mtip_dma_free(struct driver_data *dd) in mtip_dma_free()
3094 static int mtip_dma_alloc(struct driver_data *dd) in mtip_dma_alloc()
3132 static int mtip_hw_get_identify(struct driver_data *dd) in mtip_hw_get_identify()
3196 static int mtip_hw_init(struct driver_data *dd) in mtip_hw_init()
3345 static int mtip_standby_drive(struct driver_data *dd) in mtip_standby_drive()
3374 static int mtip_hw_exit(struct driver_data *dd) in mtip_hw_exit()
3411 static int mtip_hw_shutdown(struct driver_data *dd) in mtip_hw_shutdown()
3434 static int mtip_hw_suspend(struct driver_data *dd) in mtip_hw_suspend()
3466 static int mtip_hw_resume(struct driver_data *dd) in mtip_hw_resume()
3541 struct driver_data *dd = dev->bd_disk->private_data; in mtip_block_ioctl()
3579 struct driver_data *dd = dev->bd_disk->private_data; in mtip_block_compat_ioctl()
3659 struct driver_data *dd = dev->bd_disk->private_data; in mtip_block_getgeo()
3680 struct driver_data *dd; in mtip_block_open()
3683 dd = (struct driver_data *) dev->bd_disk->private_data; in mtip_block_open()
3717 static inline bool is_se_active(struct driver_data *dd) in is_se_active()
3750 struct driver_data *dd = hctx->queue->queuedata; in mtip_submit_request()
3794 struct driver_data *dd = hctx->queue->queuedata; in mtip_check_unal_depth()
3837 struct driver_data *dd = data; in mtip_free_cmd()
3850 struct driver_data *dd = data; in mtip_init_cmd()
3887 struct driver_data *dd = req->q->queuedata; in mtip_cmd_timeout()
3924 static int mtip_block_initialize(struct driver_data *dd) in mtip_block_initialize()
3985 dd->tags.driver_data = dd; in mtip_block_initialize()
4125 struct driver_data *dd = (struct driver_data *)data; in mtip_no_dev_cleanup()
4149 static int mtip_block_remove(struct driver_data *dd) in mtip_block_remove()
4229 static int mtip_block_shutdown(struct driver_data *dd) in mtip_block_shutdown()
4255 static int mtip_block_suspend(struct driver_data *dd) in mtip_block_suspend()
4263 static int mtip_block_resume(struct driver_data *dd) in mtip_block_resume()
4321 static void mtip_disable_link_opts(struct driver_data *dd, struct pci_dev *pdev) in mtip_disable_link_opts()
4345 static void mtip_fix_ero_nosnoop(struct driver_data *dd, struct pci_dev *pdev) in mtip_fix_ero_nosnoop()
4385 struct driver_data *dd = NULL; in mtip_pci_probe()
4405 dd = kzalloc_node(sizeof(struct driver_data), GFP_KERNEL, my_node); in mtip_pci_probe()
4581 struct driver_data *dd = pci_get_drvdata(pdev); in mtip_pci_remove()
4645 struct driver_data *dd = pci_get_drvdata(pdev); in mtip_pci_suspend()
4686 struct driver_data *dd; in mtip_pci_resume()
4732 struct driver_data *dd = pci_get_drvdata(pdev); in mtip_pci_shutdown()