Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/qlogic/qed/
Dqed_init_ops.c241 u32 addr = GET_FIELD(data, INIT_WRITE_OP_ADDRESS) << 2; in qed_init_cmd_array()
254 switch (GET_FIELD(data, INIT_ARRAY_RAW_HDR_TYPE)) { in qed_init_cmd_array()
257 input_len = GET_FIELD(data, in qed_init_cmd_array()
277 u32 repeats = GET_FIELD(data, in qed_init_cmd_array()
281 size = GET_FIELD(data, INIT_ARRAY_PATTERN_HDR_PATTERN_SIZE); in qed_init_cmd_array()
294 size = GET_FIELD(data, INIT_ARRAY_STANDARD_HDR_SIZE); in qed_init_cmd_array()
311 bool b_must_dmae = GET_FIELD(data, INIT_WRITE_OP_WIDE_BUS); in qed_init_cmd_wr()
312 u32 addr = GET_FIELD(data, INIT_WRITE_OP_ADDRESS) << 2; in qed_init_cmd_wr()
324 switch (GET_FIELD(data, INIT_WRITE_OP_SOURCE)) { in qed_init_cmd_wr()
376 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.c2430 eval_mode = GET_FIELD(reg_data->mode.data, in qed_grc_clear_all_prty()
2433 GET_FIELD(reg_data->mode.data, in qed_grc_clear_all_prty()
2692 eval_mode = GET_FIELD(cond_hdr->mode.data, in qed_grc_dump_regs_entries()
2696 GET_FIELD(cond_hdr->mode.data, in qed_grc_dump_regs_entries()
2714 addr = GET_FIELD(reg->data, DBG_DUMP_REG_ADDRESS); in qed_grc_dump_regs_entries()
2715 len = GET_FIELD(reg->data, DBG_DUMP_REG_LENGTH); in qed_grc_dump_regs_entries()
2716 wide_bus = GET_FIELD(reg->data, DBG_DUMP_REG_WIDE_BUS); in qed_grc_dump_regs_entries()
2810 GET_FIELD(split_hdr->hdr, in qed_grc_dump_registers()
2813 GET_FIELD(split_hdr->hdr, in qed_grc_dump_registers()
2933 eval_mode = GET_FIELD(reg_data->mode.data, in qed_grc_dump_modified_regs()
[all …]
Dqed_roce.c564 GET_FIELD(modify_flags, in qed_roce_sp_modify_responder()
569 GET_FIELD(modify_flags, QED_ROCE_MODIFY_QP_VALID_PKEY)); in qed_roce_sp_modify_responder()
573 GET_FIELD(modify_flags, in qed_roce_sp_modify_responder()
578 GET_FIELD(modify_flags, in qed_roce_sp_modify_responder()
583 GET_FIELD(modify_flags, in qed_roce_sp_modify_responder()
649 GET_FIELD(modify_flags, QED_ROCE_MODIFY_QP_VALID_PKEY)); in qed_roce_sp_modify_requester()
653 GET_FIELD(modify_flags, in qed_roce_sp_modify_requester()
658 GET_FIELD(modify_flags, in qed_roce_sp_modify_requester()
663 GET_FIELD(modify_flags, in qed_roce_sp_modify_requester()
668 GET_FIELD(modify_flags, QED_ROCE_MODIFY_QP_VALID_RETRY_CNT)); in qed_roce_sp_modify_requester()
[all …]
Dqed_rdma.c1346 if (GET_FIELD(params->modify_flags, in qed_rdma_modify_qp()
1354 if (GET_FIELD(params->modify_flags, QED_ROCE_MODIFY_QP_VALID_ROCE_MODE)) in qed_rdma_modify_qp()
1356 if (GET_FIELD(params->modify_flags, QED_ROCE_MODIFY_QP_VALID_PKEY)) in qed_rdma_modify_qp()
1358 if (GET_FIELD(params->modify_flags, in qed_rdma_modify_qp()
1361 if (GET_FIELD(params->modify_flags, QED_ROCE_MODIFY_QP_VALID_DEST_QP)) in qed_rdma_modify_qp()
1363 if (GET_FIELD(params->modify_flags, in qed_rdma_modify_qp()
1389 if (GET_FIELD(params->modify_flags, QED_ROCE_MODIFY_QP_VALID_RQ_PSN)) in qed_rdma_modify_qp()
1391 if (GET_FIELD(params->modify_flags, QED_ROCE_MODIFY_QP_VALID_SQ_PSN)) in qed_rdma_modify_qp()
1393 if (GET_FIELD(params->modify_flags, in qed_rdma_modify_qp()
1396 if (GET_FIELD(params->modify_flags, in qed_rdma_modify_qp()
[all …]
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()
373 if (!GET_FIELD(fid, PXP_CONCRETE_FID_VFVALID)) in qed_port_fid_pretend()
374 fid = GET_FIELD(fid, PXP_CONCRETE_FID_PFID); in qed_port_fid_pretend()
Dqed.h893 u8 vfid = GET_FIELD(concrete_fid, PXP_CONCRETE_FID_VFID); in qed_concrete_to_sw_fid()
894 u8 pfid = GET_FIELD(concrete_fid, PXP_CONCRETE_FID_PFID); in qed_concrete_to_sw_fid()
895 u8 vf_valid = GET_FIELD(concrete_fid, in qed_concrete_to_sw_fid()
Dqed_l2.c2116 timer_res = GET_FIELD(sb_entry.params, CAU_SB_ENTRY_TIMER_RES0); in qed_get_rxq_coalesce()
2122 is_valid = GET_FIELD(coalesce, COALESCING_TIMESET_VALID); in qed_get_rxq_coalesce()
2126 coalesce = GET_FIELD(coalesce, COALESCING_TIMESET_TIMESET); in qed_get_rxq_coalesce()
2149 timer_res = GET_FIELD(sb_entry.params, CAU_SB_ENTRY_TIMER_RES1); in qed_get_txq_coalesce()
2155 is_valid = GET_FIELD(coalesce, COALESCING_TIMESET_VALID); in qed_get_txq_coalesce()
2159 coalesce = GET_FIELD(coalesce, COALESCING_TIMESET_TIMESET); in qed_get_txq_coalesce()
Dqed_spq.c382 if (GET_FIELD(p_eqe->flags, EVENT_RING_ENTRY_ASYNC)) { in qed_eq_completion()
Dqed_iwarp.c1971 (GET_FIELD((_curr_pkt)->flags, \
2367 if (GET_FIELD(data->parse_flags, in qed_iwarp_ll2_comp_syn_pkt()
2369 GET_FIELD(data->parse_flags, PARSING_AND_ERR_FLAGS_L4CHKSMERROR)) { in qed_iwarp_ll2_comp_syn_pkt()
Dqed_vf.c106 GET_FIELD(p_hwfn->hw_info.concrete_fid, in qed_send_msg2pf()
Dqed_iscsi.c357 if (!GET_FIELD(p_ramrod->iscsi.flags, in qed_sp_iscsi_conn_offload()
Dqed_dev.c3484 p_hwfn->rel_pf_id = GET_FIELD(p_hwfn->hw_info.concrete_fid, in get_function_id()
3486 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()
152 p_ramrod->vf_id = GET_FIELD(concrete_vfid, PXP_CONCRETE_FID_VFID); in qed_sp_vf_stop()
/drivers/net/wireless/ralink/rt2x00/
Drt2x00reg.h244 #define GET_FIELD(__reg, __type, __field) \ macro
254 GET_FIELD(__reg, struct rt2x00_field32, __field)
259 GET_FIELD(__reg, struct rt2x00_field16, __field)
264 GET_FIELD(__reg, struct rt2x00_field8, __field)
/drivers/ntb/hw/idt/
Dntb_hw_idt.c487 ndev->port = GET_FIELD(PCIELCAP_PORTNUM, data); in idt_scan_ports()
491 ndev->part = GET_FIELD(SWPORTxSTS_SWPART, portsts); in idt_scan_ports()
510 part = GET_FIELD(SWPORTxSTS_SWPART, portsts); in idt_scan_ports()
891 *speed = GET_FIELD(PCIELCTLSTS_CLS, data); in idt_ntb_link_is_up()
893 *width = GET_FIELD(PCIELCTLSTS_NLW, data); in idt_ntb_link_is_up()
1075 mw_type = GET_FIELD(BARSETUP_ATRAN, data); in idt_scan_mws()
1077 aprt_size = (u64)1 << GET_FIELD(BARSETUP_SIZE, data); in idt_scan_mws()
1897 data = GET_FIELD(TMPSTS_TEMP, in idt_read_temp()
1901 data = GET_FIELD(TMPSTS_LTEMP, in idt_read_temp()
1905 data = GET_FIELD(TMPSTS_HTEMP, in idt_read_temp()
[all …]
Dntb_hw_idt.h949 #define GET_FIELD(field, data) \ macro
/drivers/scsi/qedi/
Dqedi_fw_api.c139 if (GET_FIELD(pdu_header->hdr_second_dword, in init_sqe()
150 if (GET_FIELD(pdu_header->hdr_second_dword, in init_sqe()
169 u8 opcode = GET_FIELD(pdu_header->hdr_first_byte, in init_sqe()
572 GET_FIELD(pdu_header->hdr_second_dword, in init_rw_iscsi_task()
594 if (GET_FIELD(cmd_header->flags_attr, ISCSI_CMD_HDR_WRITE)) in init_initiator_rw_iscsi_task()
601 else if (GET_FIELD(cmd_header->flags_attr, ISCSI_CMD_HDR_READ) || in init_initiator_rw_iscsi_task()
Dqedi_fw.c643 GET_FIELD(cqe_err_bits, CQE_ERROR_BITMAP_UNDER_RUN_ERR))) { in qedi_scsi_completion()
902 GET_FIELD(cqe_err_bits, in qedi_fp_process_cqes()
/drivers/gpu/drm/gma500/
Dpsb_intel_reg.h1281 #define GET_FIELD(word, field) (((word) & field ## _MASK) >> field ## _SHIFT) macro
/drivers/iommu/
Dmsm_iommu_hw-8xxx.h24 #define GET_GLOBAL_FIELD(b, r, F) GET_FIELD(((b) + (r)), F##_MASK, F##_SHIFT)
26 GET_FIELD(((b) + (r) + ((c) << CTX_SHIFT)), F##_MASK, F##_SHIFT)
33 #define GET_FIELD(addr, mask, shift) ((readl(addr) >> (shift)) & (mask)) macro
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c1097 fid = GET_FIELD((val), IGU_REG_MAPPING_MEMORY_FID); in bnx2x_get_vf_igu_cam_info()
1107 GET_FIELD((val), IGU_REG_MAPPING_MEMORY_VECTOR)); in bnx2x_get_vf_igu_cam_info()
Dbnx2x.h2500 #define GET_FIELD(value, fname) \ macro
/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c591 htype = GET_FIELD(bitfields, ETH_FAST_PATH_RX_REG_CQE_RSS_HASH_TYPE); in qede_get_rxhash()
/drivers/scsi/qedf/
Dqedf_io.c1215 fw_residual_flag = GET_FIELD(cqe->cqe_info.rsp_info.fw_error_flags, in qedf_scsi_completion()

12