Home
last modified time | relevance | path

Searched refs:fcode_size (Results 1 – 10 of 10) sorted by relevance

/titanic_44/usr/src/cmd/luxadm/
H A Dqlgcupdate.c770 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_44/usr/src/lib/efcode/fcdriver/
H A Dget_req.c56 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 Dfcdebug.c68 log_message(MSG_DEBUG, " size: %d\n", cdp->fc.fcode_size); in dump_private()
/titanic_44/usr/src/uts/sun4/sys/
H A Dfcode.h87 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_44/usr/src/uts/sun4/io/efcode/
H A Dfcode.c526 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 Dfc_ops.c102 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 Dfcpci.c183 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_44/usr/src/uts/sun4u/starcat/io/
H A Dfcgp2.c140 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_44/usr/src/uts/sun4/io/
H A Dpcicfg.c4292 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_44/usr/src/uts/sun4u/io/
H A Dopl_cfg.c1147 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()