| /netbsd-src/sys/dev/ic/ |
| H A D | arn9380.c | 133 struct ar9380_eeprom *eep = sc->sc_eep; in ar9380_setup() local 134 struct ar9380_base_eep_hdr *base = &eep->baseEepHeader; in ar9380_setup() 144 IEEE80211_ADDR_COPY(ic->ic_myaddr, eep->macAddr); in ar9380_setup() 179 type = MS(eep->baseEepHeader.txrxgain, AR_EEP_RX_GAIN); in ar9380_setup() 190 type = MS(eep->baseEepHeader.txrxgain, AR_EEP_TX_GAIN); in ar9380_setup() 221 struct ar9380_eeprom *eep = sc->sc_eep; in ar9380_swap_rom() local 222 struct ar9380_base_eep_hdr *base = &eep->baseEepHeader; in ar9380_swap_rom() 230 modal = &eep->modalHeader2G; in ar9380_swap_rom() 238 modal = &eep->modalHeader5G; in ar9380_swap_rom() 252 const struct ar9380_eeprom *eep = sc->sc_eep; in ar9380_get_paprd_masks() local [all …]
|
| H A D | arn9287.c | 120 const struct ar9287_eeprom *eep = sc->sc_eep; in ar9287_setup() local 123 if (eep->baseEepHeader.openLoopPwrCntl) in ar9287_setup() 133 struct ar9287_eeprom *eep = sc->sc_eep; in ar9287_swap_rom() local 136 eep->modalHeader.antCtrlCommon = in ar9287_swap_rom() 137 bswap32(eep->modalHeader.antCtrlCommon); in ar9287_swap_rom() 140 eep->modalHeader.antCtrlChain[i] = in ar9287_swap_rom() 141 bswap32(eep->modalHeader.antCtrlChain[i]); in ar9287_swap_rom() 144 eep->modalHeader.spurChans[i].spurChan = in ar9287_swap_rom() 145 bswap16(eep->modalHeader.spurChans[i].spurChan); in ar9287_swap_rom() 152 const struct ar9287_eeprom *eep = sc->sc_eep; in ar9287_get_spur_chans() local [all …]
|
| H A D | arn5416.c | 135 struct ar5416_eeprom *eep = sc->sc_eep; in ar5416_swap_rom() local 140 modal = &eep->modalHeader[i]; in ar5416_swap_rom() 157 const struct ar5416_eeprom *eep = sc->sc_eep; in ar5416_get_spur_chans() local 159 return eep->modalHeader[is2ghz].spurChans; in ar5416_get_spur_chans() 227 const struct ar5416_eeprom *eep = sc->sc_eep; in ar5416_init_from_rom() local 233 modal = &eep->modalHeader[IEEE80211_IS_CHAN_2GHZ(c)]; in ar5416_init_from_rom() 358 const struct ar5416_eeprom *eep = sc->sc_eep; in ar5416_get_pdadcs() local 367 pierfreq = eep->calFreqPier2G; in ar5416_get_pdadcs() 368 pierdata = eep->calPierData2G[chain]; in ar5416_get_pdadcs() 372 pierfreq = eep->calFreqPier5G; in ar5416_get_pdadcs() [all …]
|
| H A D | arn9285.c | 126 const struct ar9285_eeprom *eep = sc->sc_eep; in ar9285_setup() local 130 type = eep->baseEepHeader.txGainType; in ar9285_setup() 158 struct ar9285_eeprom *eep = sc->sc_eep; in ar9285_swap_rom() local 161 eep->modalHeader.antCtrlCommon = in ar9285_swap_rom() 162 bswap32(eep->modalHeader.antCtrlCommon); in ar9285_swap_rom() 163 eep->modalHeader.antCtrlChain = in ar9285_swap_rom() 164 bswap32(eep->modalHeader.antCtrlChain); in ar9285_swap_rom() 167 eep->modalHeader.spurChans[i].spurChan = in ar9285_swap_rom() 168 bswap16(eep->modalHeader.spurChans[i].spurChan); in ar9285_swap_rom() 175 const struct ar9285_eeprom *eep = sc->sc_eep; in ar9285_get_spur_chans() local [all …]
|
| H A D | arn9280.c | 107 const struct ar5416_eeprom *eep = sc->sc_eep; in ar9280_setup() local 112 eep->baseEepHeader.openLoopPwrCntl) in ar9280_setup() 118 eep->baseEepHeader.fastClk5g)) in ar9280_setup() 127 !eep->baseEepHeader.pwdclkind) { in ar9280_setup() 136 type = eep->baseEepHeader.rxGainType; in ar9280_setup() 151 type = eep->baseEepHeader.txGainType; in ar9280_setup() 237 const struct ar5416_eeprom *eep = sc->sc_eep; in ar9280_init_from_rom() local 243 modal = &eep->modalHeader[IEEE80211_IS_CHAN_2GHZ(c)]; in ar9280_init_from_rom() 392 if (eep->baseEepHeader.dacLpMode && in ar9280_init_from_rom() 394 !eep->baseEepHeader.dacHiPwrMode_5G)) in ar9280_init_from_rom() [all …]
|
| H A D | arn5008.c | 296 uint16_t magic, sum, *eep; in ar5008_read_rom() local 320 eep = sc->sc_eep; in ar5008_read_rom() 322 for (addr = sc->sc_eep_base; addr < end; addr++, eep++) { in ar5008_read_rom() 323 if ((error = ar5008_read_eep_word(sc, addr, eep)) != 0) { in ar5008_read_rom() 329 *eep = bswap16(*eep); in ar5008_read_rom() 330 sum ^= *eep; in ar5008_read_rom()
|
| H A D | arn9003.c | 402 uint8_t *eep = sc->sc_eep; in ar9003_restore_rom_block() local 414 memcpy(eep, def, sc->sc_eep_size); in ar9003_restore_rom_block() 432 memcpy(&eep[off], ptr, clen); in ar9003_restore_rom_block() 444 memcpy(eep, buf, len); in ar9003_restore_rom_block()
|
| /netbsd-src/sys/dev/eisa/ |
| H A D | if_ep_eisa.c | 242 const struct ep_eisa_product *eep; in ep_eisa_attach() local 270 eep = dce->data; in ep_eisa_attach() 279 printf(": %s\n", eep->name); in ep_eisa_attach() 286 sc->ep_flags = eep->flags; in ep_eisa_attach() 306 epconfig(sc, eep->chipset, NULL); in ep_eisa_attach()
|
| /netbsd-src/sys/compat/netbsd32/ |
| H A D | netbsd32_epoll.c | 68 struct epoll_event ee, *eep; in netbsd32_epoll_ctl() local 79 eep = ⅇ in netbsd32_epoll_ctl() 81 eep = NULL; in netbsd32_epoll_ctl() 84 SCARG(uap, fd), eep); in netbsd32_epoll_ctl()
|
| /netbsd-src/sys/arch/cesfic/cesfic/ |
| H A D | eeprom.c | 109 unsigned char *eep; in GetEEPROMData() local 112 mainbus_map(EEPSTART, 4*EEPSIZE, 0, (void *)&eep); in GetEEPROMData() 115 ((char *)data)[i] = eep[4*i + 3]; in GetEEPROMData()
|
| /netbsd-src/sys/arch/sparc/dev/ |
| H A D | cgsix_obio.c | 111 struct eeprom *eep = (struct eeprom *)eeprom_va; in cgsixattach() local 201 if (eep == NULL || eep->eeConsole == constype) in cgsixattach()
|
| H A D | bwtwo_obio.c | 141 struct eeprom *eep = (struct eeprom *)eeprom_va; in bwtwoattach_obio() local 158 if (eep == NULL || eep->eeConsole == constype) in bwtwoattach_obio()
|
| H A D | cgfour.c | 256 struct eeprom *eep = (struct eeprom *)eeprom_va; in cgfourattach() local 262 if (eep == NULL || eep->eeConsole == EE_CONS_P4OPT) in cgfourattach()
|
| H A D | cgeight.c | 258 struct eeprom *eep = (struct eeprom *)eeprom_va; in cgeightattach() local 264 if (eep == NULL || eep->eeConsole == EE_CONS_P4OPT) in cgeightattach()
|
| H A D | cgtwo.c | 164 struct eeprom *eep = (struct eeprom *)eeprom_va; in cgtwoattach() local 209 if (eep == NULL || eep->eeConsole == EE_CONS_COLOR) in cgtwoattach()
|
| /netbsd-src/sys/dev/usb/ |
| H A D | if_otus.c | 1543 uint8_t *eep; in otus_read_eeprom() local 1551 eep = (uint8_t *)&sc->sc_eeprom; in otus_read_eeprom() 1556 error = otus_cmd(sc, AR_CMD_RREG, regs, sizeof(regs), eep); in otus_read_eeprom() 1559 eep += 32; in otus_read_eeprom() 2587 const struct ModalEepHeader *eep; in otus_set_board_values() local 2593 eep = &sc->sc_eeprom.modalHeader[0]; in otus_set_board_values() 2595 eep = &sc->sc_eeprom.modalHeader[1]; in otus_set_board_values() 2600 tmp = le32toh(eep->antCtrlCommon); in otus_set_board_values() 2603 tmp = le32toh(eep->antCtrlChain[0]); in otus_set_board_values() 2606 tmp = le32toh(eep->antCtrlChain[1]); in otus_set_board_values() [all …]
|
| H A D | if_athn_usb.c | 1310 uint16_t *eep; in athn_usb_read_rom() local 1317 eep = sc->sc_eep; in athn_usb_read_rom() 1327 *eep++ = be32toh(vals[j]); in athn_usb_read_rom()
|
| /netbsd-src/sys/kern/ |
| H A D | sys_epoll.c | 205 struct epoll_event *eep = (struct epoll_event *)eventlist; in epoll_kev_put_events() local 210 kevent_to_epoll(events + i, eep + index + i); in epoll_kev_put_events() 358 struct epoll_event *eep; in sys_epoll_ctl() local 366 eep = ⅇ in sys_epoll_ctl() 368 eep = NULL; in sys_epoll_ctl() 371 SCARG(uap, fd), eep); in sys_epoll_ctl()
|
| /netbsd-src/sys/dev/sun/ |
| H A D | fb.c | 324 struct eeprom *eep = (struct eeprom *)eeprom_va; in fb_setsize_eeprom() local 339 } else if (eep != NULL) { in fb_setsize_eeprom() 340 switch (eep->eeScreenSize) { in fb_setsize_eeprom()
|
| /netbsd-src/sys/compat/linux/common/ |
| H A D | linux_misc.c | 1833 struct epoll_event *eep; in linux_sys_epoll_ctl() local 1849 eep = ⅇ in linux_sys_epoll_ctl() 1851 eep = NULL; in linux_sys_epoll_ctl() 1854 SCARG(uap, fd), eep); in linux_sys_epoll_ctl() 1895 struct epoll_event *eep; in linux_epoll_pwait2_common() local 1918 eep = kmem_alloc(maxevents * sizeof(*eep), KM_SLEEP); in linux_epoll_pwait2_common() 1920 error = epoll_wait_common(l, retval, epfd, eep, maxevents, tsp, in linux_epoll_pwait2_common() 1927 leep[i].events = eep[i].events; in linux_epoll_pwait2_common() 1928 leep[i].data = eep[ in linux_epoll_pwait2_common() [all...] |
| /netbsd-src/sys/external/isc/atheros_hal/dist/ar5416/ |
| H A D | ar9285_reset.c | 249 const struct ar5416eeprom_4k *eep = &ee->ee_base; in ar9285SetBoardValues() local 255 pModal = &eep->modalHeader; in ar9285SetBoardValues()
|
| H A D | ar5416_reset.c | 1261 const struct ar5416eeprom *eep = &ee->ee_base; in ar5416SetBoardValues() local 1269 pModal = &(eep->modalHeader[IS_CHAN_2GHZ(chan)]); in ar5416SetBoardValues()
|
| /netbsd-src/external/cddl/osnet/dist/uts/common/os/ |
| H A D | fm.c | 123 fm_drain(void *private, void *data, errorq_elem_t *eep) in fm_drain() argument 125 nvlist_t *nvl = errorq_elem_nvl(ereport_errorq, eep); in fm_drain()
|