Searched refs:buf_fmt (Results 1 – 7 of 7) sorted by relevance
272 u8 fmt = cmd->buf_fmt >> 4; in data_out_desc_size()314 format = srp_cmd->buf_fmt >> 4; in srp_transfer_data()316 format = srp_cmd->buf_fmt & ((1U << 4) - 1); in srp_transfer_data()347 fmt = cmd->buf_fmt >> 4; in srp_data_length()349 fmt = cmd->buf_fmt & ((1U << 4) - 1); in srp_data_length()395 if (srp_cmd->buf_fmt & 0xf) in srp_get_desc_table()397 else if (srp_cmd->buf_fmt >> 4) in srp_get_desc_table()401 if (((srp_cmd->buf_fmt & 0xf) == SRP_DATA_DESC_DIRECT) || in srp_get_desc_table()402 ((srp_cmd->buf_fmt >> 4) == SRP_DATA_DESC_DIRECT)) { in srp_get_desc_table()406 } else if (((srp_cmd->buf_fmt & 0xf) == SRP_DATA_DESC_INDIRECT) || in srp_get_desc_table()[all …]
124 return (cmd->buf_fmt >> 4) ? DMA_TO_DEVICE : DMA_FROM_DEVICE; in srp_cmd_direction()
2119 fmt = (struct format_code *)&rsp->buf_fmt; in ibmvscsis_login_rsp()2177 fmt = (struct format_code *)&rej->buf_fmt; in ibmvscsis_srp_login_rej()
181 __be16 buf_fmt; member192 __be16 buf_fmt; member236 u8 buf_fmt; member
625 srp_cmd->buf_fmt = fmt << 4; in set_srp_direction()627 srp_cmd->buf_fmt = fmt; in set_srp_direction()642 out_fmt = cmd->buf_fmt >> 4; in unmap_cmd_data()643 in_fmt = cmd->buf_fmt & ((1U << 4) - 1); in unmap_cmd_data()1063 out_fmt = srp_cmd->buf_fmt >> 4; in ibmvscsi_queuecommand_lck()1064 in_fmt = srp_cmd->buf_fmt & ((1U << 4) - 1); in ibmvscsi_queuecommand_lck()
1025 if (srp_cmd->buf_fmt & 0xf) in srpt_get_desc_tbl()1028 else if (srp_cmd->buf_fmt >> 4) in srpt_get_desc_tbl()1037 if (((srp_cmd->buf_fmt & 0xf) == SRP_DATA_DESC_DIRECT) || in srpt_get_desc_tbl()1038 ((srp_cmd->buf_fmt >> 4) == SRP_DATA_DESC_DIRECT)) { in srpt_get_desc_tbl()1043 } else if (((srp_cmd->buf_fmt & 0xf) == SRP_DATA_DESC_INDIRECT) || in srpt_get_desc_tbl()1044 ((srp_cmd->buf_fmt >> 4) == SRP_DATA_DESC_INDIRECT)) { in srpt_get_desc_tbl()1062 } else if ((srp_cmd->buf_fmt >> 4) == SRP_DATA_DESC_IMM) { in srpt_get_desc_tbl()2374 rsp->buf_fmt = cpu_to_be16(SRP_BUF_FORMAT_DIRECT | in srpt_cm_req_recv()2462 rej->buf_fmt = cpu_to_be16(SRP_BUF_FORMAT_DIRECT | in srpt_cm_req_recv()
1975 cmd->buf_fmt = fmt << 4; in srp_map_data()1977 cmd->buf_fmt = fmt; in srp_map_data()