/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | firmware.c | 793 status = (read_csr(dd, MISC_CFG_FW_CTRL) in run_rsa() 828 status = (read_csr(dd, MISC_CFG_FW_CTRL) in run_rsa() 876 reg = read_csr(dd, MISC_ERR_STATUS); in run_rsa() 1062 reg = read_csr(dd, ASIC_STS_SBUS_RESULT); in sbus_read() 1183 reg = read_csr(dd, ASIC_STS_SBUS_RESULT); in sbus_request_slow() 1205 reg = read_csr(dd, ASIC_STS_SBUS_RESULT); in sbus_request_slow() 1370 user = (u8)read_csr(dd, ASIC_CFG_MUTEX); in acquire_hw_mutex() 1464 (void)read_csr(dd, ASIC_CFG_SCRATCH); in __acquire_chip_resource() 1526 (void)read_csr(dd, ASIC_CFG_SCRATCH); in release_chip_resource() 1580 (void)read_csr(dd, ASIC_CFG_SCRATCH); in clear_chip_resources() [all …]
|
H A D | intr.c | 140 read_csr(dd, DC_DC8051_STS_REMOTE_GUID); in handle_linkup_change() 142 read_csr(dd, DC_DC8051_STS_REMOTE_NODE_TYPE) & in handle_linkup_change() 145 read_csr(dd, DC_DC8051_STS_REMOTE_PORT_NO) & in handle_linkup_change() 148 read_csr(dd, DC_DC8051_STS_REMOTE_FM_SECURITY) & in handle_linkup_change()
|
H A D | chip.h | 575 u64 read_csr(const struct hfi1_devdata *dd, u32 offset); 587 return read_csr(dd, offset0 + (0x100 * ctxt)); in read_kctxt_csr() 622 return read_csr(dd, offset0 + (0x1000 * ctxt)); in read_uctxt_csr() 634 return read_csr(dd, RCV_CONTEXTS); in chip_rcv_contexts() 639 return read_csr(dd, SEND_CONTEXTS); in chip_send_contexts() 644 return read_csr(dd, SEND_DMA_ENGINES); in chip_sdma_engines() 649 return read_csr(dd, SEND_PIO_MEM_SIZE); in chip_pio_mem_size() 654 return read_csr(dd, SEND_DMA_MEM_SIZE); in chip_sdma_mem_size() 659 return read_csr(dd, RCV_ARRAY_CNT); in chip_rcv_array_count()
|
H A D | qsfp.c | 32 reg = read_csr(dd, target_oe); in hfi1_setsda() 45 (void)read_csr(dd, target_oe); in hfi1_setsda() 56 reg = read_csr(dd, target_oe); in hfi1_setscl() 69 (void)read_csr(dd, target_oe); in hfi1_setscl() 82 reg = read_csr(bus->controlling_dd, target_in); in hfi1_getsda() 96 reg = read_csr(bus->controlling_dd, target_in); in hfi1_getscl() 646 reg = read_csr(dd, dd->hfi1_id ? ASIC_QSFP2_IN : ASIC_QSFP1_IN); in qsfp_mod_present()
|
H A D | chip.c | 1356 ret = read_csr(dd, csr); in read_write_csr() 8336 status = read_csr(dd, in sdma_interrupt() 8366 (void)read_csr(dd, addr); in clear_recv_intr() 8578 *data = read_csr(dd, addr); in read_lcb_via_8051() 8658 *data = read_csr(dd, addr); in read_lcb_csr() 9532 qsfp_mask = read_csr(dd, in reset_qsfp() 11177 u64 reg = read_csr(dd, csr); in read_one_cm_vl() 11333 reg = read_csr(dd, addr); in set_vl_shared() 11350 reg = read_csr(dd, addr); in set_vl_dedicated() 13864 read_csr(dd, RCV_CTRL); in init_rbufs() [all …]
|
H A D | pcie.c | 852 read_csr(dd, ASIC_PCIE_SD_HOST_CMD); in arm_gasket_logic() 882 pcie_ctrl = read_csr(dd, CCE_PCIE_CTRL); in write_xmt_margin() 1020 therm = read_csr(dd, ASIC_CFG_THERM_POLL_EN); in do_pcie_gen3_transition() 1249 (void)read_csr(dd, CCE_DC_CTRL); /* DC reset hold */ in do_pcie_gen3_transition() 1251 fw_ctrl = read_csr(dd, MISC_CFG_FW_CTRL); in do_pcie_gen3_transition() 1315 reg = read_csr(dd, ASIC_PCIE_SD_HOST_STATUS); in do_pcie_gen3_transition()
|
H A D | platform.c | 19 temp_scratch = read_csr(dd, ASIC_CFG_SCRATCH); in validate_scratch_checksum() 38 temp_scratch = read_csr(dd, ASIC_CFG_SCRATCH + (8 * i)); in validate_scratch_checksum() 48 temp_scratch = read_csr(dd, ASIC_CFG_SCRATCH); in validate_scratch_checksum() 64 temp_scratch = read_csr(dd, ASIC_CFG_SCRATCH_1); in save_platform_config_fields() 94 temp_scratch = read_csr(dd, dd->hfi1_id ? ASIC_CFG_SCRATCH_3 : in save_platform_config_fields()
|
H A D | pio.c | 26 sendctrl = read_csr(dd, SEND_CTRL); in __cm_reset() 43 reg = read_csr(dd, SEND_CTRL); in pio_send_control() 83 (void)read_csr(dd, SEND_CTRL); /* flush write */ in pio_send_control() 978 reg = read_csr(dd, sc->hw_context * 8 + in sc_wait_for_packet_egress() 1201 reg = read_csr(dd, SEND_PIO_INIT_CTXT); in pio_init_wait_progress()
|
H A D | eprom.c | 53 result[i] = (u32)read_csr(dd, ASIC_EEP_DATA); in read_page()
|
H A D | debugfs.c | 520 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in asic_flags_read() 577 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in asic_flags_write() 581 (void)read_csr(dd, ASIC_CFG_SCRATCH); in asic_flags_write()
|
H A D | sdma.c | 274 reg = read_csr(dd, off + SEND_EGRESS_SEND_DMA_STATUS); in sdma_wait_for_packet_egress() 2044 csr = read_csr(sde->dd, reg); \ 2055 csr = read_csr(sde->dd, reg + (8 * i)); \
|
H A D | mad.c | 1776 *val++ = read_csr(dd, SEND_SC2VLT0); in get_sc2vlt_tables() 1777 *val++ = read_csr(dd, SEND_SC2VLT1); in get_sc2vlt_tables() 1778 *val++ = read_csr(dd, SEND_SC2VLT2); in get_sc2vlt_tables() 1779 *val++ = read_csr(dd, SEND_SC2VLT3); in get_sc2vlt_tables() 3386 reg = read_csr(dd, RCV_ERR_INFO); in pma_get_opa_errorinfo()
|
/openbmc/linux/drivers/net/ethernet/amd/ |
H A D | pcnet32.c | 242 u16 (*read_csr) (unsigned long, int); member 382 .read_csr = pcnet32_wio_read_csr, 437 .read_csr = pcnet32_dwio_read_csr, 462 val = lp->a->read_csr(ioaddr, CSR3); in pcnet32_netif_start() 689 csr5 = a->read_csr(ioaddr, CSR5); in pcnet32_suspend() 1111 x = a->read_csr(ioaddr, CSR15); in pcnet32_loopback_test() 1443 csr0 = a->read_csr(ioaddr, CSR0); in pcnet32_get_regs() 1453 *buff++ = a->read_csr(ioaddr, i); in pcnet32_get_regs() 1455 *buff++ = a->read_csr(ioaddr, 112); in pcnet32_get_regs() 1456 *buff++ = a->read_csr(ioaddr, 114); in pcnet32_get_regs() [all …]
|
/openbmc/linux/drivers/firewire/ |
H A D | core-card.c | 689 .read_csr = dummy_read_csr, 755 if (card->driver->read_csr == dummy_read_csr) in fw_card_read_cycle_time() 760 *cycle_time = card->driver->read_csr(card, CSR_CYCLE_TIME); in fw_card_read_cycle_time()
|
H A D | core.h | 91 u32 (*read_csr)(struct fw_card *card, int csr_offset); member
|
H A D | core-transaction.c | 1207 *data = cpu_to_be32(card->driver->read_csr(card, reg)); in handle_registers()
|
H A D | ohci.c | 3573 .read_csr = ohci_read_csr,
|