Lines Matching defs:cdns_ctrl
547 cadence_nand_dma_buf_ok(struct cdns_nand_ctrl *cdns_ctrl, const void *buf, in cadence_nand_dma_buf_ok()
557 static int cadence_nand_wait_for_value(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_wait_for_value()
577 static int cadence_nand_set_ecc_enable(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_set_ecc_enable()
599 static void cadence_nand_set_ecc_strength(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_set_ecc_strength()
615 static int cadence_nand_get_ecc_strength_idx(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_get_ecc_strength_idx()
630 static int cadence_nand_set_skip_marker_val(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_set_skip_marker_val()
650 static int cadence_nand_set_skip_bytes_conf(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_set_skip_bytes_conf()
681 static void cadence_nand_set_erase_detection(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_set_erase_detection()
698 static int cadence_nand_set_access_width16(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_set_access_width16()
720 cadence_nand_clear_interrupt(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_clear_interrupt()
731 cadence_nand_read_int_status(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_read_int_status()
741 static u32 irq_detected(struct cdns_nand_ctrl *cdns_ctrl, in irq_detected()
750 static void cadence_nand_reset_irq(struct cdns_nand_ctrl *cdns_ctrl) in cadence_nand_reset_irq()
766 struct cdns_nand_ctrl *cdns_ctrl = dev_id; in cadence_nand_isr() local
790 static void cadence_nand_set_irq_mask(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_set_irq_mask()
801 cadence_nand_wait_for_irq(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_wait_for_irq()
827 static int cadence_nand_generic_cmd_send(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_generic_cmd_send()
859 static int cadence_nand_wait_on_sdma(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_wait_on_sdma()
892 static void cadence_nand_get_caps(struct cdns_nand_ctrl *cdns_ctrl) in cadence_nand_get_caps()
915 cadence_nand_cdma_desc_prepare(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_cdma_desc_prepare()
942 static u8 cadence_nand_check_desc_error(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_check_desc_error()
962 static int cadence_nand_cdma_finish(struct cdns_nand_ctrl *cdns_ctrl) in cadence_nand_cdma_finish()
985 static int cadence_nand_cdma_send(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_cdma_send()
1017 cadence_nand_cdma_send_and_wait(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_cdma_send_and_wait()
1074 static int cadence_nand_read_bch_caps(struct cdns_nand_ctrl *cdns_ctrl) in cadence_nand_read_bch_caps()
1155 static int cadence_nand_hw_init(struct cdns_nand_ctrl *cdns_ctrl) in cadence_nand_hw_init()
1212 struct cdns_nand_ctrl *cdns_ctrl = to_cdns_nand_ctrl(chip->controller); in cadence_nand_prepare_data_size() local
1265 cadence_nand_cdma_transfer(struct cdns_nand_ctrl *cdns_ctrl, u8 chip_nr, in cadence_nand_cdma_transfer()
1316 static void cadence_nand_set_timings(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_set_timings()
1345 struct cdns_nand_ctrl *cdns_ctrl = to_cdns_nand_ctrl(chip->controller); in cadence_nand_select_target() local
1372 struct cdns_nand_ctrl *cdns_ctrl = to_cdns_nand_ctrl(chip->controller); in cadence_nand_erase() local
1397 struct cdns_nand_ctrl *cdns_ctrl = to_cdns_nand_ctrl(chip->controller); in cadence_nand_read_bbm() local
1428 struct cdns_nand_ctrl *cdns_ctrl = to_cdns_nand_ctrl(chip->controller); in cadence_nand_write_page() local
1499 struct cdns_nand_ctrl *cdns_ctrl = to_cdns_nand_ctrl(chip->controller); in cadence_nand_write_oob() local
1511 struct cdns_nand_ctrl *cdns_ctrl = to_cdns_nand_ctrl(chip->controller); in cadence_nand_write_page_raw() local
1617 struct cdns_nand_ctrl *cdns_ctrl = to_cdns_nand_ctrl(chip->controller); in cadence_nand_read_page() local
1696 struct cdns_nand_ctrl *cdns_ctrl = to_cdns_nand_ctrl(chip->controller); in cadence_nand_read_oob() local
1704 struct cdns_nand_ctrl *cdns_ctrl = to_cdns_nand_ctrl(chip->controller); in cadence_nand_read_page_raw() local
1816 static int cadence_nand_slave_dma_transfer(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_slave_dma_transfer()
1877 static int cadence_nand_read_buf(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_read_buf()
1950 static int cadence_nand_write_buf(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_write_buf()
2024 struct cdns_nand_ctrl *cdns_ctrl = to_cdns_nand_ctrl(chip->controller); in cadence_nand_force_byte_access() local
2041 struct cdns_nand_ctrl *cdns_ctrl = to_cdns_nand_ctrl(chip->controller); in cadence_nand_cmd_opcode() local
2071 struct cdns_nand_ctrl *cdns_ctrl = to_cdns_nand_ctrl(chip->controller); in cadence_nand_cmd_address() local
2155 struct cdns_nand_ctrl *cdns_ctrl = to_cdns_nand_ctrl(chip->controller); in cadence_nand_cmd_data() local
2227 struct cdns_nand_ctrl *cdns_ctrl = to_cdns_nand_ctrl(chip->controller); in cadence_nand_cmd_waitrdy() local
2351 struct cdns_nand_ctrl *cdns_ctrl = to_cdns_nand_ctrl(chip->controller); in cadence_nand_setup_interface() local
2640 struct cdns_nand_ctrl *cdns_ctrl = to_cdns_nand_ctrl(chip->controller); in cadence_nand_attach_chip() local
2737 static int cadence_nand_chip_init(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_chip_init()
2821 static void cadence_nand_chips_cleanup(struct cdns_nand_ctrl *cdns_ctrl) in cadence_nand_chips_cleanup()
2836 static int cadence_nand_chips_init(struct cdns_nand_ctrl *cdns_ctrl) in cadence_nand_chips_init()
2863 cadence_nand_irq_cleanup(int irqnum, struct cdns_nand_ctrl *cdns_ctrl) in cadence_nand_irq_cleanup()
2869 static int cadence_nand_init(struct cdns_nand_ctrl *cdns_ctrl) in cadence_nand_init()
2956 static void cadence_nand_remove(struct cdns_nand_ctrl *cdns_ctrl) in cadence_nand_remove()
2969 struct cdns_nand_ctrl cdns_ctrl; member
2991 struct cdns_nand_ctrl *cdns_ctrl; in cadence_nand_dt_probe() local