• Home
  • Raw
  • Download

Lines Matching refs:ctlr_info_t

159 static ctlr_info_t *hba[MAX_CTLR];
176 static int rebuild_lun_table(ctlr_info_t *h, int first_time, int via_ioctl);
177 static int deregister_disk(ctlr_info_t *h, int drv_index,
180 static void cciss_read_capacity(ctlr_info_t *h, int logvol,
182 static void cciss_read_capacity_16(ctlr_info_t *h, int logvol,
184 static void cciss_geometry_inquiry(ctlr_info_t *h, int logvol,
188 static void cciss_interrupt_mode(ctlr_info_t *);
190 static void start_io(ctlr_info_t *h);
191 static int sendcmd_withirq(ctlr_info_t *h, __u8 cmd, void *buff, size_t size,
194 static int sendcmd_withirq_core(ctlr_info_t *h, CommandList_struct *c,
196 static int process_sendcmd_error(ctlr_info_t *h, CommandList_struct *c);
200 static int check_for_unit_attention(ctlr_info_t *h, CommandList_struct *c);
203 static void cciss_free_gendisk(ctlr_info_t *h, int drv_index);
204 static void cciss_free_drive_info(ctlr_info_t *h, int drv_index);
205 static inline u32 next_command(ctlr_info_t *h);
211 static inline u32 cciss_tag_discard_error_bits(ctlr_info_t *h, u32 tag);
217 static void cciss_put_controller_into_performant_mode(ctlr_info_t *h);
220 static void cciss_procinit(ctlr_info_t *h);
222 static void cciss_procinit(ctlr_info_t *h) in cciss_procinit()
248 static void set_performant_mode(ctlr_info_t *h, CommandList_struct *c) in set_performant_mode()
280 static void enqueue_cmd_and_start_io(ctlr_info_t *h, in enqueue_cmd_and_start_io()
309 ctlr_info_t *h, int chainsize, int nr_cmds) in cciss_allocate_sg_chain_blocks()
338 static void cciss_unmap_sg_chain_block(ctlr_info_t *h, CommandList_struct *c) in cciss_unmap_sg_chain_block()
352 static void cciss_map_sg_chain_block(ctlr_info_t *h, CommandList_struct *c, in cciss_map_sg_chain_block()
385 ctlr_info_t *h = seq->private; in cciss_seq_show_header()
413 ctlr_info_t *h = seq->private; in cciss_seq_start()
436 ctlr_info_t *h = seq->private; in cciss_seq_show()
466 ctlr_info_t *h = seq->private; in cciss_seq_next()
477 ctlr_info_t *h = seq->private; in cciss_seq_stop()
531 ctlr_info_t *h = seq->private; in cciss_proc_write()
556 static void cciss_procinit(ctlr_info_t *h) in cciss_procinit()
974 static CommandList_struct *cmd_alloc(ctlr_info_t *h) in cmd_alloc()
1011 static CommandList_struct *cmd_special_alloc(ctlr_info_t *h) in cmd_special_alloc()
1044 static void cmd_free(ctlr_info_t *h, CommandList_struct *c) in cmd_free()
1053 static void cmd_special_free(ctlr_info_t *h, CommandList_struct *c) in cmd_special_free()
1065 static inline ctlr_info_t *get_host(struct gendisk *disk) in get_host()
1080 ctlr_info_t *h = get_host(bdev->bd_disk); in cciss_open()
1129 ctlr_info_t *h; in cciss_release()
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()
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()
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 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()
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()
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()
3581 ctlr_info_t *h = dev_id; in cciss_msix_discard_completions()
3598 ctlr_info_t *h = dev_id; in do_cciss_intx()
3623 ctlr_info_t *h = dev_id; in do_cciss_msix_intr()
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 cciss_wait_for_mode_change_ack(ctlr_info_t *h) in cciss_wait_for_mode_change_ack()
3938 static void cciss_enter_performant_mode(ctlr_info_t *h, u32 use_short_tags) in cciss_enter_performant_mode()
4004 static void cciss_put_controller_into_performant_mode(ctlr_info_t *h) in cciss_put_controller_into_performant_mode()
4066 static void cciss_interrupt_mode(ctlr_info_t *h) in cciss_interrupt_mode()
4128 static inline bool cciss_board_disabled(ctlr_info_t *h) in cciss_board_disabled()
4197 static int cciss_find_cfgtables(ctlr_info_t *h) in cciss_find_cfgtables()
4247 static void cciss_find_board_params(ctlr_info_t *h) in cciss_find_board_params()
4274 static inline bool CISS_signature_present(ctlr_info_t *h) in CISS_signature_present()
4284 static inline void cciss_enable_scsi_prefetch(ctlr_info_t *h) in cciss_enable_scsi_prefetch()
4298 static inline void cciss_p600_dma_prefetch_quirk(ctlr_info_t *h) in cciss_p600_dma_prefetch_quirk()
4313 static int cciss_pci_init(ctlr_info_t *h) in cciss_pci_init()
4404 ctlr_info_t *h; in alloc_cciss_hba()
4406 h = kzalloc(sizeof(ctlr_info_t), GFP_KERNEL); in alloc_cciss_hba()
4421 static void free_hba(ctlr_info_t *h) in free_hba()
4814 static int cciss_allocate_cmd_pool(ctlr_info_t *h) in cciss_allocate_cmd_pool()
4833 static int cciss_allocate_scatterlists(ctlr_info_t *h) in cciss_allocate_scatterlists()
4855 static void cciss_free_scatterlists(ctlr_info_t *h) in cciss_free_scatterlists()
4866 static void cciss_free_cmd_pool(ctlr_info_t *h) in cciss_free_cmd_pool()
4879 static int cciss_request_irq(ctlr_info_t *h, in cciss_request_irq()
4901 static int cciss_kdump_soft_reset(ctlr_info_t *h) in cciss_kdump_soft_reset()
4924 static void cciss_undo_allocations_after_kdump_soft_reset(ctlr_info_t *h) in cciss_undo_allocations_after_kdump_soft_reset()
4968 ctlr_info_t *h; in cciss_init_one()
5204 ctlr_info_t *h; in cciss_shutdown()
5248 ctlr_info_t *h; in cciss_remove_one()