Searched refs:spi_sync (Results 1 - 78 of 78) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/qualcomm/
H A Dqca_7k.c62 spi_sync(qca->spi_dev, msg); qcaspi_read_register()
74 ret = spi_sync(qca->spi_dev, msg); qcaspi_read_register()
104 spi_sync(qca->spi_dev, msg); qcaspi_write_register()
116 ret = spi_sync(qca->spi_dev, msg); qcaspi_write_register()
140 ret = spi_sync(qca->spi_dev, msg); qcaspi_tx_cmd()
H A Dqca_spi.c116 ret = spi_sync(qca->spi_dev, msg); qcaspi_write_burst()
137 ret = spi_sync(qca->spi_dev, msg); qcaspi_write_legacy()
164 ret = spi_sync(qca->spi_dev, msg); qcaspi_read_burst()
185 ret = spi_sync(qca->spi_dev, msg); qcaspi_read_legacy()
/linux-4.1.27/drivers/staging/iio/frequency/
H A Dad9832.c56 return spi_sync(st->spi, &st->freq_msg); ad9832_write_frequency()
72 return spi_sync(st->spi, &st->phase_msg); ad9832_write_phase()
107 ret = spi_sync(st->spi, &st->msg); ad9832_write()
120 ret = spi_sync(st->spi, &st->msg); ad9832_write()
133 ret = spi_sync(st->spi, &st->msg); ad9832_write()
144 ret = spi_sync(st->spi, &st->msg); ad9832_write()
277 ret = spi_sync(st->spi, &st->msg); ad9832_probe()
H A Dad9834.c52 return spi_sync(st->spi, &st->freq_msg); ad9834_write_frequency()
62 return spi_sync(st->spi, &st->msg); ad9834_write_phase()
102 ret = spi_sync(st->spi, &st->msg); ad9834_write()
110 ret = spi_sync(st->spi, &st->msg); ad9834_write()
124 ret = spi_sync(st->spi, &st->msg); ad9834_write()
133 ret = spi_sync(st->spi, &st->msg); ad9834_write()
196 ret = spi_sync(st->spi, &st->msg); ad9834_store_wavetype()
390 ret = spi_sync(st->spi, &st->msg); ad9834_probe()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Dspi.c109 spi_sync(to_spi_device(glue->dev), &m); wl12xx_spi_reset()
162 spi_sync(to_spi_device(glue->dev), &m); wl12xx_spi_init()
192 spi_sync(to_spi_device(glue->dev), &m); wl12xx_spi_read_busy()
243 spi_sync(to_spi_device(glue->dev), &m); wl12xx_spi_raw_read()
259 spi_sync(to_spi_device(glue->dev), &m); wl12xx_spi_raw_read()
316 spi_sync(to_spi_device(glue->dev), &m); wl12xx_spi_raw_write()
/linux-4.1.27/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-spi.c62 r = spi_sync(spi_dev, &msg); spi_xmit()
64 dev_err(&spi_dev->dev, "%s spi_sync failed %d\n", __func__, r); spi_xmit()
/linux-4.1.27/drivers/mfd/
H A Dtps65912-spi.c47 ret = spi_sync(spi, &msg); tps65912_spi_write()
77 ret = spi_sync(spi, &msg); tps65912_spi_read()
H A Dcros_ec_spi.c138 ret = spi_sync(ec_spi->spi, &msg); cros_ec_spi_receive_response()
200 ret = spi_sync(ec_spi->spi, &msg); cros_ec_spi_receive_response()
253 ret = spi_sync(ec_spi->spi, &msg); cros_ec_cmd_xfer_spi()
272 final_ret = spi_sync(ec_spi->spi, &msg); cros_ec_cmd_xfer_spi()
H A Dmc13xxx-spi.c85 ret = spi_sync(spi, &m); mc13xxx_spi_read()
H A Dezx-pcap.c73 status = spi_sync(pcap->spi, &m); ezx_pcap_putget()
/linux-4.1.27/drivers/iio/adc/
H A Dad7887.c89 spi_sync(st->spi, st->ring_msg); ad7887_ring_preenable()
104 return spi_sync(st->spi, &st->msg[AD7887_CH0]); ad7887_ring_postdisable()
120 b_sent = spi_sync(st->spi, st->ring_msg); ad7887_trigger_handler()
141 int ret = spi_sync(st->spi, &st->msg[ch]); ad7887_scan_direct()
H A Dad7298.c161 b_sent = spi_sync(st->spi, &st->ring_msg); ad7298_trigger_handler()
180 ret = spi_sync(st->spi, &st->scan_single_msg); ad7298_scan_direct()
H A Dad7476.c68 b_sent = spi_sync(st->spi, &st->msg); ad7476_trigger_handler()
90 ret = spi_sync(st->spi, &st->msg); ad7476_scan_direct()
H A Dad7923.c179 b_sent = spi_sync(st->spi, &st->ring_msg); ad7923_trigger_handler()
202 ret = spi_sync(st->spi, &st->scan_single_msg); ad7923_scan_direct()
H A Dad_sigma_delta.c96 ret = spi_sync(sigma_delta->spi, &m); ad_sd_write_reg()
131 ret = spi_sync(sigma_delta->spi, &m); ad_sd_read_reg_raw()
H A Dmcp320x.c106 ret = spi_sync(adc->spi, &adc->msg); mcp320x_adc_conversion()
H A Dad7266.c142 ret = spi_sync(st->spi, &st->single_msg); ad7266_read_single()
/linux-4.1.27/drivers/misc/eeprom/
H A Deeprom_93xx46.c89 ret = spi_sync(edev->spi, &m); eeprom_93xx46_bin_read()
135 ret = spi_sync(edev->spi, &m); eeprom_93xx46_ew()
185 ret = spi_sync(edev->spi, &m); eeprom_93xx46_write_word()
275 ret = spi_sync(edev->spi, &m); eeprom_93xx46_eral()
H A Dat25.c125 status = spi_sync(at25->spi, &m); at25_ee_read()
/linux-4.1.27/drivers/net/wireless/ti/wl1251/
H A Dspi.c78 spi_sync(wl_to_spi(wl), &m); wl1251_spi_reset()
130 spi_sync(wl_to_spi(wl), &m); wl1251_spi_wake()
175 spi_sync(wl_to_spi(wl), &m); wl1251_spi_read()
208 spi_sync(wl_to_spi(wl), &m); wl1251_spi_write()
/linux-4.1.27/drivers/staging/fbtft/
H A Dfbtft-io.c30 return spi_sync(par->spi, &m); fbtft_write_spi()
120 ret = spi_sync(par->spi, &m); fbtft_read_spi()
H A Dfb_ra8875.c66 return spi_sync(par->spi, &m); write_spi()
/linux-4.1.27/drivers/input/touchscreen/
H A Dcyttsp4_spi.c102 retval = spi_sync(spi, &msg); cyttsp_spi_xfer()
104 dev_dbg(dev, "%s: spi_sync() error %d, len=%d, op=%d\n", cyttsp_spi_xfer()
H A Dcyttsp_spi.c99 retval = spi_sync(spi, &msg); cyttsp_spi_xfer()
101 dev_dbg(dev, "%s: spi_sync() error %d, len=%d, op=%d\n", cyttsp_spi_xfer()
H A Dad7879-spi.c72 ret = spi_sync(spi, &msg); ad7879_spi_xfer()
H A Dad7877.c236 status = spi_sync(spi, &req->msg); ad7877_read()
261 status = spi_sync(spi, &req->msg); ad7877_write()
323 status = spi_sync(spi, &req->msg); ad7877_read_adc()
404 error = spi_sync(ts->spi, &ts->msg); ad7877_irq()
406 dev_err(&ts->spi->dev, "spi_sync --> %d\n", error); ad7877_irq()
H A Dtsc2005.c175 error = spi_sync(ts->spi, &msg); tsc2005_cmd()
199 error = spi_sync(ts->spi, &msg); tsc2005_write()
233 error = spi_sync(ts->spi, &msg); tsc2005_read()
274 error = spi_sync(ts->spi, &ts->spi_read_msg); tsc2005_irq_thread()
H A Dads7846.c371 status = spi_sync(spi, &req->msg); ads7846_read12_ser()
407 status = spi_sync(spi, &req->msg); ads7845_read12_ser()
707 error = spi_sync(ts->spi, m); ads7846_read_state()
709 dev_err(&ts->spi->dev, "spi_sync --> %d\n", error); ads7846_read_state()
/linux-4.1.27/drivers/iio/imu/
H A Dadis16400_buffer.c80 ret = spi_sync(adis->spi, &adis->msg); adis16400_trigger_handler()
H A Dadis_buffer.c95 ret = spi_sync(adis->spi, &adis->msg); adis_trigger_handler()
H A Dadis.c101 ret = spi_sync(adis->spi, &msg); adis_write_reg()
181 ret = spi_sync(adis->spi, &msg); adis_read_reg()
/linux-4.1.27/drivers/input/misc/
H A Dad714x-spi.c53 error = spi_sync(spi, &message); ad714x_spi_read()
/linux-4.1.27/drivers/mtd/devices/
H A Dsst25l.c87 err = spi_sync(flash->spi, &m); sst25l_status()
247 spi_sync(flash->spi, &message); sst25l_read()
337 err = spi_sync(spi, &m); sst25l_match_device()
H A Dmtd_dataflash.c198 status = spi_sync(spi, &msg); dataflash_erase()
278 status = spi_sync(priv->spi, &msg); dataflash_read()
361 status = spi_sync(spi, &msg); dataflash_write()
382 status = spi_sync(spi, &msg); dataflash_write()
403 status = spi_sync(spi, &msg); dataflash_write()
491 status = spi_sync(spi, &m); otp_read()
579 status = spi_sync(priv->spi, &m); dataflash_write_user_otp()
H A Dm25p80.c103 spi_sync(spi, &m); m25p80_write()
151 spi_sync(spi, &m); m25p80_read()
/linux-4.1.27/net/nfc/nci/
H A Dspi.c63 return spi_sync(nspi->spi, &m); __nci_spi_send()
206 ret = spi_sync(nspi->spi, &m); __nci_spi_read()
229 ret = spi_sync(nspi->spi, &m); __nci_spi_read()
/linux-4.1.27/drivers/video/backlight/
H A Dili922x.c178 ret = spi_sync(spi, &msg); ili922x_read_status()
232 ret = spi_sync(spi, &msg); ili922x_read()
273 ret = spi_sync(spi, &msg); ili922x_write()
290 ret = spi_sync(spi, &msg); ili922x_write()
342 spi_sync(spi, &msg); set_write_to_gram_reg()
H A Dtosa_lcd.c60 return spi_sync(spi, &msg); tosa_tg_send()
H A Dili9320.c51 return spi_sync(spi->dev, &spi->message); ili9320_write_spi()
H A Dltv350qv.c67 return spi_sync(lcd->spi, &msg); ltv350qv_write_reg()
H A Dams369fg06.c178 return spi_sync(lcd->spi, &msg); ams369fg06_spi_write_byte()
H A Dlms501kf03.c131 return spi_sync(lcd->spi, &msg); lms501kf03_spi_write_byte()
H A Dtdo24m.c212 err = spi_sync(lcd->spi_dev, &lcd->msg); tdo24m_writes()
H A Dcorgi_lcd.c188 return spi_sync(lcd->spi_dev, &msg); corgi_ssp_lcdtg_send()
H A Dhx8357.c254 ret = spi_sync(lcd->spi, &msg); hx8357_spi_write_then_read()
H A Dld9040.c441 return spi_sync(lcd->spi, &msg); ld9040_spi_write_byte()
H A Ds6e63m0.c372 return spi_sync(lcd->spi, &msg); s6e63m0_spi_write_byte()
/linux-4.1.27/drivers/net/ieee802154/
H A Dmrf24j40.c117 ret = spi_sync(devrec->spi, &msg); write_short_reg()
143 ret = spi_sync(devrec->spi, &msg); read_short_reg()
174 ret = spi_sync(devrec->spi, &msg); read_long_reg()
205 ret = spi_sync(devrec->spi, &msg); write_long_reg()
255 ret = spi_sync(devrec->spi, &msg); write_tx_buf()
315 ret = spi_sync(devrec->spi, &msg); mrf24j40_read_rx_buf()
H A Dcc2520.c227 ret = spi_sync(priv->spi, &msg); cc2520_cmd_strobe()
256 ret = spi_sync(priv->spi, &msg); cc2520_get_status()
290 status = spi_sync(priv->spi, &msg); cc2520_write_register()
324 status = spi_sync(priv->spi, &msg); cc2520_write_ram()
357 status = spi_sync(priv->spi, &msg); cc2520_read_register()
404 status = spi_sync(priv->spi, &msg); cc2520_write_txfifo()
441 status = spi_sync(priv->spi, &msg); cc2520_read_rxfifo()
/linux-4.1.27/drivers/staging/iio/meter/
H A Dade7758_ring.c29 ret = spi_sync(st->us, &st->ring_msg); ade7758_spi_read_burst()
/linux-4.1.27/drivers/base/regmap/
H A Dregmap-spi.c54 return spi_sync(spi, &m); regmap_spi_gather_write()
/linux-4.1.27/drivers/net/ethernet/micrel/
H A Dks8851.c181 ret = spi_sync(ks->spidev, msg); ks8851_wrreg16()
183 netdev_err(ks->netdev, "spi_sync() failed\n"); ks8851_wrreg16()
211 ret = spi_sync(ks->spidev, msg); ks8851_wrreg8()
213 netdev_err(ks->netdev, "spi_sync() failed\n"); ks8851_wrreg8()
221 * supplied to spi_sync(), or alternatively send the tx and rx buffers
277 ret = spi_sync(ks->spidev, msg); ks8851_rdreg()
279 netdev_err(ks->netdev, "read: spi_sync() failed\n"); ks8851_rdreg()
484 ret = spi_sync(ks->spidev, msg); ks8851_rdfifo()
486 netdev_err(ks->netdev, "%s: spi_sync() failed\n", __func__); ks8851_rdfifo()
738 ret = spi_sync(ks->spidev, msg); ks8851_wrpkt()
740 netdev_err(ks->netdev, "%s: spi_sync() failed\n", __func__); ks8851_wrpkt()
/linux-4.1.27/drivers/hwmon/
H A Dmax1111.c65 err = spi_sync(data->spi, &data->msg); max1111_read()
67 dev_err(dev, "spi_sync failed with %d\n", err); max1111_read()
/linux-4.1.27/drivers/net/phy/
H A Dspi_ks8995.c138 err = spi_sync(ks->spi, &m); ks8995_read()
169 err = spi_sync(ks->spi, &m); ks8995_write()
/linux-4.1.27/drivers/gpio/
H A Dgpio-74x164.c62 ret = spi_sync(spi, &message); __gen_74x164_write_config()
/linux-4.1.27/include/uapi/linux/spi/
H A Dspidev.h75 * SPI_IOC_MESSAGE gives userspace the equivalent of kernel spi_sync().
/linux-4.1.27/drivers/net/wireless/cw1200/
H A Dcw1200_spi.c99 ret = spi_sync(self->func, &m); cw1200_spi_memcpy_fromio()
179 rval = spi_sync(self->func, &m); cw1200_spi_memcpy_toio()
/linux-4.1.27/drivers/tty/serial/
H A Dmax3100.c124 /* for handling irqs: need workqueue since we do spi_sync */
210 status = spi_sync(s->spi, &message); max3100_sr()
212 dev_warn(&s->spi->dev, "error while calling spi_sync\n"); max3100_sr()
/linux-4.1.27/sound/soc/codecs/
H A Dwm0010.c548 ret = spi_sync(spi, &m); wm0010_stage2_load()
690 ret = spi_sync(spi, &m); wm0010_boot()
697 ret = spi_sync(spi, &m); wm0010_boot()
/linux-4.1.27/drivers/net/wireless/p54/
H A Dp54spi.c79 spi_sync(priv->spi, &m); p54spi_spi_read()
113 spi_sync(priv->spi, &m); p54spi_spi_write()
/linux-4.1.27/drivers/regulator/
H A Dtps6524x-regulator.c169 error = spi_sync(hw->spi, &m); __read_reg()
222 error = spi_sync(hw->spi, &m); __write_reg()
/linux-4.1.27/drivers/video/fbdev/omap/
H A Dlcd_mipid.c117 r = spi_sync(md->spi, &m); mipid_transfer()
119 dev_dbg(&md->spi->dev, "spi_sync %d\n", r); mipid_transfer()
/linux-4.1.27/drivers/spi/
H A Dspi-tle62x0.c78 return spi_sync(st->us, &msg); tle62x0_read()
H A Dspi.c780 * inside spi_sync(); the queue extraction handling at the top of the
2105 * spi_sync - blocking/synchronous SPI data transfers
2125 int spi_sync(struct spi_device *spi, struct spi_message *message) spi_sync() function
2129 EXPORT_SYMBOL_GPL(spi_sync); variable
2132 * spi_sync_locked - version of spi_sync with exclusive bus usage
2272 status = spi_sync(spi, &message); spi_write_then_read()
/linux-4.1.27/drivers/staging/iio/accel/
H A Dlis3l02dq_ring.c105 ret = spi_sync(st->us, &msg); lis3l02dq_read_all()
/linux-4.1.27/drivers/video/fbdev/omap2/displays-new/
H A Dpanel-lgphilips-lb035q02.c89 return spi_sync(spi, &msg); lb035q02_write_reg()
H A Dpanel-sony-acx565akm.c161 r = spi_sync(ddata->spi, &m); acx565akm_transfer()
163 dev_dbg(&ddata->spi->dev, "spi_sync %d\n", r); acx565akm_transfer()
H A Dpanel-tpo-td043mtea1.c116 r = spi_sync(spi, &m); tpo_td043_write()
/linux-4.1.27/include/linux/spi/
H A Dspi.h770 extern int spi_sync(struct spi_device *spi, struct spi_message *message);
796 return spi_sync(spi, &m); spi_write()
820 return spi_sync(spi, &m); spi_read()
832 * For more specific semantics see spi_sync().
844 return spi_sync(spi, &msg); spi_sync_transfer()
/linux-4.1.27/drivers/rtc/
H A Drtc-ds1305.c553 status = spi_sync(spi, &m); ds1305_nvram_read()
584 status = spi_sync(spi, &m); ds1305_nvram_write()
/linux-4.1.27/drivers/usb/host/
H A Dmax3421-hcd.c369 spi_sync(spi, &msg); spi_rd8()
395 spi_sync(spi, &msg); spi_wr8()
421 spi_sync(spi, &msg); spi_rd_buf()
448 spi_sync(spi, &msg); spi_wr_buf()
/linux-4.1.27/drivers/net/ethernet/microchip/
H A Denc28j60.c105 ret = spi_sync(priv->spi, &msg); spi_read_buf()
1317 * block (spi_sync() is blocking) so fire of the interrupt enc28j60_irq()
1320 * via spi_sync() call. enc28j60_irq()
/linux-4.1.27/drivers/gpu/drm/panel/
H A Dpanel-ld9040.c138 return spi_sync(spi, &msg); ld9040_spi_write_word()
/linux-4.1.27/drivers/net/wireless/libertas/
H A Dif_spi.c181 err = spi_sync(card->spi, &m); spu_write()
251 err = spi_sync(card->spi, &m); spu_read()
/linux-4.1.27/drivers/nfc/
H A Dtrf7970a.c508 ret = spi_sync(trf->spi, &m); trf7970a_read_cont()
669 ret = spi_sync(trf->spi, &m); trf7970a_transmit()
/linux-4.1.27/drivers/net/can/spi/
H A Dmcp251x.c333 ret = spi_sync(spi, &m); mcp251x_spi_trans()
/linux-4.1.27/drivers/staging/mt29f_spinand/
H A Dmt29f_spinand.c110 return spi_sync(spi, &message); spinand_cmd()
/linux-4.1.27/sound/spi/
H A Dat73c213.c105 retval = spi_sync(chip->spi, &msg); snd_at73c213_write_reg()

Completed in 1554 milliseconds