HomeSort by: relevance | last modified time | path
    Searched refs:nslaves (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/arch/arm/nxp/
imx6_spi.c 111 u_int nslaves; local in function:imxspi_attach
112 error = of_getprop_uint32(phandle, "fsl,spi-num-chipselects", &nslaves);
114 nslaves = 4;
116 ifsc->sc_pin_cs = kmem_alloc(sizeof(struct fdtbus_gpio_pin *) * nslaves, KM_SLEEP);
118 for (int i = 0; i < nslaves; i++) {
146 sc->sc_nslaves = nslaves;
imx6_spi.c 111 u_int nslaves; local in function:imxspi_attach
112 error = of_getprop_uint32(phandle, "fsl,spi-num-chipselects", &nslaves);
114 nslaves = 4;
116 ifsc->sc_pin_cs = kmem_alloc(sizeof(struct fdtbus_gpio_pin *) * nslaves, KM_SLEEP);
118 for (int i = 0; i < nslaves; i++) {
146 sc->sc_nslaves = nslaves;

Completed in 20 milliseconds