Searched refs:spi_msg (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/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 | 68 __be16 spi_msg ____cacheline_aligned;
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
D | ifx6x60.c | 648 if (!ifx_dev->spi_msg.status) { in ifx_spi_complete() 668 ifx_dev->spi_msg.actual_length); in ifx_spi_complete() 680 ifx_dev->spi_msg.status); in ifx_spi_complete() 740 spi_message_init(&ifx_dev->spi_msg); in ifx_spi_io() 741 INIT_LIST_HEAD(&ifx_dev->spi_msg.queue); in ifx_spi_io() 743 ifx_dev->spi_msg.context = ifx_dev; in ifx_spi_io() 744 ifx_dev->spi_msg.complete = ifx_spi_complete; in ifx_spi_io() 762 ifx_dev->spi_msg.is_dma_mapped = 1; in ifx_spi_io() 768 ifx_dev->spi_msg.is_dma_mapped = 0; in ifx_spi_io() 775 spi_message_add_tail(&ifx_dev->spi_xfer, &ifx_dev->spi_msg); in ifx_spi_io() [all …]
|
D | ifx6x60.h | 94 struct spi_message spi_msg; member
|
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-geni-qcom.c | 327 struct spi_message *spi_msg) in spi_geni_prepare_message() argument 335 ret = setup_fifo_params(spi_msg->spi, spi); in spi_geni_prepare_message()
|