Searched refs:reg_control (Results 1 - 6 of 6) sorted by last modified time

/freebsd-11-stable/sys/dev/iicbus/twsi/
H A Dmv_twsi.c147 sc->reg_control = TWSI_CNTR;
H A Da10_twsi.c121 sc->reg_control = TWI_CNTR;
H A Dtwsi.c116 val = TWSI_READ(sc, sc->reg_control);
118 TWSI_WRITE(sc, sc->reg_control, val);
126 val = TWSI_READ(sc, sc->reg_control);
128 TWSI_WRITE(sc, sc->reg_control, val);
152 while (!(TWSI_READ(sc, sc->reg_control) & mask)) {
178 iflg_set = TWSI_READ(sc, sc->reg_control) & TWSI_CONTROL_IFLG;
254 TWSI_WRITE(sc, sc->reg_control, TWSI_CONTROL_TWSIEN | TWSI_CONTROL_ACK);
H A Dtwsi.h53 bus_size_t reg_control; member in struct:twsi_softc
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-helper-board.c1232 cvmx_mdio_phy_reg_control_t reg_control; local
1254 reg_control.u16 = cvmx_mdio_read(phy_addr >> 8, phy_addr & 0xff, CVMX_MDIO_PHY_REG_CONTROL);
1255 reg_control.s.autoneg_enable = 1;
1256 reg_control.s.restart_autoneg = 1;
1257 cvmx_mdio_write(phy_addr >> 8, phy_addr & 0xff, CVMX_MDIO_PHY_REG_CONTROL, reg_control.u16);
1261 cvmx_mdio_phy_reg_control_t reg_control; local
1297 reg_control.u16 = cvmx_mdio_read(phy_addr >> 8, phy_addr & 0xff, CVMX_MDIO_PHY_REG_CONTROL);
1298 reg_control.s.autoneg_enable = 1;
1299 reg_control.s.restart_autoneg = 1;
1300 cvmx_mdio_write(phy_addr >> 8, phy_addr & 0xff, CVMX_MDIO_PHY_REG_CONTROL, reg_control
1304 cvmx_mdio_phy_reg_control_t reg_control; local
[all...]
/freebsd-11-stable/sys/dev/usb/serial/
H A Dumcs.c100 uint8_t reg_control; /* CONTROL register. */ member in struct:umcs7840_port_registers
106 {.reg_sp = MCS7840_DEV_REG_SP1,.reg_control = MCS7840_DEV_REG_CONTROL1,.reg_dcr = MCS7840_DEV_REG_DCR0_1},
107 {.reg_sp = MCS7840_DEV_REG_SP2,.reg_control = MCS7840_DEV_REG_CONTROL2,.reg_dcr = MCS7840_DEV_REG_DCR0_2},
108 {.reg_sp = MCS7840_DEV_REG_SP3,.reg_control = MCS7840_DEV_REG_CONTROL3,.reg_dcr = MCS7840_DEV_REG_DCR0_3},
109 {.reg_sp = MCS7840_DEV_REG_SP4,.reg_control = MCS7840_DEV_REG_CONTROL4,.reg_dcr = MCS7840_DEV_REG_DCR0_4},
473 if (umcs7840_get_reg_sync(sc, umcs7840_port_registers[pn].reg_control, &data))
476 if (umcs7840_set_reg_sync(sc, umcs7840_port_registers[pn].reg_control, data))
531 if (umcs7840_get_reg_sync(sc, umcs7840_port_registers[pn].reg_control, &data))
534 if (umcs7840_set_reg_sync(sc, umcs7840_port_registers[pn].reg_control, data))
554 if (umcs7840_get_reg_sync(sc, umcs7840_port_registers[pn].reg_control,
[all...]

Completed in 103 milliseconds