Home
last modified time | relevance | path

Searched refs:bf_set (Results 1 – 12 of 12) sorted by relevance

/linux-5.19.10/drivers/scsi/lpfc/
Dlpfc_mbox.c1852 bf_set(lpfc_mqe_command, &mbox->u.mqe, MBX_SLI4_CONFIG); in lpfc_sli4_config()
1860 bf_set(lpfc_mbox_hdr_emb, &sli4_config->header.cfg_mhdr, 1); in lpfc_sli4_config()
1863 bf_set(lpfc_mbox_hdr_opcode, in lpfc_sli4_config()
1865 bf_set(lpfc_mbox_hdr_subsystem, in lpfc_sli4_config()
1915 bf_set(lpfc_mbox_hdr_sge_cnt, &sli4_config->header.cfg_mhdr, pagen); in lpfc_sli4_config()
1919 bf_set(lpfc_mbox_hdr_opcode, &cfg_shdr->request, opcode); in lpfc_sli4_config()
1920 bf_set(lpfc_mbox_hdr_subsystem, &cfg_shdr->request, subsystem); in lpfc_sli4_config()
1968 bf_set(lpfc_mbx_alloc_rsrc_extents_type, in lpfc_sli4_mbox_rsrc_extent()
1973 bf_set(lpfc_mbx_alloc_rsrc_extents_type, in lpfc_sli4_mbox_rsrc_extent()
1985 bf_set(lpfc_mbx_alloc_rsrc_extents_cnt, in lpfc_sli4_mbox_rsrc_extent()
[all …]
Dlpfc_nvmet.c97 bf_set(wqe_cmnd, &wqe->fcp_tsend.wqe_com, CMD_FCP_TSEND64_WQE); in lpfc_nvmet_cmd_template()
98 bf_set(wqe_pu, &wqe->fcp_tsend.wqe_com, PARM_REL_OFF); in lpfc_nvmet_cmd_template()
99 bf_set(wqe_class, &wqe->fcp_tsend.wqe_com, CLASS3); in lpfc_nvmet_cmd_template()
100 bf_set(wqe_ct, &wqe->fcp_tsend.wqe_com, SLI4_CT_RPI); in lpfc_nvmet_cmd_template()
101 bf_set(wqe_ar, &wqe->fcp_tsend.wqe_com, 1); in lpfc_nvmet_cmd_template()
108 bf_set(wqe_xchg, &wqe->fcp_tsend.wqe_com, LPFC_NVME_XCHG); in lpfc_nvmet_cmd_template()
109 bf_set(wqe_dbde, &wqe->fcp_tsend.wqe_com, 1); in lpfc_nvmet_cmd_template()
110 bf_set(wqe_wqes, &wqe->fcp_tsend.wqe_com, 0); in lpfc_nvmet_cmd_template()
111 bf_set(wqe_xc, &wqe->fcp_tsend.wqe_com, 1); in lpfc_nvmet_cmd_template()
112 bf_set(wqe_iod, &wqe->fcp_tsend.wqe_com, LPFC_WQE_IOD_WRITE); in lpfc_nvmet_cmd_template()
[all …]
Dlpfc_sli.c121 bf_set(wqe_cmnd, &wqe->fcp_iread.wqe_com, CMD_FCP_IREAD64_WQE); in lpfc_wqe_cmd_template()
122 bf_set(wqe_pu, &wqe->fcp_iread.wqe_com, PARM_READ_CHECK); in lpfc_wqe_cmd_template()
123 bf_set(wqe_class, &wqe->fcp_iread.wqe_com, CLASS3); in lpfc_wqe_cmd_template()
124 bf_set(wqe_ct, &wqe->fcp_iread.wqe_com, SLI4_CT_RPI); in lpfc_wqe_cmd_template()
131 bf_set(wqe_qosd, &wqe->fcp_iread.wqe_com, 0); in lpfc_wqe_cmd_template()
132 bf_set(wqe_iod, &wqe->fcp_iread.wqe_com, LPFC_WQE_IOD_READ); in lpfc_wqe_cmd_template()
133 bf_set(wqe_lenloc, &wqe->fcp_iread.wqe_com, LPFC_WQE_LENLOC_WORD4); in lpfc_wqe_cmd_template()
134 bf_set(wqe_dbde, &wqe->fcp_iread.wqe_com, 0); in lpfc_wqe_cmd_template()
135 bf_set(wqe_wqes, &wqe->fcp_iread.wqe_com, 1); in lpfc_wqe_cmd_template()
138 bf_set(wqe_cmd_type, &wqe->fcp_iread.wqe_com, COMMAND_DATA_IN); in lpfc_wqe_cmd_template()
[all …]
Dlpfc_nvme.c459 bf_set(wqe_dfctl, &wqe->gen_req.wge_ctl, 0); in lpfc_nvme_gen_req()
460 bf_set(wqe_si, &wqe->gen_req.wge_ctl, 1); in lpfc_nvme_gen_req()
461 bf_set(wqe_la, &wqe->gen_req.wge_ctl, 1); in lpfc_nvme_gen_req()
462 bf_set(wqe_rctl, &wqe->gen_req.wge_ctl, FC_RCTL_ELS4_REQ); in lpfc_nvme_gen_req()
463 bf_set(wqe_type, &wqe->gen_req.wge_ctl, FC_TYPE_NVME); in lpfc_nvme_gen_req()
466 bf_set(wqe_ctxt_tag, &wqe->gen_req.wqe_com, in lpfc_nvme_gen_req()
468 bf_set(wqe_xri_tag, &wqe->gen_req.wqe_com, genwqe->sli4_xritag); in lpfc_nvme_gen_req()
471 bf_set(wqe_tmo, &wqe->gen_req.wqe_com, tmo); in lpfc_nvme_gen_req()
472 bf_set(wqe_class, &wqe->gen_req.wqe_com, CLASS3); in lpfc_nvme_gen_req()
473 bf_set(wqe_cmnd, &wqe->gen_req.wqe_com, CMD_GEN_REQUEST64_WQE); in lpfc_nvme_gen_req()
[all …]
Dlpfc_scsi.c107 bf_set(lpfc_sli4_sge_last, sgl, 1); in lpfc_sli4_set_rsp_sgl_last()
720 bf_set(lpfc_sli4_sge_last, sgl, 0); in lpfc_get_scsi_buf_s4()
730 bf_set(lpfc_sli4_sge_last, sgl, 1); in lpfc_get_scsi_buf_s4()
1635 bf_set(pde5_type, pde5, LPFC_PDE5_DESCRIPTOR); in lpfc_bg_setup_bpl()
1648 bf_set(pde6_type, pde6, LPFC_PDE6_DESCRIPTOR); in lpfc_bg_setup_bpl()
1649 bf_set(pde6_optx, pde6, txop); in lpfc_bg_setup_bpl()
1650 bf_set(pde6_oprx, pde6, rxop); in lpfc_bg_setup_bpl()
1658 bf_set(pde6_ce, pde6, checking); in lpfc_bg_setup_bpl()
1660 bf_set(pde6_ce, pde6, 0); in lpfc_bg_setup_bpl()
1663 bf_set(pde6_re, pde6, checking); in lpfc_bg_setup_bpl()
[all …]
Dlpfc_els.c1321 bf_set(wqe_ct, &wqe->els_req.wqe_com, ct); in lpfc_issue_els_flogi()
1324 bf_set(wqe_ctxt_tag, &wqe->els_req.wqe_com, in lpfc_issue_els_flogi()
1393 bf_set(wqe_ctxt_tag, in lpfc_issue_els_flogi()
1396 bf_set(wqe_rcvoxid, in lpfc_issue_els_flogi()
2533 bf_set(prli_type_code, npr_nvme, PRLI_NVME_TYPE); in lpfc_issue_els_prli()
2534 bf_set(prli_estabImagePair, npr_nvme, 0); /* Should be 0 */ in lpfc_issue_els_prli()
2536 bf_set(prli_nsler, npr_nvme, 1); in lpfc_issue_els_prli()
2537 bf_set(prli_conf, npr_nvme, 1); in lpfc_issue_els_prli()
2543 bf_set(prli_fba, npr_nvme, 1); in lpfc_issue_els_prli()
2546 bf_set(prli_tgt, npr_nvme, 1); in lpfc_issue_els_prli()
[all …]
Dlpfc_bsg.c718 bf_set(wqe_ctxt_tag, &cmdiocbq->wqe.generic.wqe_com, in lpfc_bsg_rport_els()
1893 bf_set(lpfc_mbx_set_diag_state_diag_bit_valid, &link_diag_state->u.req, in lpfc_sli4_bsg_set_link_diag_state()
1895 bf_set(lpfc_mbx_set_diag_state_link_num, &link_diag_state->u.req, in lpfc_sli4_bsg_set_link_diag_state()
1897 bf_set(lpfc_mbx_set_diag_state_link_type, &link_diag_state->u.req, in lpfc_sli4_bsg_set_link_diag_state()
1900 bf_set(lpfc_mbx_set_diag_state_diag, in lpfc_sli4_bsg_set_link_diag_state()
1903 bf_set(lpfc_mbx_set_diag_state_diag, in lpfc_sli4_bsg_set_link_diag_state()
1951 bf_set(lpfc_mbx_set_diag_state_link_num, in lpfc_sli4_bsg_set_loopback_mode()
1955 bf_set(lpfc_mbx_set_diag_state_link_type, in lpfc_sli4_bsg_set_loopback_mode()
1958 bf_set(lpfc_mbx_set_diag_state_link_type, in lpfc_sli4_bsg_set_loopback_mode()
1963 bf_set(lpfc_mbx_set_diag_lpbk_type, &link_diag_loopback->u.req, in lpfc_sli4_bsg_set_loopback_mode()
[all …]
Dlpfc.h1767 bf_set(lpfc_sliport_eqdelay_id, &reg_data, eq->queue_id); in lpfc_sli4_mod_hba_eq_delay()
1768 bf_set(lpfc_sliport_eqdelay_delay, &reg_data, delay); in lpfc_sli4_mod_hba_eq_delay()
Dlpfc_init.c5498 bf_set(lpfc_mbx_read_top_att_type, la, att_type); in lpfc_sli4_async_link_evt()
5499 bf_set(lpfc_mbx_read_top_link_spd, la, in lpfc_sli4_async_link_evt()
5503 bf_set(lpfc_mbx_read_top_topology, la, LPFC_TOPOLOGY_PT_PT); in lpfc_sli4_async_link_evt()
5504 bf_set(lpfc_mbx_read_top_alpa_granted, la, 0); in lpfc_sli4_async_link_evt()
5505 bf_set(lpfc_mbx_read_top_il, la, 0); in lpfc_sli4_async_link_evt()
5506 bf_set(lpfc_mbx_read_top_pb, la, 0); in lpfc_sli4_async_link_evt()
5507 bf_set(lpfc_mbx_read_top_fa, la, 0); in lpfc_sli4_async_link_evt()
5508 bf_set(lpfc_mbx_read_top_mm, la, 0); in lpfc_sli4_async_link_evt()
6421 bf_set(lpfc_mbx_read_top_att_type, la, in lpfc_sli4_async_fc_evt()
6424 bf_set(lpfc_mbx_read_top_att_type, la, in lpfc_sli4_async_fc_evt()
[all …]
Dlpfc_hw4.h59 #define bf_set(name, ptr, value) \ macro
68 #define set_job_ulpstatus(x, y) bf_set(lpfc_wcqe_c_status, &(x)->wcqe_cmpl, y)
Dlpfc_nportdisc.c192 bf_set(lpfc_wcqe_c_status, &rspiocb->wcqe_cmpl, in lpfc_check_elscmpl_iocb()
Dlpfc_attr.c1889 bf_set(lpfc_mbx_set_trunk_mode, in lpfc_set_trunking()