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()
178 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()
262 static int mtip_hba_reset(struct driver_data *dd) in mtip_hba_reset()
525 static int mtip_device_reset(struct driver_data *dd) in mtip_device_reset()
548 static void print_tags(struct driver_data *dd, in print_tags()
607 static void mtip_handle_tfe(struct driver_data *dd) in mtip_handle_tfe()
791 struct driver_data *dd = port->dd; in mtip_workq_sdbfx()
836 static inline void mtip_process_legacy(struct driver_data *dd, u32 port_stat) in mtip_process_legacy()
856 static inline void mtip_process_errors(struct driver_data *dd, u32 port_stat) in mtip_process_errors()
884 static inline irqreturn_t mtip_handle_irq(struct driver_data *data) in mtip_handle_irq()
886 struct driver_data *dd = (struct driver_data *) data; in mtip_handle_irq()
978 struct driver_data *dd = instance; in mtip_irq_handler()
1105 struct driver_data *dd = port->dd; in mtip_exec_internal_command()
1291 static void mtip_set_timeout(struct driver_data *dd, in mtip_set_timeout()
1607 static int mtip_send_trim(struct driver_data *dd, unsigned int lba, in mtip_send_trim()
1681 static bool mtip_hw_get_capacity(struct driver_data *dd, sector_t *sectors) in mtip_hw_get_capacity()
1757 static inline void fill_command_sg(struct driver_data *dd, in fill_command_sg()
2009 static int exec_drive_taskfile(struct driver_data *dd, in exec_drive_taskfile()
2274 static int mtip_hw_ioctl(struct driver_data *dd, unsigned int cmd, in mtip_hw_ioctl()
2378 static void mtip_hw_submit_io(struct driver_data *dd, struct request *rq, in mtip_hw_submit_io()
2470 struct driver_data *dd = dev_to_disk(dev)->private_data; in mtip_hw_show_status()
2490 struct driver_data *dd, *tmp; in show_device_status()
2563 struct driver_data *dd = (struct driver_data *)f->private_data; in mtip_hw_read_device_status()
2592 struct driver_data *dd = (struct driver_data *)f->private_data; in mtip_hw_read_registers()
2671 struct driver_data *dd = (struct driver_data *)f->private_data; in mtip_hw_read_flags()
2731 static int mtip_hw_sysfs_init(struct driver_data *dd, struct kobject *kobj) in mtip_hw_sysfs_init()
2752 static int mtip_hw_sysfs_exit(struct driver_data *dd, struct kobject *kobj) in mtip_hw_sysfs_exit()
2762 static int mtip_hw_debugfs_init(struct driver_data *dd) in mtip_hw_debugfs_init()
2784 static void mtip_hw_debugfs_exit(struct driver_data *dd) in mtip_hw_debugfs_exit()
2798 static inline void hba_setup(struct driver_data *dd) in hba_setup()
2810 static int mtip_device_unaligned_constrained(struct driver_data *dd) in mtip_device_unaligned_constrained()
2825 static void mtip_detect_product(struct driver_data *dd) in mtip_detect_product()
2875 static int mtip_ftl_rebuild_poll(struct driver_data *dd) in mtip_ftl_rebuild_poll()
2933 struct driver_data *dd = (struct driver_data *)data; in mtip_service_thread()
3034 static void mtip_dma_free(struct driver_data *dd) in mtip_dma_free()
3056 static int mtip_dma_alloc(struct driver_data *dd) in mtip_dma_alloc()
3094 static int mtip_hw_get_identify(struct driver_data *dd) in mtip_hw_get_identify()
3158 static int mtip_hw_init(struct driver_data *dd) in mtip_hw_init()
3307 static int mtip_standby_drive(struct driver_data *dd) in mtip_standby_drive()
3336 static int mtip_hw_exit(struct driver_data *dd) in mtip_hw_exit()
3377 static int mtip_hw_shutdown(struct driver_data *dd) in mtip_hw_shutdown()
3400 static int mtip_hw_suspend(struct driver_data *dd) in mtip_hw_suspend()
3432 static int mtip_hw_resume(struct driver_data *dd) in mtip_hw_resume()
3507 struct driver_data *dd = dev->bd_disk->private_data; in mtip_block_ioctl()
3545 struct driver_data *dd = dev->bd_disk->private_data; in mtip_block_compat_ioctl()
3625 struct driver_data *dd = dev->bd_disk->private_data; in mtip_block_getgeo()
3646 struct driver_data *dd; in mtip_block_open()
3649 dd = (struct driver_data *) dev->bd_disk->private_data; in mtip_block_open()
3696 struct driver_data *dd = hctx->queue->queuedata; in mtip_submit_request()
3737 struct driver_data *dd = hctx->queue->queuedata; in mtip_check_unal_depth()
3780 struct driver_data *dd = data; in mtip_free_cmd()
3793 struct driver_data *dd = data; in mtip_init_cmd()
3837 static int mtip_block_initialize(struct driver_data *dd) in mtip_block_initialize()
3899 dd->tags.driver_data = dd; in mtip_block_initialize()
4045 static int mtip_block_remove(struct driver_data *dd) in mtip_block_remove()
4113 static int mtip_block_shutdown(struct driver_data *dd) in mtip_block_shutdown()
4138 static int mtip_block_suspend(struct driver_data *dd) in mtip_block_suspend()
4146 static int mtip_block_resume(struct driver_data *dd) in mtip_block_resume()
4204 static void mtip_disable_link_opts(struct driver_data *dd, struct pci_dev *pdev) in mtip_disable_link_opts()
4228 static void mtip_fix_ero_nosnoop(struct driver_data *dd, struct pci_dev *pdev) in mtip_fix_ero_nosnoop()
4268 struct driver_data *dd = NULL; in mtip_pci_probe()
4288 dd = kzalloc_node(sizeof(struct driver_data), GFP_KERNEL, my_node); in mtip_pci_probe()
4464 struct driver_data *dd = pci_get_drvdata(pdev); in mtip_pci_remove()
4530 struct driver_data *dd = pci_get_drvdata(pdev); in mtip_pci_suspend()
4571 struct driver_data *dd; in mtip_pci_resume()
4617 struct driver_data *dd = pci_get_drvdata(pdev); in mtip_pci_shutdown()