Home
last modified time | relevance | path

Searched refs:instance (Results 1 - 25 of 839) sorted by relevance

12345678910>>...34

/kernel/linux/linux-6.6/drivers/scsi/megaraid/
H A Dmegaraid_sas_base.c135 int megasas_transition_to_ready(struct megasas_instance *instance, int ocr);
136 static int megasas_get_pd_list(struct megasas_instance *instance);
137 static int megasas_ld_list_query(struct megasas_instance *instance,
139 static int megasas_issue_init_mfi(struct megasas_instance *instance);
140 static int megasas_register_aen(struct megasas_instance *instance,
142 static void megasas_get_pd_info(struct megasas_instance *instance,
145 megasas_set_ld_removed_by_fw(struct megasas_instance *instance);
224 megasas_complete_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd,
227 megasas_read_fw_status_reg_gen2(struct megasas_instance *instance);
229 megasas_adp_reset_gen2(struct megasas_instance *instance,
257 megasas_readl(struct megasas_instance *instance, const volatile void __iomem *addr) megasas_readl() argument
287 megasas_set_dma_settings(struct megasas_instance *instance, struct megasas_dcmd_frame *dcmd, dma_addr_t dma_addr, u32 dma_len) megasas_set_dma_settings() argument
305 megasas_issue_dcmd(struct megasas_instance *instance, struct megasas_cmd *cmd) megasas_issue_dcmd() argument
318 megasas_get_cmd(struct megasas_instance *instance) megasas_get_cmd() argument
344 megasas_return_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd) megasas_return_cmd() argument
422 megasas_decode_evt(struct megasas_instance *instance) megasas_decode_evt() argument
459 megasas_enable_intr_xscale(struct megasas_instance *instance) megasas_enable_intr_xscale() argument
475 megasas_disable_intr_xscale(struct megasas_instance *instance) megasas_disable_intr_xscale() argument
491 megasas_read_fw_status_reg_xscale(struct megasas_instance *instance) megasas_read_fw_status_reg_xscale() argument
500 megasas_clear_intr_xscale(struct megasas_instance *instance) megasas_clear_intr_xscale() argument
537 megasas_fire_cmd_xscale(struct megasas_instance *instance, dma_addr_t frame_phys_addr, u32 frame_count, struct megasas_register_set __iomem *regs) megasas_fire_cmd_xscale() argument
556 megasas_adp_reset_xscale(struct megasas_instance *instance, struct megasas_register_set __iomem *regs) megasas_adp_reset_xscale() argument
598 megasas_check_reset_xscale(struct megasas_instance *instance, struct megasas_register_set __iomem *regs) megasas_check_reset_xscale() argument
639 megasas_enable_intr_ppc(struct megasas_instance *instance) megasas_enable_intr_ppc() argument
657 megasas_disable_intr_ppc(struct megasas_instance *instance) megasas_disable_intr_ppc() argument
673 megasas_read_fw_status_reg_ppc(struct megasas_instance *instance) megasas_read_fw_status_reg_ppc() argument
683 megasas_clear_intr_ppc(struct megasas_instance *instance) megasas_clear_intr_ppc() argument
719 megasas_fire_cmd_ppc(struct megasas_instance *instance, dma_addr_t frame_phys_addr, u32 frame_count, struct megasas_register_set __iomem *regs) megasas_fire_cmd_ppc() argument
738 megasas_check_reset_ppc(struct megasas_instance *instance, struct megasas_register_set __iomem *regs) megasas_check_reset_ppc() argument
768 megasas_enable_intr_skinny(struct megasas_instance *instance) megasas_enable_intr_skinny() argument
786 megasas_disable_intr_skinny(struct megasas_instance *instance) megasas_disable_intr_skinny() argument
802 megasas_read_fw_status_reg_skinny(struct megasas_instance *instance) megasas_read_fw_status_reg_skinny() argument
812 megasas_clear_intr_skinny(struct megasas_instance *instance) megasas_clear_intr_skinny() argument
858 megasas_fire_cmd_skinny(struct megasas_instance *instance, dma_addr_t frame_phys_addr, u32 frame_count, struct megasas_register_set __iomem *regs) megasas_fire_cmd_skinny() argument
879 megasas_check_reset_skinny(struct megasas_instance *instance, struct megasas_register_set __iomem *regs) megasas_check_reset_skinny() argument
915 megasas_enable_intr_gen2(struct megasas_instance *instance) megasas_enable_intr_gen2() argument
934 megasas_disable_intr_gen2(struct megasas_instance *instance) megasas_disable_intr_gen2() argument
950 megasas_read_fw_status_reg_gen2(struct megasas_instance *instance) megasas_read_fw_status_reg_gen2() argument
960 megasas_clear_intr_gen2(struct megasas_instance *instance) megasas_clear_intr_gen2() argument
999 megasas_fire_cmd_gen2(struct megasas_instance *instance, dma_addr_t frame_phys_addr, u32 frame_count, struct megasas_register_set __iomem *regs) megasas_fire_cmd_gen2() argument
1018 megasas_adp_reset_gen2(struct megasas_instance *instance, struct megasas_register_set __iomem *reg_set) megasas_adp_reset_gen2() argument
1079 megasas_check_reset_gen2(struct megasas_instance *instance, struct megasas_register_set __iomem *regs) megasas_check_reset_gen2() argument
1122 megasas_issue_polled(struct megasas_instance *instance, struct megasas_cmd *cmd) megasas_issue_polled() argument
1152 megasas_issue_blocked_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd, int timeout) megasas_issue_blocked_cmd() argument
1194 megasas_issue_blocked_abort_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd_to_abort, int timeout) megasas_issue_blocked_abort_cmd() argument
1262 megasas_make_sgl32(struct megasas_instance *instance, struct scsi_cmnd *scp, union megasas_sgl *mfi_sgl) megasas_make_sgl32() argument
1291 megasas_make_sgl64(struct megasas_instance *instance, struct scsi_cmnd *scp, union megasas_sgl *mfi_sgl) megasas_make_sgl64() argument
1320 megasas_make_sgl_skinny(struct megasas_instance *instance, struct scsi_cmnd *scp, union megasas_sgl *mfi_sgl) megasas_make_sgl_skinny() argument
1349 megasas_get_frame_count(struct megasas_instance *instance, u8 sge_count, u8 frame_type) megasas_get_frame_count() argument
1410 megasas_build_dcdb(struct megasas_instance *instance, struct scsi_cmnd *scp, struct megasas_cmd *cmd) megasas_build_dcdb() argument
1509 megasas_build_ldio(struct megasas_instance *instance, struct scsi_cmnd *scp, struct megasas_cmd *cmd) megasas_build_ldio() argument
1674 megasas_dump_pending_frames(struct megasas_instance *instance) megasas_dump_pending_frames() argument
1741 megasas_build_and_issue_cmd(struct megasas_instance *instance, struct scsi_cmnd *scmd) megasas_build_and_issue_cmd() argument
1788 struct megasas_instance *instance; megasas_queue_command() local
1895 struct megasas_instance *instance; megasas_set_dynamic_target_properties() local
1972 struct megasas_instance *instance; megasas_set_nvme_device_properties() local
1999 struct megasas_instance *instance; megasas_set_fw_assisted_qd() local
2047 struct megasas_instance *instance; megasas_set_static_target_properties() local
2072 struct megasas_instance *instance; megasas_slave_configure() local
2112 struct megasas_instance *instance ; megasas_slave_alloc() local
2157 struct megasas_instance *instance; megasas_slave_destroy() local
2183 megasas_complete_outstanding_ioctls(struct megasas_instance *instance) megasas_complete_outstanding_ioctls() argument
2216 megaraid_sas_kill_hba(struct megasas_instance *instance) megaraid_sas_kill_hba() argument
2253 megasas_check_and_restore_queue_depth(struct megasas_instance *instance) megasas_check_and_restore_queue_depth() argument
2282 struct megasas_instance *instance = megasas_complete_cmd_dpc() local
2330 megasas_start_timer(struct megasas_instance *instance) megasas_start_timer() argument
2345 megasas_do_ocr(struct megasas_instance *instance) megasas_do_ocr() argument
2361 megasas_get_ld_vf_affiliation_111(struct megasas_instance *instance, int initial) megasas_get_ld_vf_affiliation_111() argument
2467 megasas_get_ld_vf_affiliation_12(struct megasas_instance *instance, int initial) megasas_get_ld_vf_affiliation_12() argument
2633 megasas_get_ld_vf_affiliation(struct megasas_instance *instance, int initial) megasas_get_ld_vf_affiliation() argument
2646 megasas_sriov_start_heartbeat(struct megasas_instance *instance, int initial) megasas_sriov_start_heartbeat() argument
2721 struct megasas_instance *instance = megasas_sriov_heartbeat_handler() local
2745 megasas_wait_for_outstanding(struct megasas_instance *instance) megasas_wait_for_outstanding() argument
2902 struct megasas_instance *instance; megasas_generic_reset() local
2932 struct megasas_instance *instance; megasas_reset_timer() local
3003 struct megasas_instance *instance; megasas_dump_fusion_io() local
3062 struct megasas_instance *instance; megasas_reset_bus_host() local
3096 struct megasas_instance *instance; megasas_task_abort() local
3118 struct megasas_instance *instance; megasas_reset_target() local
3178 struct megasas_instance *instance; megasas_map_queues() local
3228 megasas_service_aen(struct megasas_instance *instance, struct megasas_cmd *cmd) megasas_service_aen() argument
3271 struct megasas_instance *instance = fw_crash_buffer_store() local
3289 struct megasas_instance *instance = fw_crash_buffer_show() local
3333 struct megasas_instance *instance = fw_crash_buffer_size_show() local
3345 struct megasas_instance *instance = fw_crash_state_store() local
3379 struct megasas_instance *instance = fw_crash_state_show() local
3397 struct megasas_instance *instance = (struct megasas_instance *)shost->hostdata; ldio_outstanding_show() local
3407 struct megasas_instance *instance = (struct megasas_instance *)shost->hostdata; fw_cmds_outstanding_show() local
3417 struct megasas_instance *instance = (struct megasas_instance *)shost->hostdata; enable_sdev_max_qd_show() local
3427 struct megasas_instance *instance = (struct megasas_instance *)shost->hostdata; enable_sdev_max_qd_store() local
3459 struct megasas_instance *instance = dump_system_regs_show() local
3470 struct megasas_instance *instance = raid_map_id_show() local
3537 megasas_complete_int_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd) megasas_complete_int_cmd() argument
3558 megasas_complete_abort(struct megasas_instance *instance, struct megasas_cmd *cmd) megasas_complete_abort() argument
3569 megasas_set_ld_removed_by_fw(struct megasas_instance *instance) megasas_set_ld_removed_by_fw() argument
3595 megasas_complete_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd, u8 alt_status) megasas_complete_cmd() argument
3812 megasas_issue_pending_cmds_again(struct megasas_instance *instance) megasas_issue_pending_cmds_again() argument
3905 megasas_internal_reset_defer_cmds(struct megasas_instance *instance) megasas_internal_reset_defer_cmds() argument
3942 struct megasas_instance *instance = process_fw_state_change_wq() local
4014 megasas_deplete_reply_queue(struct megasas_instance *instance, u8 alt_status) megasas_deplete_reply_queue() argument
4088 struct megasas_instance *instance = irq_context->instance; megasas_isr() local
4113 megasas_transition_to_ready(struct megasas_instance *instance, int ocr) megasas_transition_to_ready() argument
4283 megasas_teardown_frame_pool(struct megasas_instance *instance) megasas_teardown_frame_pool() argument
4327 megasas_create_frame_pool(struct megasas_instance *instance) megasas_create_frame_pool() argument
4413 megasas_free_cmds(struct megasas_instance *instance) megasas_free_cmds() argument
4450 megasas_alloc_cmds(struct megasas_instance *instance) megasas_alloc_cmds() argument
4517 dcmd_timeout_ocr_possible(struct megasas_instance *instance) dcmd_timeout_ocr_possible() argument
4530 megasas_get_pd_info(struct megasas_instance *instance, struct scsi_device *sdev) megasas_get_pd_info() argument
4616 megasas_get_pd_list(struct megasas_instance *instance) megasas_get_pd_list() argument
4751 megasas_get_ld_list(struct megasas_instance *instance) megasas_get_ld_list() argument
4868 megasas_ld_list_query(struct megasas_instance *instance, u8 query_type) megasas_ld_list_query() argument
4989 megasas_host_device_list_query(struct megasas_instance *instance, bool is_probe) megasas_host_device_list_query() argument
5113 megasas_update_ext_vd_details(struct megasas_instance *instance) megasas_update_ext_vd_details() argument
5176 megasas_get_snapdump_properties(struct megasas_instance *instance) megasas_get_snapdump_properties() argument
5261 megasas_get_ctrl_info(struct megasas_instance *instance) megasas_get_ctrl_info() argument
5414 megasas_set_crash_dump_params(struct megasas_instance *instance, u8 crash_buf_state) megasas_set_crash_dump_params() argument
5479 megasas_issue_init_mfi(struct megasas_instance *instance) megasas_issue_init_mfi() argument
5549 megasas_init_adapter_mfi(struct megasas_instance *instance) megasas_init_adapter_mfi() argument
5644 megasas_setup_irq_poll(struct megasas_instance *instance) megasas_setup_irq_poll() argument
5671 megasas_setup_irqs_ioapic(struct megasas_instance *instance) megasas_setup_irqs_ioapic() argument
5703 megasas_setup_irqs_msix(struct megasas_instance *instance, u8 is_probe) megasas_setup_irqs_msix() argument
5749 megasas_destroy_irqs(struct megasas_instance *instance) megasas_destroy_irqs() argument
5783 megasas_setup_jbod_map(struct megasas_instance *instance) megasas_setup_jbod_map() argument
5833 megasas_setup_reply_map(struct megasas_instance *instance) megasas_setup_reply_map() argument
5871 megasas_get_device_list(struct megasas_instance *instance) megasas_get_device_list() argument
5899 megasas_set_high_iops_queue_affinity_and_hint(struct megasas_instance *instance) megasas_set_high_iops_queue_affinity_and_hint() argument
5916 __megasas_alloc_irq_vectors(struct megasas_instance *instance) __megasas_alloc_irq_vectors() argument
5945 megasas_alloc_irq_vectors(struct megasas_instance *instance) megasas_alloc_irq_vectors() argument
6010 megasas_init_fw(struct megasas_instance *instance) megasas_init_fw() argument
6548 megasas_release_mfi(struct megasas_instance *instance) megasas_release_mfi() argument
6576 megasas_get_seq_num(struct megasas_instance *instance, struct megasas_evt_log_info *eli) megasas_get_seq_num() argument
6650 megasas_register_aen(struct megasas_instance *instance, u32 seq_num, u32 class_locale_word) megasas_register_aen() argument
6792 megasas_get_target_prop(struct megasas_instance *instance, struct scsi_device *sdev) megasas_get_target_prop() argument
6872 megasas_start_aen(struct megasas_instance *instance) megasas_start_aen() argument
6901 megasas_io_attach(struct megasas_instance *instance) megasas_io_attach() argument
7001 megasas_set_dma_mask(struct megasas_instance *instance) megasas_set_dma_mask() argument
7066 megasas_set_adapter_type(struct megasas_instance *instance) megasas_set_adapter_type() argument
7106 megasas_alloc_mfi_ctrl_mem(struct megasas_instance *instance) megasas_alloc_mfi_ctrl_mem() argument
7134 megasas_alloc_ctrl_mem(struct megasas_instance *instance) megasas_alloc_ctrl_mem() argument
7165 megasas_free_ctrl_mem(struct megasas_instance *instance) megasas_free_ctrl_mem() argument
7191 megasas_alloc_ctrl_dma_buffers(struct megasas_instance *instance) megasas_alloc_ctrl_dma_buffers() argument
7327 megasas_free_ctrl_dma_buffers(struct megasas_instance *instance) megasas_free_ctrl_dma_buffers() argument
7402 megasas_init_ctrl_params(struct megasas_instance *instance) megasas_init_ctrl_params() argument
7458 struct megasas_instance *instance; megasas_probe_one() local
7635 megasas_flush_cache(struct megasas_instance *instance) megasas_flush_cache() argument
7677 megasas_shutdown_controller(struct megasas_instance *instance, u32 opcode) megasas_shutdown_controller() argument
7731 struct megasas_instance *instance; megasas_suspend() local
7782 struct megasas_instance *instance; megasas_resume() local
7922 megasas_wait_for_adapter_operational(struct megasas_instance *instance) megasas_wait_for_adapter_operational() argument
7958 struct megasas_instance *instance; megasas_detach_one() local
8093 struct megasas_instance *instance = pci_get_drvdata(pdev); megasas_shutdown() local
8226 megasas_mgmt_fw_ioctl(struct megasas_instance *instance, struct megasas_iocpacket __user * user_ioc, struct megasas_iocpacket *ioc) megasas_mgmt_fw_ioctl() argument
8513 struct megasas_instance *instance; megasas_mgmt_ioctl_fw() local
8568 struct megasas_instance *instance; megasas_mgmt_ioctl_aen() local
8753 megasas_update_device_list(struct megasas_instance *instance, int event_type) megasas_update_device_list() argument
8786 megasas_add_remove_devices(struct megasas_instance *instance, int scan_type) megasas_add_remove_devices() argument
8870 struct megasas_instance *instance = ev->instance; megasas_aen_polling() local
[all...]
H A Dmegaraid_sas_fusion.c52 megasas_complete_cmd(struct megasas_instance *instance,
55 wait_and_poll(struct megasas_instance *instance, struct megasas_cmd *cmd,
59 megasas_clear_intr_fusion(struct megasas_instance *instance);
61 int megasas_transition_to_ready(struct megasas_instance *instance, int ocr);
64 int megasas_sriov_start_heartbeat(struct megasas_instance *instance,
69 static void megasas_free_rdpq_fusion(struct megasas_instance *instance);
70 static void megasas_free_reply_fusion(struct megasas_instance *instance);
72 void megasas_configure_queue_sizes(struct megasas_instance *instance);
73 static void megasas_fusion_crash_dump(struct megasas_instance *instance);
78 * @instance
88 megasas_adp_reset_wait_for_ready(struct megasas_instance *instance, bool do_adp_reset, int ocr_context) megasas_adp_reset_wait_for_ready() argument
142 megasas_check_same_4gb_region(struct megasas_instance *instance, dma_addr_t start_addr, size_t size) megasas_check_same_4gb_region() argument
165 megasas_enable_intr_fusion(struct megasas_instance *instance) megasas_enable_intr_fusion() argument
187 megasas_disable_intr_fusion(struct megasas_instance *instance) megasas_disable_intr_fusion() argument
201 megasas_clear_intr_fusion(struct megasas_instance *instance) megasas_clear_intr_fusion() argument
224 megasas_sdev_busy_inc(struct megasas_instance *instance, struct scsi_cmnd *scmd) megasas_sdev_busy_inc() argument
235 megasas_sdev_busy_dec(struct megasas_instance *instance, struct scsi_cmnd *scmd) megasas_sdev_busy_dec() argument
246 megasas_sdev_busy_read(struct megasas_instance *instance, struct scsi_cmnd *scmd) megasas_sdev_busy_read() argument
264 megasas_get_cmd_fusion(struct megasas_instance *instance, u32 blk_tag) megasas_get_cmd_fusion() argument
278 megasas_return_cmd_fusion(struct megasas_instance *instance, struct megasas_cmd_fusion *cmd) megasas_return_cmd_fusion() argument
293 megasas_write_64bit_req_desc(struct megasas_instance *instance, union MEGASAS_REQUEST_DESCRIPTOR_UNION *req_desc) megasas_write_64bit_req_desc() argument
320 megasas_fire_cmd_fusion(struct megasas_instance *instance, union MEGASAS_REQUEST_DESCRIPTOR_UNION *req_desc) megasas_fire_cmd_fusion() argument
342 megasas_fusion_update_can_queue(struct megasas_instance *instance, int fw_boot_context) megasas_fusion_update_can_queue() argument
389 megasas_get_msix_index(struct megasas_instance *instance, struct scsi_cmnd *scmd, struct megasas_cmd_fusion *cmd, u8 data_arms) megasas_get_msix_index() argument
420 megasas_free_cmds_fusion(struct megasas_instance *instance) megasas_free_cmds_fusion() argument
481 megasas_create_sg_sense_fusion(struct megasas_instance *instance) megasas_create_sg_sense_fusion() argument
586 megasas_alloc_cmdlist_fusion(struct megasas_instance *instance) megasas_alloc_cmdlist_fusion() argument
626 megasas_alloc_request_fusion(struct megasas_instance *instance) megasas_alloc_request_fusion() argument
708 megasas_alloc_reply_fusion(struct megasas_instance *instance) megasas_alloc_reply_fusion() argument
787 megasas_alloc_rdpq_fusion(struct megasas_instance *instance) megasas_alloc_rdpq_fusion() argument
912 megasas_free_rdpq_fusion(struct megasas_instance *instance) megasas_free_rdpq_fusion() argument
937 megasas_free_reply_fusion(struct megasas_instance *instance) megasas_free_reply_fusion() argument
970 megasas_alloc_cmds_fusion(struct megasas_instance *instance) megasas_alloc_cmds_fusion() argument
1043 wait_and_poll(struct megasas_instance *instance, struct megasas_cmd *cmd, int seconds) wait_and_poll() argument
1081 megasas_ioc_init_fusion(struct megasas_instance *instance) megasas_ioc_init_fusion() argument
1305 megasas_sync_pd_seq_num(struct megasas_instance *instance, bool pend) megasas_sync_pd_seq_num() argument
1396 megasas_get_ld_map_info(struct megasas_instance *instance) megasas_get_ld_map_info() argument
1463 megasas_get_map_info(struct megasas_instance *instance) megasas_get_map_info() argument
1486 megasas_sync_map_info(struct megasas_instance *instance) megasas_sync_map_info() argument
1565 megasas_display_intel_branding(struct megasas_instance *instance) megasas_display_intel_branding() argument
1637 megasas_allocate_raid_maps(struct megasas_instance *instance) megasas_allocate_raid_maps() argument
1712 megasas_configure_queue_sizes(struct megasas_instance *instance) megasas_configure_queue_sizes() argument
1740 megasas_alloc_ioc_init_frame(struct megasas_instance *instance) megasas_alloc_ioc_init_frame() argument
1774 megasas_free_ioc_init_cmd(struct megasas_instance *instance) megasas_free_ioc_init_cmd() argument
1796 megasas_init_adapter_fusion(struct megasas_instance *instance) megasas_init_adapter_fusion() argument
1943 struct megasas_instance *instance = megasas_fault_detect_work() local
1979 megasas_fusion_start_watchdog(struct megasas_instance *instance) megasas_fusion_start_watchdog() argument
2007 megasas_fusion_stop_watchdog(struct megasas_instance *instance) megasas_fusion_stop_watchdog() argument
2099 megasas_is_prp_possible(struct megasas_instance *instance, struct scsi_cmnd *scmd, int sge_count) megasas_is_prp_possible() argument
2147 megasas_make_prp_nvme(struct megasas_instance *instance, struct scsi_cmnd *scmd, struct MPI25_IEEE_SGE_CHAIN64 *sgl_ptr, struct megasas_cmd_fusion *cmd, int sge_count) megasas_make_prp_nvme() argument
2270 megasas_make_sgl_fusion(struct megasas_instance *instance, struct scsi_cmnd *scp, struct MPI25_IEEE_SGE_CHAIN64 *sgl_ptr, struct megasas_cmd_fusion *cmd, int sge_count) megasas_make_sgl_fusion() argument
2347 megasas_make_sgl(struct megasas_instance *instance, struct scsi_cmnd *scp, struct megasas_cmd_fusion *cmd) megasas_make_sgl() argument
2562 megasas_stream_detect(struct megasas_instance *instance, struct megasas_cmd_fusion *cmd, struct IO_REQUEST_INFO *io_info) megasas_stream_detect() argument
2726 megasas_build_ldio_fusion(struct megasas_instance *instance, struct scsi_cmnd *scp, struct megasas_cmd_fusion *cmd) megasas_build_ldio_fusion() argument
2982 megasas_build_ld_nonrw_fusion(struct megasas_instance *instance, struct scsi_cmnd *scmd, struct megasas_cmd_fusion *cmd) megasas_build_ld_nonrw_fusion() argument
3072 megasas_build_syspd_fusion(struct megasas_instance *instance, struct scsi_cmnd *scmd, struct megasas_cmd_fusion *cmd, bool fp_possible) megasas_build_syspd_fusion() argument
3200 megasas_build_io_fusion(struct megasas_instance *instance, struct scsi_cmnd *scp, struct megasas_cmd_fusion *cmd) megasas_build_io_fusion() argument
3302 megasas_get_request_descriptor(struct megasas_instance *instance, u16 index) megasas_get_request_descriptor() argument
3318 megasas_prepare_secondRaid1_IO(struct megasas_instance *instance, struct megasas_cmd_fusion *cmd, struct megasas_cmd_fusion *r1_cmd) megasas_prepare_secondRaid1_IO() argument
3363 megasas_build_and_issue_cmd_fusion(struct megasas_instance *instance, struct scsi_cmnd *scmd) megasas_build_and_issue_cmd_fusion() argument
3452 megasas_complete_r1_command(struct megasas_instance *instance, struct megasas_cmd_fusion *cmd) megasas_complete_r1_command() argument
3544 complete_cmd_fusion(struct megasas_instance *instance, u32 MSIxIndex, struct megasas_irq_context *irq_context) complete_cmd_fusion() argument
3728 struct megasas_instance *instance; megasas_blk_mq_poll() local
3751 megasas_enable_irq_poll(struct megasas_instance *instance) megasas_enable_irq_poll() argument
3771 struct megasas_instance *instance = megasas_sync_irqs() local
3800 struct megasas_instance *instance; megasas_irqpoll() local
3831 struct megasas_instance *instance = megasas_complete_cmd_dpc_fusion() local
3856 struct megasas_instance *instance = irq_context->instance; megasas_isr_fusion() local
3888 build_mpt_mfi_pass_thru(struct megasas_instance *instance, struct megasas_cmd *mfi_cmd) build_mpt_mfi_pass_thru() argument
3946 build_mpt_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd) build_mpt_cmd() argument
3972 megasas_issue_dcmd_fusion(struct megasas_instance *instance, struct megasas_cmd *cmd) megasas_issue_dcmd_fusion() argument
3988 megasas_release_fusion(struct megasas_instance *instance) megasas_release_fusion() argument
4004 megasas_read_fw_status_reg_fusion(struct megasas_instance *instance) megasas_read_fw_status_reg_fusion() argument
4015 megasas_alloc_host_crash_buffer(struct megasas_instance *instance) megasas_alloc_host_crash_buffer() argument
4035 megasas_free_host_crash_buffer(struct megasas_instance *instance) megasas_free_host_crash_buffer() argument
4053 megasas_adp_reset_fusion(struct megasas_instance *instance, struct megasas_register_set __iomem *regs) megasas_adp_reset_fusion() argument
4131 megasas_check_reset_fusion(struct megasas_instance *instance, struct megasas_register_set __iomem *regs) megasas_check_reset_fusion() argument
4141 megasas_trigger_snap_dump(struct megasas_instance *instance) megasas_trigger_snap_dump() argument
4169 megasas_wait_for_outstanding_fusion(struct megasas_instance *instance, int reason, int *convert) megasas_wait_for_outstanding_fusion() argument
4274 megasas_reset_reply_desc(struct megasas_instance *instance) megasas_reset_reply_desc() argument
4296 megasas_refire_mgmt_cmd(struct megasas_instance *instance, bool return_ioctl) megasas_refire_mgmt_cmd() argument
4397 megasas_return_polled_cmds(struct megasas_instance *instance) megasas_return_polled_cmds() argument
4431 megasas_track_scsiio(struct megasas_instance *instance, int id, int channel) megasas_track_scsiio() argument
4465 megasas_tm_response_code(struct megasas_instance *instance, struct MPI2_SCSI_TASK_MANAGE_REPLY *mpi_reply) megasas_tm_response_code() argument
4526 megasas_issue_tm(struct megasas_instance *instance, u16 device_handle, uint channel, uint id, u16 smid_task, u8 type, struct MR_PRIV_DEVICE *mr_device_priv_data) megasas_issue_tm() argument
4664 struct megasas_instance *instance; megasas_fusion_smid_lookup() local
4695 struct megasas_instance *instance; megasas_get_tm_devhandle() local
4731 struct megasas_instance *instance; megasas_task_abort_fusion() local
4812 struct megasas_instance *instance; megasas_reset_target_fusion() local
4870 megasas_get_peer_instance(struct megasas_instance *instance) megasas_get_peer_instance() argument
4887 megasas_check_mpio_paths(struct megasas_instance *instance, struct scsi_cmnd *scmd) megasas_check_mpio_paths() argument
4907 struct megasas_instance *instance; megasas_reset_fusion() local
5196 megasas_fusion_crash_dump(struct megasas_instance *instance) megasas_fusion_crash_dump() argument
5282 struct megasas_instance *instance = megasas_fusion_ocr_wq() local
5290 megasas_alloc_fusion_context(struct megasas_instance *instance) megasas_alloc_fusion_context() argument
5338 megasas_free_fusion_context(struct megasas_instance *instance) megasas_free_fusion_context() argument
[all...]
/kernel/linux/linux-5.10/drivers/scsi/megaraid/
H A Dmegaraid_sas_base.c126 int megasas_transition_to_ready(struct megasas_instance *instance, int ocr);
127 static int megasas_get_pd_list(struct megasas_instance *instance);
128 static int megasas_ld_list_query(struct megasas_instance *instance,
130 static int megasas_issue_init_mfi(struct megasas_instance *instance);
131 static int megasas_register_aen(struct megasas_instance *instance,
133 static void megasas_get_pd_info(struct megasas_instance *instance,
136 megasas_set_ld_removed_by_fw(struct megasas_instance *instance);
214 megasas_complete_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd,
217 megasas_read_fw_status_reg_gen2(struct megasas_instance *instance);
219 megasas_adp_reset_gen2(struct megasas_instance *instance,
247 megasas_readl(struct megasas_instance *instance, const volatile void __iomem *addr) megasas_readl() argument
277 megasas_set_dma_settings(struct megasas_instance *instance, struct megasas_dcmd_frame *dcmd, dma_addr_t dma_addr, u32 dma_len) megasas_set_dma_settings() argument
295 megasas_issue_dcmd(struct megasas_instance *instance, struct megasas_cmd *cmd) megasas_issue_dcmd() argument
308 megasas_get_cmd(struct megasas_instance *instance) megasas_get_cmd() argument
334 megasas_return_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd) megasas_return_cmd() argument
412 megasas_decode_evt(struct megasas_instance *instance) megasas_decode_evt() argument
449 megasas_enable_intr_xscale(struct megasas_instance *instance) megasas_enable_intr_xscale() argument
465 megasas_disable_intr_xscale(struct megasas_instance *instance) megasas_disable_intr_xscale() argument
481 megasas_read_fw_status_reg_xscale(struct megasas_instance *instance) megasas_read_fw_status_reg_xscale() argument
490 megasas_clear_intr_xscale(struct megasas_instance *instance) megasas_clear_intr_xscale() argument
527 megasas_fire_cmd_xscale(struct megasas_instance *instance, dma_addr_t frame_phys_addr, u32 frame_count, struct megasas_register_set __iomem *regs) megasas_fire_cmd_xscale() argument
546 megasas_adp_reset_xscale(struct megasas_instance *instance, struct megasas_register_set __iomem *regs) megasas_adp_reset_xscale() argument
588 megasas_check_reset_xscale(struct megasas_instance *instance, struct megasas_register_set __iomem *regs) megasas_check_reset_xscale() argument
629 megasas_enable_intr_ppc(struct megasas_instance *instance) megasas_enable_intr_ppc() argument
647 megasas_disable_intr_ppc(struct megasas_instance *instance) megasas_disable_intr_ppc() argument
663 megasas_read_fw_status_reg_ppc(struct megasas_instance *instance) megasas_read_fw_status_reg_ppc() argument
673 megasas_clear_intr_ppc(struct megasas_instance *instance) megasas_clear_intr_ppc() argument
709 megasas_fire_cmd_ppc(struct megasas_instance *instance, dma_addr_t frame_phys_addr, u32 frame_count, struct megasas_register_set __iomem *regs) megasas_fire_cmd_ppc() argument
728 megasas_check_reset_ppc(struct megasas_instance *instance, struct megasas_register_set __iomem *regs) megasas_check_reset_ppc() argument
758 megasas_enable_intr_skinny(struct megasas_instance *instance) megasas_enable_intr_skinny() argument
776 megasas_disable_intr_skinny(struct megasas_instance *instance) megasas_disable_intr_skinny() argument
792 megasas_read_fw_status_reg_skinny(struct megasas_instance *instance) megasas_read_fw_status_reg_skinny() argument
802 megasas_clear_intr_skinny(struct megasas_instance *instance) megasas_clear_intr_skinny() argument
848 megasas_fire_cmd_skinny(struct megasas_instance *instance, dma_addr_t frame_phys_addr, u32 frame_count, struct megasas_register_set __iomem *regs) megasas_fire_cmd_skinny() argument
869 megasas_check_reset_skinny(struct megasas_instance *instance, struct megasas_register_set __iomem *regs) megasas_check_reset_skinny() argument
905 megasas_enable_intr_gen2(struct megasas_instance *instance) megasas_enable_intr_gen2() argument
924 megasas_disable_intr_gen2(struct megasas_instance *instance) megasas_disable_intr_gen2() argument
940 megasas_read_fw_status_reg_gen2(struct megasas_instance *instance) megasas_read_fw_status_reg_gen2() argument
950 megasas_clear_intr_gen2(struct megasas_instance *instance) megasas_clear_intr_gen2() argument
989 megasas_fire_cmd_gen2(struct megasas_instance *instance, dma_addr_t frame_phys_addr, u32 frame_count, struct megasas_register_set __iomem *regs) megasas_fire_cmd_gen2() argument
1008 megasas_adp_reset_gen2(struct megasas_instance *instance, struct megasas_register_set __iomem *reg_set) megasas_adp_reset_gen2() argument
1069 megasas_check_reset_gen2(struct megasas_instance *instance, struct megasas_register_set __iomem *regs) megasas_check_reset_gen2() argument
1112 megasas_issue_polled(struct megasas_instance *instance, struct megasas_cmd *cmd) megasas_issue_polled() argument
1142 megasas_issue_blocked_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd, int timeout) megasas_issue_blocked_cmd() argument
1184 megasas_issue_blocked_abort_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd_to_abort, int timeout) megasas_issue_blocked_abort_cmd() argument
1252 megasas_make_sgl32(struct megasas_instance *instance, struct scsi_cmnd *scp, union megasas_sgl *mfi_sgl) megasas_make_sgl32() argument
1281 megasas_make_sgl64(struct megasas_instance *instance, struct scsi_cmnd *scp, union megasas_sgl *mfi_sgl) megasas_make_sgl64() argument
1310 megasas_make_sgl_skinny(struct megasas_instance *instance, struct scsi_cmnd *scp, union megasas_sgl *mfi_sgl) megasas_make_sgl_skinny() argument
1339 megasas_get_frame_count(struct megasas_instance *instance, u8 sge_count, u8 frame_type) megasas_get_frame_count() argument
1400 megasas_build_dcdb(struct megasas_instance *instance, struct scsi_cmnd *scp, struct megasas_cmd *cmd) megasas_build_dcdb() argument
1499 megasas_build_ldio(struct megasas_instance *instance, struct scsi_cmnd *scp, struct megasas_cmd *cmd) megasas_build_ldio() argument
1664 megasas_dump_pending_frames(struct megasas_instance *instance) megasas_dump_pending_frames() argument
1731 megasas_build_and_issue_cmd(struct megasas_instance *instance, struct scsi_cmnd *scmd) megasas_build_and_issue_cmd() argument
1778 struct megasas_instance *instance; megasas_queue_command() local
1885 struct megasas_instance *instance; megasas_set_dynamic_target_properties() local
1962 struct megasas_instance *instance; megasas_set_nvme_device_properties() local
1989 struct megasas_instance *instance; megasas_set_fw_assisted_qd() local
2037 struct megasas_instance *instance; megasas_set_static_target_properties() local
2062 struct megasas_instance *instance; megasas_slave_configure() local
2102 struct megasas_instance *instance ; megasas_slave_alloc() local
2147 struct megasas_instance *instance; megasas_slave_destroy() local
2173 megasas_complete_outstanding_ioctls(struct megasas_instance *instance) megasas_complete_outstanding_ioctls() argument
2206 megaraid_sas_kill_hba(struct megasas_instance *instance) megaraid_sas_kill_hba() argument
2243 megasas_check_and_restore_queue_depth(struct megasas_instance *instance) megasas_check_and_restore_queue_depth() argument
2272 struct megasas_instance *instance = megasas_complete_cmd_dpc() local
2320 megasas_start_timer(struct megasas_instance *instance) megasas_start_timer() argument
2335 megasas_do_ocr(struct megasas_instance *instance) megasas_do_ocr() argument
2351 megasas_get_ld_vf_affiliation_111(struct megasas_instance *instance, int initial) megasas_get_ld_vf_affiliation_111() argument
2457 megasas_get_ld_vf_affiliation_12(struct megasas_instance *instance, int initial) megasas_get_ld_vf_affiliation_12() argument
2623 megasas_get_ld_vf_affiliation(struct megasas_instance *instance, int initial) megasas_get_ld_vf_affiliation() argument
2636 megasas_sriov_start_heartbeat(struct megasas_instance *instance, int initial) megasas_sriov_start_heartbeat() argument
2711 struct megasas_instance *instance = megasas_sriov_heartbeat_handler() local
2735 megasas_wait_for_outstanding(struct megasas_instance *instance) megasas_wait_for_outstanding() argument
2892 struct megasas_instance *instance; megasas_generic_reset() local
2923 struct megasas_instance *instance; megasas_reset_timer() local
2994 struct megasas_instance *instance; megasas_dump_fusion_io() local
3054 struct megasas_instance *instance; megasas_reset_bus_host() local
3088 struct megasas_instance *instance; megasas_task_abort() local
3110 struct megasas_instance *instance; megasas_reset_target() local
3170 struct megasas_instance *instance; megasas_map_queues() local
3196 megasas_service_aen(struct megasas_instance *instance, struct megasas_cmd *cmd) megasas_service_aen() argument
3239 struct megasas_instance *instance = fw_crash_buffer_store() local
3257 struct megasas_instance *instance = fw_crash_buffer_show() local
3301 struct megasas_instance *instance = fw_crash_buffer_size_show() local
3313 struct megasas_instance *instance = fw_crash_state_store() local
3347 struct megasas_instance *instance = fw_crash_state_show() local
3365 struct megasas_instance *instance = (struct megasas_instance *)shost->hostdata; ldio_outstanding_show() local
3375 struct megasas_instance *instance = (struct megasas_instance *)shost->hostdata; fw_cmds_outstanding_show() local
3385 struct megasas_instance *instance = (struct megasas_instance *)shost->hostdata; enable_sdev_max_qd_show() local
3395 struct megasas_instance *instance = (struct megasas_instance *)shost->hostdata; enable_sdev_max_qd_store() local
3427 struct megasas_instance *instance = dump_system_regs_show() local
3438 struct megasas_instance *instance = raid_map_id_show() local
3501 megasas_complete_int_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd) megasas_complete_int_cmd() argument
3522 megasas_complete_abort(struct megasas_instance *instance, struct megasas_cmd *cmd) megasas_complete_abort() argument
3533 megasas_set_ld_removed_by_fw(struct megasas_instance *instance) megasas_set_ld_removed_by_fw() argument
3559 megasas_complete_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd, u8 alt_status) megasas_complete_cmd() argument
3778 megasas_issue_pending_cmds_again(struct megasas_instance *instance) megasas_issue_pending_cmds_again() argument
3871 megasas_internal_reset_defer_cmds(struct megasas_instance *instance) megasas_internal_reset_defer_cmds() argument
3908 struct megasas_instance *instance = process_fw_state_change_wq() local
3980 megasas_deplete_reply_queue(struct megasas_instance *instance, u8 alt_status) megasas_deplete_reply_queue() argument
4056 struct megasas_instance *instance = irq_context->instance; megasas_isr() local
4081 megasas_transition_to_ready(struct megasas_instance *instance, int ocr) megasas_transition_to_ready() argument
4251 megasas_teardown_frame_pool(struct megasas_instance *instance) megasas_teardown_frame_pool() argument
4295 megasas_create_frame_pool(struct megasas_instance *instance) megasas_create_frame_pool() argument
4381 megasas_free_cmds(struct megasas_instance *instance) megasas_free_cmds() argument
4418 megasas_alloc_cmds(struct megasas_instance *instance) megasas_alloc_cmds() argument
4487 dcmd_timeout_ocr_possible(struct megasas_instance *instance) dcmd_timeout_ocr_possible() argument
4500 megasas_get_pd_info(struct megasas_instance *instance, struct scsi_device *sdev) megasas_get_pd_info() argument
4586 megasas_get_pd_list(struct megasas_instance *instance) megasas_get_pd_list() argument
4721 megasas_get_ld_list(struct megasas_instance *instance) megasas_get_ld_list() argument
4838 megasas_ld_list_query(struct megasas_instance *instance, u8 query_type) megasas_ld_list_query() argument
4958 megasas_host_device_list_query(struct megasas_instance *instance, bool is_probe) megasas_host_device_list_query() argument
5082 megasas_update_ext_vd_details(struct megasas_instance *instance) megasas_update_ext_vd_details() argument
5145 megasas_get_snapdump_properties(struct megasas_instance *instance) megasas_get_snapdump_properties() argument
5230 megasas_get_ctrl_info(struct megasas_instance *instance) megasas_get_ctrl_info() argument
5383 megasas_set_crash_dump_params(struct megasas_instance *instance, u8 crash_buf_state) megasas_set_crash_dump_params() argument
5448 megasas_issue_init_mfi(struct megasas_instance *instance) megasas_issue_init_mfi() argument
5518 megasas_init_adapter_mfi(struct megasas_instance *instance) megasas_init_adapter_mfi() argument
5613 megasas_setup_irq_poll(struct megasas_instance *instance) megasas_setup_irq_poll() argument
5640 megasas_setup_irqs_ioapic(struct megasas_instance *instance) megasas_setup_irqs_ioapic() argument
5672 megasas_setup_irqs_msix(struct megasas_instance *instance, u8 is_probe) megasas_setup_irqs_msix() argument
5718 megasas_destroy_irqs(struct megasas_instance *instance) megasas_destroy_irqs() argument
5752 megasas_setup_jbod_map(struct megasas_instance *instance) megasas_setup_jbod_map() argument
5802 megasas_setup_reply_map(struct megasas_instance *instance) megasas_setup_reply_map() argument
5840 megasas_get_device_list(struct megasas_instance *instance) megasas_get_device_list() argument
5871 megasas_set_high_iops_queue_affinity_hint(struct megasas_instance *instance) megasas_set_high_iops_queue_affinity_hint() argument
5886 __megasas_alloc_irq_vectors(struct megasas_instance *instance) __megasas_alloc_irq_vectors() argument
5912 megasas_alloc_irq_vectors(struct megasas_instance *instance) megasas_alloc_irq_vectors() argument
5954 megasas_init_fw(struct megasas_instance *instance) megasas_init_fw() argument
6492 megasas_release_mfi(struct megasas_instance *instance) megasas_release_mfi() argument
6520 megasas_get_seq_num(struct megasas_instance *instance, struct megasas_evt_log_info *eli) megasas_get_seq_num() argument
6594 megasas_register_aen(struct megasas_instance *instance, u32 seq_num, u32 class_locale_word) megasas_register_aen() argument
6736 megasas_get_target_prop(struct megasas_instance *instance, struct scsi_device *sdev) megasas_get_target_prop() argument
6816 megasas_start_aen(struct megasas_instance *instance) megasas_start_aen() argument
6845 megasas_io_attach(struct megasas_instance *instance) megasas_io_attach() argument
6939 megasas_set_dma_mask(struct megasas_instance *instance) megasas_set_dma_mask() argument
7004 megasas_set_adapter_type(struct megasas_instance *instance) megasas_set_adapter_type() argument
7044 megasas_alloc_mfi_ctrl_mem(struct megasas_instance *instance) megasas_alloc_mfi_ctrl_mem() argument
7072 megasas_alloc_ctrl_mem(struct megasas_instance *instance) megasas_alloc_ctrl_mem() argument
7107 megasas_free_ctrl_mem(struct megasas_instance *instance) megasas_free_ctrl_mem() argument
7133 megasas_alloc_ctrl_dma_buffers(struct megasas_instance *instance) megasas_alloc_ctrl_dma_buffers() argument
7269 megasas_free_ctrl_dma_buffers(struct megasas_instance *instance) megasas_free_ctrl_dma_buffers() argument
7344 megasas_init_ctrl_params(struct megasas_instance *instance) megasas_init_ctrl_params() argument
7401 struct megasas_instance *instance; megasas_probe_one() local
7578 megasas_flush_cache(struct megasas_instance *instance) megasas_flush_cache() argument
7620 megasas_shutdown_controller(struct megasas_instance *instance, u32 opcode) megasas_shutdown_controller() argument
7676 struct megasas_instance *instance; megasas_suspend() local
7732 struct megasas_instance *instance; megasas_resume() local
7892 megasas_wait_for_adapter_operational(struct megasas_instance *instance) megasas_wait_for_adapter_operational() argument
7928 struct megasas_instance *instance; megasas_detach_one() local
8063 struct megasas_instance *instance = pci_get_drvdata(pdev); megasas_shutdown() local
8196 megasas_mgmt_fw_ioctl(struct megasas_instance *instance, struct megasas_iocpacket __user * user_ioc, struct megasas_iocpacket *ioc) megasas_mgmt_fw_ioctl() argument
8448 struct megasas_instance *instance; megasas_mgmt_ioctl_fw() local
8499 struct megasas_instance *instance; megasas_mgmt_ioctl_aen() local
8748 megasas_update_device_list(struct megasas_instance *instance, int event_type) megasas_update_device_list() argument
8789 megasas_add_remove_devices(struct megasas_instance *instance, int scan_type) megasas_add_remove_devices() argument
8873 struct megasas_instance *instance = ev->instance; megasas_aen_polling() local
[all...]
H A Dmegaraid_sas_fusion.c52 megasas_complete_cmd(struct megasas_instance *instance,
55 wait_and_poll(struct megasas_instance *instance, struct megasas_cmd *cmd,
59 megasas_clear_intr_fusion(struct megasas_instance *instance);
61 int megasas_transition_to_ready(struct megasas_instance *instance, int ocr);
64 int megasas_sriov_start_heartbeat(struct megasas_instance *instance,
69 static void megasas_free_rdpq_fusion(struct megasas_instance *instance);
70 static void megasas_free_reply_fusion(struct megasas_instance *instance);
72 void megasas_configure_queue_sizes(struct megasas_instance *instance);
73 static void megasas_fusion_crash_dump(struct megasas_instance *instance);
78 * @instance
88 megasas_adp_reset_wait_for_ready(struct megasas_instance *instance, bool do_adp_reset, int ocr_context) megasas_adp_reset_wait_for_ready() argument
142 megasas_check_same_4gb_region(struct megasas_instance *instance, dma_addr_t start_addr, size_t size) megasas_check_same_4gb_region() argument
165 megasas_enable_intr_fusion(struct megasas_instance *instance) megasas_enable_intr_fusion() argument
187 megasas_disable_intr_fusion(struct megasas_instance *instance) megasas_disable_intr_fusion() argument
201 megasas_clear_intr_fusion(struct megasas_instance *instance) megasas_clear_intr_fusion() argument
230 megasas_get_cmd_fusion(struct megasas_instance *instance, u32 blk_tag) megasas_get_cmd_fusion() argument
244 megasas_return_cmd_fusion(struct megasas_instance *instance, struct megasas_cmd_fusion *cmd) megasas_return_cmd_fusion() argument
259 megasas_write_64bit_req_desc(struct megasas_instance *instance, union MEGASAS_REQUEST_DESCRIPTOR_UNION *req_desc) megasas_write_64bit_req_desc() argument
286 megasas_fire_cmd_fusion(struct megasas_instance *instance, union MEGASAS_REQUEST_DESCRIPTOR_UNION *req_desc) megasas_fire_cmd_fusion() argument
308 megasas_fusion_update_can_queue(struct megasas_instance *instance, int fw_boot_context) megasas_fusion_update_can_queue() argument
355 megasas_get_msix_index(struct megasas_instance *instance, struct scsi_cmnd *scmd, struct megasas_cmd_fusion *cmd, u8 data_arms) megasas_get_msix_index() argument
392 megasas_free_cmds_fusion(struct megasas_instance *instance) megasas_free_cmds_fusion() argument
453 megasas_create_sg_sense_fusion(struct megasas_instance *instance) megasas_create_sg_sense_fusion() argument
558 megasas_alloc_cmdlist_fusion(struct megasas_instance *instance) megasas_alloc_cmdlist_fusion() argument
598 megasas_alloc_request_fusion(struct megasas_instance *instance) megasas_alloc_request_fusion() argument
680 megasas_alloc_reply_fusion(struct megasas_instance *instance) megasas_alloc_reply_fusion() argument
757 megasas_alloc_rdpq_fusion(struct megasas_instance *instance) megasas_alloc_rdpq_fusion() argument
881 megasas_free_rdpq_fusion(struct megasas_instance *instance) megasas_free_rdpq_fusion() argument
906 megasas_free_reply_fusion(struct megasas_instance *instance) megasas_free_reply_fusion() argument
939 megasas_alloc_cmds_fusion(struct megasas_instance *instance) megasas_alloc_cmds_fusion() argument
1012 wait_and_poll(struct megasas_instance *instance, struct megasas_cmd *cmd, int seconds) wait_and_poll() argument
1050 megasas_ioc_init_fusion(struct megasas_instance *instance) megasas_ioc_init_fusion() argument
1271 megasas_sync_pd_seq_num(struct megasas_instance *instance, bool pend) megasas_sync_pd_seq_num() argument
1362 megasas_get_ld_map_info(struct megasas_instance *instance) megasas_get_ld_map_info() argument
1429 megasas_get_map_info(struct megasas_instance *instance) megasas_get_map_info() argument
1452 megasas_sync_map_info(struct megasas_instance *instance) megasas_sync_map_info() argument
1531 megasas_display_intel_branding(struct megasas_instance *instance) megasas_display_intel_branding() argument
1603 megasas_allocate_raid_maps(struct megasas_instance *instance) megasas_allocate_raid_maps() argument
1678 megasas_configure_queue_sizes(struct megasas_instance *instance) megasas_configure_queue_sizes() argument
1706 megasas_alloc_ioc_init_frame(struct megasas_instance *instance) megasas_alloc_ioc_init_frame() argument
1740 megasas_free_ioc_init_cmd(struct megasas_instance *instance) megasas_free_ioc_init_cmd() argument
1762 megasas_init_adapter_fusion(struct megasas_instance *instance) megasas_init_adapter_fusion() argument
1904 struct megasas_instance *instance = megasas_fault_detect_work() local
1940 megasas_fusion_start_watchdog(struct megasas_instance *instance) megasas_fusion_start_watchdog() argument
1968 megasas_fusion_stop_watchdog(struct megasas_instance *instance) megasas_fusion_stop_watchdog() argument
2063 megasas_is_prp_possible(struct megasas_instance *instance, struct scsi_cmnd *scmd, int sge_count) megasas_is_prp_possible() argument
2111 megasas_make_prp_nvme(struct megasas_instance *instance, struct scsi_cmnd *scmd, struct MPI25_IEEE_SGE_CHAIN64 *sgl_ptr, struct megasas_cmd_fusion *cmd, int sge_count) megasas_make_prp_nvme() argument
2234 megasas_make_sgl_fusion(struct megasas_instance *instance, struct scsi_cmnd *scp, struct MPI25_IEEE_SGE_CHAIN64 *sgl_ptr, struct megasas_cmd_fusion *cmd, int sge_count) megasas_make_sgl_fusion() argument
2311 megasas_make_sgl(struct megasas_instance *instance, struct scsi_cmnd *scp, struct megasas_cmd_fusion *cmd) megasas_make_sgl() argument
2526 megasas_stream_detect(struct megasas_instance *instance, struct megasas_cmd_fusion *cmd, struct IO_REQUEST_INFO *io_info) megasas_stream_detect() argument
2690 megasas_build_ldio_fusion(struct megasas_instance *instance, struct scsi_cmnd *scp, struct megasas_cmd_fusion *cmd) megasas_build_ldio_fusion() argument
2946 megasas_build_ld_nonrw_fusion(struct megasas_instance *instance, struct scsi_cmnd *scmd, struct megasas_cmd_fusion *cmd) megasas_build_ld_nonrw_fusion() argument
3036 megasas_build_syspd_fusion(struct megasas_instance *instance, struct scsi_cmnd *scmd, struct megasas_cmd_fusion *cmd, bool fp_possible) megasas_build_syspd_fusion() argument
3164 megasas_build_io_fusion(struct megasas_instance *instance, struct scsi_cmnd *scp, struct megasas_cmd_fusion *cmd) megasas_build_io_fusion() argument
3261 megasas_get_request_descriptor(struct megasas_instance *instance, u16 index) megasas_get_request_descriptor() argument
3277 megasas_prepare_secondRaid1_IO(struct megasas_instance *instance, struct megasas_cmd_fusion *cmd, struct megasas_cmd_fusion *r1_cmd) megasas_prepare_secondRaid1_IO() argument
3322 megasas_build_and_issue_cmd_fusion(struct megasas_instance *instance, struct scsi_cmnd *scmd) megasas_build_and_issue_cmd_fusion() argument
3410 megasas_complete_r1_command(struct megasas_instance *instance, struct megasas_cmd_fusion *cmd) megasas_complete_r1_command() argument
3466 complete_cmd_fusion(struct megasas_instance *instance, u32 MSIxIndex, struct megasas_irq_context *irq_context) complete_cmd_fusion() argument
3640 megasas_enable_irq_poll(struct megasas_instance *instance) megasas_enable_irq_poll() argument
3660 struct megasas_instance *instance = megasas_sync_irqs() local
3689 struct megasas_instance *instance; megasas_irqpoll() local
3720 struct megasas_instance *instance = megasas_complete_cmd_dpc_fusion() local
3745 struct megasas_instance *instance = irq_context->instance; megasas_isr_fusion() local
3777 build_mpt_mfi_pass_thru(struct megasas_instance *instance, struct megasas_cmd *mfi_cmd) build_mpt_mfi_pass_thru() argument
3835 build_mpt_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd) build_mpt_cmd() argument
3861 megasas_issue_dcmd_fusion(struct megasas_instance *instance, struct megasas_cmd *cmd) megasas_issue_dcmd_fusion() argument
3877 megasas_release_fusion(struct megasas_instance *instance) megasas_release_fusion() argument
3893 megasas_read_fw_status_reg_fusion(struct megasas_instance *instance) megasas_read_fw_status_reg_fusion() argument
3904 megasas_alloc_host_crash_buffer(struct megasas_instance *instance) megasas_alloc_host_crash_buffer() argument
3924 megasas_free_host_crash_buffer(struct megasas_instance *instance) megasas_free_host_crash_buffer() argument
3943 megasas_adp_reset_fusion(struct megasas_instance *instance, struct megasas_register_set __iomem *regs) megasas_adp_reset_fusion() argument
4021 megasas_check_reset_fusion(struct megasas_instance *instance, struct megasas_register_set __iomem *regs) megasas_check_reset_fusion() argument
4031 megasas_trigger_snap_dump(struct megasas_instance *instance) megasas_trigger_snap_dump() argument
4059 megasas_wait_for_outstanding_fusion(struct megasas_instance *instance, int reason, int *convert) megasas_wait_for_outstanding_fusion() argument
4164 megasas_reset_reply_desc(struct megasas_instance *instance) megasas_reset_reply_desc() argument
4184 megasas_refire_mgmt_cmd(struct megasas_instance *instance, bool return_ioctl) megasas_refire_mgmt_cmd() argument
4285 megasas_return_polled_cmds(struct megasas_instance *instance) megasas_return_polled_cmds() argument
4319 megasas_track_scsiio(struct megasas_instance *instance, int id, int channel) megasas_track_scsiio() argument
4353 megasas_tm_response_code(struct megasas_instance *instance, struct MPI2_SCSI_TASK_MANAGE_REPLY *mpi_reply) megasas_tm_response_code() argument
4414 megasas_issue_tm(struct megasas_instance *instance, u16 device_handle, uint channel, uint id, u16 smid_task, u8 type, struct MR_PRIV_DEVICE *mr_device_priv_data) megasas_issue_tm() argument
4552 struct megasas_instance *instance; megasas_fusion_smid_lookup() local
4583 struct megasas_instance *instance; megasas_get_tm_devhandle() local
4619 struct megasas_instance *instance; megasas_task_abort_fusion() local
4700 struct megasas_instance *instance; megasas_reset_target_fusion() local
4758 megasas_get_peer_instance(struct megasas_instance *instance) megasas_get_peer_instance() argument
4775 megasas_check_mpio_paths(struct megasas_instance *instance, struct scsi_cmnd *scmd) megasas_check_mpio_paths() argument
4795 struct megasas_instance *instance; megasas_reset_fusion() local
5084 megasas_fusion_crash_dump(struct megasas_instance *instance) megasas_fusion_crash_dump() argument
5170 struct megasas_instance *instance = megasas_fusion_ocr_wq() local
5178 megasas_alloc_fusion_context(struct megasas_instance *instance) megasas_alloc_fusion_context() argument
5226 megasas_free_fusion_context(struct megasas_instance *instance) megasas_free_fusion_context() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835-vchiq.c25 static void bcm2835_audio_lock(struct bcm2835_audio_instance *instance) in bcm2835_audio_lock() argument
27 mutex_lock(&instance->vchi_mutex); in bcm2835_audio_lock()
28 vchiq_use_service(instance->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_lock()
29 instance->service_handle); in bcm2835_audio_lock()
32 static void bcm2835_audio_unlock(struct bcm2835_audio_instance *instance) in bcm2835_audio_unlock() argument
34 vchiq_release_service(instance->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_unlock()
35 instance->service_handle); in bcm2835_audio_unlock()
36 mutex_unlock(&instance in bcm2835_audio_unlock()
39 bcm2835_audio_send_msg_locked(struct bcm2835_audio_instance *instance, struct vc_audio_msg *m, bool wait) bcm2835_audio_send_msg_locked() argument
75 bcm2835_audio_send_msg(struct bcm2835_audio_instance *instance, struct vc_audio_msg *m, bool wait) bcm2835_audio_send_msg() argument
86 bcm2835_audio_send_simple(struct bcm2835_audio_instance *instance, int type, bool wait) bcm2835_audio_send_simple() argument
99 struct bcm2835_audio_instance *instance = vchiq_get_service_userdata(vchiq_instance, audio_vchi_callback() local
126 vc_vchi_audio_init(struct vchiq_instance *vchiq_instance, struct bcm2835_audio_instance *instance) vc_vchi_audio_init() argument
156 vc_vchi_audio_deinit(struct bcm2835_audio_instance *instance) vc_vchi_audio_deinit() argument
213 struct bcm2835_audio_instance *instance; bcm2835_audio_open() local
314 struct bcm2835_audio_instance *instance = alsa_stream->instance; bcm2835_audio_close() local
331 struct bcm2835_audio_instance *instance = alsa_stream->instance; bcm2835_audio_write() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835-vchiq.c25 static void bcm2835_audio_lock(struct bcm2835_audio_instance *instance) in bcm2835_audio_lock() argument
27 mutex_lock(&instance->vchi_mutex); in bcm2835_audio_lock()
28 vchiq_use_service(instance->service_handle); in bcm2835_audio_lock()
31 static void bcm2835_audio_unlock(struct bcm2835_audio_instance *instance) in bcm2835_audio_unlock() argument
33 vchiq_release_service(instance->service_handle); in bcm2835_audio_unlock()
34 mutex_unlock(&instance->vchi_mutex); in bcm2835_audio_unlock()
37 static int bcm2835_audio_send_msg_locked(struct bcm2835_audio_instance *instance, in bcm2835_audio_send_msg_locked() argument
43 instance->result = -1; in bcm2835_audio_send_msg_locked()
44 init_completion(&instance->msg_avail_comp); in bcm2835_audio_send_msg_locked()
47 status = vchiq_queue_kernel_message(instance in bcm2835_audio_send_msg_locked()
73 bcm2835_audio_send_msg(struct bcm2835_audio_instance *instance, struct vc_audio_msg *m, bool wait) bcm2835_audio_send_msg() argument
84 bcm2835_audio_send_simple(struct bcm2835_audio_instance *instance, int type, bool wait) bcm2835_audio_send_simple() argument
96 struct bcm2835_audio_instance *instance = vchiq_get_service_userdata(handle); audio_vchi_callback() local
122 vc_vchi_audio_init(struct vchiq_instance *vchiq_instance, struct bcm2835_audio_instance *instance) vc_vchi_audio_init() argument
151 vc_vchi_audio_deinit(struct bcm2835_audio_instance *instance) vc_vchi_audio_deinit() argument
206 struct bcm2835_audio_instance *instance; bcm2835_audio_open() local
307 struct bcm2835_audio_instance *instance = alsa_stream->instance; bcm2835_audio_close() local
324 struct bcm2835_audio_instance *instance = alsa_stream->instance; bcm2835_audio_write() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/atm/
H A Dusbatm.c73 static int usbatm_print_packet(struct usbatm_data *instance, const unsigned char *data, int len);
280 static inline struct usbatm_vcc_data *usbatm_find_vcc(struct usbatm_data *instance, in usbatm_find_vcc() argument
285 list_for_each_entry(vcc_data, &instance->vcc_list, list) in usbatm_find_vcc()
291 static void usbatm_extract_one_cell(struct usbatm_data *instance, unsigned char *source) in usbatm_extract_one_cell() argument
299 if ((vci != instance->cached_vci) || (vpi != instance->cached_vpi)) { in usbatm_extract_one_cell()
300 instance->cached_vpi = vpi; in usbatm_extract_one_cell()
301 instance->cached_vci = vci; in usbatm_extract_one_cell()
303 instance->cached_vcc = usbatm_find_vcc(instance, vp in usbatm_extract_one_cell()
409 usbatm_extract_cells(struct usbatm_data *instance, unsigned char *source, unsigned int avail_data) usbatm_extract_cells() argument
454 usbatm_write_cells(struct usbatm_data *instance, struct sk_buff *skb, u8 *target, unsigned int avail_space) usbatm_write_cells() argument
516 struct usbatm_data *instance = from_tasklet(instance, t, usbatm_rx_process() local
570 struct usbatm_data *instance = from_tasklet(instance, t, usbatm_tx_process() local
620 usbatm_cancel_send(struct usbatm_data *instance, struct atm_vcc *vcc) usbatm_cancel_send() argument
646 struct usbatm_data *instance = vcc->dev->dev_data; usbatm_atm_send() local
696 struct usbatm_data *instance = container_of(kref, struct usbatm_data, refcount); usbatm_destroy_instance() local
704 usbatm_get_instance(struct usbatm_data *instance) usbatm_get_instance() argument
709 usbatm_put_instance(struct usbatm_data *instance) usbatm_put_instance() argument
721 struct usbatm_data *instance = atm_dev->dev_data; usbatm_atm_dev_close() local
732 struct usbatm_data *instance = atm_dev->dev_data; usbatm_atm_proc_read() local
772 struct usbatm_data *instance = vcc->dev->dev_data; usbatm_atm_open() local
851 struct usbatm_data *instance = vcc->dev->dev_data; usbatm_atm_close() local
888 struct usbatm_data *instance = atm_dev->dev_data; usbatm_atm_ioctl() local
901 usbatm_atm_init(struct usbatm_data *instance) usbatm_atm_init() argument
957 struct usbatm_data *instance = arg; usbatm_do_heavy_init() local
975 usbatm_heavy_init(struct usbatm_data *instance) usbatm_heavy_init() argument
1013 struct usbatm_data *instance; usbatm_usb_probe() local
1207 struct usbatm_data *instance = usb_get_intfdata(intf); usbatm_usb_disconnect() local
1311 usbatm_print_packet(struct usbatm_data *instance, const unsigned char *data, int len) usbatm_print_packet() argument
[all...]
H A Dcxacru.c193 static int cxacru_cm(struct cxacru_data *instance, enum cxacru_cm_request cm,
211 struct cxacru_data *instance = to_usbatm_driver_data(\
214 if (instance == NULL) \
217 return cxacru_sysfs_showattr_##_type(instance->card_info[_value], buf); \
306 struct cxacru_data *instance = to_usbatm_driver_data( in mac_address_show() local
309 if (instance == NULL || instance->usbatm->atm_dev == NULL) in mac_address_show()
312 return sprintf(buf, "%pM\n", instance->usbatm->atm_dev->esi); in mac_address_show()
319 struct cxacru_data *instance = to_usbatm_driver_data( in adsl_state_show() local
323 if (instance in adsl_state_show()
335 struct cxacru_data *instance = to_usbatm_driver_data( adsl_state_store() local
438 struct cxacru_data *instance = to_usbatm_driver_data( adsl_config_store() local
608 cxacru_cm(struct cxacru_data *instance, enum cxacru_cm_request cm, u8 *wdata, int wsize, u8 *rdata, int rsize) cxacru_cm() argument
708 cxacru_cm_get_array(struct cxacru_data *instance, enum cxacru_cm_request cm, u32 *data, int size) cxacru_cm_get_array() argument
758 cxacru_card_status(struct cxacru_data *instance) cxacru_card_status() argument
772 struct cxacru_data *instance = usbatm_instance->driver_data; cxacru_atm_start() local
823 struct cxacru_data *instance = cxacru_poll_status() local
986 cxacru_upload_firmware(struct cxacru_data *instance, const struct firmware *fw, const struct firmware *bp) cxacru_upload_firmware() argument
1075 cxacru_find_firmware(struct cxacru_data *instance, char *phase, const struct firmware **fw_p) cxacru_find_firmware() argument
1099 struct cxacru_data *instance = usbatm_instance->driver_data; cxacru_heavy_init() local
1134 struct cxacru_data *instance; cxacru_bind() local
1229 struct cxacru_data *instance = usbatm_instance->driver_data; cxacru_unbind() local
[all...]
H A Dspeedtch.c144 static void speedtch_set_swbuff(struct speedtch_instance_data *instance, int state) in speedtch_set_swbuff() argument
146 struct usbatm_data *usbatm = instance->usbatm; in speedtch_set_swbuff()
160 static void speedtch_test_sequence(struct speedtch_instance_data *instance) in speedtch_test_sequence() argument
162 struct usbatm_data *usbatm = instance->usbatm; in speedtch_test_sequence()
164 unsigned char *buf = instance->scratch_buffer; in speedtch_test_sequence()
204 buf[0] = instance->params.ModemMode; in speedtch_test_sequence()
216 instance->params.ModemOption, in speedtch_test_sequence()
222 buf[0] = instance->params.BMaxDSL & 0xff; in speedtch_test_sequence()
223 buf[1] = instance->params.BMaxDSL >> 8; in speedtch_test_sequence()
230 static int speedtch_upload_firmware(struct speedtch_instance_data *instance, in speedtch_upload_firmware() argument
382 struct speedtch_instance_data *instance = usbatm->driver_data; speedtch_heavy_init() local
407 speedtch_read_status(struct speedtch_instance_data *instance) speedtch_read_status() argument
459 speedtch_start_synchro(struct speedtch_instance_data *instance) speedtch_start_synchro() argument
485 struct speedtch_instance_data *instance = speedtch_check_status() local
562 struct speedtch_instance_data *instance = from_timer(instance, t, speedtch_status_poll() local
576 struct speedtch_instance_data *instance = from_timer(instance, t, speedtch_resubmit_int() local
596 struct speedtch_instance_data *instance = int_urb->context; speedtch_handle_int() local
650 struct speedtch_instance_data *instance = usbatm->driver_data; speedtch_atm_start() local
686 struct speedtch_instance_data *instance = usbatm->driver_data; speedtch_atm_stop() local
767 struct speedtch_instance_data *instance; speedtch_bind() local
911 struct speedtch_instance_data *instance = usbatm->driver_data; speedtch_unbind() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/atm/
H A Dusbatm.c73 static int usbatm_print_packet(struct usbatm_data *instance, const unsigned char *data, int len);
280 static inline struct usbatm_vcc_data *usbatm_find_vcc(struct usbatm_data *instance, in usbatm_find_vcc() argument
285 list_for_each_entry(vcc_data, &instance->vcc_list, list) in usbatm_find_vcc()
291 static void usbatm_extract_one_cell(struct usbatm_data *instance, unsigned char *source) in usbatm_extract_one_cell() argument
299 if ((vci != instance->cached_vci) || (vpi != instance->cached_vpi)) { in usbatm_extract_one_cell()
300 instance->cached_vpi = vpi; in usbatm_extract_one_cell()
301 instance->cached_vci = vci; in usbatm_extract_one_cell()
303 instance->cached_vcc = usbatm_find_vcc(instance, vp in usbatm_extract_one_cell()
409 usbatm_extract_cells(struct usbatm_data *instance, unsigned char *source, unsigned int avail_data) usbatm_extract_cells() argument
454 usbatm_write_cells(struct usbatm_data *instance, struct sk_buff *skb, u8 *target, unsigned int avail_space) usbatm_write_cells() argument
516 struct usbatm_data *instance = from_tasklet(instance, t, usbatm_rx_process() local
570 struct usbatm_data *instance = from_tasklet(instance, t, usbatm_tx_process() local
620 usbatm_cancel_send(struct usbatm_data *instance, struct atm_vcc *vcc) usbatm_cancel_send() argument
646 struct usbatm_data *instance = vcc->dev->dev_data; usbatm_atm_send() local
696 struct usbatm_data *instance = container_of(kref, struct usbatm_data, refcount); usbatm_destroy_instance() local
704 usbatm_get_instance(struct usbatm_data *instance) usbatm_get_instance() argument
709 usbatm_put_instance(struct usbatm_data *instance) usbatm_put_instance() argument
721 struct usbatm_data *instance = atm_dev->dev_data; usbatm_atm_dev_close() local
732 struct usbatm_data *instance = atm_dev->dev_data; usbatm_atm_proc_read() local
772 struct usbatm_data *instance = vcc->dev->dev_data; usbatm_atm_open() local
851 struct usbatm_data *instance = vcc->dev->dev_data; usbatm_atm_close() local
888 struct usbatm_data *instance = atm_dev->dev_data; usbatm_atm_ioctl() local
901 usbatm_atm_init(struct usbatm_data *instance) usbatm_atm_init() argument
957 struct usbatm_data *instance = arg; usbatm_do_heavy_init() local
975 usbatm_heavy_init(struct usbatm_data *instance) usbatm_heavy_init() argument
1013 struct usbatm_data *instance; usbatm_usb_probe() local
1209 struct usbatm_data *instance = usb_get_intfdata(intf); usbatm_usb_disconnect() local
1313 usbatm_print_packet(struct usbatm_data *instance, const unsigned char *data, int len) usbatm_print_packet() argument
[all...]
H A Dcxacru.c193 static int cxacru_cm(struct cxacru_data *instance, enum cxacru_cm_request cm,
211 struct cxacru_data *instance = to_usbatm_driver_data(\
214 if (instance == NULL) \
217 return cxacru_sysfs_showattr_##_type(instance->card_info[_value], buf); \
306 struct cxacru_data *instance = to_usbatm_driver_data( in mac_address_show() local
309 if (instance == NULL || instance->usbatm->atm_dev == NULL) in mac_address_show()
312 return sprintf(buf, "%pM\n", instance->usbatm->atm_dev->esi); in mac_address_show()
319 struct cxacru_data *instance = to_usbatm_driver_data( in adsl_state_show() local
323 if (instance in adsl_state_show()
335 struct cxacru_data *instance = to_usbatm_driver_data( adsl_state_store() local
438 struct cxacru_data *instance = to_usbatm_driver_data( adsl_config_store() local
608 cxacru_cm(struct cxacru_data *instance, enum cxacru_cm_request cm, u8 *wdata, int wsize, u8 *rdata, int rsize) cxacru_cm() argument
708 cxacru_cm_get_array(struct cxacru_data *instance, enum cxacru_cm_request cm, u32 *data, int size) cxacru_cm_get_array() argument
758 cxacru_card_status(struct cxacru_data *instance) cxacru_card_status() argument
772 struct cxacru_data *instance = usbatm_instance->driver_data; cxacru_atm_start() local
820 struct cxacru_data *instance = cxacru_poll_status() local
983 cxacru_upload_firmware(struct cxacru_data *instance, const struct firmware *fw, const struct firmware *bp) cxacru_upload_firmware() argument
1072 cxacru_find_firmware(struct cxacru_data *instance, char *phase, const struct firmware **fw_p) cxacru_find_firmware() argument
1096 struct cxacru_data *instance = usbatm_instance->driver_data; cxacru_heavy_init() local
1131 struct cxacru_data *instance; cxacru_bind() local
1226 struct cxacru_data *instance = usbatm_instance->driver_data; cxacru_unbind() local
[all...]
H A Dspeedtch.c144 static void speedtch_set_swbuff(struct speedtch_instance_data *instance, int state) in speedtch_set_swbuff() argument
146 struct usbatm_data *usbatm = instance->usbatm; in speedtch_set_swbuff()
160 static void speedtch_test_sequence(struct speedtch_instance_data *instance) in speedtch_test_sequence() argument
162 struct usbatm_data *usbatm = instance->usbatm; in speedtch_test_sequence()
164 unsigned char *buf = instance->scratch_buffer; in speedtch_test_sequence()
204 buf[0] = instance->params.ModemMode; in speedtch_test_sequence()
216 instance->params.ModemOption, in speedtch_test_sequence()
222 buf[0] = instance->params.BMaxDSL & 0xff; in speedtch_test_sequence()
223 buf[1] = instance->params.BMaxDSL >> 8; in speedtch_test_sequence()
230 static int speedtch_upload_firmware(struct speedtch_instance_data *instance, in speedtch_upload_firmware() argument
382 struct speedtch_instance_data *instance = usbatm->driver_data; speedtch_heavy_init() local
407 speedtch_read_status(struct speedtch_instance_data *instance) speedtch_read_status() argument
459 speedtch_start_synchro(struct speedtch_instance_data *instance) speedtch_start_synchro() argument
485 struct speedtch_instance_data *instance = speedtch_check_status() local
562 struct speedtch_instance_data *instance = from_timer(instance, t, speedtch_status_poll() local
576 struct speedtch_instance_data *instance = from_timer(instance, t, speedtch_resubmit_int() local
596 struct speedtch_instance_data *instance = int_urb->context; speedtch_handle_int() local
650 struct speedtch_instance_data *instance = usbatm->driver_data; speedtch_atm_start() local
686 struct speedtch_instance_data *instance = usbatm->driver_data; speedtch_atm_stop() local
767 struct speedtch_instance_data *instance; speedtch_bind() local
911 struct speedtch_instance_data *instance = usbatm->driver_data; speedtch_unbind() local
[all...]
/kernel/linux/linux-5.10/drivers/thermal/
H A Dgov_step_wise.c31 * equals lower limit, deactivate the thermal instance
35 * deactivate the thermal instance
37 static unsigned long get_target_state(struct thermal_instance *instance, in get_target_state() argument
40 struct thermal_cooling_device *cdev = instance->cdev; in get_target_state()
45 * We keep this instance the way it is by default. in get_target_state()
50 next_target = instance->target; in get_target_state()
53 if (!instance->initialized) { in get_target_state()
55 next_target = (cur_state + 1) >= instance->upper ? in get_target_state()
56 instance->upper : in get_target_state()
57 ((cur_state + 1) < instance in get_target_state()
121 struct thermal_instance *instance; thermal_zone_trip_update() local
188 struct thermal_instance *instance; step_wise_throttle() local
[all...]
H A Dgov_bang_bang.c19 struct thermal_instance *instance; in thermal_zone_trip_update() local
36 list_for_each_entry(instance, &tz->thermal_instances, tz_node) { in thermal_zone_trip_update()
37 if (instance->trip != trip) in thermal_zone_trip_update()
41 if (instance->target == THERMAL_NO_TARGET) in thermal_zone_trip_update()
42 instance->target = 0; in thermal_zone_trip_update()
45 if (instance->target != 0 && instance->target != 1) { in thermal_zone_trip_update()
46 pr_warn("Thermal instance %s controlled by bang-bang has unexpected state: %ld\n", in thermal_zone_trip_update()
47 instance->name, instance in thermal_zone_trip_update()
101 struct thermal_instance *instance; bang_bang_control() local
[all...]
/kernel/linux/linux-6.6/drivers/thermal/
H A Dgov_step_wise.c28 * equals lower limit, deactivate the thermal instance
30 static unsigned long get_target_state(struct thermal_instance *instance, in get_target_state() argument
33 struct thermal_cooling_device *cdev = instance->cdev; in get_target_state()
38 * We keep this instance the way it is by default. in get_target_state()
43 next_target = instance->target; in get_target_state()
46 if (!instance->initialized) { in get_target_state()
48 next_target = clamp((cur_state + 1), instance->lower, instance->upper); in get_target_state()
58 next_target = clamp((cur_state + 1), instance->lower, instance in get_target_state()
86 struct thermal_instance *instance; thermal_zone_trip_update() local
141 struct thermal_instance *instance; step_wise_throttle() local
[all...]
H A Dgov_bang_bang.c19 struct thermal_instance *instance; in thermal_zone_trip_update() local
29 list_for_each_entry(instance, &tz->thermal_instances, tz_node) { in thermal_zone_trip_update()
30 if (instance->trip != trip) in thermal_zone_trip_update()
34 if (instance->target == THERMAL_NO_TARGET) in thermal_zone_trip_update()
35 instance->target = 0; in thermal_zone_trip_update()
38 if (instance->target != 0 && instance->target != 1) { in thermal_zone_trip_update()
39 pr_warn("Thermal instance %s controlled by bang-bang has unexpected state: %ld\n", in thermal_zone_trip_update()
40 instance->name, instance in thermal_zone_trip_update()
94 struct thermal_instance *instance; bang_bang_control() local
[all...]
/kernel/linux/linux-5.10/drivers/phy/mediatek/
H A Dphy-mtk-tphy.c324 struct mtk_phy_instance *instance) in hs_slew_rate_calibrate()
326 struct u2phy_banks *u2_banks = &instance->u2_banks; in hs_slew_rate_calibrate()
334 if (instance->eye_src) in hs_slew_rate_calibrate()
353 tmp |= P2F_RG_MONCLK_SEL_VAL(instance->index >> 1); in hs_slew_rate_calibrate()
388 instance->index, fm_out, calibration_val, in hs_slew_rate_calibrate()
404 struct mtk_phy_instance *instance) in u3_phy_instance_init()
406 struct u3phy_banks *u3_banks = &instance->u3_banks; in u3_phy_instance_init()
450 dev_dbg(tphy->dev, "%s(%d)\n", __func__, instance->index); in u3_phy_instance_init()
454 struct mtk_phy_instance *instance) in u2_phy_instance_init()
456 struct u2phy_banks *u2_banks = &instance in u2_phy_instance_init()
323 hs_slew_rate_calibrate(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) hs_slew_rate_calibrate() argument
403 u3_phy_instance_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) u3_phy_instance_init() argument
453 u2_phy_instance_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) u2_phy_instance_init() argument
515 u2_phy_instance_power_on(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) u2_phy_instance_power_on() argument
549 u2_phy_instance_power_off(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) u2_phy_instance_power_off() argument
584 u2_phy_instance_exit(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) u2_phy_instance_exit() argument
603 u2_phy_instance_set_mode(struct mtk_tphy *tphy, struct mtk_phy_instance *instance, enum phy_mode mode) u2_phy_instance_set_mode() argument
628 pcie_phy_instance_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) pcie_phy_instance_init() argument
701 pcie_phy_instance_power_on(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) pcie_phy_instance_power_on() argument
716 pcie_phy_instance_power_off(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) pcie_phy_instance_power_off() argument
732 sata_phy_instance_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) sata_phy_instance_init() argument
790 phy_v1_banks_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) phy_v1_banks_init() argument
818 phy_v2_banks_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) phy_v2_banks_init() argument
843 phy_parse_property(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) phy_parse_property() argument
868 u2_phy_props_set(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) u2_phy_props_set() argument
919 struct mtk_phy_instance *instance = phy_get_drvdata(phy); mtk_phy_init() local
962 struct mtk_phy_instance *instance = phy_get_drvdata(phy); mtk_phy_power_on() local
977 struct mtk_phy_instance *instance = phy_get_drvdata(phy); mtk_phy_power_off() local
990 struct mtk_phy_instance *instance = phy_get_drvdata(phy); mtk_phy_exit() local
1003 struct mtk_phy_instance *instance = phy_get_drvdata(phy); mtk_phy_set_mode() local
1016 struct mtk_phy_instance *instance = NULL; mtk_phy_xlate() local
1141 struct mtk_phy_instance *instance; mtk_tphy_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/vc04_services/vchiq-mmal/
H A Dmmal-vchiq.c120 struct vchiq_mmal_instance *instance; member
133 /* mmal instance */
134 struct vchiq_mmal_instance *instance; member
180 /* handle for a vchiq instance */
185 get_msg_context(struct vchiq_mmal_instance *instance) in get_msg_context() argument
200 mutex_lock(&instance->context_map_lock); in get_msg_context()
201 handle = idr_alloc(&instance->context_map, msg_context, in get_msg_context()
203 mutex_unlock(&instance->context_map_lock); in get_msg_context()
210 msg_context->instance = instance; in get_msg_context()
217 lookup_msg_context(struct vchiq_mmal_instance *instance, int handle) lookup_msg_context() argument
225 struct vchiq_mmal_instance *instance = msg_context->instance; release_msg_context() local
234 event_to_host_cb(struct vchiq_mmal_instance *instance, struct mmal_msg *msg, u32 msg_len) event_to_host_cb() argument
287 struct vchiq_mmal_instance *instance = msg_context->instance; buffer_to_host_work_cb() local
313 bulk_receive(struct vchiq_mmal_instance *instance, struct mmal_msg *msg, struct mmal_msg_context *msg_context) bulk_receive() argument
358 inline_receive(struct vchiq_mmal_instance *instance, struct mmal_msg *msg, struct mmal_msg_context *msg_context) inline_receive() argument
374 buffer_from_host(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, struct mmal_buffer *buf) buffer_from_host() argument
453 buffer_to_host_cb(struct vchiq_mmal_instance *instance, struct mmal_msg *msg, u32 msg_len) buffer_to_host_cb() argument
531 bulk_receive_cb(struct vchiq_mmal_instance *instance, struct mmal_msg_context *msg_context) bulk_receive_cb() argument
540 bulk_abort_cb(struct vchiq_mmal_instance *instance, struct mmal_msg_context *msg_context) bulk_abort_cb() argument
555 struct vchiq_mmal_instance *instance = vchiq_get_service_userdata(vchiq_instance, handle); service_callback() local
649 send_synchronous_mmal_msg(struct vchiq_mmal_instance *instance, struct mmal_msg *msg, unsigned int payload_len, struct mmal_msg **msg_out, struct vchiq_header **msg_handle) send_synchronous_mmal_msg() argument
772 port_info_set(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port) port_info_set() argument
833 port_info_get(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port) port_info_get() argument
928 create_component(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component, const char *name) create_component() argument
976 destroy_component(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component) destroy_component() argument
1009 enable_component(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component) enable_component() argument
1041 disable_component(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component) disable_component() argument
1074 get_version(struct vchiq_mmal_instance *instance, u32 *major_out, u32 *minor_out) get_version() argument
1106 port_action_port(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, enum mmal_msg_port_action_type action_type) port_action_port() argument
1148 port_action_handle(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, enum mmal_msg_port_action_type action_type, u32 connect_component_handle, u32 connect_port_handle) port_action_handle() argument
1195 port_parameter_set(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, u32 parameter_id, void *value, u32 value_size) port_parameter_set() argument
1236 port_parameter_get(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, u32 parameter_id, void *value, u32 *value_size) port_parameter_get() argument
1296 port_disable(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port) port_disable() argument
1346 port_enable(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port) port_enable() argument
1393 vchiq_mmal_port_set_format(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port) vchiq_mmal_port_set_format() argument
1415 vchiq_mmal_port_parameter_set(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, u32 parameter, void *value, u32 value_size) vchiq_mmal_port_parameter_set() argument
1432 vchiq_mmal_port_parameter_get(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, u32 parameter, void *value, u32 *value_size) vchiq_mmal_port_parameter_get() argument
1454 vchiq_mmal_port_enable(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, vchiq_mmal_buffer_cb buffer_cb) vchiq_mmal_port_enable() argument
1480 vchiq_mmal_port_disable(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port) vchiq_mmal_port_disable() argument
1504 vchiq_mmal_port_connect_tunnel(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *src, struct vchiq_mmal_port *dst) vchiq_mmal_port_connect_tunnel() argument
1589 vchiq_mmal_submit_buffer(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, struct mmal_buffer *buffer) vchiq_mmal_submit_buffer() argument
1608 mmal_vchi_buffer_init(struct vchiq_mmal_instance *instance, struct mmal_buffer *buf) mmal_vchi_buffer_init() argument
1636 vchiq_mmal_component_init(struct vchiq_mmal_instance *instance, const char *name, struct vchiq_mmal_component **component_out) vchiq_mmal_component_init() argument
1736 vchiq_mmal_component_finalise(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component) vchiq_mmal_component_finalise() argument
1760 vchiq_mmal_component_enable(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component) vchiq_mmal_component_enable() argument
1786 vchiq_mmal_component_disable(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component) vchiq_mmal_component_disable() argument
1809 vchiq_mmal_version(struct vchiq_mmal_instance *instance, u32 *major_out, u32 *minor_out) vchiq_mmal_version() argument
1825 vchiq_mmal_finalise(struct vchiq_mmal_instance *instance) vchiq_mmal_finalise() argument
1858 struct vchiq_mmal_instance *instance; vchiq_mmal_init() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_av1_req_lat_if.c89 * struct vdec_av1_slice_init_vsi - VSI used to initialize instance
605 * struct vdec_av1_slice_slot - slot info that needs to be saved in the global instance
684 * struct vdec_av1_slice_instance - represent one av1 instance
686 * @vpu: VPU instance
702 * @init_vsi: vsi used for initialized AV1 instance
768 static int vdec_av1_slice_init_cdf_table(struct vdec_av1_slice_instance *instance) in vdec_av1_slice_init_cdf_table() argument
775 ctx = instance->ctx; in vdec_av1_slice_init_cdf_table()
776 vsi = instance->vpu.vsi; in vdec_av1_slice_init_cdf_table()
786 if (instance->cdf_table.va) in vdec_av1_slice_init_cdf_table()
787 mtk_vcodec_mem_free(ctx, &instance in vdec_av1_slice_init_cdf_table()
799 vdec_av1_slice_init_iq_table(struct vdec_av1_slice_instance *instance) vdec_av1_slice_init_iq_table() argument
899 vdec_av1_slice_setup_slot(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_vsi *vsi, struct v4l2_ctrl_av1_frame *ctrl_fh) vdec_av1_slice_setup_slot() argument
936 vdec_av1_slice_alloc_working_buffer(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_vsi *vsi) vdec_av1_slice_alloc_working_buffer() argument
1020 vdec_av1_slice_free_working_buffer(struct vdec_av1_slice_instance *instance) vdec_av1_slice_free_working_buffer() argument
1055 vdec_av1_slice_setup_lat_from_src_buf(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_vsi *vsi, struct vdec_lat_buf *lat_buf) vdec_av1_slice_setup_lat_from_src_buf() argument
1303 vdec_av1_slice_setup_uh(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_frame *frame, struct v4l2_ctrl_av1_frame *ctrl_fh) vdec_av1_slice_setup_uh() argument
1379 vdec_av1_slice_setup_tile_group(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_vsi *vsi) vdec_av1_slice_setup_tile_group() argument
1541 vdec_av1_slice_setup_operating_mode(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_frame *frame) vdec_av1_slice_setup_operating_mode() argument
1547 vdec_av1_slice_setup_pfc(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_pfc *pfc) vdec_av1_slice_setup_pfc() argument
1584 vdec_av1_slice_setup_lat_buffer(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_vsi *vsi, struct mtk_vcodec_mem *bs, struct vdec_lat_buf *lat_buf) vdec_av1_slice_setup_lat_buffer() argument
1632 vdec_av1_slice_setup_seg_buffer(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_vsi *vsi) vdec_av1_slice_setup_seg_buffer() argument
1648 vdec_av1_slice_setup_tile_buffer(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_vsi *vsi, struct mtk_vcodec_mem *bs) vdec_av1_slice_setup_tile_buffer() argument
1710 vdec_av1_slice_setup_lat(struct vdec_av1_slice_instance *instance, struct mtk_vcodec_mem *bs, struct vdec_lat_buf *lat_buf, struct vdec_av1_slice_pfc *pfc) vdec_av1_slice_setup_lat() argument
1741 vdec_av1_slice_update_lat(struct vdec_av1_slice_instance *instance, struct vdec_lat_buf *lat_buf, struct vdec_av1_slice_pfc *pfc) vdec_av1_slice_update_lat() argument
1766 vdec_av1_slice_setup_core_to_dst_buf(struct vdec_av1_slice_instance *instance, struct vdec_lat_buf *lat_buf) vdec_av1_slice_setup_core_to_dst_buf() argument
1780 vdec_av1_slice_setup_core_buffer(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_pfc *pfc, struct vdec_av1_slice_vsi *vsi, struct vdec_fb *fb, struct vdec_lat_buf *lat_buf) vdec_av1_slice_setup_core_buffer() argument
1835 vdec_av1_slice_setup_core(struct vdec_av1_slice_instance *instance, struct vdec_fb *fb, struct vdec_lat_buf *lat_buf, struct vdec_av1_slice_pfc *pfc) vdec_av1_slice_setup_core() argument
1854 vdec_av1_slice_update_core(struct vdec_av1_slice_instance *instance, struct vdec_lat_buf *lat_buf, struct vdec_av1_slice_pfc *pfc) vdec_av1_slice_update_core() argument
1872 struct vdec_av1_slice_instance *instance; vdec_av1_slice_init() local
1939 struct vdec_av1_slice_instance *instance = h_vdec; vdec_av1_slice_deinit() local
1953 struct vdec_av1_slice_instance *instance = h_vdec; vdec_av1_slice_flush() local
1966 vdec_av1_slice_get_pic_info(struct vdec_av1_slice_instance *instance) vdec_av1_slice_get_pic_info() argument
1984 vdec_av1_slice_get_dpb_size(struct vdec_av1_slice_instance *instance, u32 *dpb_sz) vdec_av1_slice_get_dpb_size() argument
1991 vdec_av1_slice_get_crop_info(struct vdec_av1_slice_instance *instance, struct v4l2_rect *cr) vdec_av1_slice_get_crop_info() argument
2007 struct vdec_av1_slice_instance *instance = h_vdec; vdec_av1_slice_get_param() local
2030 struct vdec_av1_slice_instance *instance = h_vdec; vdec_av1_slice_lat_decode() local
2132 struct vdec_av1_slice_instance *instance; vdec_av1_slice_core_decode() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A DNCR5380.c76 * the command structure is placed into the per instance disconnected
116 * The generic driver is initialized by calling NCR5380_init(instance),
292 * @instance: adapter state to dump
297 static void NCR5380_print(struct Scsi_Host *instance) in NCR5380_print() argument
299 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_print()
341 * @instance: adapter to dump
346 static void NCR5380_print_phase(struct Scsi_Host *instance) in NCR5380_print_phase() argument
348 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_print_phase()
354 shost_printk(KERN_DEBUG, instance, "REQ not asserted, phase unknown.\n"); in NCR5380_print_phase()
359 shost_printk(KERN_DEBUG, instance, "phas in NCR5380_print_phase()
371 NCR5380_info(struct Scsi_Host *instance) NCR5380_info() argument
392 NCR5380_init(struct Scsi_Host *instance, int flags) NCR5380_init() argument
473 NCR5380_maybe_reset_bus(struct Scsi_Host *instance) NCR5380_maybe_reset_bus() argument
518 NCR5380_exit(struct Scsi_Host *instance) NCR5380_exit() argument
532 complete_cmd(struct Scsi_Host *instance, struct scsi_cmnd *cmd) complete_cmd() argument
563 NCR5380_queue_command(struct Scsi_Host *instance, struct scsi_cmnd *cmd) NCR5380_queue_command() argument
610 maybe_release_dma_irq(struct Scsi_Host *instance) maybe_release_dma_irq() argument
635 dequeue_next_cmd(struct Scsi_Host *instance) dequeue_next_cmd() argument
669 requeue_cmd(struct Scsi_Host *instance, struct scsi_cmnd *cmd) requeue_cmd() argument
695 struct Scsi_Host *instance = hostdata->host; NCR5380_main() local
753 NCR5380_dma_complete(struct Scsi_Host *instance) NCR5380_dma_complete() argument
864 struct Scsi_Host *instance = dev_id; NCR5380_intr() local
1140 NCR5380_reselect(instance); global() variable
1188 do_abort(instance); global() variable
1254 NCR5380_transfer_pio(struct Scsi_Host *instance, unsigned char *phase, int *count, unsigned char **data) NCR5380_transfer_pio() argument
1379 do_reset(struct Scsi_Host *instance) do_reset() argument
1402 do_abort(struct Scsi_Host *instance) do_abort() argument
1476 NCR5380_transfer_dma(struct Scsi_Host *instance, unsigned char *phase, int *count, unsigned char **data) NCR5380_transfer_dma() argument
1736 do_abort(instance); global() variable
1781 do_reset(instance); global() variable
1782 bus_reset_cleanup(instance); global() variable
1844 maybe_release_dma_irq(instance); global() variable
1976 maybe_release_dma_irq(instance); global() variable
2019 NCR5380_reselect(struct Scsi_Host *instance) NCR5380_reselect() argument
2240 struct Scsi_Host *instance = cmd->device->host; NCR5380_abort() local
2319 bus_reset_cleanup(struct Scsi_Host *instance) bus_reset_cleanup() argument
2380 struct Scsi_Host *instance = cmd->device->host; NCR5380_host_reset() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_arm.c41 /* Some per-instance constants */
57 struct vchiq_instance *instance; member
153 struct vchiq_instance *instance = NULL; in vchiq_initialise() local
179 instance = kzalloc(sizeof(*instance), GFP_KERNEL); in vchiq_initialise()
180 if (!instance) { in vchiq_initialise()
182 "%s: error allocating vchiq instance\n", __func__); in vchiq_initialise()
187 instance->connected = 0; in vchiq_initialise()
188 instance->state = state; in vchiq_initialise()
189 mutex_init(&instance in vchiq_initialise()
204 vchiq_shutdown(struct vchiq_instance *instance) vchiq_shutdown() argument
241 vchiq_is_connected(struct vchiq_instance *instance) vchiq_is_connected() argument
246 vchiq_connect(struct vchiq_instance *instance) vchiq_connect() argument
275 vchiq_add_service( struct vchiq_instance *instance, const struct vchiq_service_params_kernel *params, unsigned int *phandle) vchiq_add_service() argument
313 vchiq_open_service( struct vchiq_instance *instance, const struct vchiq_service_params_kernel *params, unsigned int *phandle) vchiq_open_service() argument
432 struct vchiq_instance *instance; vchiq_blocking_bulk_transfer() local
517 add_completion(struct vchiq_instance *instance, enum vchiq_reason reason, struct vchiq_header *header, struct user_service *user_service, void *bulk_userdata) add_completion() argument
594 struct vchiq_instance *instance; service_callback() local
804 vchiq_ioc_create_service(struct vchiq_instance *instance, struct vchiq_create_service *args) vchiq_ioc_create_service() argument
869 vchiq_ioc_dequeue_message(struct vchiq_instance *instance, struct vchiq_dequeue_message *args) vchiq_ioc_dequeue_message() argument
949 vchiq_irq_queue_bulk_tx_rx(struct vchiq_instance *instance, struct vchiq_queue_bulk_transfer *args, enum vchiq_bulk_dir dir, enum vchiq_bulk_mode __user *mode) vchiq_irq_queue_bulk_tx_rx() argument
1099 vchiq_ioc_await_completion(struct vchiq_instance *instance, struct vchiq_await_completion *args, int __user *msgbufcountp) vchiq_ioc_await_completion() argument
1259 struct vchiq_instance *instance = file->private_data; vchiq_ioctl() local
1859 struct vchiq_instance *instance; vchiq_open() local
1891 struct vchiq_instance *instance = file->private_data; vchiq_release() local
2072 struct vchiq_instance *instance; vchiq_dump_platform_instances() local
2086 struct vchiq_instance *instance; vchiq_dump_platform_instances() local
2225 struct vchiq_instance *instance; vchiq_keepalive_thread_func() local
2458 vchiq_instance_get_debugfs_node(struct vchiq_instance *instance) vchiq_instance_get_debugfs_node() argument
2464 vchiq_instance_get_use_count(struct vchiq_instance *instance) vchiq_instance_get_use_count() argument
2479 vchiq_instance_get_pid(struct vchiq_instance *instance) vchiq_instance_get_pid() argument
2485 vchiq_instance_get_trace(struct vchiq_instance *instance) vchiq_instance_get_trace() argument
2491 vchiq_instance_set_trace(struct vchiq_instance *instance, int trace) vchiq_instance_set_trace() argument
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A DNCR5380.c76 * the command structure is placed into the per instance disconnected
115 * The generic driver is initialized by calling NCR5380_init(instance),
289 * @instance: adapter state to dump
294 static void NCR5380_print(struct Scsi_Host *instance) in NCR5380_print() argument
296 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_print()
338 * @instance: adapter to dump
343 static void NCR5380_print_phase(struct Scsi_Host *instance) in NCR5380_print_phase() argument
345 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_print_phase()
351 shost_printk(KERN_DEBUG, instance, "REQ not asserted, phase unknown.\n"); in NCR5380_print_phase()
356 shost_printk(KERN_DEBUG, instance, "phas in NCR5380_print_phase()
368 NCR5380_info(struct Scsi_Host *instance) NCR5380_info() argument
389 NCR5380_init(struct Scsi_Host *instance, int flags) NCR5380_init() argument
470 NCR5380_maybe_reset_bus(struct Scsi_Host *instance) NCR5380_maybe_reset_bus() argument
515 NCR5380_exit(struct Scsi_Host *instance) NCR5380_exit() argument
529 complete_cmd(struct Scsi_Host *instance, struct scsi_cmnd *cmd) complete_cmd() argument
560 NCR5380_queue_command(struct Scsi_Host *instance, struct scsi_cmnd *cmd) NCR5380_queue_command() argument
610 maybe_release_dma_irq(struct Scsi_Host *instance) maybe_release_dma_irq() argument
635 dequeue_next_cmd(struct Scsi_Host *instance) dequeue_next_cmd() argument
669 requeue_cmd(struct Scsi_Host *instance, struct scsi_cmnd *cmd) requeue_cmd() argument
695 struct Scsi_Host *instance = hostdata->host; NCR5380_main() local
754 NCR5380_dma_complete(struct Scsi_Host *instance) NCR5380_dma_complete() argument
866 struct Scsi_Host *instance = dev_id; NCR5380_intr() local
1142 NCR5380_reselect(instance); global() variable
1257 NCR5380_transfer_pio(struct Scsi_Host *instance, unsigned char *phase, int *count, unsigned char **data, unsigned int can_sleep) NCR5380_transfer_pio() argument
1383 do_reset(struct Scsi_Host *instance) do_reset() argument
1407 do_abort(struct Scsi_Host *instance, unsigned int can_sleep) do_abort() argument
1483 NCR5380_transfer_dma(struct Scsi_Host *instance, unsigned char *phase, int *count, unsigned char **data) NCR5380_transfer_dma() argument
1788 do_reset(instance); global() variable
1789 bus_reset_cleanup(instance); global() variable
2025 NCR5380_reselect(struct Scsi_Host *instance) NCR5380_reselect() argument
2246 struct Scsi_Host *instance = cmd->device->host; NCR5380_abort() local
2324 bus_reset_cleanup(struct Scsi_Host *instance) bus_reset_cleanup() argument
2384 struct Scsi_Host *instance = cmd->device->host; NCR5380_host_reset() local
[all...]
/kernel/linux/linux-6.6/drivers/phy/mediatek/
H A Dphy-mtk-tphy.c695 struct mtk_phy_instance *instance) in hs_slew_rate_calibrate()
697 struct u2phy_banks *u2_banks = &instance->u2_banks; in hs_slew_rate_calibrate()
709 if (instance->eye_src) in hs_slew_rate_calibrate()
724 tmp |= FIELD_PREP(P2F_RG_MONCLK_SEL, instance->index >> 1); in hs_slew_rate_calibrate()
753 instance->index, fm_out, calibration_val, in hs_slew_rate_calibrate()
765 struct mtk_phy_instance *instance) in u3_phy_instance_init()
767 struct u3phy_banks *u3_banks = &instance->u3_banks; in u3_phy_instance_init()
793 dev_dbg(tphy->dev, "%s(%d)\n", __func__, instance->index); in u3_phy_instance_init()
797 struct mtk_phy_instance *instance) in u2_phy_pll_26m_set()
799 struct u2phy_banks *u2_banks = &instance in u2_phy_pll_26m_set()
694 hs_slew_rate_calibrate(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) hs_slew_rate_calibrate() argument
764 u3_phy_instance_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) u3_phy_instance_init() argument
796 u2_phy_pll_26m_set(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) u2_phy_pll_26m_set() argument
815 u2_phy_instance_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) u2_phy_instance_init() argument
861 u2_phy_instance_power_on(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) u2_phy_instance_power_on() argument
883 u2_phy_instance_power_off(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) u2_phy_instance_power_off() argument
906 u2_phy_instance_exit(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) u2_phy_instance_exit() argument
920 u2_phy_instance_set_mode(struct mtk_tphy *tphy, struct mtk_phy_instance *instance, enum phy_mode mode) u2_phy_instance_set_mode() argument
945 pcie_phy_instance_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) pcie_phy_instance_init() argument
995 pcie_phy_instance_power_on(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) pcie_phy_instance_power_on() argument
1007 pcie_phy_instance_power_off(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) pcie_phy_instance_power_off() argument
1020 sata_phy_instance_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) sata_phy_instance_init() argument
1065 phy_v1_banks_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) phy_v1_banks_init() argument
1093 phy_v2_banks_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) phy_v2_banks_init() argument
1118 phy_parse_property(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) phy_parse_property() argument
1146 u2_phy_props_set(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) u2_phy_props_set() argument
1186 phy_type_syscon_get(struct mtk_phy_instance *instance, struct device_node *dn) phy_type_syscon_get() argument
1211 phy_type_set(struct mtk_phy_instance *instance) phy_type_set() argument
1244 phy_efuse_get(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) phy_efuse_get() argument
1318 phy_efuse_set(struct mtk_phy_instance *instance) phy_efuse_set() argument
1357 struct mtk_phy_instance *instance = phy_get_drvdata(phy); mtk_phy_init() local
1395 struct mtk_phy_instance *instance = phy_get_drvdata(phy); mtk_phy_power_on() local
1410 struct mtk_phy_instance *instance = phy_get_drvdata(phy); mtk_phy_power_off() local
1423 struct mtk_phy_instance *instance = phy_get_drvdata(phy); mtk_phy_exit() local
1435 struct mtk_phy_instance *instance = phy_get_drvdata(phy); mtk_phy_set_mode() local
1448 struct mtk_phy_instance *instance = NULL; mtk_phy_xlate() local
1602 struct mtk_phy_instance *instance; mtk_tphy_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/vc04_services/vchiq-mmal/
H A Dmmal-vchiq.c120 struct vchiq_mmal_instance *instance; member
133 /* mmal instance */
134 struct vchiq_mmal_instance *instance; member
183 /* handle for a vchiq instance */
188 get_msg_context(struct vchiq_mmal_instance *instance) in get_msg_context() argument
203 mutex_lock(&instance->context_map_lock); in get_msg_context()
204 handle = idr_alloc(&instance->context_map, msg_context, in get_msg_context()
206 mutex_unlock(&instance->context_map_lock); in get_msg_context()
213 msg_context->instance = instance; in get_msg_context()
220 lookup_msg_context(struct vchiq_mmal_instance *instance, int handle) lookup_msg_context() argument
228 struct vchiq_mmal_instance *instance = msg_context->instance; release_msg_context() local
237 event_to_host_cb(struct vchiq_mmal_instance *instance, struct mmal_msg *msg, u32 msg_len) event_to_host_cb() argument
290 struct vchiq_mmal_instance *instance = msg_context->instance; buffer_to_host_work_cb() local
316 bulk_receive(struct vchiq_mmal_instance *instance, struct mmal_msg *msg, struct mmal_msg_context *msg_context) bulk_receive() argument
361 inline_receive(struct vchiq_mmal_instance *instance, struct mmal_msg *msg, struct mmal_msg_context *msg_context) inline_receive() argument
377 buffer_from_host(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, struct mmal_buffer *buf) buffer_from_host() argument
456 buffer_to_host_cb(struct vchiq_mmal_instance *instance, struct mmal_msg *msg, u32 msg_len) buffer_to_host_cb() argument
534 bulk_receive_cb(struct vchiq_mmal_instance *instance, struct mmal_msg_context *msg_context) bulk_receive_cb() argument
543 bulk_abort_cb(struct vchiq_mmal_instance *instance, struct mmal_msg_context *msg_context) bulk_abort_cb() argument
558 struct vchiq_mmal_instance *instance = vchiq_get_service_userdata(handle); service_callback() local
652 send_synchronous_mmal_msg(struct vchiq_mmal_instance *instance, struct mmal_msg *msg, unsigned int payload_len, struct mmal_msg **msg_out, struct vchiq_header **msg_handle) send_synchronous_mmal_msg() argument
775 port_info_set(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port) port_info_set() argument
836 port_info_get(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port) port_info_get() argument
931 create_component(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component, const char *name) create_component() argument
979 destroy_component(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component) destroy_component() argument
1012 enable_component(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component) enable_component() argument
1044 disable_component(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component) disable_component() argument
1077 get_version(struct vchiq_mmal_instance *instance, u32 *major_out, u32 *minor_out) get_version() argument
1109 port_action_port(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, enum mmal_msg_port_action_type action_type) port_action_port() argument
1151 port_action_handle(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, enum mmal_msg_port_action_type action_type, u32 connect_component_handle, u32 connect_port_handle) port_action_handle() argument
1198 port_parameter_set(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, u32 parameter_id, void *value, u32 value_size) port_parameter_set() argument
1239 port_parameter_get(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, u32 parameter_id, void *value, u32 *value_size) port_parameter_get() argument
1299 port_disable(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port) port_disable() argument
1349 port_enable(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port) port_enable() argument
1396 vchiq_mmal_port_set_format(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port) vchiq_mmal_port_set_format() argument
1418 vchiq_mmal_port_parameter_set(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, u32 parameter, void *value, u32 value_size) vchiq_mmal_port_parameter_set() argument
1435 vchiq_mmal_port_parameter_get(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, u32 parameter, void *value, u32 *value_size) vchiq_mmal_port_parameter_get() argument
1457 vchiq_mmal_port_enable(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, vchiq_mmal_buffer_cb buffer_cb) vchiq_mmal_port_enable() argument
1483 vchiq_mmal_port_disable(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port) vchiq_mmal_port_disable() argument
1507 vchiq_mmal_port_connect_tunnel(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *src, struct vchiq_mmal_port *dst) vchiq_mmal_port_connect_tunnel() argument
1592 vchiq_mmal_submit_buffer(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, struct mmal_buffer *buffer) vchiq_mmal_submit_buffer() argument
1611 mmal_vchi_buffer_init(struct vchiq_mmal_instance *instance, struct mmal_buffer *buf) mmal_vchi_buffer_init() argument
1639 vchiq_mmal_component_init(struct vchiq_mmal_instance *instance, const char *name, struct vchiq_mmal_component **component_out) vchiq_mmal_component_init() argument
1739 vchiq_mmal_component_finalise(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component) vchiq_mmal_component_finalise() argument
1763 vchiq_mmal_component_enable(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component) vchiq_mmal_component_enable() argument
1789 vchiq_mmal_component_disable(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component) vchiq_mmal_component_disable() argument
1812 vchiq_mmal_version(struct vchiq_mmal_instance *instance, u32 *major_out, u32 *minor_out) vchiq_mmal_version() argument
1828 vchiq_mmal_finalise(struct vchiq_mmal_instance *instance) vchiq_mmal_finalise() argument
1864 struct vchiq_mmal_instance *instance; vchiq_mmal_init() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Darct_reg_init.c34 adev->reg_offset[GC_HWIP][i] = (uint32_t *)(&(GC_BASE.instance[i])); in arct_reg_base_init()
35 adev->reg_offset[HDP_HWIP][i] = (uint32_t *)(&(HDP_BASE.instance[i])); in arct_reg_base_init()
36 adev->reg_offset[MMHUB_HWIP][i] = (uint32_t *)(&(MMHUB_BASE.instance[i])); in arct_reg_base_init()
37 adev->reg_offset[ATHUB_HWIP][i] = (uint32_t *)(&(ATHUB_BASE.instance[i])); in arct_reg_base_init()
38 adev->reg_offset[NBIO_HWIP][i] = (uint32_t *)(&(NBIF0_BASE.instance[i])); in arct_reg_base_init()
39 adev->reg_offset[MP0_HWIP][i] = (uint32_t *)(&(MP0_BASE.instance[i])); in arct_reg_base_init()
40 adev->reg_offset[MP1_HWIP][i] = (uint32_t *)(&(MP1_BASE.instance[i])); in arct_reg_base_init()
41 adev->reg_offset[UVD_HWIP][i] = (uint32_t *)(&(UVD_BASE.instance[i])); in arct_reg_base_init()
42 adev->reg_offset[DF_HWIP][i] = (uint32_t *)(&(DF_BASE.instance[i])); in arct_reg_base_init()
43 adev->reg_offset[OSSSYS_HWIP][i] = (uint32_t *)(&(OSSSYS_BASE.instance[ in arct_reg_base_init()
[all...]

Completed in 34 milliseconds

12345678910>>...34