Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_init_ops.c284 u32 addr = GET_FIELD(data, INIT_WRITE_OP_ADDRESS) << 2; in qed_init_cmd_array()
297 switch (GET_FIELD(data, INIT_ARRAY_RAW_HDR_TYPE)) { in qed_init_cmd_array()
300 input_len = GET_FIELD(data, in qed_init_cmd_array()
320 u32 repeats = GET_FIELD(data, in qed_init_cmd_array()
324 size = GET_FIELD(data, INIT_ARRAY_PATTERN_HDR_PATTERN_SIZE); in qed_init_cmd_array()
337 size = GET_FIELD(data, INIT_ARRAY_STANDARD_HDR_SIZE); in qed_init_cmd_array()
354 bool b_must_dmae = GET_FIELD(data, INIT_WRITE_OP_WIDE_BUS); in qed_init_cmd_wr()
355 u32 addr = GET_FIELD(data, INIT_WRITE_OP_ADDRESS) << 2; in qed_init_cmd_wr()
367 switch (GET_FIELD(data, INIT_WRITE_OP_SOURCE)) { in qed_init_cmd_wr()
419 addr = GET_FIELD(data, INIT_READ_OP_ADDRESS) << 2; in qed_init_cmd_rd()
[all …]
Dqed_debug.c362 (GET_FIELD((block)->flags, DBG_BLOCK_CHIP_HAS_LATENCY_EVENTS) ? 2 : 1)
1302 rst_reg_removed = GET_FIELD(rst_reg->data, in qed_update_blocks_reset_state()
1304 rst_reg_addr = DWORDS_TO_BYTES(GET_FIELD(rst_reg->data, in qed_update_blocks_reset_state()
1319 is_removed = GET_FIELD(blk->flags, DBG_BLOCK_CHIP_IS_REMOVED); in qed_update_blocks_reset_state()
1320 has_rst_reg = GET_FIELD(blk->flags, in qed_update_blocks_reset_state()
1390 DWORDS_TO_BYTES(GET_FIELD(reset_reg->data, DBG_RESET_REG_ADDR)); in qed_bus_reset_dbg_block()
1445 if (GET_FIELD(block_per_chip->flags, in qed_bus_disable_blocks()
1451 if (GET_FIELD(block_per_chip->flags, in qed_bus_disable_blocks()
1456 GET_FIELD(block_per_chip->dbg_bus_mode.data, in qed_bus_disable_blocks()
1459 GET_FIELD(block_per_chip->dbg_bus_mode.data, in qed_bus_disable_blocks()
[all …]
Dqed_int.c134 (u8) GET_FIELD(data, ATTENTION_INCORRECT_ACCESS_PF_ID), in qed_pswhst_attn_cb()
135 (u8) GET_FIELD(data, ATTENTION_INCORRECT_ACCESS_VF_ID), in qed_pswhst_attn_cb()
136 (u8) GET_FIELD(data, in qed_pswhst_attn_cb()
138 (u8) GET_FIELD(data, in qed_pswhst_attn_cb()
140 (u8) GET_FIELD(data, ATTENTION_INCORRECT_ACCESS_WR), in qed_pswhst_attn_cb()
141 (u8) GET_FIELD(data, in qed_pswhst_attn_cb()
202 GET_FIELD(tmp, QED_GRC_ATTENTION_ADDRESS) << 2, in qed_grc_attn_cb()
203 attn_master_to_str(GET_FIELD(tmp, QED_GRC_ATTENTION_MASTER)), in qed_grc_attn_cb()
204 GET_FIELD(tmp2, QED_GRC_ATTENTION_PF), in qed_grc_attn_cb()
205 (GET_FIELD(tmp2, QED_GRC_ATTENTION_PRIV) == in qed_grc_attn_cb()
[all …]
Dqed_roce.c538 GET_FIELD(modify_flags, in qed_roce_sp_modify_responder()
542 GET_FIELD(modify_flags, QED_ROCE_MODIFY_QP_VALID_PKEY)); in qed_roce_sp_modify_responder()
545 GET_FIELD(modify_flags, in qed_roce_sp_modify_responder()
549 GET_FIELD(modify_flags, in qed_roce_sp_modify_responder()
553 GET_FIELD(modify_flags, in qed_roce_sp_modify_responder()
620 GET_FIELD(modify_flags, QED_ROCE_MODIFY_QP_VALID_PKEY)); in qed_roce_sp_modify_requester()
623 GET_FIELD(modify_flags, in qed_roce_sp_modify_requester()
627 GET_FIELD(modify_flags, in qed_roce_sp_modify_requester()
631 GET_FIELD(modify_flags, in qed_roce_sp_modify_requester()
635 GET_FIELD(modify_flags, QED_ROCE_MODIFY_QP_VALID_RETRY_CNT)); in qed_roce_sp_modify_requester()
[all …]
Dqed_rdma.c1355 qp->edpm_mode = GET_FIELD(in_params->flags, QED_ROCE_EDPM_MODE); in qed_rdma_create_qp()
1388 if (GET_FIELD(params->modify_flags, in qed_rdma_modify_qp()
1396 if (GET_FIELD(params->modify_flags, QED_ROCE_MODIFY_QP_VALID_ROCE_MODE)) in qed_rdma_modify_qp()
1398 if (GET_FIELD(params->modify_flags, QED_ROCE_MODIFY_QP_VALID_PKEY)) in qed_rdma_modify_qp()
1400 if (GET_FIELD(params->modify_flags, in qed_rdma_modify_qp()
1403 if (GET_FIELD(params->modify_flags, QED_ROCE_MODIFY_QP_VALID_DEST_QP)) in qed_rdma_modify_qp()
1405 if (GET_FIELD(params->modify_flags, in qed_rdma_modify_qp()
1431 if (GET_FIELD(params->modify_flags, QED_ROCE_MODIFY_QP_VALID_RQ_PSN)) in qed_rdma_modify_qp()
1433 if (GET_FIELD(params->modify_flags, QED_ROCE_MODIFY_QP_VALID_SQ_PSN)) in qed_rdma_modify_qp()
1435 if (GET_FIELD(params->modify_flags, in qed_rdma_modify_qp()
[all …]
Dqed_hw.c292 if (!GET_FIELD(fid, PXP_CONCRETE_FID_VFVALID)) in qed_fid_pretend()
293 fid = GET_FIELD(fid, PXP_CONCRETE_FID_PFID); in qed_fid_pretend()
347 if (!GET_FIELD(fid, PXP_CONCRETE_FID_VFVALID)) in qed_port_fid_pretend()
348 fid = GET_FIELD(fid, PXP_CONCRETE_FID_PFID); in qed_port_fid_pretend()
370 ((params) != NULL && GET_FIELD((params)->flags, QED_DMAE_PARAMS_##flag))
Dqed.h897 u8 vfid = GET_FIELD(concrete_fid, PXP_CONCRETE_FID_VFID); in qed_concrete_to_sw_fid()
898 u8 pfid = GET_FIELD(concrete_fid, PXP_CONCRETE_FID_PFID); in qed_concrete_to_sw_fid()
899 u8 vf_valid = GET_FIELD(concrete_fid, in qed_concrete_to_sw_fid()
Dqed_l2.c2098 timer_res = GET_FIELD(le32_to_cpu(sb_entry.params), in qed_get_rxq_coalesce()
2105 is_valid = GET_FIELD(coalesce, COALESCING_TIMESET_VALID); in qed_get_rxq_coalesce()
2109 coalesce = GET_FIELD(coalesce, COALESCING_TIMESET_TIMESET); in qed_get_rxq_coalesce()
2132 timer_res = GET_FIELD(le32_to_cpu(sb_entry.params), in qed_get_txq_coalesce()
2139 is_valid = GET_FIELD(coalesce, COALESCING_TIMESET_VALID); in qed_get_txq_coalesce()
2143 coalesce = GET_FIELD(coalesce, COALESCING_TIMESET_TIMESET); in qed_get_txq_coalesce()
Dqed_init_fw_funcs.c1621 storm_buf_size = GET_FIELD(hdr->data, in qed_fw_overlay_mem_alloc()
1623 storm_id = GET_FIELD(hdr->data, FW_OVERLAY_BUF_HDR_STORM_ID); in qed_fw_overlay_mem_alloc()
Dqed_spq.c360 if (GET_FIELD(p_eqe->flags, EVENT_RING_ENTRY_ASYNC)) { in qed_eq_completion()
Dqed_iwarp.c1970 (GET_FIELD((_curr_pkt)->flags, \
2381 if (GET_FIELD(data->parse_flags, in qed_iwarp_ll2_comp_syn_pkt()
2383 GET_FIELD(data->parse_flags, PARSING_AND_ERR_FLAGS_L4CHKSMERROR)) { in qed_iwarp_ll2_comp_syn_pkt()
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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.c637 GET_FIELD(cqe_err_bits, CQE_ERROR_BITMAP_UNDER_RUN_ERR))) { in qedi_scsi_completion()
892 GET_FIELD(cqe_err_bits, in qedi_fp_process_cqes()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dvas.h33 #define GET_FIELD(m, v) (((v) & (m)) >> MASK_LSH(m)) macro
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dvas-window.c1198 mode = GET_FIELD(VAS_WINCTL_TX_WCRED_MODE, val); in poll_window_credits()
1200 mode = GET_FIELD(VAS_WINCTL_RX_WCRED_MODE, val); in poll_window_credits()
1207 creds = GET_FIELD(VAS_TX_WCRED, val); in poll_window_credits()
1210 creds = GET_FIELD(VAS_LRX_WCRED, val); in poll_window_credits()
1251 busy = GET_FIELD(VAS_WIN_BUSY, val); in poll_window_busy_state()
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dpsb_intel_reg.h1281 #define GET_FIELD(word, field) (((word) & field ## _MASK) >> field ## _SHIFT) macro
/kernel/linux/linux-5.10/arch/m68k/include/asm/
DMC68EZ328.h23 #define GET_FIELD(reg, field) (((reg) & field##_MASK) >> field##_SHIFT) macro
DMC68VZ328.h25 #define GET_FIELD(reg, field) (((reg) & field##_MASK) >> field##_SHIFT) macro
DMC68328.h22 #define GET_FIELD(reg, field) (((reg) & field##_MASK) >> field##_SHIFT) macro
/kernel/linux/linux-5.10/include/linux/qed/
Dqed_if.h1165 #define GET_FIELD(value, name) \ macro
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c1089 fid = GET_FIELD((val), IGU_REG_MAPPING_MEMORY_FID); in bnx2x_get_vf_igu_cam_info()
1099 GET_FIELD((val), IGU_REG_MAPPING_MEMORY_VECTOR)); in bnx2x_get_vf_igu_cam_info()

12