Lines Matching refs:fdb
388 struct fdbar_t *fdb = find_fd(image, size); in dump_fd() local
390 if (!fdb) in dump_fd()
393 printf("FLMAP0: 0x%08x\n", fdb->flmap0); in dump_fd()
394 printf(" NR: %d\n", (fdb->flmap0 >> 24) & 7); in dump_fd()
395 printf(" FRBA: 0x%x\n", ((fdb->flmap0 >> 16) & 0xff) << 4); in dump_fd()
396 printf(" NC: %d\n", ((fdb->flmap0 >> 8) & 3) + 1); in dump_fd()
397 printf(" FCBA: 0x%x\n", ((fdb->flmap0) & 0xff) << 4); in dump_fd()
399 printf("FLMAP1: 0x%08x\n", fdb->flmap1); in dump_fd()
400 printf(" ISL: 0x%02x\n", (fdb->flmap1 >> 24) & 0xff); in dump_fd()
401 printf(" FPSBA: 0x%x\n", ((fdb->flmap1 >> 16) & 0xff) << 4); in dump_fd()
402 printf(" NM: %d\n", (fdb->flmap1 >> 8) & 3); in dump_fd()
403 printf(" FMBA: 0x%x\n", ((fdb->flmap1) & 0xff) << 4); in dump_fd()
405 printf("FLMAP2: 0x%08x\n", fdb->flmap2); in dump_fd()
406 printf(" PSL: 0x%04x\n", (fdb->flmap2 >> 8) & 0xffff); in dump_fd()
407 printf(" FMSBA: 0x%x\n", ((fdb->flmap2) & 0xff) << 4); in dump_fd()
409 printf("FLUMAP1: 0x%08x\n", fdb->flumap1); in dump_fd()
411 (fdb->flumap1 >> 8) & 0xff); in dump_fd()
413 (fdb->flumap1 & 0xff) << 4); in dump_fd()
415 (image + ((fdb->flumap1 & 0xff) << 4)), in dump_fd()
416 (fdb->flumap1 >> 8) & 0xff); in dump_fd()
418 dump_frba((struct frba_t *)(image + (((fdb->flmap0 >> 16) & 0xff) in dump_fd()
420 dump_fcba((struct fcba_t *)(image + (((fdb->flmap0) & 0xff) << 4))); in dump_fd()
422 (image + (((fdb->flmap1 >> 16) & 0xff) << 4))); in dump_fd()
423 dump_fmba((struct fmba_t *)(image + (((fdb->flmap1) & 0xff) << 4))); in dump_fd()
424 dump_fmsba((struct fmsba_t *)(image + (((fdb->flmap2) & 0xff) << 4))); in dump_fd()
440 struct fdbar_t *fdb; in write_regions() local
445 fdb = find_fd(image, size); in write_regions()
446 if (!fdb) in write_regions()
449 frba = (struct frba_t *)(image + (((fdb->flmap0 >> 16) & 0xff) << 4)); in write_regions()
525 struct fdbar_t *fdb = find_fd(image, size); in set_spi_frequency() local
528 fcba = (struct fcba_t *)(image + (((fdb->flmap0) & 0xff) << 4)); in set_spi_frequency()
548 struct fdbar_t *fdb = find_fd(image, size); in set_em100_mode() local
551 fcba = (struct fcba_t *)(image + (((fdb->flmap0) & 0xff) << 4)); in set_em100_mode()
564 struct fdbar_t *fdb = find_fd(image, size); in lock_descriptor() local
571 fmba = (struct fmba_t *)(image + (((fdb->flmap1) & 0xff) << 4)); in lock_descriptor()
585 struct fdbar_t *fdb = find_fd(image, size); in unlock_descriptor() local
588 fmba = (struct fmba_t *)(image + (((fdb->flmap1) & 0xff) << 4)); in unlock_descriptor()
630 struct fdbar_t *fdb = find_fd(image, size); in inject_region() local
638 if (!fdb) in inject_region()
640 frba = (struct frba_t *)(image + (((fdb->flmap0 >> 16) & 0xff) << 4)); in inject_region()