Lines Matching refs:bcm_qspi
221 struct bcm_qspi { struct
255 static inline bool has_bspi(struct bcm_qspi *qspi) in has_bspi() argument
261 static inline bool bcm_qspi_has_fastbr(struct bcm_qspi *qspi) in bcm_qspi_has_fastbr()
272 static inline bool bcm_qspi_has_sysclk_108(struct bcm_qspi *qspi) in bcm_qspi_has_sysclk_108()
282 static inline int bcm_qspi_spbr_min(struct bcm_qspi *qspi) in bcm_qspi_spbr_min()
303 static inline u32 bcm_qspi_read(struct bcm_qspi *qspi, enum base_type type, in bcm_qspi_read()
310 static inline void bcm_qspi_write(struct bcm_qspi *qspi, enum base_type type, in bcm_qspi_write()
317 static int bcm_qspi_bspi_busy_poll(struct bcm_qspi *qspi) in bcm_qspi_bspi_busy_poll()
331 static inline bool bcm_qspi_bspi_ver_three(struct bcm_qspi *qspi) in bcm_qspi_bspi_ver_three()
338 static void bcm_qspi_bspi_flush_prefetch_buffers(struct bcm_qspi *qspi) in bcm_qspi_bspi_flush_prefetch_buffers()
348 static int bcm_qspi_bspi_lr_is_fifo_empty(struct bcm_qspi *qspi) in bcm_qspi_bspi_lr_is_fifo_empty()
354 static inline u32 bcm_qspi_bspi_lr_read_fifo(struct bcm_qspi *qspi) in bcm_qspi_bspi_lr_read_fifo()
365 static inline void bcm_qspi_bspi_lr_start(struct bcm_qspi *qspi) in bcm_qspi_bspi_lr_start()
372 static inline void bcm_qspi_bspi_lr_clear(struct bcm_qspi *qspi) in bcm_qspi_bspi_lr_clear()
379 static void bcm_qspi_bspi_lr_data_read(struct bcm_qspi *qspi) in bcm_qspi_bspi_lr_data_read()
406 static void bcm_qspi_bspi_set_xfer_params(struct bcm_qspi *qspi, u8 cmd_byte, in bcm_qspi_bspi_set_xfer_params()
416 static int bcm_qspi_bspi_set_flex_mode(struct bcm_qspi *qspi, in bcm_qspi_bspi_set_flex_mode()
463 static int bcm_qspi_bspi_set_override(struct bcm_qspi *qspi, in bcm_qspi_bspi_set_override()
508 static int bcm_qspi_bspi_set_mode(struct bcm_qspi *qspi, in bcm_qspi_bspi_set_mode()
554 static void bcm_qspi_enable_bspi(struct bcm_qspi *qspi) in bcm_qspi_enable_bspi()
569 static void bcm_qspi_disable_bspi(struct bcm_qspi *qspi) in bcm_qspi_disable_bspi()
583 static void bcm_qspi_chip_select(struct bcm_qspi *qspi, int cs) in bcm_qspi_chip_select()
611 static void bcm_qspi_hw_set_parms(struct bcm_qspi *qspi, in bcm_qspi_hw_set_parms()
693 static void bcm_qspi_update_parms(struct bcm_qspi *qspi, in bcm_qspi_update_parms()
731 static bool bcm_qspi_mspi_transfer_is_last(struct bcm_qspi *qspi, in bcm_qspi_mspi_transfer_is_last()
741 static int update_qspi_trans_byte_count(struct bcm_qspi *qspi, in update_qspi_trans_byte_count()
779 static inline u8 read_rxram_slot_u8(struct bcm_qspi *qspi, int slot) in read_rxram_slot_u8()
787 static inline u16 read_rxram_slot_u16(struct bcm_qspi *qspi, int slot) in read_rxram_slot_u16()
797 static inline u32 read_rxram_slot_u32(struct bcm_qspi *qspi, int slot) in read_rxram_slot_u32()
809 static inline u64 read_rxram_slot_u64(struct bcm_qspi *qspi, int slot) in read_rxram_slot_u64()
824 static void read_from_hw(struct bcm_qspi *qspi, int slots) in read_from_hw()
883 static inline void write_txram_slot_u8(struct bcm_qspi *qspi, int slot, in write_txram_slot_u8()
892 static inline void write_txram_slot_u16(struct bcm_qspi *qspi, int slot, in write_txram_slot_u16()
903 static inline void write_txram_slot_u32(struct bcm_qspi *qspi, int slot, in write_txram_slot_u32()
912 static inline void write_txram_slot_u64(struct bcm_qspi *qspi, int slot, in write_txram_slot_u64()
925 static inline u32 read_cdram_slot(struct bcm_qspi *qspi, int slot) in read_cdram_slot()
930 static inline void write_cdram_slot(struct bcm_qspi *qspi, int slot, u32 val) in write_cdram_slot()
936 static int write_to_hw(struct bcm_qspi *qspi, struct spi_device *spi) in write_to_hw()
1038 struct bcm_qspi *qspi = spi_controller_get_devdata(spi->controller); in bcm_qspi_bspi_exec_mem_op()
1125 struct bcm_qspi *qspi = spi_controller_get_devdata(host); in bcm_qspi_transfer_one()
1154 struct bcm_qspi *qspi = spi_controller_get_devdata(host); in bcm_qspi_mspi_exec_mem_op()
1194 struct bcm_qspi *qspi = spi_controller_get_devdata(spi->controller); in bcm_qspi_exec_mem_op()
1248 struct bcm_qspi *qspi = qspi_dev_id->dev; in bcm_qspi_mspi_l2_isr()
1268 struct bcm_qspi *qspi = qspi_dev_id->dev; in bcm_qspi_bspi_lr_l2_isr()
1305 struct bcm_qspi *qspi = qspi_dev_id->dev; in bcm_qspi_bspi_lr_err_l2_isr()
1321 struct bcm_qspi *qspi = qspi_dev_id->dev; in bcm_qspi_l1_isr()
1387 static void bcm_qspi_bspi_init(struct bcm_qspi *qspi) in bcm_qspi_bspi_init()
1405 static void bcm_qspi_hw_init(struct bcm_qspi *qspi) in bcm_qspi_hw_init()
1424 static void bcm_qspi_hw_uninit(struct bcm_qspi *qspi) in bcm_qspi_hw_uninit()
1488 struct bcm_qspi *qspi; in bcm_qspi_probe()
1507 host = devm_spi_alloc_host(dev, sizeof(struct bcm_qspi)); in bcm_qspi_probe()
1683 struct bcm_qspi *qspi = platform_get_drvdata(pdev); in bcm_qspi_remove()
1696 struct bcm_qspi *qspi = dev_get_drvdata(dev); in bcm_qspi_suspend()
1712 struct bcm_qspi *qspi = dev_get_drvdata(dev); in bcm_qspi_resume()