Searched refs:sc_conf (Results 1 – 11 of 11) sorted by relevance
336 if (nsc->sc_conf.nd_completed_cb) in nextdma_reset()337 (*nsc->sc_conf.nd_completed_cb)( in nextdma_reset()338 stat->nd_map_cont, nsc->sc_conf.nd_cb_arg); in nextdma_reset()343 if (nsc->sc_conf.nd_shutdown_cb) in nextdma_reset()344 (*nsc->sc_conf.nd_shutdown_cb)(nsc->sc_conf.nd_cb_arg); in nextdma_reset()373 if (nsc->sc_conf.nd_continue_cb != NULL) { in nextdma_rotate()374 stat->nd_map_cont = (*nsc->sc_conf.nd_continue_cb) in nextdma_rotate()375 (nsc->sc_conf.nd_cb_arg); in nextdma_rotate()538 return esp_dma_int(nsc->sc_conf.nd_cb_arg); in nextdma_esp_intr()714 if (nsc->sc_conf.nd_completed_cb) in nextdma_enet_intr()[all …]
61 struct nextdma_config sc_conf; member66 #define nextdma_setconf(nsc, elem, val) nsc->sc_conf.nd_##elem = (val)
1504 if (nsc->sc_conf.nd_completed_cb) in esp_dma_int()1505 (*nsc->sc_conf.nd_completed_cb)(stat->nd_map, in esp_dma_int()1506 nsc->sc_conf.nd_cb_arg); in esp_dma_int()1697 if (nsc->sc_conf.nd_shutdown_cb) in esp_dma_int()1698 (*nsc->sc_conf.nd_shutdown_cb)( in esp_dma_int()1699 nsc->sc_conf.nd_cb_arg); in esp_dma_int()
215 const struct rkpmic_config *sc_conf; member437 val = I2C_READ(sc, sc->sc_conf->poweroff_reg); in rkpmic_power_poweroff()438 val |= sc->sc_conf->poweroff_mask; in rkpmic_power_poweroff()439 I2C_WRITE(sc, sc->sc_conf->poweroff_reg, val); in rkpmic_power_poweroff()476 sc->sc_conf = entry->data; in rkpmic_attach()484 aprint_normal(": %s Power Management and Real Time Clock IC\n", sc->sc_conf->name); in rkpmic_attach()514 sc->sc_conf->poweroff_mask != 0) in rkpmic_attach()522 for (n = 0; n < sc->sc_conf->nctrl; n++) { in rkpmic_attach()523 child = of_find_firstchild_byname(regulators, sc->sc_conf->ctrl[n].name); in rkpmic_attach()526 raa.reg_ctrl = &sc->sc_conf->ctrl[n]; in rkpmic_attach()
463 const struct axppmic_config *sc_conf; member696 KASSERT(pin < sc->sc_conf->gpio_npins); in axppmic_gpio_ctl()728 if (pin >= sc->sc_conf->gpio_npins) { in axppmic_gpio_acquire()828 const struct axppmic_config *c = sc->sc_conf; in axppmic_sensor_update()986 const struct axppmic_config * const c = sc->sc_conf; in axppmic_work()1046 const struct axppmic_config *c = sc->sc_conf; in axppmic_attach_battery()1139 if (sc->sc_conf->has_battery) { in axppmic_attach_sensors()1189 sc->sc_conf = c; in axppmic_attach()
101 sc->sc_conf = DMAC3_CONF_PCEN | DMAC3_CONF_DCEN | DMAC3_CONF_FASTACCESS; in dmac3_attach()135 reg->conf = sc->sc_conf; in dmac3_reset()210 sc->sc_conf = conf; in dmac3_misc()
34 int sc_conf; member
45 struct pwm_config sc_conf; member
139 sc->sc_conf = *conf; in imxpwm_set_config()
101 uint8_t sc_conf; member
73 const char *sc_conf; member