Searched refs:regoff (Results 1 - 11 of 11) sorted by relevance

/freebsd-11-stable/sys/arm/at91/
H A Dat91_smc.c43 RD4HW(uint32_t devbase, uint32_t regoff) argument
46 return *(volatile uint32_t *)(AT91_BASE + devbase + regoff);
51 WR4HW(uint32_t devbase, uint32_t regoff, uint32_t val) argument
54 *(volatile uint32_t *)(AT91_BASE + devbase + regoff) = val;
H A Dboard_tsc4370.c62 RD4HW(uint32_t devbase, uint32_t regoff) argument
64 return *(volatile uint32_t *)(AT91_BASE + devbase + regoff);
68 WR4HW(uint32_t devbase, uint32_t regoff, uint32_t val) argument
70 *(volatile uint32_t *)(AT91_BASE + devbase + regoff) = val;
/freebsd-11-stable/sys/arm/freescale/imx/
H A Dimx6_usbphy.c94 int err, regoff, rid; local
117 regoff = 0;
120 regoff = 0x60;
130 imx6_anatop_write_4(IMX6_ANALOG_USB1_CHRG_DETECT + regoff,
134 imx6_anatop_write_4(IMX6_ANALOG_USB1_CHRG_DETECT + regoff,
H A Dimx6_ccm.c284 int phy_num, regoff;
290 regoff = 0;
293 regoff = 0x10;
301 imx6_anatop_write_4(IMX6_ANALOG_CCM_PLL_USB1 + regoff,
/freebsd-11-stable/sys/dev/isp/
H A Disp_pci.c1149 isp_pci_rd_reg(ispsoftc_t *isp, int regoff) argument
1154 if ((regoff & _BLK_REG_MASK) == SXP_BLOCK) {
1162 rv = BXR2(isp, IspVirt2Off(isp, regoff));
1163 if ((regoff & _BLK_REG_MASK) == SXP_BLOCK) {
1171 isp_pci_wr_reg(ispsoftc_t *isp, int regoff, uint32_t val) argument
1175 if ((regoff & _BLK_REG_MASK) == SXP_BLOCK) {
1184 BXW2(isp, IspVirt2Off(isp, regoff), val);
1185 MEMORYBARRIER(isp, SYNC_REG, IspVirt2Off(isp, regoff), 2, -1);
1186 if ((regoff & _BLK_REG_MASK) == SXP_BLOCK) {
1194 isp_pci_rd_reg_1080(ispsoftc_t *isp, int regoff) argument
1226 isp_pci_wr_reg_1080(ispsoftc_t *isp, int regoff, uint32_t val) argument
1258 isp_pci_rd_reg_2400(ispsoftc_t *isp, int regoff) argument
1318 isp_pci_wr_reg_2400(ispsoftc_t *isp, int regoff, uint32_t val) argument
1381 isp_pci_rd_reg_2600(ispsoftc_t *isp, int regoff) argument
1418 isp_pci_wr_reg_2600(ispsoftc_t *isp, int regoff, uint32_t val) argument
[all...]
H A Disp_sbus.c375 isp_sbus_rd_reg(ispsoftc_t *isp, int regoff) argument
379 int offset = sbs->sbus_poff[(regoff & _BLK_REG_MASK) >> _BLK_REG_SHFT];
380 offset += (regoff & 0xff);
383 "isp_sbus_rd_reg(off %x) = %x", regoff, rval);
388 isp_sbus_wr_reg(ispsoftc_t *isp, int regoff, uint32_t val) argument
391 int offset = sbs->sbus_poff[(regoff & _BLK_REG_MASK) >> _BLK_REG_SHFT];
392 offset += (regoff & 0xff);
394 "isp_sbus_wr_reg(off %x) = %x", regoff, val);
/freebsd-11-stable/contrib/gdb/gdb/
H A Dppc-tdep.h92 int *regoff; /* byte offsets in register arrays */ member in struct:gdbarch_tdep
H A Drs6000-tdep.c1822 return gdbarch_tdep (current_gdbarch)->regoff[n];
2823 tdep->regoff = xmalloc (v->num_tot_regs * sizeof (int));
2826 tdep->regoff[i] = off;
/freebsd-11-stable/sys/dev/ntb/ntb_hw/
H A Dntb_hw_intel.c341 static inline uint64_t db_ioread(struct ntb_softc *, uint64_t regoff);
342 static inline void db_iowrite(struct ntb_softc *, uint64_t regoff, uint64_t);
343 static inline void db_iowrite_raw(struct ntb_softc *, uint64_t regoff, uint64_t);
1147 db_ioread(struct ntb_softc *ntb, uint64_t regoff) argument
1151 return (intel_ntb_reg_read(8, regoff));
1155 return (intel_ntb_reg_read(2, regoff));
1159 db_iowrite(struct ntb_softc *ntb, uint64_t regoff, uint64_t val) argument
1167 if (regoff == ntb->self_reg->db_mask)
1169 db_iowrite_raw(ntb, regoff, val);
1173 db_iowrite_raw(struct ntb_softc *ntb, uint64_t regoff, uint64_ argument
3012 uint64_t regoff; local
[all...]
/freebsd-11-stable/sys/powerpc/powermac/
H A Duninorth.c221 unin_update_reg(device_t dev, uint32_t regoff, uint32_t set, uint32_t clr) argument
228 reg = (void *)(sc->sc_addr + regoff);
/freebsd-11-stable/usr.sbin/bhyve/
H A Dpci_ahci.c2278 uint64_t regoff, int size)
2286 assert((regoff & (size - 1)) == 0);
2290 offset = regoff & ~0x3; /* round down to a multiple of 4 bytes */
2298 regoff);
2300 value >>= 8 * (regoff & 0x3);
2277 pci_ahci_read(struct vmctx *ctx, int vcpu, struct pci_devinst *pi, int baridx, uint64_t regoff, int size) argument

Completed in 212 milliseconds