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

/illumos-gate/usr/src/lib/efcode/fcdriver/
H A Dget_req.c56 cdp->fc.fcode_size, cdp->fc.unit_address, cdp->attach,
141 if (!cdp->fc.fcode_size) {
147 fcode_info.fcode_size = cdp->fc.fcode_size;
148 fcode_info.fcode_ptr = MALLOC(cdp->fc.fcode_size);
155 (int)cdp->fc.fcode_size);
157 PUSH(DS, (fstack_t)cdp->fc.fcode_size);
H A Dfcdebug.c68 log_message(MSG_DEBUG, " size: %d\n", cdp->fc.fcode_size);
/illumos-gate/usr/src/uts/sun4/sys/
H A Dfcode.h87 int32_t fcode_size; member in struct:fc_parameters
166 * has the fcode_size field set with the expected fcode length.
171 int32_t fcode_size; member in struct:fc_fcode_info
456 size_t fcode_size; /* fcode size or zero */ member in struct:fc_resource_list
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,
/illumos-gate/usr/src/cmd/luxadm/
H A Dqlgcupdate.c770 static int dev_fd, fcode_size; local
788 fcode_size = stat.st_size;
792 sizeof (ifp_download_t) + fcode_size)) == NULL) {
799 if ((bin = (uchar_t *)malloc(fcode_size)) == NULL) {
808 if (read(fcode_fd, download_p->dl_fcode, fcode_size)
809 != fcode_size) {
816 if (read(fcode_fd, bin, fcode_size)
817 != fcode_size) {
833 download_p->dl_fcode_len = fcode_size;
850 fcio.fcio_ilen = fcode_size;
979 static int dev_fd, fcode_size; local
[all...]
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfcode.c526 fcp->fcode_size = rp->fcode_size;
822 * should have fcode_size field set. The fcode_ptr field is a
823 * pointer to a user buffer of fcode_size.
864 if (fcode_info.fcode_size != rp->fcode_size) {
867 fcode_info.fcode_size, rp->fcode_size);
874 if (copyout(rp->fcode, fcode_info.fcode_ptr, rp->fcode_size) == -1) {
H A Dfc_ops.c102 void *fcode, size_t fcode_size, char *unit_address, void *bus_args)
112 rp->fcode_size = fcode_size;
101 fc_ops_alloc_handle(dev_info_t *ap, dev_info_t *child, void *fcode, size_t fcode_size, char *unit_address, void *bus_args) argument
H A Dfcpci.c183 void *fcode, size_t fcode_size, char *unit_address,
191 rp->next_handle = fc_ops_alloc_handle(ap, child, fcode, fcode_size,
196 rp->fcode_size = fcode_size;
182 pci_fc_ops_alloc_handle(dev_info_t *ap, dev_info_t *child, void *fcode, size_t fcode_size, char *unit_address, struct pci_ops_bus_args *up) argument
/illumos-gate/usr/src/uts/sun4u/starcat/io/
H A Dfcgp2.c140 void *fcode, size_t fcode_size, char *unit_address,
147 rp->next_handle = fc_ops_alloc_handle(ap, child, fcode, fcode_size,
152 rp->fcode_size = fcode_size;
139 gp2_fc_ops_alloc_handle(dev_info_t *ap, dev_info_t *child, void *fcode, size_t fcode_size, char *unit_address, char *my_args) argument
/illumos-gate/usr/src/uts/sun4/io/
H A Dpcicfg.c4292 int fcode_size = 0; local
4523 &fcode_size, PCICFG_LOADDR(mem_answer),
4535 fcode_addr, fcode_size);
4553 fcode_size = 0;
4575 fcode_addr, fcode_size, unit_address, &po);
4590 DEBUG1("fcode size = %x\n", fcode_size);
4595 if (fcode_size) {
4596 kmem_free(fcode_addr, ptob(btopr(fcode_size)));
5787 int *fcode_size, int rom_paddr, int rom_size)
5810 *fcode_size
5785 pcicfg_load_fcode(dev_info_t *dip, uint_t bus, uint_t device, uint_t func, uint16_t vendor_id, uint16_t device_id, uchar_t **fcode_addr, int *fcode_size, int rom_paddr, int rom_size) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dopl_cfg.c1147 void *fcode, size_t fcode_size, char *unit_address,
1155 rp->next_handle = fc_ops_alloc_handle(parent, child, fcode, fcode_size,
1160 rp->fcode_size = fcode_size;
1146 opl_fc_ops_alloc_handle(dev_info_t *parent, dev_info_t *child, void *fcode, size_t fcode_size, char *unit_address, char *my_args) argument

Completed in 141 milliseconds