Home | History | Annotate | Download | only in cardbus

Lines Matching defs:image

51 /*  A PCI ROM is divided into a number of images. Each image has two
52 * data structures, a header located at the start of the image, and a
73 * 0x10 2 image length (in 512 byte blocks)
76 * 0x15 1 indicator (bit 7 indicates final image)
83 * ROM image. This function assumes that the ROM is mapped at
95 size_t addr = 0; /* offset of current rom image */
102 struct cardbus_rom_image *image;
108 "bad header signature in ROM image %u: 0x%04x\n",
114 /* get the ROM image size, in blocks */
124 image = malloc(sizeof(*image), M_DEVBUF, M_WAITOK);
125 image->rom_image = rom_image;
126 image->image_size = image_size;
127 image->romt = romt;
129 image_size, &image->romh)) {
131 free(image, M_DEVBUF);
134 SIMPLEQ_INSERT_TAIL(head, image, next);