Home
last modified time | relevance | path

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

12345

/Linux-v5.10/drivers/video/backlight/
Dl4f00242t03.c82 spi_write(spi, (const u8 *)cmd, ARRAY_SIZE(cmd) * sizeof(u16)); in l4f00242t03_lcd_init()
121 spi_write(spi, (const u8 *)&slpout, sizeof(u16)); in l4f00242t03_lcd_power_set()
123 spi_write(spi, (const u8 *)&dison, sizeof(u16)); in l4f00242t03_lcd_power_set()
135 spi_write(spi, (const u8 *)&disoff, sizeof(u16)); in l4f00242t03_lcd_power_set()
137 spi_write(spi, (const u8 *)&slpin, sizeof(u16)); in l4f00242t03_lcd_power_set()
150 spi_write(spi, (const u8 *)&disoff, sizeof(u16)); in l4f00242t03_lcd_power_set()
Dlms283gf05.c113 spi_write(spi, buf, 3); in lms283gf05_toggle()
118 spi_write(spi, buf, 3); in lms283gf05_toggle()
Dotm3225a.c170 spi_write(spi, buf, 3); in otm3225a_write()
176 spi_write(spi, buf, 3); in otm3225a_write()
/Linux-v5.10/drivers/misc/
Dlattice-ecp3-config.c132 spi_write(spi, txbuf, 4); in firmware_load()
135 spi_write(spi, txbuf, 4); in firmware_load()
138 spi_write(spi, txbuf, 4); in firmware_load()
162 spi_write(spi, buffer, fw->size + 8); in firmware_load()
165 spi_write(spi, txbuf, 4); in firmware_load()
Dad525x_dpot-spi.c18 return spi_write(client, &data, 1); in write8()
25 return spi_write(client, data, 2); in write16()
32 return spi_write(client, data, 3); in write24()
/Linux-v5.10/drivers/iio/adc/
Dmax1027.c254 ret = spi_write(st->spi, &st->reg, 1); in max1027_read_single_value()
266 ret = spi_write(st->spi, &st->reg, 1); in max1027_read_single_value()
344 return spi_write(st->spi, val, 1); in max1027_debugfs_reg_access()
368 ret = spi_write(st->spi, &st->reg, 1); in max1027_set_trigger_state()
375 ret = spi_write(st->spi, &st->reg, 1); in max1027_set_trigger_state()
382 ret = spi_write(st->spi, &st->reg, 1); in max1027_set_trigger_state()
500 ret = spi_write(st->spi, &st->reg, 1); in max1027_probe()
508 ret = spi_write(st->spi, &st->reg, 1); in max1027_probe()
Dti-ads124s08.c160 return spi_write(priv->spi, &priv->data[0], 1); in ads124s_write_cmd()
171 return spi_write(priv->spi, &priv->data[0], 3); in ads124s_write_reg()
/Linux-v5.10/drivers/net/dsa/b53/
Db53_spi.c84 return spi_write(spi, txbuf, sizeof(txbuf)); in b53_spi_set_page()
212 return spi_write(spi, txbuf, sizeof(txbuf)); in b53_spi_write8()
229 return spi_write(spi, txbuf, sizeof(txbuf)); in b53_spi_write16()
246 return spi_write(spi, txbuf, sizeof(txbuf)); in b53_spi_write32()
263 return spi_write(spi, txbuf, sizeof(txbuf) - 2); in b53_spi_write48()
280 return spi_write(spi, txbuf, sizeof(txbuf)); in b53_spi_write64()
/Linux-v5.10/drivers/iio/dac/
Dad5592r.c39 return spi_write(spi, &st->spi_msg, sizeof(st->spi_msg)); in ad5592r_write_dac()
49 ret = spi_write(spi, &st->spi_msg, sizeof(st->spi_msg)); in ad5592r_read_adc()
76 return spi_write(spi, &st->spi_msg, sizeof(st->spi_msg)); in ad5592r_reg_write()
87 ret = spi_write(spi, &st->spi_msg, sizeof(st->spi_msg)); in ad5592r_reg_read()
/Linux-v5.10/drivers/mtd/devices/
Dsst25l.c97 err = spi_write(flash->spi, command, 1); in sst25l_write_enable()
102 err = spi_write(flash->spi, command, 1); in sst25l_write_enable()
108 err = spi_write(flash->spi, command, 2); in sst25l_write_enable()
155 err = spi_write(flash->spi, command, 4); in sst25l_erase_sector()
276 ret = spi_write(flash->spi, command, 5); in sst25l_write()
292 ret = spi_write(flash->spi, command, 2); in sst25l_write()
/Linux-v5.10/drivers/rtc/
Drtc-m41t94.c53 return spi_write(spi, buf, 8); in m41t94_set_time()
69 spi_write(spi, buf, 2); in m41t94_read_time()
79 spi_write(spi, buf, 2); in m41t94_read_time()
Drtc-m41t93.c42 return spi_write(spi, buf, sizeof(buf)); in m41t93_set_reg()
97 return spi_write(spi, buf, sizeof(buf)); in m41t93_set_time()
/Linux-v5.10/drivers/video/fbdev/mmp/panel/
Dtpo_tj032md01bw.c83 ret = spi_write(plat->spi, init, sizeof(init)); in tpohvga_onoff()
87 ret = spi_write(plat->spi, poweroff, sizeof(poweroff)); in tpohvga_onoff()
/Linux-v5.10/drivers/hwmon/
Dadt7310.c56 return spi_write(spi, buf, sizeof(buf)); in adt7310_spi_write_word()
75 return spi_write(spi, buf, sizeof(buf)); in adt7310_spi_write_byte()
/Linux-v5.10/drivers/staging/iio/addac/
Dadt7316-spi.c37 ret = spi_write(spi_dev, cmd, 2); in adt7316_spi_multi_read()
68 ret = spi_write(spi_dev, buf, count + 2); in adt7316_spi_multi_write()
/Linux-v5.10/drivers/leds/
Dleds-cr0014114.c89 ret = spi_write(priv->spi, &cmd, sizeof(cmd)); in cr0014114_recount()
97 ret = spi_write(priv->spi, &cmd, sizeof(cmd)); in cr0014114_recount()
136 ret = spi_write(priv->spi, priv->buf, priv->count + 2); in cr0014114_sync()
/Linux-v5.10/drivers/iio/chemical/
Dbme680_spi.c53 ret = spi_write(spi, buf, 2); in bme680_regmap_spi_select_page()
84 return spi_write(spi, buf, 2); in bme680_regmap_spi_write()
/Linux-v5.10/drivers/mfd/
Dmc13xxx-spi.c101 spi_write(spi, data, count); in mc13xxx_spi_write()
103 return spi_write(spi, data, count); in mc13xxx_spi_write()
/Linux-v5.10/drivers/iio/potentiometer/
Dmax5481.c73 return spi_write(spi, data->msg, 3); in max5481_write_cmd()
77 return spi_write(spi, data->msg, 1); in max5481_write_cmd()
/Linux-v5.10/drivers/fpga/
Dice40-spi.c107 return spi_write(priv->dev, buf, count); in ice40_fpga_ops_write()
125 return spi_write(dev, padding, sizeof(padding)); in ice40_fpga_ops_write_complete()
Dxilinx-spi.c144 ret = spi_write(conf->spi, fw_data, stride); in xilinx_spi_write()
162 ret = spi_write(conf->spi, din_data, sizeof(din_data)); in xilinx_spi_apply_cclk_cycles()
Daltera-ps-spi.c189 ret = spi_write(conf->spi, fw_data, stride); in altera_ps_write()
224 ret = spi_write(conf->spi, dummy, 1); in altera_ps_write_complete()
/Linux-v5.10/drivers/gpu/drm/panel/
Dpanel-tpo-td028ttec1.c103 ret = spi_write(spi, (u8 *)&tx_buf, sizeof(tx_buf)); in jbt_ret_write_0()
127 ret = spi_write(spi, (u8 *)tx_buf, sizeof(tx_buf)); in jbt_reg_write_1()
152 ret = spi_write(spi, (u8 *)tx_buf, sizeof(tx_buf)); in jbt_reg_write_2()
/Linux-v5.10/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-tpo-td028ttec1.c60 rc = spi_write(ddata->spi_dev, (u8 *)&tx_buf, in jbt_ret_write_0()
76 rc = spi_write(ddata->spi_dev, (u8 *)tx_buf, in jbt_reg_write_1()
94 rc = spi_write(ddata->spi_dev, (u8 *)tx_buf, in jbt_reg_write_2()
/Linux-v5.10/drivers/iio/common/st_sensors/
Dst_sensors_spi.c70 return spi_write(spi, buffer, 2); in st_sensors_configure_spi_3_wire()

12345