Home
last modified time | relevance | path

Searched refs:REG_RD (Results 1 – 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c222 u32 val = REG_RD(bp, reg); in bnx2x_bits_en()
231 u32 val = REG_RD(bp, reg); in bnx2x_bits_dis()
254 REG_RD(bp, params->lfa_base + in bnx2x_check_lfa()
269 link_status = REG_RD(bp, params->shmem_base + in bnx2x_check_lfa()
298 saved_val = REG_RD(bp, params->lfa_base + in bnx2x_check_lfa()
307 saved_val = REG_RD(bp, params->lfa_base + in bnx2x_check_lfa()
316 saved_val = REG_RD(bp, params->lfa_base + in bnx2x_check_lfa()
326 cur_speed_cap_mask = REG_RD(bp, params->lfa_base + in bnx2x_check_lfa()
339 REG_RD(bp, params->lfa_base + in bnx2x_check_lfa()
349 eee_status = REG_RD(bp, params->shmem2_base + in bnx2x_check_lfa()
[all …]
Dbnx2x_main.c633 data[i] = REG_RD(bp, src_addr + i*4); in bnx2x_read_dmae()
741 regs[j] = REG_RD(bp, bar_storm_intmem[storm] + in bnx2x_mc_assert()
793 val = REG_RD(bp, MCP_REG_MCPR_CPU_PROGRAM_COUNTER); in bnx2x_fw_dump_lvl()
794 if (val == REG_RD(bp, MCP_REG_MCPR_CPU_PROGRAM_COUNTER)) in bnx2x_fw_dump_lvl()
814 mark = REG_RD(bp, addr); in bnx2x_fw_dump_lvl()
822 mark = REG_RD(bp, addr); in bnx2x_fw_dump_lvl()
835 data[word] = htonl(REG_RD(bp, offset + 4*word)); in bnx2x_fw_dump_lvl()
843 data[word] = htonl(REG_RD(bp, offset + 4*word)); in bnx2x_fw_dump_lvl()
859 u32 val = REG_RD(bp, addr); in bnx2x_hc_int_disable()
886 if (REG_RD(bp, addr) != val) in bnx2x_hc_int_disable()
[all …]
Dbnx2x_init.h210 u32 curr_cos = REG_RD(bp, QM_REG_QVOQIDX_0 + q_num * 4); in bnx2x_map_q_cos()
237 reg_bit_map = REG_RD(bp, reg_addr); in bnx2x_map_q_cos()
242 reg_bit_map = REG_RD(bp, reg_addr); in bnx2x_map_q_cos()
250 reg_bit_map = REG_RD(bp, reg_addr); in bnx2x_map_q_cos()
681 reg_val = REG_RD(bp, mcp_attn_ctl_regs[i].addr); in bnx2x_set_mcp_parity()
744 reg_val = REG_RD(bp, bnx2x_blocks_parity_data[i]. in bnx2x_clear_blocks_parity()
755 reg_val = REG_RD(bp, MISC_REG_AEU_AFTER_INVERT_4_MCP); in bnx2x_clear_blocks_parity()
Dbnx2x_ethtool.c879 *p++ = REG_RD(bp, addr); in bnx2x_read_pages_regs()
908 *p++ = REG_RD(bp, idle_reg_addrs[i].addr + j*4); in __bnx2x_get_preset_regs()
917 *p++ = REG_RD(bp, reg_addrs[i].addr + j*4); in __bnx2x_get_preset_regs()
925 *p++ = REG_RD(bp, wreg_addr_p->addr + i*4); in __bnx2x_get_preset_regs()
932 *p++ = REG_RD(bp, addr + j*4); in __bnx2x_get_preset_regs()
1120 mbi = REG_RD(bp, ext_dev_info_offset + in bnx2x_get_drvinfo()
1270 val = REG_RD(bp, MCP_REG_MCPR_NVM_SW_ARB); in bnx2x_acquire_nvram_lock()
1303 val = REG_RD(bp, MCP_REG_MCPR_NVM_SW_ARB); in bnx2x_release_nvram_lock()
1325 val = REG_RD(bp, MCP_REG_MCPR_NVM_ACCESS_ENABLE); in bnx2x_enable_nvram_access()
1337 val = REG_RD(bp, MCP_REG_MCPR_NVM_ACCESS_ENABLE); in bnx2x_disable_nvram_access()
[all …]
Dbnx2x_self_test.c2955 REG_RD(bp, rec->reg1 + i * rec->incr); in bnx2x_idle_chk6()
2957 REG_RD(bp, rec->reg1 + i * rec->incr + 4); in bnx2x_idle_chk6()
2995 if ((REG_RD(bp, (rec->reg2 + i * 4)) & 0x1) != 0x1) in bnx2x_idle_chk7()
2999 REG_RD(bp, (rec->reg1 + i * rec->incr)); in bnx2x_idle_chk7()
3000 REG_RD(bp, (rec->reg1 + i * rec->incr + 4)); in bnx2x_idle_chk7()
3002 REG_RD(bp, (rec->reg1 + i * rec->incr + 8)); in bnx2x_idle_chk7()
3003 REG_RD(bp, (rec->reg1 + i * rec->incr + 12)); in bnx2x_idle_chk7()
3017 rec->pred_args.val2 = REG_RD(bp, rec->reg3 + i * 4); in bnx2x_idle_chk7()
3072 rec.pred_args.val1 = REG_RD(bp, rec.reg1); in bnx2x_idle_chk()
3087 REG_RD(bp, rec.reg1 + i * rec.incr); in bnx2x_idle_chk()
[all …]
Dbnx2x_init_ops.h262 REG_RD(bp, addr); in bnx2x_init_block()
518 val = REG_RD(bp, write_arb_addr[i].l); in bnx2x_init_pxp_arb()
522 val = REG_RD(bp, write_arb_addr[i].add); in bnx2x_init_pxp_arb()
526 val = REG_RD(bp, write_arb_addr[i].ubound); in bnx2x_init_pxp_arb()
587 val = REG_RD(bp, PCIE_REG_PCIER_TL_HDR_FC_ST); in bnx2x_init_pxp_arb()
Dbnx2x.h171 #define REG_RD(bp, offset) readl(REG_ADDR(bp, offset)) macro
212 #define SHMEM_RD(bp, field) REG_RD(bp, SHMEM_ADDR(bp, field))
217 #define SHMEM2_RD(bp, field) REG_RD(bp, SHMEM2_ADDR(bp, field))
224 #define MF_CFG_RD(bp, field) REG_RD(bp, MF_CFG_ADDR(bp, field))
227 #define MF2_CFG_RD(bp, field) REG_RD(bp, MF2_CFG_ADDR(bp, field))
233 #define EMAC_RD(bp, reg) REG_RD(bp, emac_base + reg)
2080 val = REG_RD(bp, reg); in reg_poll()
Dbnx2x_cmn.h700 u32 result = REG_RD(bp, hc_addr); in bnx2x_hc_ack_int()
709 u32 result = REG_RD(bp, igu_addr); in bnx2x_igu_ack_int()
Dbnx2x_stats.c862 estats->eee_tx_lpi += REG_RD(bp, lpi_reg); in bnx2x_hw_stats_update()
1632 REG_RD(bp, NIG_REG_STAT0_BRB_DISCARD + port*0x38); in bnx2x_stats_init()
1634 REG_RD(bp, NIG_REG_STAT0_BRB_TRUNCATE + port*0x38); in bnx2x_stats_init()
Dbnx2x_sriov.c730 val = REG_RD(bp, IGU_REG_VF_CONFIGURATION); in bnx2x_vf_igu_reset()
1086 val = REG_RD(bp, IGU_REG_MAPPING_MEMORY + sb_id * 4); in bnx2x_get_vf_igu_cam_info()
1155 val = REG_RD(bp, PCICFG_OFFSET + GRC_CONFIG_REG_PF_INIT_VF); in bnx2x_sriov_info()
1986 val = REG_RD(bp, IGU_REG_VF_CONFIGURATION); in bnx2x_vf_igu_disable()
Dbnx2x_dcb.c60 *buff = REG_RD(bp, addr + i); in bnx2x_read_data()
Dbnx2x_cmn.c2371 loaded_fw = REG_RD(bp, XSEM_REG_PRAM); in bnx2x_compare_fw_ver()
/kernel/linux/linux-5.10/drivers/media/radio/wl128x/
Dfmdrv_rx.c70 ret = fmc_send_cmd(fmdev, FLAG_GET, REG_RD, NULL, 2, NULL, NULL); in fm_rx_set_freq()
102 ret = fmc_send_cmd(fmdev, FREQ_SET, REG_RD, NULL, 2, &curr_frq, &resp_len); in fm_rx_set_freq()
174 ret = fmc_send_cmd(fmdev, FREQ_SET, REG_RD, NULL, in fm_rx_seek()
214 ret = fmc_send_cmd(fmdev, FLAG_GET, REG_RD, NULL, 2, NULL, NULL); in fm_rx_seek()
270 ret = fmc_send_cmd(fmdev, FREQ_SET, REG_RD, NULL, 2, in fm_rx_seek()
516 ret = fmc_send_cmd(fmdev, RSSI_LVL_GET, REG_RD, NULL, 2, in fm_rx_get_rssi_level()
607 ret = fmc_send_cmd(fmdev, MOST_MODE_SET, REG_RD, NULL, 2, in fm_rx_get_stereo_mono()
687 ret = fmc_send_cmd(fmdev, FLAG_GET, REG_RD, NULL, 2, in fm_rx_set_rds_mode()
Dfmdrv_common.c567 if (!fm_send_cmd(fmdev, FLAG_GET, REG_RD, NULL, sizeof(flag), NULL)) in fm_irq_send_flag_getcmd()
619 if (!fm_send_cmd(fmdev, RDS_DATA_GET, REG_RD, NULL, in fm_irq_send_rdsdata_getcmd()
964 if (!fm_send_cmd(fmdev, FREQ_SET, REG_RD, NULL, sizeof(payload), NULL)) in fm_irq_afjump_rd_freq()
1337 if (fmc_send_cmd(fmdev, ASIC_ID_GET, REG_RD, NULL, in fm_power_up()
1341 if (fmc_send_cmd(fmdev, ASIC_VER_GET, REG_RD, NULL, in fm_power_up()
Dfmdrv_common.h15 #define REG_RD 0x1 macro
Dfmdrv_tx.c359 ret = fmc_send_cmd(fmdev, READ_FMANT_TUNE_VALUE, REG_RD, in fm_tx_get_tune_cap_val()
/kernel/linux/linux-5.10/arch/x86/crypto/
Dsha1_avx2_x86_64_asm.S88 #define REG_RD %rax macro
111 .set RD, REG_RD
/kernel/linux/linux-5.10/drivers/scsi/bnx2i/
Dbnx2i.h128 #define REG_RD(__hba, offset) \ macro
Dbnx2i_hwi.c2727 config2 = REG_RD(ep->hba, BNX2_MQ_CONFIG2); in bnx2i_map_ep_dbell_regs()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_dev.c2420 if (REG_RD(p_hwfn, addr)) { in qed_final_cleanup()
2433 while (!REG_RD(p_hwfn, addr) && count--) in qed_final_cleanup()
2436 if (REG_RD(p_hwfn, addr)) in qed_final_cleanup()
3479 p_hwfn->hw_info.opaque_fid = (u16) REG_RD(p_hwfn, in get_function_id()
3482 p_hwfn->hw_info.concrete_fid = REG_RD(p_hwfn, PXP_PF_ME_CONCRETE_ADDR); in get_function_id()
4573 if (REG_RD(p_hwfn, PXP_PF_ME_OPAQUE_ADDR) == 0xffffffff) { in qed_hw_prepare_single()
Dqed.h964 #define REG_RD(cdev, offset) readl(REG_ADDR(cdev, offset)) macro
Dqed_vf.c454 p_hwfn->hw_info.opaque_fid = (u16)REG_RD(p_hwfn, reg); in qed_vf_hw_prepare()
457 p_hwfn->hw_info.concrete_fid = REG_RD(p_hwfn, reg); in qed_vf_hw_prepare()
Dqed_hw.c216 u32 val = REG_RD(p_hwfn, bar_addr); in qed_rd()
Dqed_int.c2275 intr_status_lo = REG_RD(p_hwfn, in qed_int_igu_read_sisr_reg()
2278 intr_status_hi = REG_RD(p_hwfn, in qed_int_igu_read_sisr_reg()