Home
last modified time | relevance | path

Searched refs:to_spi_device (Results 1 – 25 of 70) sorted by relevance

123

/linux-6.1.9/drivers/mtd/spi-nor/
Dsysfs.c13 struct spi_device *spi = to_spi_device(dev); in manufacturer_show()
24 struct spi_device *spi = to_spi_device(dev); in partname_show()
35 struct spi_device *spi = to_spi_device(dev); in jedec_id_show()
54 struct spi_device *spi = to_spi_device(kobj_to_dev(kobj)); in sfdp_read()
73 struct spi_device *spi = to_spi_device(kobj_to_dev(kobj)); in spi_nor_sysfs_is_visible()
86 struct spi_device *spi = to_spi_device(kobj_to_dev(kobj)); in spi_nor_sysfs_is_bin_visible()
/linux-6.1.9/drivers/net/ethernet/wiznet/
Dw5100-spi.c28 struct spi_device *spi = to_spi_device(ndev->dev.parent); in w5100_spi_read()
40 struct spi_device *spi = to_spi_device(ndev->dev.parent); in w5100_spi_write()
141 struct spi_device *spi = to_spi_device(ndev->dev.parent); in w5200_spi_read()
153 struct spi_device *spi = to_spi_device(ndev->dev.parent); in w5200_spi_write()
161 struct spi_device *spi = to_spi_device(ndev->dev.parent); in w5200_spi_read16()
173 struct spi_device *spi = to_spi_device(ndev->dev.parent); in w5200_spi_write16()
186 struct spi_device *spi = to_spi_device(ndev->dev.parent); in w5200_spi_readbulk()
216 struct spi_device *spi = to_spi_device(ndev->dev.parent); in w5200_spi_writebulk()
286 struct spi_device *spi = to_spi_device(ndev->dev.parent); in w5500_spi_read()
302 struct spi_device *spi = to_spi_device(ndev->dev.parent); in w5500_spi_write()
[all …]
/linux-6.1.9/drivers/input/misc/
Dadxl34x-spi.c28 struct spi_device *spi = to_spi_device(dev); in adxl34x_spi_read()
39 struct spi_device *spi = to_spi_device(dev); in adxl34x_spi_write()
52 struct spi_device *spi = to_spi_device(dev); in adxl34x_spi_read_block()
99 struct spi_device *spi = to_spi_device(dev); in adxl34x_spi_suspend()
109 struct spi_device *spi = to_spi_device(dev); in adxl34x_spi_resume()
Dad714x-spi.c20 return ad714x_disable(spi_get_drvdata(to_spi_device(dev))); in ad714x_spi_suspend()
25 return ad714x_enable(spi_get_drvdata(to_spi_device(dev))); in ad714x_spi_resume()
33 struct spi_device *spi = to_spi_device(chip->dev); in ad714x_spi_read()
67 struct spi_device *spi = to_spi_device(chip->dev); in ad714x_spi_write()
/linux-6.1.9/drivers/rtc/
Drtc-max6916.c34 struct spi_device *spi = to_spi_device(dev); in max6916_read_reg()
44 struct spi_device *spi = to_spi_device(dev); in max6916_write_reg()
55 struct spi_device *spi = to_spi_device(dev); in max6916_read_time()
79 struct spi_device *spi = to_spi_device(dev); in max6916_set_time()
Drtc-ds1390.c56 struct spi_device *spi = to_spi_device(dev); in ds1390_set_reg()
69 struct spi_device *spi = to_spi_device(dev); in ds1390_get_reg()
129 struct spi_device *spi = to_spi_device(dev); in ds1390_read_time()
158 struct spi_device *spi = to_spi_device(dev); in ds1390_set_time()
Drtc-rx4581.c69 struct spi_device *spi = to_spi_device(dev); in rx4581_set_reg()
82 struct spi_device *spi = to_spi_device(dev); in rx4581_get_reg()
96 struct spi_device *spi = to_spi_device(dev); in rx4581_get_datetime()
172 struct spi_device *spi = to_spi_device(dev); in rx4581_set_datetime()
Drtc-max6902.c31 struct spi_device *spi = to_spi_device(dev); in max6902_set_reg()
44 struct spi_device *spi = to_spi_device(dev); in max6902_get_reg()
55 struct spi_device *spi = to_spi_device(dev); in max6902_read_time()
Drtc-r9701.c42 struct spi_device *spi = to_spi_device(dev); in write_reg()
53 struct spi_device *spi = to_spi_device(dev); in read_regs()
/linux-6.1.9/drivers/net/wireless/microchip/wilc1000/
Dspi.c162 struct spi_device *spi = to_spi_device(wilc->dev); in wilc_parse_gpios()
279 struct spi_device *spi = to_spi_device(wilc->dev); in wilc_spi_tx()
322 struct spi_device *spi = to_spi_device(wilc->dev); in wilc_spi_rx()
364 struct spi_device *spi = to_spi_device(wilc->dev); in wilc_spi_tx_rx()
401 struct spi_device *spi = to_spi_device(wilc->dev); in spi_data_write()
484 struct spi_device *spi = to_spi_device(wilc->dev); in wilc_spi_single_read()
579 struct spi_device *spi = to_spi_device(wilc->dev); in wilc_spi_write_cmd()
653 struct spi_device *spi = to_spi_device(wilc->dev); in wilc_spi_dma_rw()
780 struct spi_device *spi = to_spi_device(wilc->dev); in wilc_spi_special_cmd()
835 struct spi_device *spi = to_spi_device(wilc->dev); in wilc_spi_read_reg()
[all …]
/linux-6.1.9/drivers/iio/pressure/
Dmpl115_spi.c25 struct spi_device *spi = to_spi_device(dev); in mpl115_spi_init()
39 struct spi_device *spi = to_spi_device(dev); in mpl115_spi_read()
60 struct spi_device *spi = to_spi_device(dev); in mpl115_spi_write()
Dbmp280-spi.c18 struct spi_device *spi = to_spi_device(dev); in bmp280_regmap_spi_write()
35 struct spi_device *spi = to_spi_device(dev); in bmp280_regmap_spi_read()
/linux-6.1.9/drivers/base/regmap/
Dregmap-spi.c31 struct spi_device *spi = to_spi_device(dev); in regmap_spi_write()
41 struct spi_device *spi = to_spi_device(dev); in regmap_spi_gather_write()
62 struct spi_device *spi = to_spi_device(dev); in regmap_spi_async_write()
96 struct spi_device *spi = to_spi_device(dev); in regmap_spi_read()
/linux-6.1.9/drivers/net/wireless/ti/wlcore/
Dspi.c113 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_reset()
123 struct spi_device *spi = to_spi_device(glue->dev); in wl12xx_spi_init()
168 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_init()
187 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_init()
220 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_read_busy()
271 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_raw_read()
287 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_raw_read()
347 spi_sync(to_spi_device(glue->dev), &m); in __wl12xx_spi_raw_write()
/linux-6.1.9/drivers/hwmon/
Dadcxx.c50 struct spi_device *spi = to_spi_device(dev); in adcxx_show()
94 struct spi_device *spi = to_spi_device(dev); in adcxx_max_show()
112 struct spi_device *spi = to_spi_device(dev); in adcxx_max_store()
132 return sprintf(buf, "%s\n", to_spi_device(dev)->modalias); in adcxx_name_show()
Dmax31722.c118 struct spi_device *spi_device = to_spi_device(dev); in max31722_suspend()
126 struct spi_device *spi_device = to_spi_device(dev); in max31722_resume()
/linux-6.1.9/drivers/gpio/
Dgpio-max7301.c22 struct spi_device *spi = to_spi_device(dev); in max7301_spi_write()
34 struct spi_device *spi = to_spi_device(dev); in max7301_spi_read()
/linux-6.1.9/drivers/iio/accel/
Dbma400_spi.c25 struct spi_device *spi = to_spi_device(dev); in bma400_regmap_spi_read()
51 struct spi_device *spi = to_spi_device(dev); in bma400_regmap_spi_write()
/linux-6.1.9/drivers/pinctrl/
Dpinctrl-mcp23s08_spi.c29 struct spi_device *spi = to_spi_device(mcp->dev); in mcp23sxx_spi_write()
46 struct spi_device *spi = to_spi_device(mcp->dev); in mcp23sxx_spi_gather_write()
64 struct spi_device *spi = to_spi_device(mcp->dev); in mcp23sxx_spi_read()
/linux-6.1.9/drivers/usb/host/
Dmax3421-hcd.c350 struct spi_device *spi = to_spi_device(hcd->self.controller); in spi_rd8()
375 struct spi_device *spi = to_spi_device(hcd->self.controller); in spi_wr8()
399 struct spi_device *spi = to_spi_device(hcd->self.controller); in spi_rd_buf()
425 struct spi_device *spi = to_spi_device(hcd->self.controller); in spi_wr_buf()
531 struct spi_device *spi = to_spi_device(hcd->self.controller); in max3421_transfer_out()
637 struct spi_device *spi = to_spi_device(hcd->self.controller); in max3421_select_and_start_urb()
772 struct spi_device *spi = to_spi_device(hcd->self.controller); in max3421_check_unlink()
852 struct spi_device *spi = to_spi_device(hcd->self.controller); in max3421_handle_error()
944 struct spi_device *spi = to_spi_device(hcd->self.controller); in max3421_transfer_in_done()
1139 struct spi_device *spi = to_spi_device(hcd->self.controller); in max3421_irq_handler()
[all …]
/linux-6.1.9/drivers/iio/dac/
Dad5686-spi.c19 struct spi_device *spi = to_spi_device(st->dev); in ad5686_spi_write()
62 struct spi_device *spi = to_spi_device(st->dev); in ad5686_spi_read()
/linux-6.1.9/drivers/mfd/
Dsprd-sc27xx-spi.c72 struct spi_device *spi = to_spi_device(dev); in sprd_pmic_detect_charger_type()
110 struct spi_device *spi = to_spi_device(dev); in sprd_pmic_spi_write()
120 struct spi_device *spi = to_spi_device(dev); in sprd_pmic_spi_read()
Dmc13xxx-spi.c68 struct spi_device *spi = to_spi_device(dev); in mc13xxx_spi_read()
93 struct spi_device *spi = to_spi_device(dev); in mc13xxx_spi_write()
/linux-6.1.9/drivers/misc/lis3lv02d/
Dlis3lv02d_spi.c111 struct spi_device *spi = to_spi_device(dev); in lis3lv02d_spi_suspend()
122 struct spi_device *spi = to_spi_device(dev); in lis3lv02d_spi_resume()
/linux-6.1.9/drivers/iio/adc/
Dad7606_spi.c106 struct spi_device *spi = to_spi_device(dev); in ad7606_spi_read_block()
125 struct spi_device *spi = to_spi_device(st->dev); in ad7606_spi_reg_read()
151 struct spi_device *spi = to_spi_device(st->dev); in ad7606_spi_reg_write()

123