Home
last modified time | relevance | path

Searched refs:comm_type (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/spi/
H A Dspi-stm32.c249 int (*set_mode)(struct stm32_spi *spi, unsigned int comm_type);
1475 static int stm32f4_spi_set_mode(struct stm32_spi *spi, unsigned int comm_type) in stm32f4_spi_set_mode() argument
1477 if (comm_type == SPI_3WIRE_TX || comm_type == SPI_SIMPLEX_TX) { in stm32f4_spi_set_mode()
1481 } else if (comm_type == SPI_FULL_DUPLEX || in stm32f4_spi_set_mode()
1482 comm_type == SPI_SIMPLEX_RX) { in stm32f4_spi_set_mode()
1486 } else if (comm_type == SPI_3WIRE_RX) { in stm32f4_spi_set_mode()
1503 static int stm32h7_spi_set_mode(struct stm32_spi *spi, unsigned int comm_type) in stm32h7_spi_set_mode() argument
1508 if (comm_type == SPI_3WIRE_RX) { in stm32h7_spi_set_mode()
1511 } else if (comm_type == SPI_3WIRE_TX) { in stm32h7_spi_set_mode()
1514 } else if (comm_type == SPI_SIMPLEX_RX) { in stm32h7_spi_set_mode()
[all …]
/OK3568_Linux_fs/kernel/fs/dlm/
H A Dconfig.c338 static const struct config_item_type comm_type = { variable
496 config_item_init_type_name(&cm->item, name, &comm_type); in make_comm()
/OK3568_Linux_fs/kernel/drivers/nfc/
H A Dport100.c515 u8 comm_type; member