Lines Matching refs:brcmnand_host
210 struct brcmnand_host;
258 int (*dma_trans)(struct brcmnand_host *host, u64 addr, u32 *buf,
306 struct brcmnand_host { struct
889 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_set_cmd_addr()
925 static void brcmnand_wr_corr_thresh(struct brcmnand_host *host, u8 val) in brcmnand_wr_corr_thresh()
994 static void brcmnand_set_ecc_enabled(struct brcmnand_host *host, int en) in brcmnand_set_ecc_enabled()
1025 static int brcmnand_get_sector_size_1k(struct brcmnand_host *host) in brcmnand_get_sector_size_1k()
1038 static void brcmnand_set_sector_size_1k(struct brcmnand_host *host, int val) in brcmnand_set_sector_size_1k()
1192 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_hamming_ooblayout_ecc()
1210 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_hamming_ooblayout_free()
1250 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_bch_ooblayout_ecc()
1268 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_bch_ooblayout_free_lp()
1294 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_bch_ooblayout_free_sp()
1323 static int brcmstb_choose_ecc_layout(struct brcmnand_host *host) in brcmstb_choose_ecc_layout()
1366 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_wp()
1615 static void brcmnand_send_cmd(struct brcmnand_host *host, int cmd) in brcmnand_send_cmd()
1658 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmstb_nand_wait_for_completion()
1683 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_waitfunc()
1716 static int brcmnand_low_level_op(struct brcmnand_host *host, in brcmnand_low_level_op()
1759 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_cmdfunc()
1859 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_read_byte()
1925 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_write_buf()
1942 static int brcmnand_edu_trans(struct brcmnand_host *host, u64 addr, u32 *buf, in brcmnand_edu_trans()
2060 static int brcmnand_fill_dma_desc(struct brcmnand_host *host, in brcmnand_fill_dma_desc()
2090 static void brcmnand_dma_run(struct brcmnand_host *host, dma_addr_t desc) in brcmnand_dma_run()
2118 static int brcmnand_dma_trans(struct brcmnand_host *host, u64 addr, u32 *buf, in brcmnand_dma_trans()
2153 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_read_by_pio()
2252 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_read()
2346 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_read_page()
2358 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_read_page_raw()
2384 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_read_oob_raw()
2397 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_write()
2469 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_write_page()
2482 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_write_page_raw()
2503 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_write_oob_raw()
2518 static int brcmnand_set_cfg(struct brcmnand_host *host, in brcmnand_set_cfg()
2618 static void brcmnand_print_cfg(struct brcmnand_host *host, in brcmnand_print_cfg()
2650 static int brcmnand_setup_dev(struct brcmnand_host *host) in brcmnand_setup_dev()
2789 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_attach_chip()
2826 static int brcmnand_init_cs(struct brcmnand_host *host, in brcmnand_init_cs()
2887 static void brcmnand_save_restore_cs_config(struct brcmnand_host *host, in brcmnand_save_restore_cs_config()
2921 struct brcmnand_host *host; in brcmnand_suspend()
2942 struct brcmnand_host *host; in brcmnand_resume()
3053 struct brcmnand_host *host; in brcmnand_probe()
3305 struct brcmnand_host *host; in brcmnand_remove()