Home
last modified time | relevance | path

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

123456

/linux-6.1.9/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-6.1.9/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()
Dgehc-achc.c120 ret = spi_write(spi, &cmd, 1); in ezport_soft_reset()
133 ret = spi_write(spi, &cmd, 1); in ezport_send_simple()
183 ret = spi_write(spi, &cmd, 1); in ezport_bulk_erase()
208 ret = spi_write(spi, query, sizeof(query)); in ezport_section_erase()
/linux-6.1.9/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-6.1.9/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-6.1.9/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()
Dmchp48l640.c126 ret = spi_write(flash->spi, cmd, 1); in mchp48l640_write_prepare()
154 ret = spi_write(flash->spi, cmd, 2); in mchp48l640_set_mode()
190 ret = spi_write(flash->spi, cmd, cmdlen + len); in mchp48l640_write_page()
/linux-6.1.9/drivers/net/ethernet/asix/
Dax88796c_spi.c25 ret = spi_write(ax_spi->spi, ax_spi->cmd_buf, 1); in axspi_wakeup()
74 return spi_write(ax_spi->spi, data, len); in axspi_write_txq()
110 ret = spi_write(ax_spi->spi, ax_spi->cmd_buf, 4); in axspi_write_reg()
/linux-6.1.9/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-6.1.9/drivers/iio/adc/
Dmax1027.c310 return spi_write(st->spi, &st->reg, 1); in max1027_configure_chans_and_start()
329 return spi_write(st->spi, &st->reg, 1); in max1027_enable_trigger()
348 ret = spi_write(st->spi, &st->reg, 1); in max1027_read_single_value()
432 return spi_write(st->spi, val, 1); in max1027_debugfs_reg_access()
615 ret = spi_write(st->spi, &st->reg, 1); in max1027_probe()
623 ret = spi_write(st->spi, &st->reg, 1); in max1027_probe()
Dad7949.c103 ret = spi_write(ad7949_adc->spi, &ad7949_adc->buffer, 2); in ad7949_spi_write_cfg()
107 ret = spi_write(ad7949_adc->spi, &ad7949_adc->buffer, 2); in ad7949_spi_write_cfg()
112 ret = spi_write(ad7949_adc->spi, &ad7949_adc->buf8b, 2); in ad7949_spi_write_cfg()
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/iio/chemical/
Dbme680_spi.c52 ret = spi_write(spi, buf, 2); in bme680_regmap_spi_select_page()
83 return spi_write(spi, buf, 2); in bme680_regmap_spi_write()
/linux-6.1.9/drivers/hwmon/
Dadt7310.c54 return spi_write(spi, buf, sizeof(buf)); in adt7310_spi_write_word()
69 return spi_write(spi, buf, sizeof(buf)); in adt7310_spi_write_byte()
/linux-6.1.9/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-6.1.9/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-6.1.9/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()
/linux-6.1.9/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()

123456