/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 222 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 …]
|
D | bnx2x_main.c | 632 data[i] = REG_RD(bp, src_addr + i*4); in bnx2x_read_dmae() 740 regs[j] = REG_RD(bp, bar_storm_intmem[storm] + in bnx2x_mc_assert() 792 val = REG_RD(bp, MCP_REG_MCPR_CPU_PROGRAM_COUNTER); in bnx2x_fw_dump_lvl() 793 if (val == REG_RD(bp, MCP_REG_MCPR_CPU_PROGRAM_COUNTER)) in bnx2x_fw_dump_lvl() 813 mark = REG_RD(bp, addr); in bnx2x_fw_dump_lvl() 821 mark = REG_RD(bp, addr); in bnx2x_fw_dump_lvl() 834 data[word] = htonl(REG_RD(bp, offset + 4*word)); in bnx2x_fw_dump_lvl() 842 data[word] = htonl(REG_RD(bp, offset + 4*word)); in bnx2x_fw_dump_lvl() 858 u32 val = REG_RD(bp, addr); in bnx2x_hc_int_disable() 885 if (REG_RD(bp, addr) != val) in bnx2x_hc_int_disable() [all …]
|
D | bnx2x_init.h | 210 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()
|
D | bnx2x_ethtool.c | 879 *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 …]
|
D | bnx2x_self_test.c | 2955 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 …]
|
D | bnx2x_init_ops.h | 262 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()
|
D | bnx2x.h | 171 #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) 2081 val = REG_RD(bp, reg); in reg_poll()
|
D | bnx2x_cmn.h | 700 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()
|
D | bnx2x_stats.c | 863 estats->eee_tx_lpi += REG_RD(bp, lpi_reg); in bnx2x_hw_stats_update() 1633 REG_RD(bp, NIG_REG_STAT0_BRB_DISCARD + port*0x38); in bnx2x_stats_init() 1635 REG_RD(bp, NIG_REG_STAT0_BRB_TRUNCATE + port*0x38); in bnx2x_stats_init()
|
D | bnx2x_sriov.c | 730 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() 1979 val = REG_RD(bp, IGU_REG_VF_CONFIGURATION); in bnx2x_vf_igu_disable()
|
D | bnx2x_dcb.c | 60 *buff = REG_RD(bp, addr + i); in bnx2x_read_data()
|
D | bnx2x_cmn.c | 2382 loaded_fw = REG_RD(bp, XSEM_REG_PRAM); in bnx2x_compare_fw_ver()
|
/drivers/media/radio/wl128x/ |
D | fmdrv_rx.c | 70 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()
|
D | fmdrv_common.c | 568 if (!fm_send_cmd(fmdev, FLAG_GET, REG_RD, NULL, sizeof(flag), NULL)) in fm_irq_send_flag_getcmd() 620 if (!fm_send_cmd(fmdev, RDS_DATA_GET, REG_RD, NULL, in fm_irq_send_rdsdata_getcmd() 965 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()
|
D | fmdrv_common.h | 15 #define REG_RD 0x1 macro
|
D | fmdrv_tx.c | 359 ret = fmc_send_cmd(fmdev, READ_FMANT_TUNE_VALUE, REG_RD, in fm_tx_get_tune_cap_val()
|
/drivers/scsi/bnx2i/ |
D | bnx2i.h | 128 #define REG_RD(__hba, offset) \ macro
|
D | bnx2i_hwi.c | 2724 config2 = REG_RD(ep->hba, BNX2_MQ_CONFIG2); in bnx2i_map_ep_dbell_regs()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_dev.c | 2492 if (REG_RD(p_hwfn, addr)) { in qed_final_cleanup() 2505 while (!REG_RD(p_hwfn, addr) && count--) in qed_final_cleanup() 2508 if (REG_RD(p_hwfn, addr)) in qed_final_cleanup() 3565 p_hwfn->hw_info.opaque_fid = (u16)REG_RD(p_hwfn, in get_function_id() 3568 p_hwfn->hw_info.concrete_fid = REG_RD(p_hwfn, PXP_PF_ME_CONCRETE_ADDR); in get_function_id() 4670 if (REG_RD(p_hwfn, PXP_PF_ME_OPAQUE_ADDR) == 0xffffffff) { in qed_hw_prepare_single()
|
D | qed_vf.c | 451 p_hwfn->hw_info.opaque_fid = (u16)REG_RD(p_hwfn, reg); in qed_vf_hw_prepare() 454 p_hwfn->hw_info.concrete_fid = REG_RD(p_hwfn, reg); in qed_vf_hw_prepare()
|
D | qed.h | 961 #define REG_RD(cdev, offset) readl(REG_ADDR(cdev, offset)) macro
|
D | qed_hw.c | 234 u32 val = REG_RD(p_hwfn, bar_addr); in qed_rd()
|
D | qed_int.c | 2295 intr_status_lo = REG_RD(p_hwfn, in qed_int_igu_read_sisr_reg() 2298 intr_status_hi = REG_RD(p_hwfn, in qed_int_igu_read_sisr_reg()
|