Home
last modified time | relevance | path

Searched refs:GET_FIELD (Results 1 – 25 of 29) sorted by relevance

12

/drivers/net/ethernet/qlogic/qed/
Dqed_init_ops.c240 u32 addr = GET_FIELD(data, INIT_WRITE_OP_ADDRESS) << 2; in qed_init_cmd_array()
253 switch (GET_FIELD(data, INIT_ARRAY_RAW_HDR_TYPE)) { in qed_init_cmd_array()
256 input_len = GET_FIELD(data, in qed_init_cmd_array()
276 u32 repeats = GET_FIELD(data, in qed_init_cmd_array()
280 size = GET_FIELD(data, INIT_ARRAY_PATTERN_HDR_PATTERN_SIZE); in qed_init_cmd_array()
293 size = GET_FIELD(data, INIT_ARRAY_STANDARD_HDR_SIZE); in qed_init_cmd_array()
310 bool b_must_dmae = GET_FIELD(data, INIT_WRITE_OP_WIDE_BUS); in qed_init_cmd_wr()
311 u32 addr = GET_FIELD(data, INIT_WRITE_OP_ADDRESS) << 2; in qed_init_cmd_wr()
323 switch (GET_FIELD(data, INIT_WRITE_OP_SOURCE)) { in qed_init_cmd_wr()
375 addr = GET_FIELD(data, INIT_READ_OP_ADDRESS) << 2; in qed_init_cmd_rd()
[all …]
Dqed_int.c159 (u8) GET_FIELD(data, ATTENTION_INCORRECT_ACCESS_PF_ID), in qed_pswhst_attn_cb()
160 (u8) GET_FIELD(data, ATTENTION_INCORRECT_ACCESS_VF_ID), in qed_pswhst_attn_cb()
161 (u8) GET_FIELD(data, in qed_pswhst_attn_cb()
163 (u8) GET_FIELD(data, in qed_pswhst_attn_cb()
165 (u8) GET_FIELD(data, ATTENTION_INCORRECT_ACCESS_WR), in qed_pswhst_attn_cb()
166 (u8) GET_FIELD(data, in qed_pswhst_attn_cb()
227 GET_FIELD(tmp, QED_GRC_ATTENTION_ADDRESS) << 2, in qed_grc_attn_cb()
228 attn_master_to_str(GET_FIELD(tmp, QED_GRC_ATTENTION_MASTER)), in qed_grc_attn_cb()
229 GET_FIELD(tmp2, QED_GRC_ATTENTION_PF), in qed_grc_attn_cb()
230 (GET_FIELD(tmp2, QED_GRC_ATTENTION_PRIV) == in qed_grc_attn_cb()
[all …]
Dqed_debug.c2366 eval_mode = GET_FIELD(reg_data->mode.data, in qed_grc_clear_all_prty()
2369 GET_FIELD(reg_data->mode.data, in qed_grc_clear_all_prty()
2533 eval_mode = GET_FIELD(cond_hdr->mode.data, in qed_grc_dump_regs_entries()
2537 GET_FIELD(cond_hdr->mode.data, in qed_grc_dump_regs_entries()
2555 addr = GET_FIELD(reg->data, DBG_DUMP_REG_ADDRESS); in qed_grc_dump_regs_entries()
2556 len = GET_FIELD(reg->data, DBG_DUMP_REG_LENGTH); in qed_grc_dump_regs_entries()
2557 wide_bus = GET_FIELD(reg->data, DBG_DUMP_REG_WIDE_BUS); in qed_grc_dump_regs_entries()
2647 GET_FIELD(split_hdr->hdr, in qed_grc_dump_registers()
2650 GET_FIELD(split_hdr->hdr, in qed_grc_dump_registers()
2822 eval_mode = GET_FIELD(reg_data->mode.data, in qed_grc_dump_modified_regs()
[all …]
Dqed_roce.c533 GET_FIELD(modify_flags, in qed_roce_sp_modify_responder()
538 GET_FIELD(modify_flags, QED_ROCE_MODIFY_QP_VALID_PKEY)); in qed_roce_sp_modify_responder()
542 GET_FIELD(modify_flags, in qed_roce_sp_modify_responder()
547 GET_FIELD(modify_flags, in qed_roce_sp_modify_responder()
552 GET_FIELD(modify_flags, in qed_roce_sp_modify_responder()
618 GET_FIELD(modify_flags, QED_ROCE_MODIFY_QP_VALID_PKEY)); in qed_roce_sp_modify_requester()
622 GET_FIELD(modify_flags, in qed_roce_sp_modify_requester()
627 GET_FIELD(modify_flags, in qed_roce_sp_modify_requester()
632 GET_FIELD(modify_flags, in qed_roce_sp_modify_requester()
637 GET_FIELD(modify_flags, QED_ROCE_MODIFY_QP_VALID_RETRY_CNT)); in qed_roce_sp_modify_requester()
[all …]
Dqed_rdma.c1305 if (GET_FIELD(params->modify_flags, in qed_rdma_modify_qp()
1313 if (GET_FIELD(params->modify_flags, QED_ROCE_MODIFY_QP_VALID_ROCE_MODE)) in qed_rdma_modify_qp()
1315 if (GET_FIELD(params->modify_flags, QED_ROCE_MODIFY_QP_VALID_PKEY)) in qed_rdma_modify_qp()
1317 if (GET_FIELD(params->modify_flags, in qed_rdma_modify_qp()
1320 if (GET_FIELD(params->modify_flags, QED_ROCE_MODIFY_QP_VALID_DEST_QP)) in qed_rdma_modify_qp()
1322 if (GET_FIELD(params->modify_flags, in qed_rdma_modify_qp()
1348 if (GET_FIELD(params->modify_flags, QED_ROCE_MODIFY_QP_VALID_RQ_PSN)) in qed_rdma_modify_qp()
1350 if (GET_FIELD(params->modify_flags, QED_ROCE_MODIFY_QP_VALID_SQ_PSN)) in qed_rdma_modify_qp()
1352 if (GET_FIELD(params->modify_flags, in qed_rdma_modify_qp()
1355 if (GET_FIELD(params->modify_flags, in qed_rdma_modify_qp()
[all …]
Dqed.h767 u8 vfid = GET_FIELD(concrete_fid, PXP_CONCRETE_FID_VFID); in qed_concrete_to_sw_fid()
768 u8 pfid = GET_FIELD(concrete_fid, PXP_CONCRETE_FID_PFID); in qed_concrete_to_sw_fid()
769 u8 vf_valid = GET_FIELD(concrete_fid, in qed_concrete_to_sw_fid()
Dqed_hw.c318 if (!GET_FIELD(fid, PXP_CONCRETE_FID_VFVALID)) in qed_fid_pretend()
319 fid = GET_FIELD(fid, PXP_CONCRETE_FID_PFID); in qed_fid_pretend()
Dqed_l2.c2069 timer_res = GET_FIELD(sb_entry.params, CAU_SB_ENTRY_TIMER_RES0); in qed_get_rxq_coalesce()
2075 is_valid = GET_FIELD(coalesce, COALESCING_TIMESET_VALID); in qed_get_rxq_coalesce()
2079 coalesce = GET_FIELD(coalesce, COALESCING_TIMESET_TIMESET); in qed_get_rxq_coalesce()
2102 timer_res = GET_FIELD(sb_entry.params, CAU_SB_ENTRY_TIMER_RES1); in qed_get_txq_coalesce()
2108 is_valid = GET_FIELD(coalesce, COALESCING_TIMESET_VALID); in qed_get_txq_coalesce()
2112 coalesce = GET_FIELD(coalesce, COALESCING_TIMESET_TIMESET); in qed_get_txq_coalesce()
Dqed_iwarp.c1755 if (GET_FIELD(data->parse_flags, in qed_iwarp_ll2_comp_syn_pkt()
1757 GET_FIELD(data->parse_flags, PARSING_AND_ERR_FLAGS_L4CHKSMERROR)) { in qed_iwarp_ll2_comp_syn_pkt()
1781 if (GET_FIELD(data->parse_flags, in qed_iwarp_ll2_comp_syn_pkt()
Dqed_spq.c392 if (GET_FIELD(p_eqe->flags, EVENT_RING_ENTRY_ASYNC)) { in qed_eq_completion()
Dqed_vf.c106 GET_FIELD(p_hwfn->hw_info.concrete_fid, in qed_send_msg2pf()
Dqed_iscsi.c358 if (!GET_FIELD(p_ramrod->iscsi.flags, in qed_sp_iscsi_conn_offload()
Dqed_dev.c2072 p_hwfn->rel_pf_id = GET_FIELD(p_hwfn->hw_info.concrete_fid, in get_function_id()
2074 p_hwfn->port_id = GET_FIELD(p_hwfn->hw_info.concrete_fid, in get_function_id()
Dqed_sriov.c91 p_ramrod->vf_id = GET_FIELD(p_vf->concrete_fid, PXP_CONCRETE_FID_VFID); in qed_sp_vf_start()
151 p_ramrod->vf_id = GET_FIELD(concrete_vfid, PXP_CONCRETE_FID_VFID); in qed_sp_vf_stop()
/drivers/net/wireless/ralink/rt2x00/
Drt2x00reg.h255 #define GET_FIELD(__reg, __type, __field) \ macro
265 GET_FIELD(__reg, struct rt2x00_field32, __field)
270 GET_FIELD(__reg, struct rt2x00_field16, __field)
275 GET_FIELD(__reg, struct rt2x00_field8, __field)
/drivers/scsi/qedi/
Dqedi_fw_api.c141 if (GET_FIELD(pdu_header->hdr_second_dword, in init_sqe()
151 if (GET_FIELD(pdu_header->hdr_second_dword, in init_sqe()
170 u8 opcode = GET_FIELD(pdu_header->hdr_first_byte, in init_sqe()
552 GET_FIELD(pdu_header->hdr_second_dword, in init_rw_iscsi_task()
574 if (GET_FIELD(cmd_header->flags_attr, ISCSI_CMD_HDR_WRITE)) in init_initiator_rw_iscsi_task()
581 else if (GET_FIELD(cmd_header->flags_attr, ISCSI_CMD_HDR_READ) || in init_initiator_rw_iscsi_task()
Dqedi_fw.c661 GET_FIELD(cqe_err_bits, CQE_ERROR_BITMAP_UNDER_RUN_ERR))) { in qedi_scsi_completion()
922 GET_FIELD(cqe_err_bits, in qedi_fp_process_cqes()
/drivers/ntb/hw/idt/
Dntb_hw_idt.c486 ndev->port = GET_FIELD(PCIELCAP_PORTNUM, data); in idt_scan_ports()
490 ndev->part = GET_FIELD(SWPORTxSTS_SWPART, portsts); in idt_scan_ports()
509 part = GET_FIELD(SWPORTxSTS_SWPART, portsts); in idt_scan_ports()
892 *speed = GET_FIELD(PCIELCTLSTS_CLS, data); in idt_ntb_link_is_up()
894 *width = GET_FIELD(PCIELCTLSTS_NLW, data); in idt_ntb_link_is_up()
1076 mw_type = GET_FIELD(BARSETUP_ATRAN, data); in idt_scan_mws()
1078 aprt_size = (u64)1 << GET_FIELD(BARSETUP_SIZE, data); in idt_scan_mws()
1847 data = GET_FIELD(TMPSTS_TEMP, data); in idt_read_temp()
2181 idx, GET_FIELD(NTMTBLDATA_PART, data), in idt_dbgfs_info_read()
2182 GET_FIELD(NTMTBLDATA_REQID, data)); in idt_dbgfs_info_read()
Dntb_hw_idt.h902 #define GET_FIELD(field, data) \ macro
/drivers/gpu/drm/gma500/
Dpsb_intel_reg.h1293 #define GET_FIELD(word, field) (((word) & field ## _MASK) >> field ## _SHIFT) macro
/drivers/iommu/
Dmsm_iommu_hw-8xxx.h37 #define GET_GLOBAL_FIELD(b, r, F) GET_FIELD(((b) + (r)), F##_MASK, F##_SHIFT)
39 GET_FIELD(((b) + (r) + ((c) << CTX_SHIFT)), F##_MASK, F##_SHIFT)
46 #define GET_FIELD(addr, mask, shift) ((readl(addr) >> (shift)) & (mask)) macro
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c1094 fid = GET_FIELD((val), IGU_REG_MAPPING_MEMORY_FID); in bnx2x_get_vf_igu_cam_info()
1104 GET_FIELD((val), IGU_REG_MAPPING_MEMORY_VECTOR)); in bnx2x_get_vf_igu_cam_info()
Dbnx2x.h2496 #define GET_FIELD(value, fname) \ macro
/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c599 htype = GET_FIELD(bitfields, ETH_FAST_PATH_RX_REG_CQE_RSS_HASH_TYPE); in qede_get_rxhash()
/drivers/scsi/qedf/
Dqedf_io.c1132 fw_residual_flag = GET_FIELD(cqe->cqe_info.rsp_info.fw_error_flags, in qedf_scsi_completion()

12