Home
last modified time | relevance | path

Searched refs:status_reg (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/arm/ti/am335x/
H A Dam335x_pmic.c90 struct tps65217_status_reg status_reg; in am335x_pmic_intr() local
102 rv = am335x_pmic_read(sc->sc_dev, TPS65217_STATUS_REG, (uint8_t *)&status_reg, 1); in am335x_pmic_intr()
110 if (int_reg.pbi && status_reg.pb) in am335x_pmic_intr()
114 status_reg.acpwr); in am335x_pmic_intr()
204 struct tps65217_status_reg status_reg; in am335x_pmic_start() local
231 am335x_pmic_read(dev, TPS65217_STATUS_REG, (uint8_t *)&status_reg, 1); in am335x_pmic_start()
233 pwr[status_reg.usbpwr | (status_reg.acpwr << 1)]); in am335x_pmic_start()
241 status_reg.off = 1; in am335x_pmic_start()
242 am335x_pmic_write(dev, TPS65217_STATUS_REG, (uint8_t *)&status_reg, 1); in am335x_pmic_start()
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_rng.c98 bus_size_t status_reg; member
113 .status_reg = BCM2835_RNG_STATUS,
127 .status_reg = BCM2838_RNG_STATUS,
241 val = bcm2835_rng_read4(sc, sc->conf->status_reg); in bcm2835_rng_dump_registers()
279 bcm2835_rng_write4(sc, sc->conf->status_reg, in bcm2835_rng_start()
/freebsd/sys/powerpc/powermac/
H A Ddbdma.c218 uint32_t status_reg; in dbdma_get_chan_status() local
220 status_reg = dbdma_read_reg(chan, CHAN_STATUS_REG); in dbdma_get_chan_status()
221 return (status_reg & 0x0000ffff); in dbdma_get_chan_status()
/freebsd/sys/arm/allwinner/
H A Daxp209.c341 uint8_t status_reg; member
351 .status_reg = AXP2XX_GPIO_STATUS,
358 .status_reg = AXP2XX_GPIO_STATUS,
365 .status_reg = AXP2XX_GPIO_STATUS,
375 .status_reg = AXP2XX_GPIO_STATUS,
382 .status_reg = AXP2XX_GPIO_STATUS,
1020 error = axp2xx_read(dev, sc->pins[pin].status_reg, in axp2xx_gpio_pin_get()
/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_udma_main.c373 uint32_t *status_reg; in al_udma_q_reset() local
384 status_reg = &udma_q->q_regs->rings.status; in al_udma_q_reset()
387 uint32_t status = al_reg_read32(status_reg); in al_udma_q_reset()
/freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/
H A Dbrcm,bcm3380-l2-intc.txt17 <enable_reg 0x4 status_reg 0x4>...
/freebsd/sys/dev/e1000/
H A De1000_ich8lan.c2416 u16 status_reg = 0; in e1000_k1_gig_workaround_hv() local
2433 &status_reg); in e1000_k1_gig_workaround_hv()
2437 status_reg &= (BM_CS_STATUS_LINK_UP | in e1000_k1_gig_workaround_hv()
2441 if (status_reg == (BM_CS_STATUS_LINK_UP | in e1000_k1_gig_workaround_hv()
2449 &status_reg); in e1000_k1_gig_workaround_hv()
2453 status_reg &= (HV_M_STATUS_LINK_UP | in e1000_k1_gig_workaround_hv()
2457 if (status_reg == (HV_M_STATUS_LINK_UP | in e1000_k1_gig_workaround_hv()
2999 u16 status_reg = 0; in e1000_k1_workaround_lv() local
3007 ret_val = hw->phy.ops.read_reg(hw, HV_M_STATUS, &status_reg); in e1000_k1_workaround_lv()
3011 if ((status_reg & (HV_M_STATUS_LINK_UP | HV_M_STATUS_AUTONEG_COMPLETE)) in e1000_k1_workaround_lv()
[all …]
/freebsd/sys/contrib/alpine-hal/eth/
H A Dal_hal_eth_mac_regs.h364 uint32_t status_reg; member
/freebsd/sys/dev/mrsas/
H A Dmrsas.c3219 u_int32_t host_diag, abs_state, status_reg, reset_adapter; in mrsas_reset_ctrl() local
3269 status_reg = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set, in mrsas_reset_ctrl()
3271 abs_state = status_reg & MFI_STATE_MASK; in mrsas_reset_ctrl()
3272 reset_adapter = status_reg & MFI_RESET_ADAPTER; in mrsas_reset_ctrl()