Searched refs:spi_msg (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/iio/dac/ |
D | ad5592r.c | 37 st->spi_msg = cpu_to_be16(BIT(15) | (chan << 12) | value); in ad5592r_write_dac() 39 return spi_write(spi, &st->spi_msg, sizeof(st->spi_msg)); in ad5592r_write_dac() 47 st->spi_msg = cpu_to_be16((AD5592R_REG_ADC_SEQ << 11) | BIT(chan)); in ad5592r_read_adc() 49 ret = spi_write(spi, &st->spi_msg, sizeof(st->spi_msg)); in ad5592r_read_adc() 57 ret = ad5592r_spi_wnop_r16(st, &st->spi_msg); in ad5592r_read_adc() 61 ret = ad5592r_spi_wnop_r16(st, &st->spi_msg); in ad5592r_read_adc() 65 *value = be16_to_cpu(st->spi_msg); in ad5592r_read_adc() 74 st->spi_msg = cpu_to_be16((reg << 11) | value); in ad5592r_reg_write() 76 return spi_write(spi, &st->spi_msg, sizeof(st->spi_msg)); in ad5592r_reg_write() 84 st->spi_msg = cpu_to_be16((AD5592R_REG_LDAC << 11) | in ad5592r_reg_read() [all …]
|
D | ad5592r-base.h | 70 __be16 spi_msg __aligned(IIO_DMA_MINALIGN);
|
/linux-6.1.9/drivers/net/ethernet/vertexcom/ |
D | mse102x.c | 84 struct spi_message spi_msg; member 152 struct spi_message *msg = &mses->spi_msg; in mse102x_tx_cmd_spi() 175 struct spi_message *msg = &mses->spi_msg; in mse102x_rx_cmd_spi() 224 struct spi_message *msg = &mses->spi_msg; in mse102x_tx_frame_spi() 268 struct spi_message *msg = &mses->spi_msg; in mse102x_rx_frame_spi() 702 spi_message_init(&mses->spi_msg); in mse102x_probe_spi() 703 spi_message_add_tail(&mses->spi_xfer, &mses->spi_msg); in mse102x_probe_spi()
|
/linux-6.1.9/drivers/spi/ |
D | spi-geni-qcom.c | 490 struct spi_message *spi_msg) in spi_geni_prepare_message() argument 499 ret = setup_fifo_params(spi_msg->spi, spi); in spi_geni_prepare_message()
|