/linux-6.6.21/drivers/net/ethernet/qlogic/qed/ |
D | qed_init_ops.c | 302 u32 addr = GET_FIELD(data, INIT_WRITE_OP_ADDRESS) << 2; in qed_init_cmd_array() 315 switch (GET_FIELD(data, INIT_ARRAY_RAW_HDR_TYPE)) { in qed_init_cmd_array() 318 input_len = GET_FIELD(data, in qed_init_cmd_array() 338 u32 repeats = GET_FIELD(data, in qed_init_cmd_array() 342 size = GET_FIELD(data, INIT_ARRAY_PATTERN_HDR_PATTERN_SIZE); in qed_init_cmd_array() 355 size = GET_FIELD(data, INIT_ARRAY_STANDARD_HDR_SIZE); in qed_init_cmd_array() 372 bool b_must_dmae = GET_FIELD(data, INIT_WRITE_OP_WIDE_BUS); in qed_init_cmd_wr() 373 u32 addr = GET_FIELD(data, INIT_WRITE_OP_ADDRESS) << 2; in qed_init_cmd_wr() 385 switch (GET_FIELD(data, INIT_WRITE_OP_SOURCE)) { in qed_init_cmd_wr() 437 addr = GET_FIELD(data, INIT_READ_OP_ADDRESS) << 2; in qed_init_cmd_rd() [all …]
|
D | qed_debug.c | 420 (GET_FIELD((block)->flags, DBG_BLOCK_CHIP_HAS_LATENCY_EVENTS) ? 2 : 1) 1391 rst_reg_removed = GET_FIELD(rst_reg->data, in qed_update_blocks_reset_state() 1393 rst_reg_addr = DWORDS_TO_BYTES(GET_FIELD(rst_reg->data, in qed_update_blocks_reset_state() 1408 is_removed = GET_FIELD(blk->flags, DBG_BLOCK_CHIP_IS_REMOVED); in qed_update_blocks_reset_state() 1409 has_rst_reg = GET_FIELD(blk->flags, in qed_update_blocks_reset_state() 1479 DWORDS_TO_BYTES(GET_FIELD(reset_reg->data, DBG_RESET_REG_ADDR)); in qed_bus_reset_dbg_block() 1534 if (GET_FIELD(block_per_chip->flags, in qed_bus_disable_blocks() 1540 if (GET_FIELD(block_per_chip->flags, in qed_bus_disable_blocks() 1545 GET_FIELD(block_per_chip->dbg_bus_mode.data, in qed_bus_disable_blocks() 1548 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 | 1328 qp->edpm_mode = GET_FIELD(in_params->flags, QED_ROCE_EDPM_MODE); in qed_rdma_create_qp() 1361 if (GET_FIELD(params->modify_flags, in qed_rdma_modify_qp() 1369 if (GET_FIELD(params->modify_flags, QED_ROCE_MODIFY_QP_VALID_ROCE_MODE)) in qed_rdma_modify_qp() 1371 if (GET_FIELD(params->modify_flags, QED_ROCE_MODIFY_QP_VALID_PKEY)) in qed_rdma_modify_qp() 1373 if (GET_FIELD(params->modify_flags, in qed_rdma_modify_qp() 1376 if (GET_FIELD(params->modify_flags, QED_ROCE_MODIFY_QP_VALID_DEST_QP)) in qed_rdma_modify_qp() 1378 if (GET_FIELD(params->modify_flags, in qed_rdma_modify_qp() 1404 if (GET_FIELD(params->modify_flags, QED_ROCE_MODIFY_QP_VALID_RQ_PSN)) in qed_rdma_modify_qp() 1406 if (GET_FIELD(params->modify_flags, QED_ROCE_MODIFY_QP_VALID_SQ_PSN)) in qed_rdma_modify_qp() 1408 if (GET_FIELD(params->modify_flags, in qed_rdma_modify_qp() [all …]
|
D | qed_hw.c | 310 if (!GET_FIELD(fid, PXP_CONCRETE_FID_VFVALID)) in qed_fid_pretend() 311 fid = GET_FIELD(fid, PXP_CONCRETE_FID_PFID); in qed_fid_pretend() 365 if (!GET_FIELD(fid, PXP_CONCRETE_FID_VFVALID)) in qed_port_fid_pretend() 366 fid = GET_FIELD(fid, PXP_CONCRETE_FID_PFID); in qed_port_fid_pretend() 388 ((params) != NULL && GET_FIELD((params)->flags, QED_DMAE_PARAMS_##flag))
|
D | qed.h | 890 u8 vfid = GET_FIELD(concrete_fid, PXP_CONCRETE_FID_VFID); in qed_concrete_to_sw_fid() 891 u8 pfid = GET_FIELD(concrete_fid, PXP_CONCRETE_FID_PFID); in qed_concrete_to_sw_fid() 892 u8 vf_valid = GET_FIELD(concrete_fid, in qed_concrete_to_sw_fid()
|
D | qed_l2.c | 2108 timer_res = GET_FIELD(le32_to_cpu(sb_entry.params), in qed_get_rxq_coalesce() 2115 is_valid = GET_FIELD(coalesce, COALESCING_TIMESET_VALID); in qed_get_rxq_coalesce() 2119 coalesce = GET_FIELD(coalesce, COALESCING_TIMESET_TIMESET); in qed_get_rxq_coalesce() 2142 timer_res = GET_FIELD(le32_to_cpu(sb_entry.params), in qed_get_txq_coalesce() 2149 is_valid = GET_FIELD(coalesce, COALESCING_TIMESET_VALID); in qed_get_txq_coalesce() 2153 coalesce = GET_FIELD(coalesce, COALESCING_TIMESET_TIMESET); in qed_get_txq_coalesce()
|
D | qed_init_fw_funcs.c | 1847 storm_buf_size = GET_FIELD(hdr->data, in qed_fw_overlay_mem_alloc() 1849 storm_id = GET_FIELD(hdr->data, FW_OVERLAY_BUF_HDR_STORM_ID); in qed_fw_overlay_mem_alloc()
|
D | qed_spq.c | 374 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()
|
/linux-6.6.21/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)
|
/linux-6.6.21/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
|
/linux-6.6.21/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 | 641 GET_FIELD(cqe_err_bits, CQE_ERROR_BITMAP_UNDER_RUN_ERR))) { in qedi_scsi_completion() 862 GET_FIELD(cqe_err_bits, in qedi_fp_process_cqes()
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | vas.h | 45 #define GET_FIELD(m, v) (((v) & (m)) >> MASK_LSH(m)) macro
|
/linux-6.6.21/arch/powerpc/platforms/powernv/ |
D | vas-window.c | 1163 mode = GET_FIELD(VAS_WINCTL_TX_WCRED_MODE, val); in poll_window_credits() 1165 mode = GET_FIELD(VAS_WINCTL_RX_WCRED_MODE, val); in poll_window_credits() 1172 creds = GET_FIELD(VAS_TX_WCRED, val); in poll_window_credits() 1175 creds = GET_FIELD(VAS_LRX_WCRED, val); in poll_window_credits() 1217 busy = GET_FIELD(VAS_WIN_BUSY, val); in poll_window_busy_state()
|
/linux-6.6.21/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
|
/linux-6.6.21/drivers/gpu/drm/gma500/ |
D | psb_intel_reg.h | 1239 #define GET_FIELD(word, field) (((word) & field ## _MASK) >> field ## _SHIFT) macro
|
/linux-6.6.21/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
|
/linux-6.6.21/include/linux/qed/ |
D | qed_if.h | 1225 #define GET_FIELD(value, name) \ macro
|
/linux-6.6.21/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()
|