/titanic_41/usr/src/cmd/luxadm/ |
H A D | qlgcupdate.c | 770 static int dev_fd, fcode_size; in q_load_file() local 788 fcode_size = stat.st_size; in q_load_file() 792 sizeof (ifp_download_t) + fcode_size)) == NULL) { in q_load_file() 799 if ((bin = (uchar_t *)malloc(fcode_size)) == NULL) { in q_load_file() 808 if (read(fcode_fd, download_p->dl_fcode, fcode_size) in q_load_file() 809 != fcode_size) { in q_load_file() 816 if (read(fcode_fd, bin, fcode_size) in q_load_file() 817 != fcode_size) { in q_load_file() 833 download_p->dl_fcode_len = fcode_size; in q_load_file() 850 fcio.fcio_ilen = fcode_size; in q_load_file() [all …]
|
/titanic_41/usr/src/lib/efcode/fcdriver/ |
H A D | get_req.c | 56 cdp->fc.fcode_size, cdp->fc.unit_address, cdp->attach, in dot_request() 141 if (!cdp->fc.fcode_size) { in get_fcode_from_device() 147 fcode_info.fcode_size = cdp->fc.fcode_size; in get_fcode_from_device() 148 fcode_info.fcode_ptr = MALLOC(cdp->fc.fcode_size); in get_fcode_from_device() 155 (int)cdp->fc.fcode_size); in get_fcode_from_device() 157 PUSH(DS, (fstack_t)cdp->fc.fcode_size); in get_fcode_from_device()
|
H A D | fcdebug.c | 68 log_message(MSG_DEBUG, " size: %d\n", cdp->fc.fcode_size); in dump_private()
|
/titanic_41/usr/src/uts/sun4/sys/ |
H A D | fcode.h | 87 int32_t fcode_size; member 171 int32_t fcode_size; member 456 size_t fcode_size; /* fcode size or zero */ member 494 void *fcode, size_t fcode_size, char *unit_address, void *bus_args); 498 void *fcode, size_t fcode_size, char *unit_address, 503 void *fcode, size_t fcode_size, char *unit_address,
|
/titanic_41/usr/src/uts/sun4/io/efcode/ |
H A D | fcode.c | 526 fcp->fcode_size = rp->fcode_size; in fc_get_parameters() 864 if (fcode_info.fcode_size != rp->fcode_size) { in fc_get_fcode() 867 fcode_info.fcode_size, rp->fcode_size); in fc_get_fcode() 874 if (copyout(rp->fcode, fcode_info.fcode_ptr, rp->fcode_size) == -1) { in fc_get_fcode()
|
H A D | fc_ops.c | 102 void *fcode, size_t fcode_size, char *unit_address, void *bus_args) in fc_ops_alloc_handle() argument 112 rp->fcode_size = fcode_size; in fc_ops_alloc_handle()
|
H A D | fcpci.c | 183 void *fcode, size_t fcode_size, char *unit_address, in pci_fc_ops_alloc_handle() argument 191 rp->next_handle = fc_ops_alloc_handle(ap, child, fcode, fcode_size, in pci_fc_ops_alloc_handle() 196 rp->fcode_size = fcode_size; in pci_fc_ops_alloc_handle()
|
/titanic_41/usr/src/uts/sun4u/starcat/io/ |
H A D | fcgp2.c | 140 void *fcode, size_t fcode_size, char *unit_address, in gp2_fc_ops_alloc_handle() argument 147 rp->next_handle = fc_ops_alloc_handle(ap, child, fcode, fcode_size, in gp2_fc_ops_alloc_handle() 152 rp->fcode_size = fcode_size; in gp2_fc_ops_alloc_handle()
|
/titanic_41/usr/src/uts/sun4/io/ |
H A D | pcicfg.c | 4292 int fcode_size = 0; in pcicfg_fcode_probe() local 4523 &fcode_size, PCICFG_LOADDR(mem_answer), in pcicfg_fcode_probe() 4535 fcode_addr, fcode_size); in pcicfg_fcode_probe() 4553 fcode_size = 0; in pcicfg_fcode_probe() 4575 fcode_addr, fcode_size, unit_address, &po); in pcicfg_fcode_probe() 4590 DEBUG1("fcode size = %x\n", fcode_size); in pcicfg_fcode_probe() 4595 if (fcode_size) { in pcicfg_fcode_probe() 4596 kmem_free(fcode_addr, ptob(btopr(fcode_size))); in pcicfg_fcode_probe() 5787 int *fcode_size, int rom_paddr, int rom_size) in pcicfg_load_fcode() argument 5810 *fcode_size = 0; in pcicfg_load_fcode() [all …]
|
/titanic_41/usr/src/uts/sun4u/io/ |
H A D | opl_cfg.c | 1147 void *fcode, size_t fcode_size, char *unit_address, in opl_fc_ops_alloc_handle() argument 1155 rp->next_handle = fc_ops_alloc_handle(parent, child, fcode, fcode_size, in opl_fc_ops_alloc_handle() 1160 rp->fcode_size = fcode_size; in opl_fc_ops_alloc_handle()
|