Home
last modified time | relevance | path

Searched refs:spi_write (Results 1 – 25 of 66) sorted by relevance

123

/linux-3.4.99/drivers/video/backlight/
Dl4f00242t03.c66 spi_write(spi, (const u8 *)cmd, ARRAY_SIZE(cmd) * sizeof(u16)); in l4f00242t03_lcd_init()
106 spi_write(spi, (const u8 *)&slpout, sizeof(u16)); in l4f00242t03_lcd_power_set()
108 spi_write(spi, (const u8 *)&dison, sizeof(u16)); in l4f00242t03_lcd_power_set()
120 spi_write(spi, (const u8 *)&disoff, sizeof(u16)); in l4f00242t03_lcd_power_set()
122 spi_write(spi, (const u8 *)&slpin, sizeof(u16)); in l4f00242t03_lcd_power_set()
135 spi_write(spi, (const u8 *)&disoff, sizeof(u16)); in l4f00242t03_lcd_power_set()
Dlms283gf05.c116 spi_write(spi, buf, 3); in lms283gf05_toggle()
121 spi_write(spi, buf, 3); in lms283gf05_toggle()
/linux-3.4.99/drivers/rtc/
Drtc-pcf2123.c125 ret = spi_write(spi, txbuf, sizeof(txbuf)); in pcf2123_store()
185 ret = spi_write(spi, txbuf, 2); in pcf2123_rtc_set_time()
200 ret = spi_write(spi, txbuf, sizeof(txbuf)); in pcf2123_rtc_set_time()
208 ret = spi_write(spi, txbuf, 2); in pcf2123_rtc_set_time()
238 ret = spi_write(spi, txbuf, 2 * sizeof(u8)); in pcf2123_probe()
248 ret = spi_write(spi, txbuf, 2 * sizeof(u8)); in pcf2123_probe()
278 ret = spi_write(spi, txbuf, sizeof(txbuf)); in pcf2123_probe()
Drtc-m41t94.c56 return spi_write(spi, buf, 8); in m41t94_set_time()
72 spi_write(spi, buf, 2); in m41t94_read_time()
82 spi_write(spi, buf, 2); in m41t94_read_time()
Drtc-m41t93.c45 return spi_write(spi, buf, sizeof(buf)); in m41t93_set_reg()
75 return spi_write(spi, buf, sizeof(buf)); in m41t93_set_time()
/linux-3.4.99/arch/arm/mach-u300/
Ddummyspichip.c108 status = spi_write(spi, &txbuf[0], 8); in dummy_looptest()
123 status = spi_write(spi, &txbuf[0], 14); in dummy_looptest()
141 status = spi_write(spi, &bigtxbuf_virtual[0], DMA_TEST_SIZE); in dummy_looptest()
199 status = spi_write(spi, &bigtxbuf_virtual[0], DMA_TEST_SIZE); in dummy_looptest()
/linux-3.4.99/drivers/misc/
Dad525x_dpot-spi.c18 return spi_write(client, &data, 1); in write8()
24 return spi_write(client, data, 2); in write16()
30 return spi_write(client, data, 3); in write24()
Dti_dac7512.c42 spi_write(spi, tmp, sizeof(tmp)); in dac7512_store_val()
/linux-3.4.99/drivers/mtd/devices/
Dsst25l.c102 err = spi_write(flash->spi, command, 1); in sst25l_write_enable()
107 err = spi_write(flash->spi, command, 1); in sst25l_write_enable()
113 err = spi_write(flash->spi, command, 2); in sst25l_write_enable()
160 err = spi_write(flash->spi, command, 4); in sst25l_erase_sector()
284 ret = spi_write(flash->spi, command, 5); in sst25l_write()
300 ret = spi_write(flash->spi, command, 2); in sst25l_write()
Dm25p80.c140 return spi_write(flash->spi, flash->command, 2); in write_sr()
172 return spi_write(flash->spi, flash->command, 1); in set_4byte()
177 return spi_write(flash->spi, flash->command, 2); in set_4byte()
225 spi_write(flash->spi, flash->command, 1); in erase_chip()
266 spi_write(flash->spi, flash->command, m25p_cmdsz(flash)); in erase_sector()
/linux-3.4.99/drivers/gpio/
Dgpio-max7301.c28 return spi_write(spi, (const u8 *)&word, sizeof(word)); in max7301_spi_write()
40 ret = spi_write(spi, (const u8 *)&word, sizeof(word)); in max7301_spi_read()
Dgpio-mc33880.c57 return spi_write(mc->spi, &mc->port_config, sizeof(mc->port_config)); in mc33880_write_config()
/linux-3.4.99/drivers/staging/iio/addac/
Dadt7316-spi.c38 ret = spi_write(spi_dev, cmd, 2); in adt7316_spi_multi_read()
69 ret = spi_write(spi_dev, buf, count + 2); in adt7316_spi_multi_write()
/linux-3.4.99/drivers/staging/iio/accel/
Dkxsd9.c89 ret = spi_write(st->us, st->tx, 2); in kxsd9_write_scale()
207 ret = spi_write(st->us, st->tx, 2); in kxsd9_power_up()
213 return spi_write(st->us, st->tx, 2); in kxsd9_power_up()
/linux-3.4.99/drivers/staging/iio/gyro/
Dadxrs450_core.c49 ret = spi_write(st->us, st->tx, 4); in adxrs450_spi_read_reg_16()
92 ret = spi_write(st->us, st->tx, 4); in adxrs450_spi_write_reg_16()
117 ret = spi_write(st->us, st->tx, 4); in adxrs450_spi_sensor_data()
Dadis16080_core.c55 ret = spi_write(st->us, st->buf, 2); in adis16080_spi_write()
/linux-3.4.99/drivers/base/regmap/
Dregmap-spi.c22 return spi_write(spi, data, count); in regmap_spi_write()
/linux-3.4.99/drivers/staging/iio/adc/
Dad7298_core.c77 ret = spi_write(st->spi, (u8 *)&buf, 2); in ad7298_scan_temp()
83 ret = spi_write(st->spi, (u8 *)&buf, 2); in ad7298_scan_temp()
Dadt7310.c98 ret = spi_write(spi_dev, &command, sizeof(command)); in adt7310_spi_read_word()
125 ret = spi_write(spi_dev, buf, 3); in adt7310_spi_write_word()
141 ret = spi_write(spi_dev, &command, sizeof(command)); in adt7310_spi_read_byte()
165 ret = spi_write(spi_dev, buf, 2); in adt7310_spi_write_byte()
/linux-3.4.99/drivers/input/misc/
Dadxl34x-spi.c45 return spi_write(spi, buf, sizeof(buf)); in adxl34x_spi_write()
Dad714x-spi.c76 error = spi_write(spi, (u8 *)chip->xfer_buf, in ad714x_spi_write()
/linux-3.4.99/drivers/misc/eeprom/
Dat25.c180 status = spi_write(at25->spi, cp, 1); in at25_ee_write()
203 status = spi_write(at25->spi, bounce, in at25_ee_write()
/linux-3.4.99/drivers/misc/lis3lv02d/
Dlis3lv02d_spi.c41 return spi_write(spi, tmp, sizeof(tmp)); in lis3_spi_write()
/linux-3.4.99/drivers/mfd/
Dstmpe-spi.c32 return spi_write(spi, (const u8 *)&cmd, 2); in spi_reg_write()
/linux-3.4.99/drivers/leds/
Dleds-dac124s085.c50 spi_write(led->spi, (const u8 *)&word, sizeof(word)); in dac124s085_led_work()

123