/src/sys/arch/arm/nxp/ |
imx6_pwm.c | 53 struct imxpwm_fdt_softc * const ifsc = device_private(dev); local in function:imxpwm_get_tag 54 struct imxpwm_softc * const sc = &ifsc->sc_imxpwm; 94 struct imxpwm_fdt_softc * const ifsc = device_private(self); local in function:imx6_pwm_attach 95 struct imxpwm_softc * const sc = &ifsc->sc_imxpwm;
|
imx6_spi.c | 99 struct imxspi_fdt_softc * const ifsc = device_private(self); local in function:imxspi_attach 100 struct imxspi_softc * const sc = &ifsc->sc_imxspi; 116 ifsc->sc_pin_cs = kmem_alloc(sizeof(struct fdtbus_gpio_pin *) * nslaves, KM_SLEEP); 119 ifsc->sc_pin_cs[i] = fdtbus_gpio_acquire_index(phandle, "cs-gpios", i, 123 ifsc->sc_clk = fdtbus_clock_get_index(phandle, 0); 124 if (ifsc->sc_clk == NULL) { 129 error = clk_enable(ifsc->sc_clk); 135 ifsc->sc_tag.cookie = ifsc; 136 ifsc->sc_tag.spi_cs_enable = imxspi_cs_enable [all...] |
imx6_pcie.c | 110 struct imxpcie_fdt_softc * const ifsc = device_private(self); local in function:imx6_pcie_attach 111 struct imxpcie_softc * const sc = &ifsc->sc_imxpcie; 125 sc->sc_cookie = ifsc; 155 ifsc->sc_pin_reset = fdtbus_gpio_acquire(phandle, "reset-gpio", 157 if (!ifsc->sc_pin_reset) { 179 ifsc->sc_reg_vpcie = fdtbus_regulator_acquire(phandle, "vpcie-supply"); 180 if (ifsc->sc_reg_vpcie == NULL) { 185 fdtbus_regulator_enable(ifsc->sc_reg_vpcie); 228 struct imxpcie_fdt_softc * const ifsc = cookie; local in function:imx6_pcie_configure 229 struct imxpcie_softc * const sc = &ifsc->sc_imxpcie 253 struct imxpcie_fdt_softc * const ifsc = cookie; local in function:imx6_pcie_gpr_read 261 struct imxpcie_fdt_softc * const ifsc = cookie; local in function:imx6_pcie_gpr_write 269 struct imxpcie_fdt_softc * const ifsc = cookie; local in function:imx6_pcie_reset [all...] |
imx6_usb.c | 94 struct imxusbc_fdt_softc *ifsc = device_private(self); local in function:imx6_usb_attach 95 struct imxusbc_softc *sc = &ifsc->sc_imxusbc; 108 ifsc->sc_phandle = phandle; 284 struct imxusbc_fdt_softc *ifsc = (struct imxusbc_fdt_softc *)sc->sc_usbc; local in function:imx6_usb_intr_establish 289 if (!fdtbus_intr_str(ifsc->sc_phandle, 0, intrstr, sizeof(intrstr))) { 293 ih = fdtbus_intr_establish_xname(ifsc->sc_phandle, 0, IPL_USB,
|