Home
last modified time | relevance | path

Searched refs:spi_priv (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/wiznet/
Dw5100-spi.c132 struct w5200_spi_priv *spi_priv = w5200_spi_priv(ndev); in w5200_spi_init() local
134 mutex_init(&spi_priv->cmd_lock); in w5200_spi_init()
187 struct w5200_spi_priv *spi_priv = w5200_spi_priv(ndev); in w5200_spi_readbulk() local
190 .tx_buf = spi_priv->cmd_buf, in w5200_spi_readbulk()
191 .len = sizeof(spi_priv->cmd_buf), in w5200_spi_readbulk()
200 mutex_lock(&spi_priv->cmd_lock); in w5200_spi_readbulk()
202 spi_priv->cmd_buf[0] = addr >> 8; in w5200_spi_readbulk()
203 spi_priv->cmd_buf[1] = addr; in w5200_spi_readbulk()
204 spi_priv->cmd_buf[2] = len >> 8; in w5200_spi_readbulk()
205 spi_priv->cmd_buf[3] = len; in w5200_spi_readbulk()
[all …]
/Linux-v6.6/drivers/net/wireless/microchip/wilc1000/
Dspi.c164 struct wilc_spi *spi_priv = wilc->bus_data; in wilc_parse_gpios() local
165 struct wilc_gpios *gpios = &spi_priv->gpios; in wilc_parse_gpios()
188 struct wilc_spi *spi_priv = wilc->bus_data; in wilc_wlan_power() local
189 struct wilc_gpios *gpios = &spi_priv->gpios; in wilc_wlan_power()
209 struct wilc_spi *spi_priv; in wilc_bus_probe() local
211 spi_priv = kzalloc(sizeof(*spi_priv), GFP_KERNEL); in wilc_bus_probe()
212 if (!spi_priv) in wilc_bus_probe()
221 wilc->bus_data = spi_priv; in wilc_bus_probe()
240 kfree(spi_priv); in wilc_bus_probe()
247 struct wilc_spi *spi_priv = wilc->bus_data; in wilc_bus_remove() local
[all …]