Home
last modified time | relevance | path

Searched refs:bus_space_read_1 (Results 1 – 25 of 105) sorted by relevance

12345

/dragonfly/sys/dev/misc/ppc/
H A Dppcreg.h146 #define r_dtr(ppc) (bus_space_read_1((ppc)->bst, (ppc)->bsh, PPC_SPP_DTR))
147 #define r_str(ppc) (bus_space_read_1((ppc)->bst, (ppc)->bsh, PPC_SPP_STR))
148 #define r_ctr(ppc) (bus_space_read_1((ppc)->bst, (ppc)->bsh, PPC_SPP_CTR))
150 #define r_epp_A(ppc) (bus_space_read_1((ppc)->bst, (ppc)->bsh, PPC_EPP_ADDR))
151 #define r_epp_D(ppc) (bus_space_read_1((ppc)->bst, (ppc)->bsh, PPC_EPP_DATA))
152 #define r_cnfgA(ppc) (bus_space_read_1((ppc)->bst, (ppc)->bsh, PPC_ECP_CNFGA))
153 #define r_cnfgB(ppc) (bus_space_read_1((ppc)->bst, (ppc)->bsh, PPC_ECP_CNFGB))
154 #define r_ecr(ppc) (bus_space_read_1((ppc)->bst, (ppc)->bsh, PPC_ECP_ECR))
155 #define r_fifo(ppc) (bus_space_read_1((ppc)->bst, (ppc)->bsh, PPC_ECP_D_FIFO))
/dragonfly/sys/dev/raid/mlx/
H A Dmlxreg.h82 #define MLX_V3_GET_STATUS_IDENT(sc) bus_space_read_1 (sc->mlx_btag, sc->mlx_bhandle, MLX_V3_STATUS…
84 #define MLX_V3_GET_IDBR(sc) bus_space_read_1 (sc->mlx_btag, sc->mlx_bhandle, MLX_V3_IDBR)
86 #define MLX_V3_GET_ODBR(sc) bus_space_read_1 (sc->mlx_btag, sc->mlx_bhandle, MLX_V3_ODBR)
89 #define MLX_V3_GET_FWERROR(sc) bus_space_read_1 (sc->mlx_btag, sc->mlx_bhandle, MLX_V3_FWERROR)
91 #define MLX_V3_GET_FWERROR_PARAM1(sc) bus_space_read_1 (sc->mlx_btag, sc->mlx_bhandle, MLX_V3_FWER…
119 #define MLX_V4_GET_STATUS_IDENT(sc) bus_space_read_1 (sc->mlx_btag, sc->mlx_bhandle, MLX_V4_STATUS…
126 #define MLX_V4_GET_FWERROR(sc) bus_space_read_1 (sc->mlx_btag, sc->mlx_bhandle, MLX_V4_FWERROR)
164 #define MLX_V5_GET_STATUS_IDENT(sc) bus_space_read_1 (sc->mlx_btag, sc->mlx_bhandle, MLX_V5_STATUS…
166 #define MLX_V5_GET_IDBR(sc) bus_space_read_1 (sc->mlx_btag, sc->mlx_bhandle, MLX_V5_IDBR)
168 #define MLX_V5_GET_ODBR(sc) bus_space_read_1 (sc->mlx_btag, sc->mlx_bhandle, MLX_V5_ODBR)
[all …]
/dragonfly/sys/dev/powermng/lm/
H A Dlm78_isa.c115 banksel = bus_space_read_1(iot, ioh, LMC_DATA); in lm_isa_probe()
119 vendid = bus_space_read_1(iot, ioh, LMC_DATA) << 8; in lm_isa_probe()
123 vendid |= bus_space_read_1(iot, ioh, LMC_DATA); in lm_isa_probe()
131 vendid = bus_space_read_1(iot, ioh, LMC_DATA); in lm_isa_probe()
144 addr = bus_space_read_1(iot, ioh, LMC_DATA); in lm_isa_probe()
147 chipid = bus_space_read_1(iot, ioh, LMC_DATA); in lm_isa_probe()
252 return (bus_space_read_1(sc->sc_iot, sc->sc_ioh, LMC_DATA)); in lm_isa_readreg()
/dragonfly/sys/dev/netif/xe/
H A Dif_xevar.h74 #define XE_INB(r) bus_space_read_1(scp->bst, scp->bsh, (r))
84 #define CISTPL_TYPE(tpl) bus_space_read_1(bst, bsh, tpl + 0)
85 #define CISTPL_LEN(tpl) bus_space_read_1(bst, bsh, tpl + 2)
86 #define CISTPL_DATA(tpl,pos) bus_space_read_1(bst, bsh, tpl+ 4 + ((pos)<<1))
/dragonfly/sys/dev/raid/iir/
H A Diir_pci.c237 bus_space_read_1(gdt->sc_dpmemt, gdt->sc_dpmemh, in iir_pci_attach()
253 while (bus_space_read_1(gdt->sc_dpmemt, gdt->sc_dpmemh, in iir_pci_attach()
290 while (bus_space_read_1(gdt->sc_dpmemt, gdt->sc_dpmemh, in iir_pci_attach()
368 bus_space_read_1(gdt->sc_dpmemt, gdt->sc_dpmemh, in gdt_pci_enable_intr()
406 return bus_space_read_1(gdt->sc_dpmemt, gdt->sc_dpmemh, GDT_MPR_EDOOR); in gdt_mpr_get_status()
438 bus_space_read_1(gdt->sc_dpmemt,gdt->sc_dpmemh, GDT_SEVERITY); in gdt_mpr_intr()
441 bus_space_read_1(gdt->sc_dpmemt, gdt->sc_dpmemh, in gdt_mpr_intr()
472 return (bus_space_read_1(gdt->sc_dpmemt, gdt->sc_dpmemh, in gdt_mpr_test_busy()
/dragonfly/sys/dev/raid/amr/
H A Damrreg.h638 #define AMR_SGET_ISTAT(sc) bus_space_read_1 (sc->amr_btag, sc->amr_bhandle, AMR_SINTR)
641 #define AMR_SGET_MBSTAT(sc) bus_space_read_1 (sc->amr_btag, sc->amr_bhandle, AMR_SMBOX_BUSY)
644 bus_space_read_1(sc->amr_btag, sc->amr_bhandle, AMR_STOGGLE) | AMR_STOGL_IENABLE)
647 bus_space_read_1(sc->amr_btag, sc->amr_bhandle, AMR_STOGGLE) & ~AMR_STOGL_IENABLE)
652 #define AMR_SGET_INITSTATUS(sc) bus_space_read_1 (sc->amr_btag, sc->amr_bhandle, AMR_SMBOX_ENABLE)
653 #define AMR_SGET_FAILDRIVE(sc) bus_space_read_1 (sc->amr_btag, sc->amr_bhandle, AMR_SMBOX_ENABLE + …
654 #define AMR_SGET_INITCHAN(sc) bus_space_read_1 (sc->amr_btag, sc->amr_bhandle, AMR_SMBOX_ENABLE + 2)
655 #define AMR_SGET_INITTARG(sc) bus_space_read_1 (sc->amr_btag, sc->amr_bhandle, AMR_SMBOX_ENABLE + 3)
/dragonfly/sys/dev/crypto/tpm/
H A Dtpm.c307 save = bus_space_read_1(bt, bh, TPM_ACCESS); in tpm_tis12_probe()
309 reg = bus_space_read_1(bt, bh, TPM_ACCESS); in tpm_tis12_probe()
375 sc->sc_rev = bus_space_read_1(sc->sc_bt, sc->sc_bh, TPM_REV); in tpm_tis12_init()
407 if ((bus_space_read_1(sc->sc_bt, sc->sc_bh, TPM_ACCESS) & in tpm_request_locality()
477 status = bus_space_read_1(sc->sc_bt, sc->sc_bh, TPM_STS) & in tpm_status()
789 *p++ = bus_space_read_1(sc->sc_bt, sc->sc_bh, TPM_DATA); in tpm_tis12_read()
954 return bus_space_read_1(iot, ioh, 1); in tpm_legacy_in()
986 v = bus_space_read_1(iot, ioh, 0); in tpm_legacy_probe()
991 r = bus_space_read_1(iot, ioh, 1); in tpm_legacy_probe()
1082 !(bus_space_read_1(sc->sc_batm, sc->sc_bahm, 1) & in tpm_legacy_read()
[all …]
/dragonfly/sys/dev/powermng/aps/
H A Daps.c191 stat = bus_space_read_1(iot, ioh, APS_STR3); in aps_do_io()
193 bus_space_read_1(iot, ioh, APS_TWR_RET); in aps_do_io()
197 stat = bus_space_read_1(iot, ioh, APS_STR3); in aps_do_io()
221 stat = bus_space_read_1(iot, ioh, APS_STR3); in aps_do_io()
238 buf[n] = bus_space_read_1(iot, ioh, APS_TWR_BASE + n); in aps_do_io()
/dragonfly/sys/dev/sound/pci/
H A Dals4000.c124 return bus_space_read_1(sc->st, sc->sh, ALS_SB_MPU_IRQ); in als_intr_rd()
137 return bus_space_read_1(sc->st, sc->sh, ALS_MIXER_DATA); in als_mix_rd()
154 v = bus_space_read_1(sc->st, sc->sh, ALS_ESP_WR_STATUS); in als_esp_wr()
178 u = bus_space_read_1(sc->st, sc->sh, ALS_ESP_RD_STATUS8); in als_esp_reset()
180 v = bus_space_read_1(sc->st, sc->sh, ALS_ESP_RD_DATA); in als_esp_reset()
197 u_int8_t r = bus_space_read_1(sc->st, sc->sh, addr); in als_ack_read()
H A Dhdspe.h168 bus_space_read_1((sc)->cst, (sc)->csh, (regno))
/dragonfly/sys/dev/misc/nsclpcsio/
H A Dnsclpcsio_isa.c189 bus_space_read_1((sc)->sc_iot, \
198 bus_space_read_1((sc)->sc_iot, \
204 bus_space_read_1((sc)->sc_iot, \
249 return (bus_space_read_1(iot, ioh, 1)); in nsread()
/dragonfly/sys/dev/misc/puc/
H A Dpuc.c184 t1 = bus_space_read_1(sc->ilr_st, sc->ilr_sh, in puc_probe_ilr()
189 t2 = bus_space_read_1(sc->ilr_st, sc->ilr_sh, in puc_probe_ilr()
378 mask = (mask << 8) | (bus_space_read_1(sc->ilr_st, in puc_ilr_read()
450 bus_space_read_1(bst, bsh, efdr))
/dragonfly/sys/dev/powermng/it/
H A Dit.c126 cr = bus_space_read_1(iot, ioh, ITC_DATA); in it_probe()
196 return (bus_space_read_1(sc->sc_iot, sc->sc_ioh, ITC_DATA)); in it_readreg()
/dragonfly/sys/dev/acpica/Osd/
H A DOsdHardware.c61 *Value = bus_space_read_1(ACPI_BUS_SPACE_IO, ACPI_BUS_HANDLE, InPort); in AcpiOsReadPort()
/dragonfly/sys/dev/netif/re/
H A Dre_dragonfly.h50 bus_space_read_1(sc->re_cmac_tag, sc->re_cmac_handle, reg)
/dragonfly/sys/dev/misc/cmx/
H A Dcmxvar.h75 (bus_space_read_1((sc)->bst, (sc)->bsh, off))
/dragonfly/sys/dev/netif/fxp/
H A Dif_fxpvar.h146 bus_space_read_1((sc)->sc_st, (sc)->sc_sh, (reg))
/dragonfly/sys/dev/netif/wi/
H A Dif_wireg.h122 bus_space_read_1((sc)->wi_btag, (sc)->wi_bhandle, \
129 bus_space_read_1((sc)->wi_bmemtag, (sc)->wi_bmemhandle, off)
/dragonfly/sys/dev/netif/tx/
H A Dif_txvar.h117 bus_space_read_1((sc)->sc_st, (sc)->sc_sh, (reg))
/dragonfly/sys/dev/acpica/acpi_pvpanic/
H A Dacpi_pvpanic.c121 val = bus_space_read_1(sc->pvpanic_iot, sc->pvpanic_ioh, 0); in acpi_pvpanic_attach()
/dragonfly/sys/dev/pccard/cardbus/
H A Dcardbus_cis.c451 *tupleid = bus_space_read_1(bt, bh, start + *off); in cardbus_read_tuple_mem()
452 *len = bus_space_read_1(bt, bh, start + *off + 1); in cardbus_read_tuple_mem()
606 if ((bus_space_read_1(bt, bh, pcidata + in cardbus_read_tuple_init()
/dragonfly/sys/dev/raid/twa/
H A Dtw_osl_inline.h180 return((TW_UINT32)bus_space_read_1(bus_tag, bus_handle, in tw_osl_read_reg_inline()
/dragonfly/sys/bus/u4b/controller/
H A Dehci.h363 #define EREAD1(sc, a) bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (a))
373 bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (sc)->sc_offs+(a))
/dragonfly/sys/dev/raid/arcmsr/
H A Darcmsr.c3651 *acb_firm_model = bus_space_read_1(acb->btag[0], acb->bhandle[0], iop_firm_model+i); in arcmsr_get_hba_config()
3658 *acb_firm_version = bus_space_read_1(acb->btag[0], acb->bhandle[0], iop_firm_version+i); in arcmsr_get_hba_config()
3665 *acb_device_map = bus_space_read_1(acb->btag[0], acb->bhandle[0], iop_device_map+i); in arcmsr_get_hba_config()
3701 *acb_firm_model = bus_space_read_1(acb->btag[1], acb->bhandle[1], iop_firm_model+i); in arcmsr_get_hbb_config()
3715 *acb_device_map = bus_space_read_1(acb->btag[1], acb->bhandle[1], iop_device_map+i); in arcmsr_get_hbb_config()
3751 *acb_firm_model = bus_space_read_1(acb->btag[0], acb->bhandle[0], iop_firm_model+i); in arcmsr_get_hbc_config()
3765 *acb_device_map = bus_space_read_1(acb->btag[0], acb->bhandle[0], iop_device_map+i); in arcmsr_get_hbc_config()
3802 *acb_firm_model = bus_space_read_1(acb->btag[0], acb->bhandle[0], iop_firm_model+i); in arcmsr_get_hbd_config()
3816 *acb_device_map = bus_space_read_1(acb->btag[0], acb->bhandle[0], iop_device_map+i); in arcmsr_get_hbd_config()
3854 *acb_firm_model = bus_space_read_1(acb->btag[0], acb->bhandle[0], iop_firm_model+i); in arcmsr_get_hbe_config()
[all …]
/dragonfly/sys/dev/raid/ida/
H A Didavar.h37 bus_space_read_1((ida)->tag, (ida)->bsh, port)

12345