/drivers/net/ethernet/qlogic/qed/ |
D | qed_init_ops.c | 240 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 …]
|
D | qed_int.c | 159 (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 …]
|
D | qed_debug.c | 2366 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 …]
|
D | qed_roce.c | 533 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 …]
|
D | qed_rdma.c | 1305 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 …]
|
D | qed.h | 767 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()
|
D | qed_hw.c | 318 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()
|
D | qed_l2.c | 2069 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()
|
D | qed_iwarp.c | 1755 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()
|
D | qed_spq.c | 392 if (GET_FIELD(p_eqe->flags, EVENT_RING_ENTRY_ASYNC)) { in qed_eq_completion()
|
D | qed_vf.c | 106 GET_FIELD(p_hwfn->hw_info.concrete_fid, in qed_send_msg2pf()
|
D | qed_iscsi.c | 358 if (!GET_FIELD(p_ramrod->iscsi.flags, in qed_sp_iscsi_conn_offload()
|
D | qed_dev.c | 2072 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()
|
D | qed_sriov.c | 91 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/ |
D | rt2x00reg.h | 255 #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/ |
D | qedi_fw_api.c | 141 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()
|
D | qedi_fw.c | 661 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/ |
D | ntb_hw_idt.c | 486 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()
|
D | ntb_hw_idt.h | 902 #define GET_FIELD(field, data) \ macro
|
/drivers/gpu/drm/gma500/ |
D | psb_intel_reg.h | 1293 #define GET_FIELD(word, field) (((word) & field ## _MASK) >> field ## _SHIFT) macro
|
/drivers/iommu/ |
D | msm_iommu_hw-8xxx.h | 37 #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/ |
D | bnx2x_sriov.c | 1094 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()
|
D | bnx2x.h | 2496 #define GET_FIELD(value, fname) \ macro
|
/drivers/net/ethernet/qlogic/qede/ |
D | qede_fp.c | 599 htype = GET_FIELD(bitfields, ETH_FAST_PATH_RX_REG_CQE_RSS_HASH_TYPE); in qede_get_rxhash()
|
/drivers/scsi/qedf/ |
D | qedf_io.c | 1132 fw_residual_flag = GET_FIELD(cqe->cqe_info.rsp_info.fw_error_flags, in qedf_scsi_completion()
|