/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_init_ops.c | 284 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 …]
|
D | qed_debug.c | 362 (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 …]
|
D | qed_int.c | 134 (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 …]
|
D | qed_roce.c | 538 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 …]
|
D | qed_rdma.c | 1355 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 …]
|
D | qed_hw.c | 292 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))
|
D | qed.h | 897 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()
|
D | qed_l2.c | 2098 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()
|
D | qed_init_fw_funcs.c | 1621 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()
|
D | qed_spq.c | 360 if (GET_FIELD(p_eqe->flags, EVENT_RING_ENTRY_ASYNC)) { in qed_eq_completion()
|
D | qed_iwarp.c | 1970 (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/ |
D | rt2x00reg.h | 244 #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/ |
D | ntb_hw_idt.c | 487 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 …]
|
D | ntb_hw_idt.h | 949 #define GET_FIELD(field, data) \ macro
|
/kernel/linux/linux-5.10/drivers/scsi/qedi/ |
D | qedi_fw_api.c | 139 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()
|
D | qedi_fw.c | 637 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/ |
D | vas.h | 33 #define GET_FIELD(m, v) (((v) & (m)) >> MASK_LSH(m)) macro
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
D | vas-window.c | 1198 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/ |
D | psb_intel_reg.h | 1281 #define GET_FIELD(word, field) (((word) & field ## _MASK) >> field ## _SHIFT) macro
|
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
D | MC68EZ328.h | 23 #define GET_FIELD(reg, field) (((reg) & field##_MASK) >> field##_SHIFT) macro
|
D | MC68VZ328.h | 25 #define GET_FIELD(reg, field) (((reg) & field##_MASK) >> field##_SHIFT) macro
|
D | MC68328.h | 22 #define GET_FIELD(reg, field) (((reg) & field##_MASK) >> field##_SHIFT) macro
|
/kernel/linux/linux-5.10/include/linux/qed/ |
D | qed_if.h | 1165 #define GET_FIELD(value, name) \ macro
|
/kernel/linux/linux-5.10/drivers/iommu/ |
D | msm_iommu_hw-8xxx.h | 24 #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/ |
D | bnx2x_sriov.c | 1089 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()
|