/src/sys/dev/pcmcia/ |
pcmcia_cis.c | 142 struct pcmcia_tuple tuple; local in function:pcmcia_scan_cis 168 /* initialize state for the primary tuple chain */ 170 PCMCIA_CIS_SIZE, &pcmh, &tuple.ptr, &window)) { 178 tuple.memt = pcmh.memt; 179 tuple.memh = pcmh.memh; 181 DPRINTF(("cis mem map %x\n", (unsigned int) tuple.memh)); 183 tuple.mult = 2; 192 DPRINTF(("%s: CIS tuple chain:\n", device_xname(sc->dev))); 204 if (tuple.mult * tuple.ptr >= PCMCIA_CIS_SIZE - [all...] |
pcmcia_cis.c | 142 struct pcmcia_tuple tuple; local in function:pcmcia_scan_cis 168 /* initialize state for the primary tuple chain */ 170 PCMCIA_CIS_SIZE, &pcmh, &tuple.ptr, &window)) { 178 tuple.memt = pcmh.memt; 179 tuple.memh = pcmh.memh; 181 DPRINTF(("cis mem map %x\n", (unsigned int) tuple.memh)); 183 tuple.mult = 2; 192 DPRINTF(("%s: CIS tuple chain:\n", device_xname(sc->dev))); 204 if (tuple.mult * tuple.ptr >= PCMCIA_CIS_SIZE - [all...] |
/src/sys/dev/cardbus/ |
cardbus.c | 310 parse_tuple(u_int8_t *tuple, int len, void *data) 316 switch (tuple[0]) { 318 if (tuple[1] != 4) { 320 __func__, tuple[1])); 323 cis->manufacturer = tuple[2] | (tuple[3] << 8); 324 cis->product = tuple[4] | (tuple[5] << 8); 328 memcpy(cis->cis1_info_buf, tuple + 2, tuple[1]) 608 u_int8_t *tuple = malloc(TUPLESIZE, M_DEVBUF, M_WAITOK); local in function:cardbus_rescan [all...] |
cardbus.c | 310 parse_tuple(u_int8_t *tuple, int len, void *data) 316 switch (tuple[0]) { 318 if (tuple[1] != 4) { 320 __func__, tuple[1])); 323 cis->manufacturer = tuple[2] | (tuple[3] << 8); 324 cis->product = tuple[4] | (tuple[5] << 8); 328 memcpy(cis->cis1_info_buf, tuple + 2, tuple[1]) 608 u_int8_t *tuple = malloc(TUPLESIZE, M_DEVBUF, M_WAITOK); local in function:cardbus_rescan [all...] |