Lines Matching defs:h

216 static void cciss_procinit(ctlr_info_t *h)  in cciss_procinit()
242 static void set_performant_mode(ctlr_info_t *h, CommandList_struct *c) in set_performant_mode()
274 static void enqueue_cmd_and_start_io(ctlr_info_t *h, in enqueue_cmd_and_start_io()
303 ctlr_info_t *h, int chainsize, int nr_cmds) in cciss_allocate_sg_chain_blocks()
332 static void cciss_unmap_sg_chain_block(ctlr_info_t *h, CommandList_struct *c) in cciss_unmap_sg_chain_block()
346 static void cciss_map_sg_chain_block(ctlr_info_t *h, CommandList_struct *c, in cciss_map_sg_chain_block()
379 ctlr_info_t *h = seq->private; in cciss_seq_show_header() local
407 ctlr_info_t *h = seq->private; in cciss_seq_start() local
430 ctlr_info_t *h = seq->private; in cciss_seq_show() local
460 ctlr_info_t *h = seq->private; in cciss_seq_next() local
471 ctlr_info_t *h = seq->private; in cciss_seq_stop() local
525 ctlr_info_t *h = seq->private; in cciss_proc_write() local
550 static void __devinit cciss_procinit(ctlr_info_t *h) in cciss_procinit()
623 struct ctlr_info *h = to_hba(dev); in host_show_resettable() local
633 struct ctlr_info *h = to_hba(dev); in host_store_rescan() local
647 struct ctlr_info *h = to_hba(dev); in host_show_transport_mode() local
660 struct ctlr_info *h = to_hba(drv->dev.parent); in dev_show_unique_id() local
690 struct ctlr_info *h = to_hba(drv->dev.parent); in dev_show_vendor() local
714 struct ctlr_info *h = to_hba(drv->dev.parent); in dev_show_model() local
738 struct ctlr_info *h = to_hba(drv->dev.parent); in dev_show_rev() local
761 struct ctlr_info *h = to_hba(drv->dev.parent); in cciss_show_lunid() local
786 struct ctlr_info *h = to_hba(drv->dev.parent); in cciss_show_raid_level() local
809 struct ctlr_info *h = to_hba(drv->dev.parent); in cciss_show_usage_count() local
893 static int cciss_create_hba_sysfs_entry(struct ctlr_info *h) in cciss_create_hba_sysfs_entry()
907 static void cciss_destroy_hba_sysfs_entry(struct ctlr_info *h) in cciss_destroy_hba_sysfs_entry()
928 static long cciss_create_ld_sysfs_entry(struct ctlr_info *h, in cciss_create_ld_sysfs_entry()
949 static void cciss_destroy_ld_sysfs_entry(struct ctlr_info *h, int drv_index, in cciss_destroy_ld_sysfs_entry()
968 static CommandList_struct *cmd_alloc(ctlr_info_t *h) in cmd_alloc()
1006 static CommandList_struct *cmd_special_alloc(ctlr_info_t *h) in cmd_special_alloc()
1042 static void cmd_free(ctlr_info_t *h, CommandList_struct *c) in cmd_free()
1052 static void cmd_special_free(ctlr_info_t *h, CommandList_struct *c) in cmd_special_free()
1079 ctlr_info_t *h = get_host(bdev->bd_disk); in cciss_open() local
1128 ctlr_info_t *h; in cciss_release() local
1275 static void check_ioctl_unit_attention(ctlr_info_t *h, CommandList_struct *c) in check_ioctl_unit_attention()
1282 static int cciss_getpciinfo(ctlr_info_t *h, void __user *argp) in cciss_getpciinfo()
1297 static int cciss_getintinfo(ctlr_info_t *h, void __user *argp) in cciss_getintinfo()
1314 static int cciss_setintinfo(ctlr_info_t *h, void __user *argp) in cciss_setintinfo()
1345 static int cciss_getnodename(ctlr_info_t *h, void __user *argp) in cciss_getnodename()
1362 static int cciss_setnodename(ctlr_info_t *h, void __user *argp) in cciss_setnodename()
1390 static int cciss_getheartbeat(ctlr_info_t *h, void __user *argp) in cciss_getheartbeat()
1405 static int cciss_getbustypes(ctlr_info_t *h, void __user *argp) in cciss_getbustypes()
1420 static int cciss_getfirmver(ctlr_info_t *h, void __user *argp) in cciss_getfirmver()
1434 static int cciss_getdrivver(ctlr_info_t *h, void __user *argp) in cciss_getdrivver()
1445 static int cciss_getluninfo(ctlr_info_t *h, in cciss_getluninfo()
1461 static int cciss_passthru(ctlr_info_t *h, void __user *argp) in cciss_passthru()
1561 static int cciss_bigpassthru(ctlr_info_t *h, void __user *argp) in cciss_bigpassthru()
1704 ctlr_info_t *h = get_host(disk); in cciss_ioctl() local
1767 static void cciss_check_queues(ctlr_info_t *h) in cciss_check_queues()
1815 ctlr_info_t *h = hba[c->ctlr]; in cciss_softirq_done() local
1857 static inline void log_unit_to_scsi3addr(ctlr_info_t *h, in log_unit_to_scsi3addr()
1868 static void cciss_get_device_descr(ctlr_info_t *h, int logvol, in cciss_get_device_descr()
1904 static void cciss_get_serial_no(ctlr_info_t *h, int logvol, in cciss_get_serial_no()
1931 static int cciss_add_disk(ctlr_info_t *h, struct gendisk *disk, in cciss_add_disk()
1986 static void cciss_update_drive_info(ctlr_info_t *h, int drv_index, in cciss_update_drive_info()
2134 static int cciss_alloc_drive_info(ctlr_info_t *h, int controller_node) in cciss_alloc_drive_info()
2177 static void cciss_free_drive_info(ctlr_info_t *h, int drv_index) in cciss_free_drive_info()
2183 static void cciss_free_gendisk(ctlr_info_t *h, int drv_index) in cciss_free_gendisk()
2198 static int cciss_add_gendisk(ctlr_info_t *h, unsigned char lunid[], in cciss_add_gendisk()
2241 static void cciss_add_controller_node(ctlr_info_t *h) in cciss_add_controller_node()
2277 static int rebuild_lun_table(ctlr_info_t *h, int first_time, in rebuild_lun_table()
2451 static int deregister_disk(ctlr_info_t *h, int drv_index, in deregister_disk()
2526 static int fill_cmd(ctlr_info_t *h, CommandList_struct *c, __u8 cmd, void *buff, in fill_cmd()
2668 static int __devinit cciss_send_reset(ctlr_info_t *h, unsigned char *scsi3addr, in cciss_send_reset()
2693 static int check_target_status(ctlr_info_t *h, CommandList_struct *c) in check_target_status()
2719 static int process_sendcmd_error(ctlr_info_t *h, CommandList_struct *c) in process_sendcmd_error()
2782 static int sendcmd_withirq_core(ctlr_info_t *h, CommandList_struct *c, in sendcmd_withirq_core()
2821 static int sendcmd_withirq(ctlr_info_t *h, __u8 cmd, void *buff, size_t size, in sendcmd_withirq()
2840 static void cciss_geometry_inquiry(ctlr_info_t *h, int logvol, in cciss_geometry_inquiry()
2886 cciss_read_capacity(ctlr_info_t *h, int logvol, sector_t *total_size, in cciss_read_capacity()
2913 static void cciss_read_capacity_16(ctlr_info_t *h, int logvol, in cciss_read_capacity_16()
2945 ctlr_info_t *h = get_host(disk); in cciss_revalidate() local
3004 static void start_io(ctlr_info_t *h) in start_io()
3031 static inline void resend_cciss_cmd(ctlr_info_t *h, CommandList_struct *c) in resend_cciss_cmd()
3056 static inline int evaluate_target_status(ctlr_info_t *h, in evaluate_target_status()
3121 static inline void complete_command(ctlr_info_t *h, CommandList_struct *cmd, in complete_command()
3263 static inline u32 cciss_tag_discard_error_bits(ctlr_info_t *h, u32 tag) in cciss_tag_discard_error_bits()
3287 ctlr_info_t *h = q->queuedata; in do_cciss_request() local
3445 static inline unsigned long get_next_completion(ctlr_info_t *h) in get_next_completion()
3450 static inline int interrupt_pending(ctlr_info_t *h) in interrupt_pending()
3455 static inline long interrupt_not_for_us(ctlr_info_t *h) in interrupt_not_for_us()
3461 static inline int bad_tag(ctlr_info_t *h, u32 tag_index, in bad_tag()
3471 static inline void finish_cmd(ctlr_info_t *h, CommandList_struct *c, in finish_cmd()
3485 static inline u32 next_command(ctlr_info_t *h) in next_command()
3508 static inline u32 process_indexed_cmd(ctlr_info_t *h, u32 raw_tag) in process_indexed_cmd()
3522 static inline u32 process_nonindexed_cmd(ctlr_info_t *h, u32 raw_tag) in process_nonindexed_cmd()
3544 static int ignore_bogus_interrupt(ctlr_info_t *h) in ignore_bogus_interrupt()
3560 ctlr_info_t *h = dev_id; in cciss_intx_discard_completions() local
3581 ctlr_info_t *h = dev_id; in cciss_msix_discard_completions() local
3598 ctlr_info_t *h = dev_id; in do_cciss_intx() local
3623 ctlr_info_t *h = dev_id; in do_cciss_msix_intr() local
3649 static int add_to_scan_list(struct ctlr_info *h) in add_to_scan_list()
3692 static void remove_from_scan_list(struct ctlr_info *h) in remove_from_scan_list()
3727 struct ctlr_info *h; in scan_thread() local
3760 static int check_for_unit_attention(ctlr_info_t *h, CommandList_struct *c) in check_for_unit_attention()
3817 static void print_cfg_table(ctlr_info_t *h) in print_cfg_table()
3924 static void __devinit cciss_wait_for_mode_change_ack(ctlr_info_t *h) in cciss_wait_for_mode_change_ack()
3938 static __devinit void cciss_enter_performant_mode(ctlr_info_t *h, in cciss_enter_performant_mode()
4005 static void __devinit cciss_put_controller_into_performant_mode(ctlr_info_t *h) in cciss_put_controller_into_performant_mode()
4067 static void __devinit cciss_interrupt_mode(ctlr_info_t *h) in cciss_interrupt_mode()
4131 static inline bool cciss_board_disabled(ctlr_info_t *h) in cciss_board_disabled()
4200 static int __devinit cciss_find_cfgtables(ctlr_info_t *h) in cciss_find_cfgtables()
4229 static void __devinit cciss_get_max_perf_mode_cmds(struct ctlr_info *h) in cciss_get_max_perf_mode_cmds()
4250 static void __devinit cciss_find_board_params(ctlr_info_t *h) in cciss_find_board_params()
4270 static inline bool CISS_signature_present(ctlr_info_t *h) in CISS_signature_present()
4283 static inline void cciss_enable_scsi_prefetch(ctlr_info_t *h) in cciss_enable_scsi_prefetch()
4297 static inline void cciss_p600_dma_prefetch_quirk(ctlr_info_t *h) in cciss_p600_dma_prefetch_quirk()
4312 static int __devinit cciss_pci_init(ctlr_info_t *h) in cciss_pci_init()
4403 ctlr_info_t *h; in alloc_cciss_hba() local
4420 static void free_hba(ctlr_info_t *h) in free_hba()
4814 static __devinit int cciss_allocate_cmd_pool(ctlr_info_t *h) in cciss_allocate_cmd_pool()
4834 static __devinit int cciss_allocate_scatterlists(ctlr_info_t *h) in cciss_allocate_scatterlists()
4856 static void cciss_free_scatterlists(ctlr_info_t *h) in cciss_free_scatterlists()
4867 static void cciss_free_cmd_pool(ctlr_info_t *h) in cciss_free_cmd_pool()
4880 static int cciss_request_irq(ctlr_info_t *h, in cciss_request_irq()
4902 static int __devinit cciss_kdump_soft_reset(ctlr_info_t *h) in cciss_kdump_soft_reset()
4925 static void cciss_undo_allocations_after_kdump_soft_reset(ctlr_info_t *h) in cciss_undo_allocations_after_kdump_soft_reset()
4970 ctlr_info_t *h; in cciss_init_one() local
5198 ctlr_info_t *h; in cciss_shutdown() local
5219 static int __devinit cciss_enter_simple_mode(struct ctlr_info *h) in cciss_enter_simple_mode()
5243 ctlr_info_t *h; in cciss_remove_one() local