Home
last modified time | relevance | path

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

12

/linux-3.4.99/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()
100 struct spi_device *spi = to_spi_device(dev); in adxl34x_spi_suspend()
110 struct spi_device *spi = to_spi_device(dev); in adxl34x_spi_resume()
Dad714x-spi.c22 return ad714x_disable(spi_get_drvdata(to_spi_device(dev))); in ad714x_spi_suspend()
27 return ad714x_enable(spi_get_drvdata(to_spi_device(dev))); in ad714x_spi_resume()
36 struct spi_device *spi = to_spi_device(chip->dev); in ad714x_spi_read()
70 struct spi_device *spi = to_spi_device(chip->dev); in ad714x_spi_write()
/linux-3.4.99/drivers/base/regmap/
Dregmap-spi.c20 struct spi_device *spi = to_spi_device(dev); in regmap_spi_write()
29 struct spi_device *spi = to_spi_device(dev); in regmap_spi_gather_write()
45 struct spi_device *spi = to_spi_device(dev); in regmap_spi_read()
/linux-3.4.99/drivers/net/wireless/wl12xx/
Dspi.c101 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_reset()
157 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_init()
187 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_read_busy()
238 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_raw_read()
254 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_raw_read()
308 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_raw_write()
/linux-3.4.99/drivers/hwmon/
Dadcxx.c63 struct spi_device *spi = to_spi_device(dev); in adcxx_read()
107 struct spi_device *spi = to_spi_device(dev); in adcxx_show_max()
124 struct spi_device *spi = to_spi_device(dev); in adcxx_set_max()
144 struct spi_device *spi = to_spi_device(dev); in adcxx_show_name()
Dads7871.c104 struct spi_device *spi = to_spi_device(dev); in show_voltage()
145 return sprintf(buf, "%s\n", to_spi_device(dev)->modalias); in ads7871_show_name()
Dad7314.c100 return sprintf(buf, "%s\n", to_spi_device(dev)->modalias); in ad7314_show_name()
Dlm70.c57 struct spi_device *spi = to_spi_device(dev); in lm70_sense_temp()
/linux-3.4.99/drivers/rtc/
Drtc-max6902.c35 struct spi_device *spi = to_spi_device(dev); in max6902_set_reg()
48 struct spi_device *spi = to_spi_device(dev); in max6902_get_reg()
59 struct spi_device *spi = to_spi_device(dev); in max6902_read_time()
Drtc-ds3234.c37 struct spi_device *spi = to_spi_device(dev); in ds3234_set_reg()
50 struct spi_device *spi = to_spi_device(dev); in ds3234_get_reg()
61 struct spi_device *spi = to_spi_device(dev); in ds3234_read_time()
Drtc-ds1390.c51 struct spi_device *spi = to_spi_device(dev); in ds1390_get_reg()
72 struct spi_device *spi = to_spi_device(dev); in ds1390_read_time()
101 struct spi_device *spi = to_spi_device(dev); in ds1390_set_time()
Drtc-pcf2123.c88 struct spi_device *spi = to_spi_device(dev); in pcf2123_show()
109 struct spi_device *spi = to_spi_device(dev); in pcf2123_store()
134 struct spi_device *spi = to_spi_device(dev); in pcf2123_rtc_read_time()
172 struct spi_device *spi = to_spi_device(dev); in pcf2123_rtc_set_time()
Drtc-m41t94.c34 struct spi_device *spi = to_spi_device(dev); in m41t94_set_time()
61 struct spi_device *spi = to_spi_device(dev); in m41t94_read_time()
Drtc-r9701.c45 struct spi_device *spi = to_spi_device(dev); in write_reg()
56 struct spi_device *spi = to_spi_device(dev); in read_regs()
Drtc-m41t93.c50 struct spi_device *spi = to_spi_device(dev); in m41t93_set_time()
81 struct spi_device *spi = to_spi_device(dev); in m41t93_get_time()
Drtc-rs5c348.c66 struct spi_device *spi = to_spi_device(dev); in rs5c348_rtc_set_time()
102 struct spi_device *spi = to_spi_device(dev); in rs5c348_rtc_read_time()
/linux-3.4.99/drivers/input/touchscreen/
Dad7879-spi.c85 struct spi_device *spi = to_spi_device(dev); in ad7879_spi_multi_read()
92 struct spi_device *spi = to_spi_device(dev); in ad7879_spi_read()
100 struct spi_device *spi = to_spi_device(dev); in ad7879_spi_write()
Dtsc2005.c371 struct spi_device *spi = to_spi_device(dev); in tsc2005_selftest_show()
457 struct spi_device *spi = to_spi_device(dev); in tsc2005_attr_is_visible()
705 struct spi_device *spi = to_spi_device(dev); in tsc2005_suspend()
722 struct spi_device *spi = to_spi_device(dev); in tsc2005_resume()
Dcyttsp_spi.c49 struct spi_device *spi = to_spi_device(ts->dev); in cyttsp_spi_xfer()
/linux-3.4.99/drivers/gpio/
Dgpio-max7301.c25 struct spi_device *spi = to_spi_device(dev); in max7301_spi_write()
37 struct spi_device *spi = to_spi_device(dev); in max7301_spi_read()
/linux-3.4.99/drivers/spi/
Dspi.c39 struct spi_device *spi = to_spi_device(dev); in spidev_release()
52 const struct spi_device *spi = to_spi_device(dev); in modalias_show()
87 const struct spi_device *spi = to_spi_device(dev); in spi_match_device()
102 const struct spi_device *spi = to_spi_device(dev); in spi_uevent()
117 value = drv->suspend(to_spi_device(dev), message); in spi_legacy_suspend()
132 value = drv->resume(to_spi_device(dev)); in spi_legacy_resume()
235 return sdrv->probe(to_spi_device(dev)); in spi_drv_probe()
242 return sdrv->remove(to_spi_device(dev)); in spi_drv_remove()
249 sdrv->shutdown(to_spi_device(dev)); in spi_drv_shutdown()
943 spi_unregister_device(to_spi_device(dev)); in __unregister()
/linux-3.4.99/drivers/misc/lis3lv02d/
Dlis3lv02d_spi.c95 struct spi_device *spi = to_spi_device(dev); in lis3lv02d_spi_suspend()
106 struct spi_device *spi = to_spi_device(dev); in lis3lv02d_spi_resume()
/linux-3.4.99/drivers/misc/
Dti_dac7512.c33 struct spi_device *spi = to_spi_device(dev); in dac7512_store_val()
/linux-3.4.99/drivers/staging/iio/adc/
Dad7606_spi.c22 struct spi_device *spi = to_spi_device(dev); in ad7606_spi_read_block()
/linux-3.4.99/sound/soc/
Dsoc-io.c137 codec->control_data = regmap_init_spi(to_spi_device(codec->dev), in snd_soc_codec_set_cache_io()

12