Home
last modified time | relevance | path

Searched refs:spi_buf (Results 26 – 50 of 129) sorted by relevance

123456

/Zephyr-latest/drivers/sensor/bosch/bmi323/
Dbmi323_spi.c16 struct spi_buf transmit_buffer; in bosch_bmi323_spi_read_words()
18 struct spi_buf receive_buffers[2]; in bosch_bmi323_spi_read_words()
51 struct spi_buf transmit_buffers[2]; in bosch_bmi323_spi_write_words()
/Zephyr-latest/drivers/misc/ft8xx/
Dft8xx_drv.c95 struct spi_buf tx[] = { in ft8xx_drv_write()
129 struct spi_buf tx = { in ft8xx_drv_read()
139 struct spi_buf rx[] = { in ft8xx_drv_read()
171 struct spi_buf tx = { in ft8xx_drv_command()
/Zephyr-latest/drivers/mfd/
Dmfd_ad559x_spi.c19 struct spi_buf tx_buf[] = {{.buf = &nop_msg, .len = sizeof(nop_msg)}}; in mfd_ad559x_spi_read_raw()
23 struct spi_buf rx_buf[] = {{.buf = val, .len = len}}; in mfd_ad559x_spi_read_raw()
34 struct spi_buf tx_buf[] = {{.buf = val, .len = len}}; in mfd_ad559x_spi_write_raw()
Dmfd_bd8lb600fs.c103 const struct spi_buf tx_buf = { in bd8lb600fs_transceive_state()
112 const struct spi_buf rx_buf = { in bd8lb600fs_transceive_state()
140 const struct spi_buf tx_buf = { in bd8lb600fs_write_state()
/Zephyr-latest/tests/boards/mec172xevb_assy6906/qspi/src/
Dmain.c125 struct spi_buf spi_bufs[2] = { 0 }; in spi_flash_read_status()
160 struct spi_buf spi_bufs[1] = { 0 }; in spi_flash_write_status()
186 struct spi_buf spi_bufs[1] = { 0 }; in spi_flash_tx_one_byte_cmd()
215 struct spi_buf spi_bufs[2] = { 0 }; in ZTEST_USER()
254 struct spi_buf spi_bufs[2] = { 0 }; in ZTEST_USER()
296 struct spi_buf spi_bufs[1] = { 0 }; in test_spi_single_write()
348 struct spi_buf spi_bufs[3] = { 0 }; in ZTEST_USER()
412 struct spi_buf spi_bufs[3] = { 0 }; in ZTEST_USER()
477 struct spi_buf spi_bufs[2] = { 0 }; in test_spi_quad_write()
560 struct spi_buf spi_bufs[3] = {0}; in ZTEST_USER()
/Zephyr-latest/drivers/sensor/st/lsm6dsl/
Dlsm6dsl_spi.c28 const struct spi_buf tx_buf = { in lsm6dsl_raw_read()
36 const struct spi_buf rx_buf[2] = { in lsm6dsl_raw_read()
68 const struct spi_buf tx_buf[2] = { in lsm6dsl_raw_write()
/Zephyr-latest/drivers/sensor/bosch/bmp388/
Dbmp388_spi.c34 const struct spi_buf rxtx_buf = { in bmp388_reg_read_spi()
61 const struct spi_buf tx_buf = { in bmp388_reg_write_spi()
/Zephyr-latest/drivers/flash/
Dspi_flash_at45.c114 const struct spi_buf tx_buf[] = { in check_jedec_id()
120 const struct spi_buf rx_buf[] = { in check_jedec_id()
161 const struct spi_buf tx_buf[] = { in read_status_register()
167 const struct spi_buf rx_buf[] = { in read_status_register()
208 const struct spi_buf tx_buf[] = { in configure_page_size()
260 const struct spi_buf tx_buf[] = { in spi_flash_at45_read()
266 const struct spi_buf rx_buf[] = { in spi_flash_at45_read()
303 const struct spi_buf tx_buf[] = { in perform_write()
380 const struct spi_buf tx_buf[] = { in perform_chip_erase()
417 const struct spi_buf tx_buf[] = { in perform_erase_op()
[all …]
/Zephyr-latest/drivers/sensor/st/lis2dh/
Dlis2dh_spi.c31 const struct spi_buf tx_buf = { in lis2dh_raw_read()
39 const struct spi_buf rx_buf[2] = { in lis2dh_raw_read()
75 const struct spi_buf tx_buf[2] = { in lis2dh_raw_write()
/Zephyr-latest/drivers/adc/
Dadc_max1125x.c251 const struct spi_buf tx_buf[] = {{ in max1125x_read_reg()
255 const struct spi_buf rx_buf[] = {{ in max1125x_read_reg()
289 const struct spi_buf spi_buf[2] = {{.buf = &command, .len = sizeof(command)}, in max1125x_write_reg() local
291 const struct spi_buf_set tx = {.buffers = spi_buf, .count = ARRAY_SIZE(spi_buf)}; in max1125x_write_reg()
307 const struct spi_buf spi_buf = {.buf = &command, .len = sizeof(command)}; in max1125x_send_command() local
308 const struct spi_buf_set tx = {.buffers = &spi_buf, .count = 1}; in max1125x_send_command()
370 const struct spi_buf tx_buf[] = {{ in max1125x_read_sample()
374 const struct spi_buf rx_buf[] = {{ in max1125x_read_sample()
/Zephyr-latest/drivers/gpio/
Dgpio_mcp23sxx.c39 const struct spi_buf tx_buf = { in mcp23sxx_read_port_regs()
47 const struct spi_buf rx_buf = { in mcp23sxx_read_port_regs()
84 const struct spi_buf tx_buf[1] = { in mcp23sxx_write_port_regs()
Dgpio_max149x6.h98 struct spi_buf tx_buf = { in max149x6_reg_transceive()
104 struct spi_buf rx_buf = { in max149x6_reg_transceive()
/Zephyr-latest/drivers/ethernet/
Doa_tc6.c23 struct spi_buf tx_buf = { .buf = buf, .len = sizeof(buf) }; in oa_tc6_reg_read()
25 struct spi_buf rx_buf = { .buf = buf, .len = sizeof(buf) }; in oa_tc6_reg_read()
81 struct spi_buf tx_buf = { .buf = buf_tx, .len = sizeof(buf_tx) }; in oa_tc6_reg_write()
83 struct spi_buf rx_buf = { .buf = buf_rx, .len = sizeof(buf_rx) }; in oa_tc6_reg_write()
283 struct spi_buf tx_buf[2]; in oa_tc6_chunk_spi_transfer()
284 struct spi_buf rx_buf[2]; in oa_tc6_chunk_spi_transfer()
Deth_enc28j60.c36 const struct spi_buf tx_buf = { in eth_enc28j60_soft_reset()
52 const struct spi_buf tx_buf = { in eth_enc28j60_set_bank()
56 const struct spi_buf rx_buf = { in eth_enc28j60_set_bank()
88 const struct spi_buf tx_buf = { in eth_enc28j60_write_reg()
108 const struct spi_buf tx_buf = { in eth_enc28j60_read_reg()
116 struct spi_buf rx_buf = { in eth_enc28j60_read_reg()
148 const struct spi_buf tx_buf = { in eth_enc28j60_set_eth_reg()
170 const struct spi_buf tx_buf = { in eth_enc28j60_clear_eth_reg()
191 struct spi_buf tx_buf[2] = { in eth_enc28j60_write_mem()
234 const struct spi_buf tx_buf = { in eth_enc28j60_read_mem()
[all …]
Deth_enc424j600.c31 const struct spi_buf tx_buf = { in enc424j600_write_sbc()
48 const struct spi_buf tx_buf = { in enc424j600_write_sfru()
70 const struct spi_buf tx_buf = { in enc424j600_read_sfru()
78 struct spi_buf rx_buf = { in enc424j600_read_sfru()
103 const struct spi_buf tx_buf = { in enc424j600_modify_sfru()
164 const struct spi_buf tx_buf[2] = { in enc424j600_write_mem()
190 const struct spi_buf tx_buf = { in enc424j600_read_mem()
198 struct spi_buf rx_buf[2] = { in enc424j600_read_mem()
/Zephyr-latest/drivers/wifi/winc1500/
Dwifi_winc1500_nm_bus_wrapper.c61 const struct spi_buf buf_tx = { in spi_rw()
69 const struct spi_buf buf_rx = { in spi_rw()
/Zephyr-latest/samples/drivers/espi/src/
Dmain.c203 struct spi_buf txb; in spi_saf_init()
204 struct spi_buf rxb; in spi_saf_init()
230 tx_bufs.buffers = (const struct spi_buf *)&txb; in spi_saf_init()
236 rx_bufs.buffers = (const struct spi_buf *)&rxb; in spi_saf_init()
259 tx_bufs.buffers = (const struct spi_buf *)&txb; in spi_saf_init()
265 rx_bufs.buffers = (const struct spi_buf *)&rxb; in spi_saf_init()
290 tx_bufs.buffers = (const struct spi_buf *)&txb; in spi_saf_init()
312 tx_bufs.buffers = (const struct spi_buf *)&txb; in spi_saf_init()
335 tx_bufs.buffers = (const struct spi_buf *)&txb; in spi_saf_init()
342 rx_bufs.buffers = (const struct spi_buf *)&rxb; in spi_saf_init()
[all …]
/Zephyr-latest/drivers/input/
Dinput_paw32xx.c84 const struct spi_buf tx_buf = { in paw32xx_read_reg()
93 struct spi_buf rx_buf[] = { in paw32xx_read_reg()
116 const struct spi_buf tx_buf = { in paw32xx_write_reg()
163 const struct spi_buf tx_buf = { in paw32xx_read_xy()
172 struct spi_buf rx_buf = { in paw32xx_read_xy()
/Zephyr-latest/drivers/spi/
Dspi_shell.c55 const struct spi_buf tx_buffers = {.buf = tx_buffer, .len = bytes_to_send}; in cmd_spi_transceive()
56 const struct spi_buf rx_buffers = {.buf = rx_buffer, .len = bytes_to_send}; in cmd_spi_transceive()
Dspi_sam0.c195 static void spi_sam0_fast_tx(SercomSpi *regs, const struct spi_buf *tx_buf) in spi_sam0_fast_tx()
214 static void spi_sam0_fast_rx(SercomSpi *regs, const struct spi_buf *rx_buf) in spi_sam0_fast_rx()
239 const struct spi_buf *tx_buf, in spi_sam0_fast_txrx()
240 const struct spi_buf *rx_buf) in spi_sam0_fast_txrx()
274 const struct spi_buf *tx = NULL; in spi_sam0_fast_transceive()
275 const struct spi_buf *rx = NULL; in spi_sam0_fast_transceive()
323 const struct spi_buf *tx = NULL; in spi_sam0_is_regular()
324 const struct spi_buf *rx = NULL; in spi_sam0_is_regular()
Dspi_xec_qmspi.c327 static int qmspi_descr_alloc(QMSPI_Type *regs, const struct spi_buf *txb, in qmspi_descr_alloc()
382 static int qmspi_tx(QMSPI_Type *regs, const struct spi_buf *tx_buf, in qmspi_tx()
456 static int qmspi_rx(QMSPI_Type *regs, const struct spi_buf *rx_buf, in qmspi_rx()
523 const struct spi_buf *ptx; in qmspi_transceive()
524 const struct spi_buf *prx; in qmspi_transceive()
/Zephyr-latest/drivers/mipi_dbi/
Dmipi_dbi_spi.c73 struct spi_buf buffer; in mipi_dbi_spi_write_helper_3wire()
121 struct spi_buf buffer; in mipi_dbi_spi_write_helper_4wire_8bit()
172 struct spi_buf buffer; in mipi_dbi_spi_write_helper_4wire_16bit()
339 struct spi_buf buffer; in mipi_dbi_spi_read_helper_3wire()
391 struct spi_buf buffer; in mipi_dbi_spi_read_helper_4wire()
/Zephyr-latest/drivers/sdhc/
Dsdhc_spi.c112 struct spi_buf tx_bufs[] = { in sdhc_spi_rx()
128 struct spi_buf rx_bufs[] = { in sdhc_spi_rx()
373 struct spi_buf bufs[] = { in sdhc_spi_send_cmd()
465 const struct spi_buf tx_bufs[] = { in sdhc_spi_read_data()
481 struct spi_buf rx_bufs[] = { in sdhc_spi_read_data()
548 struct spi_buf tx_bufs[] = { in sdhc_spi_write_data()
/Zephyr-latest/drivers/eeprom/
Deeprom_at2x.c365 const struct spi_buf tx_buf = { in eeprom_at25_rdsr()
373 const struct spi_buf rx_buf = { in eeprom_at25_rdsr()
426 const struct spi_buf tx_buf = { in eeprom_at25_read()
434 const struct spi_buf rx_bufs[2] = { in eeprom_at25_read()
491 const struct spi_buf tx_buf = { in eeprom_at25_wren()
512 const struct spi_buf tx_bufs[2] = { in eeprom_at25_write()
/Zephyr-latest/drivers/can/
Dcan_mcp2515.c32 const struct spi_buf tx_buf = { in mcp2515_cmd_soft_reset()
50 const struct spi_buf tx_buf = { in mcp2515_cmd_bit_modify()
67 struct spi_buf tx_buf[] = { in mcp2515_cmd_write_reg()
101 struct spi_buf tx_buf[] = { in mcp2515_cmd_load_tx_buffer()
127 struct spi_buf tx_buf[] = { in mcp2515_cmd_rts()
144 struct spi_buf tx_buf[] = { in mcp2515_cmd_read_reg()
151 struct spi_buf rx_buf[] = { in mcp2515_cmd_read_reg()
182 struct spi_buf tx_buf[] = { in mcp2515_cmd_read_rx_buffer()
189 struct spi_buf rx_buf[] = { in mcp2515_cmd_read_rx_buffer()

123456