qcom_spi_softc
struct qcom_spi_softc *sc = arg;
qcom_spi_attach_gpios(struct qcom_spi_softc *sc)
qcom_spi_sysctl_attach(struct qcom_spi_softc *sc)
struct qcom_spi_softc *sc = device_get_softc(dev);
qcom_spi_transfer_pio_block(struct qcom_spi_softc *sc, int mode,
struct qcom_spi_softc *sc = device_get_softc(dev);
qcom_spi_set_chipsel(struct qcom_spi_softc *sc, int cs, bool active)
struct qcom_spi_softc *sc = device_get_softc(dev);
sizeof(struct qcom_spi_softc),
qcom_spi_hw_qup_is_state_valid_locked(struct qcom_spi_softc *sc)
qcom_spi_hw_qup_wait_state_valid_locked(struct qcom_spi_softc *sc)
qcom_spi_hw_is_opmode_dma_locked(struct qcom_spi_softc *sc)
qcom_spi_hw_qup_set_state_locked(struct qcom_spi_softc *sc, uint32_t state)
qcom_spi_hw_qup_init_locked(struct qcom_spi_softc *sc)
qcom_spi_hw_spi_init_locked(struct qcom_spi_softc *sc)
qcom_spi_hw_spi_cs_force(struct qcom_spi_softc *sc, int cs, bool enable)
qcom_spi_hw_interrupt_handle(struct qcom_spi_softc *sc)
qcom_spi_hw_setup_transfer_selection(struct qcom_spi_softc *sc, uint32_t len)
qcom_spi_hw_complete_transfer(struct qcom_spi_softc *sc)
qcom_spi_hw_setup_current_transfer(struct qcom_spi_softc *sc)
qcom_spi_hw_setup_pio_transfer_cnt(struct qcom_spi_softc *sc)
qcom_spi_hw_setup_block_transfer_cnt(struct qcom_spi_softc *sc)
qcom_spi_hw_setup_io_modes(struct qcom_spi_softc *sc)
qcom_spi_hw_setup_spi_io_clock_polarity(struct qcom_spi_softc *sc,
qcom_spi_hw_setup_spi_config(struct qcom_spi_softc *sc, uint32_t clock_val,
qcom_spi_hw_setup_qup_config(struct qcom_spi_softc *sc, bool is_tx, bool is_rx)
qcom_spi_hw_read_controller_transfer_sizes(struct qcom_spi_softc *sc)
qcom_spi_hw_setup_operational_mask(struct qcom_spi_softc *sc)
qcom_spi_hw_ack_write_pio_fifo(struct qcom_spi_softc *sc)
qcom_spi_hw_ack_opmode(struct qcom_spi_softc *sc)
qcom_spi_hw_write_from_tx_buf(struct qcom_spi_softc *sc, int shift,
qcom_spi_hw_write_pio_fifo(struct qcom_spi_softc *sc)
qcom_spi_hw_write_pio_block(struct qcom_spi_softc *sc)
qcom_spi_hw_read_into_rx_buf(struct qcom_spi_softc *sc, uint8_t val)
qcom_spi_hw_read_pio_fifo(struct qcom_spi_softc *sc)
qcom_spi_hw_read_pio_block(struct qcom_spi_softc *sc)
qcom_spi_hw_do_full_reset(struct qcom_spi_softc *sc)
struct qcom_spi_softc *sc);
extern int qcom_spi_hw_qup_set_state_locked(struct qcom_spi_softc *sc,
extern int qcom_spi_hw_qup_init_locked(struct qcom_spi_softc *sc);
extern int qcom_spi_hw_spi_init_locked(struct qcom_spi_softc *sc);
extern int qcom_spi_hw_spi_cs_force(struct qcom_spi_softc *sc, int cs,
extern int qcom_spi_hw_interrupt_handle(struct qcom_spi_softc *sc);
extern int qcom_spi_hw_setup_transfer_selection(struct qcom_spi_softc *sc,
extern int qcom_spi_hw_complete_transfer(struct qcom_spi_softc *sc);
extern int qcom_spi_hw_setup_current_transfer(struct qcom_spi_softc *sc);
extern int qcom_spi_hw_setup_pio_transfer_cnt(struct qcom_spi_softc *sc);
extern int qcom_spi_hw_setup_block_transfer_cnt(struct qcom_spi_softc *sc);
extern int qcom_spi_hw_setup_io_modes(struct qcom_spi_softc *sc);
struct qcom_spi_softc *sc, bool cpol);
extern int qcom_spi_hw_setup_spi_config(struct qcom_spi_softc *sc,
extern int qcom_spi_hw_setup_qup_config(struct qcom_spi_softc *sc,
extern int qcom_spi_hw_setup_operational_mask(struct qcom_spi_softc *sc);
extern int qcom_spi_hw_ack_write_pio_fifo(struct qcom_spi_softc *sc);
extern int qcom_spi_hw_ack_opmode(struct qcom_spi_softc *sc);
extern int qcom_spi_hw_write_pio_fifo(struct qcom_spi_softc *sc);
extern int qcom_spi_hw_write_pio_block(struct qcom_spi_softc *sc);
extern int qcom_spi_hw_read_pio_fifo(struct qcom_spi_softc *sc);
extern int qcom_spi_hw_read_pio_block(struct qcom_spi_softc *sc);
extern int qcom_spi_hw_do_full_reset(struct qcom_spi_softc *sc);