Searched refs:ext_buf_cnt (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/scsi/lpfc/
H A Dlpfc_bsg.c3778 uint32_t ext_buf_cnt, ext_buf_index; lpfc_bsg_sli_cfg_read_cmd_ext() local
3793 ext_buf_cnt = bsg_bf_get(lpfc_mbox_hdr_mse_cnt, lpfc_bsg_sli_cfg_read_cmd_ext()
3795 if (ext_buf_cnt > LPFC_MBX_SLI_CONFIG_MAX_MSE) { lpfc_bsg_sli_cfg_read_cmd_ext()
3798 "ext_buf_cnt(%d) out of range(%d)\n", lpfc_bsg_sli_cfg_read_cmd_ext()
3799 ext_buf_cnt, lpfc_bsg_sli_cfg_read_cmd_ext()
3806 "ext_buf_cnt:%d\n", ext_buf_cnt); lpfc_bsg_sli_cfg_read_cmd_ext()
3815 ext_buf_cnt = sli_cfg_mbx->un.sli_config_emb1_subsys.hbd_count; lpfc_bsg_sli_cfg_read_cmd_ext()
3816 if (ext_buf_cnt > LPFC_MBX_SLI_CONFIG_MAX_HBD) { lpfc_bsg_sli_cfg_read_cmd_ext()
3819 "ext_buf_cnt(%d) out of range(%d)\n", lpfc_bsg_sli_cfg_read_cmd_ext()
3820 ext_buf_cnt, lpfc_bsg_sli_cfg_read_cmd_ext()
3827 "ext_buf_cnt:%d\n", ext_buf_cnt); lpfc_bsg_sli_cfg_read_cmd_ext()
3832 sta_pre_addr, dmabuf, ext_buf_cnt); lpfc_bsg_sli_cfg_read_cmd_ext()
3835 if (ext_buf_cnt == 0) { lpfc_bsg_sli_cfg_read_cmd_ext()
3838 } else if (ext_buf_cnt > 1) { lpfc_bsg_sli_cfg_read_cmd_ext()
3840 for (i = 1; i < ext_buf_cnt; i++) { lpfc_bsg_sli_cfg_read_cmd_ext()
3870 if (ext_buf_cnt > 1) { lpfc_bsg_sli_cfg_read_cmd_ext()
3883 sta_pos_addr, dmabuf, ext_buf_cnt); lpfc_bsg_sli_cfg_read_cmd_ext()
3895 phba->mbox_ext_buf_ctx.numBuf = ext_buf_cnt; lpfc_bsg_sli_cfg_read_cmd_ext()
3964 uint32_t ext_buf_cnt; lpfc_bsg_sli_cfg_write_cmd_ext() local
3978 ext_buf_cnt = bsg_bf_get(lpfc_mbox_hdr_mse_cnt, lpfc_bsg_sli_cfg_write_cmd_ext()
3980 if (ext_buf_cnt > LPFC_MBX_SLI_CONFIG_MAX_MSE) { lpfc_bsg_sli_cfg_write_cmd_ext()
3983 "ext_buf_cnt(%d) out of range(%d)\n", lpfc_bsg_sli_cfg_write_cmd_ext()
3984 ext_buf_cnt, lpfc_bsg_sli_cfg_write_cmd_ext()
3990 "ext_buf_cnt:%d\n", ext_buf_cnt); lpfc_bsg_sli_cfg_write_cmd_ext()
3997 ext_buf_cnt = sli_cfg_mbx->un.sli_config_emb1_subsys.hbd_count; lpfc_bsg_sli_cfg_write_cmd_ext()
3998 if (ext_buf_cnt > LPFC_MBX_SLI_CONFIG_MAX_HBD) { lpfc_bsg_sli_cfg_write_cmd_ext()
4001 "ext_buf_cnt(%d) out of range(%d)\n", lpfc_bsg_sli_cfg_write_cmd_ext()
4002 ext_buf_cnt, lpfc_bsg_sli_cfg_write_cmd_ext()
4008 "ext_buf_cnt:%d\n", ext_buf_cnt); lpfc_bsg_sli_cfg_write_cmd_ext()
4013 sta_pre_addr, dmabuf, ext_buf_cnt); lpfc_bsg_sli_cfg_write_cmd_ext()
4015 if (ext_buf_cnt == 0) lpfc_bsg_sli_cfg_write_cmd_ext()
4023 sta_pos_addr, dmabuf, ext_buf_cnt); lpfc_bsg_sli_cfg_write_cmd_ext()
4026 for (i = 1; i < ext_buf_cnt; i++) { lpfc_bsg_sli_cfg_write_cmd_ext()
4043 phba->mbox_ext_buf_ctx.numBuf = ext_buf_cnt; lpfc_bsg_sli_cfg_write_cmd_ext()
4048 if (ext_buf_cnt == 1) { lpfc_bsg_sli_cfg_write_cmd_ext()

Completed in 71 milliseconds