Lines Matching refs:frame_count
365 cmd->frame_count = 0; in megasas_return_cmd()
539 u32 frame_count, in megasas_fire_cmd_xscale() argument
545 writel((frame_phys_addr >> 3)|(frame_count), in megasas_fire_cmd_xscale()
721 u32 frame_count, in megasas_fire_cmd_ppc() argument
727 writel((frame_phys_addr | (frame_count<<1))|1, in megasas_fire_cmd_ppc()
860 u32 frame_count, in megasas_fire_cmd_skinny() argument
868 writel((lower_32_bits(frame_phys_addr) | (frame_count<<1))|1, in megasas_fire_cmd_skinny()
1001 u32 frame_count, in megasas_fire_cmd_gen2() argument
1007 writel((frame_phys_addr | (frame_count<<1))|1, in megasas_fire_cmd_gen2()
1355 u32 frame_count = 0; in megasas_get_frame_count() local
1389 frame_count = (sge_bytes / MEGAMFI_FRAME_SIZE) + in megasas_get_frame_count()
1393 frame_count += 1; in megasas_get_frame_count()
1395 if (frame_count > 7) in megasas_get_frame_count()
1396 frame_count = 8; in megasas_get_frame_count()
1397 return frame_count; in megasas_get_frame_count()
1494 cmd->frame_count = megasas_get_frame_count(instance, pthru->sge_count, in megasas_build_dcdb()
1497 return cmd->frame_count; in megasas_build_dcdb()
1633 cmd->frame_count = megasas_get_frame_count(instance, in megasas_build_ldio()
1636 return cmd->frame_count; in megasas_build_ldio()
1703 instance->host->host_no, cmd->frame_count, ldio->cmd, ldio->target_id, in megasas_dump_pending_frames()
1712 instance->host->host_no, cmd->frame_count, pthru->cmd, pthru->target_id, in megasas_dump_pending_frames()
1745 u32 frame_count; in megasas_build_and_issue_cmd() local
1755 frame_count = megasas_build_ldio(instance, scmd, cmd); in megasas_build_and_issue_cmd()
1757 frame_count = megasas_build_dcdb(instance, scmd, cmd); in megasas_build_and_issue_cmd()
1759 if (!frame_count) in megasas_build_and_issue_cmd()
1771 cmd->frame_count-1, instance->reg_set); in megasas_build_and_issue_cmd()
3865 cmd->frame_count-1, instance->reg_set); in megasas_issue_pending_cmds_again()
4329 u32 frame_count; in megasas_create_frame_pool() local
4345 frame_count = (instance->adapter_type == MFI_SERIES) ? in megasas_create_frame_pool()
4347 instance->mfi_frame_size = MEGAMFI_FRAME_SIZE * frame_count; in megasas_create_frame_pool()