Searched refs:bch_vf (Results 1 – 3 of 3) sorted by relevance
/u-boot/drivers/mtd/nand/raw/ |
A D | octeontx_bch.h | 46 struct bch_vf { struct 65 int octeontx_bch_wait(struct bch_vf *vf, union bch_resp *resp, argument 80 int octeontx_bch_encode(struct bch_vf *vf, dma_addr_t block, u16 block_size, 101 int octeontx_bch_decode(struct bch_vf *vf, dma_addr_t block_ecc_in, 113 struct bch_vf *vf) in octeontx_bch_write_doorbell()
|
A D | octeontx_bch.c | 38 static void *bch_vf; variable 56 if (!bch_vf) in octeontx_bch_getv() 59 return bch_vf; in octeontx_bch_getv() 67 bch_vf = token; in octeontx_bch_putv() 223 int octeontx_bch_encode(struct bch_vf *vf, dma_addr_t block, u16 block_size, in octeontx_bch_encode() 265 int octeontx_bch_decode(struct bch_vf *vf, dma_addr_t block_ecc_in, in octeontx_bch_decode() 290 int octeontx_bch_wait(struct bch_vf *vf, union bch_resp *resp, in octeontx_bch_wait() 351 struct bch_vf *vf; in octeontx_pci_bchvf_probe() 421 .priv_auto = sizeof(struct bch_vf),
|
A D | octeontx_nand.c | 359 static struct bch_vf *bch_vf; variable 1465 rc = octeontx_bch_encode(bch_vf, ihandle, nand->ecc.size, in octeontx_nand_bch_calculate_ecc_internal() 1470 octeontx_bch_wait(bch_vf, r, tn->bch_rhandle); in octeontx_nand_bch_calculate_ecc_internal() 1561 rc = octeontx_bch_decode(bch_vf, ihandle, nand->ecc.size, in octeontx_nand_bch_correct() 1565 octeontx_bch_wait(bch_vf, r, tn->bch_rhandle); in octeontx_nand_bch_correct() 2077 bch_vf = octeontx_bch_getv(); in octeontx_pci_nand_probe() 2078 if (!bch_vf) { in octeontx_pci_nand_probe()
|
Completed in 8 milliseconds