Home
last modified time | relevance | path

Searched refs:bufnum (Results 1 – 6 of 6) sorted by relevance

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dfsl_ifc_spl.c35 unsigned int bufnum, int page_size) in check_read_ecc() argument
37 u32 reg = eccstat[bufnum / 4]; in check_read_ecc()
38 int errors = (reg >> ((3 - bufnum % 4) * 8)) & 0xf; in check_read_ecc()
67 static inline void nand_wait(uchar *buf, int bufnum, int page_size) in nand_wait() argument
75 bufnum *= bufperpage; in nand_wait()
76 bufnum_end = bufnum + bufperpage - 1; in nand_wait()
88 for (i = bufnum / 4; i <= bufnum_end / 4; i++) in nand_wait()
91 for (i = bufnum; i <= bufnum_end; i++) { in nand_wait()
117 int bufnum_mask, bufnum, ver = 0; in nand_spl_load_image() local
203 bufnum = pg_no & bufnum_mask; in nand_spl_load_image()
[all …]
H A Dfsl_ifc_nand.c247 u32 eccstat, unsigned int bufnum) in check_read_ecc() argument
249 return (eccstat >> ((3 - bufnum % 4) * 8)) & 15; in check_read_ecc()
292 int bufnum = ctrl->page & priv->bufnum_mask; in fsl_ifc_run_command() local
293 int sector_start = bufnum * chip->ecc.steps; in fsl_ifc_run_command()
/openbmc/u-boot/fs/fat/
H A Dfat.c164 __u32 bufnum; in get_fatent() local
175 bufnum = entry / FAT32BUFSIZE; in get_fatent()
176 offset = entry - bufnum * FAT32BUFSIZE; in get_fatent()
179 bufnum = entry / FAT16BUFSIZE; in get_fatent()
180 offset = entry - bufnum * FAT16BUFSIZE; in get_fatent()
183 bufnum = entry / FAT12BUFSIZE; in get_fatent()
184 offset = entry - bufnum * FAT12BUFSIZE; in get_fatent()
196 if (bufnum != mydata->fatbufnum) { in get_fatent()
200 __u32 startblock = bufnum * FATBUFBLOCKS; in get_fatent()
216 mydata->fatbufnum = bufnum; in get_fatent()
H A Dfat_write.c266 __u32 bufnum, offset, off16; in set_fatent_value() local
271 bufnum = entry / FAT32BUFSIZE; in set_fatent_value()
272 offset = entry - bufnum * FAT32BUFSIZE; in set_fatent_value()
275 bufnum = entry / FAT16BUFSIZE; in set_fatent_value()
276 offset = entry - bufnum * FAT16BUFSIZE; in set_fatent_value()
279 bufnum = entry / FAT12BUFSIZE; in set_fatent_value()
280 offset = entry - bufnum * FAT12BUFSIZE; in set_fatent_value()
288 if (bufnum != mydata->fatbufnum) { in set_fatent_value()
292 __u32 startblock = bufnum * FATBUFBLOCKS; in set_fatent_value()
307 mydata->fatbufnum = bufnum; in set_fatent_value()
/openbmc/u-boot/drivers/usb/host/
H A Dr8a66597-hcd.c254 u16 pipenum, bufnum, maxpacket; in pipe_buffer_setting() local
258 bufnum = BULK_IN_BUFNUM; in pipe_buffer_setting()
262 bufnum = BULK_OUT_BUFNUM; in pipe_buffer_setting()
282 r8a66597_write(r8a66597, (8 << 10) | bufnum, PIPEBUF); in pipe_buffer_setting()
/openbmc/u-boot/cmd/aspeed/nettest/
H A Dmac.c1768 void setup_des (MAC_ENGINE *eng, uint32_t bufnum) in setup_des() argument
1771 printf("setup_des: %d\n", bufnum); in setup_des()
1788 void setup_des_loop (MAC_ENGINE *eng, uint32_t bufnum) in setup_des_loop() argument
1969 char check_des (MAC_ENGINE *eng, uint32_t bufnum, int checkpoint) in check_des() argument