Home
last modified time | relevance | path

Searched refs:ah (Results 1 – 25 of 129) sorted by relevance

123456

/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_hw.c506 ah = &ahp->ah; in ath9k_hw_newstate()
715 ah = &ahp->ah; in ath9k_hw_do_attach()
738 (AR_SREV_9280(ah) && !ah->ah_isPciExpress)) { in ath9k_hw_do_attach()
753 (!AR_SREV_9100(ah)) && (!AR_SREV_9280(ah)) && in ath9k_hw_do_attach()
757 ah->ah_macVersion, ah->ah_macRev)); in ath9k_hw_do_attach()
767 ah->ah_phyRev = REG_READ(ah, AR_PHY_CHIP_ID); in ath9k_hw_do_attach()
803 ah->ah_macVersion, ah->ah_macRev)); in ath9k_hw_do_attach()
2445 ath9k_hw_loadnf(ah, ah->ah_curchan); in ath9k_hw_reset()
2511 ath9k_hw_set_operating_mode(ah, ah->ah_opmode); in ath9k_hw_reset()
3008 REG_WRITE(ah, AR_WA, ah->ah_config.pcie_waen); in ath9k_hw_configpcipowersave()
[all …]
H A Darn_ani.c250 if (!DO_ANI(ah)) in ath9k_ani_restart()
299 if (!DO_ANI(ah)) in ath9k_hw_ani_ofdm_err_trigger()
374 if (!DO_ANI(ah)) in ath9k_hw_ani_cck_err_trigger()
503 if (!DO_ANI(ah)) in ath9k_ani_reset()
510 if (DO_ANI(ah) && ah->ah_opmode != ATH9K_M_STA && in ath9k_ani_reset()
527 ath9k_hw_setrxfilter(ah, ath9k_hw_getrxfilter(ah) | in ath9k_ani_reset()
561 ath9k_hw_setrxfilter(ah, ath9k_hw_getrxfilter(ah) & in ath9k_ani_reset()
569 ath9k_hw_setrxfilter(ah, ath9k_hw_getrxfilter(ah) | in ath9k_ani_reset()
642 if (!DO_ANI(ah)) in ath9k_hw_ani_monitor()
685 REG_WRITE(ah, AR_MIBC, in ath9k_enable_mib_counters()
[all …]
H A Darn_calib.c135 if (!AR_SREV_9280(ah)) { in ath9k_hw_do_getnf()
171 if (!AR_SREV_9280(ah)) { in ath9k_hw_do_getnf()
616 if (!AR_SREV_9100(ah) && !AR_SREV_9160_10_OR_LATER(ah)) in ath9k_hw_reset_calvalid()
678 if (AR_SREV_9280(ah)) in ath9k_hw_loadnf()
686 h = ah->nfCalHist; in ath9k_hw_loadnf()
752 h = ah->nfCalHist; in ath9k_hw_getnf()
767 if (AR_SREV_9280(ah)) in ath9k_init_nfcal_hist_buffer()
845 ath9k_hw_loadnf(ah, ah->ah_curchan); in ath9k_hw_calibrate()
949 if (AR_SREV_9285_11(ah)) in ath9k_hw_9285_pa_cal()
972 if (AR_SREV_9285(ah) && AR_SREV_9285_11_OR_LATER(ah)) in ath9k_hw_init_cal()
[all …]
H A Darn_regd.c429 struct ath_hal *ah, in ath9k_regd_add_channel() argument
633 struct ath_hal *ah, in ath9k_regd_init_channels() argument
674 ah->ah_countryCode = ath9k_regd_get_default_country(ah); in ath9k_regd_init_channels()
898 ah->ah_nchan = next; in ath9k_regd_init_channels()
911 ah->ah_countryCode = ah->ah_countryCode; in ath9k_regd_init_channels()
917 ah->ah_iso[0] = 0; in ath9k_regd_init_channels()
918 ah->ah_iso[1] = 0; in ath9k_regd_init_channels()
939 cc = ah->ah_curchan; in ath9k_regd_check_channel()
949 base = ah->ah_channels; in ath9k_regd_check_channel()
950 n = ah->ah_nchan; in ath9k_regd_check_channel()
[all …]
H A Darn_mac.c42 REG_WRITE(ah, AR_IMR_S0, in ath9k_hw_set_txq_interrupts()
45 REG_WRITE(ah, AR_IMR_S1, in ath9k_hw_set_txq_interrupts()
60 REG_WRITE(ah, AR_MACMISC, in ath9k_hw_dmaRegDump()
876 REG_WRITE(ah, AR_QMISC(q), REG_READ(ah, AR_QMISC(q)) | in ath9k_hw_resettxqueue()
881 REG_WRITE(ah, AR_DMISC(q), REG_READ(ah, AR_DMISC(q)) | in ath9k_hw_resettxqueue()
888 REG_WRITE(ah, AR_QMISC(q), REG_READ(ah, AR_QMISC(q)) | in ath9k_hw_resettxqueue()
898 REG_WRITE(ah, AR_DMISC(q), REG_READ(ah, AR_DMISC(q)) | in ath9k_hw_resettxqueue()
907 REG_WRITE(ah, AR_DMISC(q), REG_READ(ah, AR_DMISC(q)) | in ath9k_hw_resettxqueue()
915 REG_WRITE(ah, AR_DMISC(q), REG_READ(ah, AR_DMISC(q)) | in ath9k_hw_resettxqueue()
1080 ath9k_ani_reset(ah); in ath9k_hw_startpcureceive()
[all …]
H A Darn_ath9k.h858 void ath9k_hw_detach(struct ath_hal *ah);
861 void ath9k_hw_rfdetach(struct ath_hal *ah);
912 void ath9k_enable_rfkill(struct ath_hal *ah);
933 void ath9k_hw_setopmode(struct ath_hal *ah);
941 void ath9k_hw_reset_tsf(struct ath_hal *ah);
961 void ath9k_ani_reset(struct ath_hal *ah);
962 void ath9k_hw_ani_monitor(struct ath_hal *ah,
974 void ath9k_hw_ani_setup(struct ath_hal *ah);
975 void ath9k_hw_ani_attach(struct ath_hal *ah);
996 int ath9k_hw_set_txpower(struct ath_hal *ah,
[all …]
H A Darn_eeprom.c1108 REG_WRITE(ah, in ath9k_hw_set_def_power_cal_table()
2245 REG_RMW_FIELD(ah, in ath9k_hw_eeprom_set_def_board_values()
2251 REG_RMW_FIELD(ah, in ath9k_hw_eeprom_set_def_board_values()
2270 REG_WRITE(ah, in ath9k_hw_eeprom_set_def_board_values()
2280 REG_WRITE(ah, in ath9k_hw_eeprom_set_def_board_values()
2292 REG_RMW_FIELD(ah, in ath9k_hw_eeprom_set_def_board_values()
2297 REG_RMW_FIELD(ah, in ath9k_hw_eeprom_set_def_board_values()
2303 REG_WRITE(ah, in ath9k_hw_eeprom_set_def_board_values()
2305 (REG_READ(ah, in ath9k_hw_eeprom_set_def_board_values()
2311 REG_WRITE(ah, in ath9k_hw_eeprom_set_def_board_values()
[all …]
H A Darn_phy.c32 struct ath_hal_5416 *ahp = AH5416(ah); in ath9k_hw_write_regs()
72 REG_WRITE(ah, AR_PHY_CCK_TX_CTRL, in ath9k_hw_set_channel()
75 REG_WRITE(ah, AR_PHY_CCK_TX_CTRL, in ath9k_hw_set_channel()
86 if (AR_SREV_9100(ah) || AR_SREV_9160_10_OR_LATER(ah)) in ath9k_hw_set_channel()
102 REG_WRITE(ah, AR_PHY(0x37), reg32); in ath9k_hw_set_channel()
104 ah->ah_curchan = chan; in ath9k_hw_set_channel()
137 REG_WRITE(ah, AR_PHY_CCK_TX_CTRL, in ath9k_hw_ar9280_set_channel()
140 REG_WRITE(ah, AR_PHY_CCK_TX_CTRL, in ath9k_hw_ar9280_set_channel()
158 REG_RMW_FIELD(ah, AR_AN_SYNTH9, in ath9k_hw_ar9280_set_channel()
175 ah->ah_curchan = chan; in ath9k_hw_ar9280_set_channel()
[all …]
H A Darn_main.c972 ath9k_hw_reset_calvalid(ah, ah->ah_curchan, in arn_ani_calibrate()
997 if (ath9k_hw_calibrate(ah, ah->ah_curchan, in arn_ani_calibrate()
2556 struct ath_hal *ah; in arn_get_hw_encap() local
2559 ah = sc->sc_ah; in arn_get_hw_encap()
2801 struct ath_hal *ah; in arn_attach() local
2872 if (ah == NULL) { in arn_attach()
2878 sc->sc_ah = ah; in arn_attach()
3246 ah->ah_macRev, in arn_attach()
3248 ah->ah_phyRev, in arn_attach()
3268 ath9k_hw_detach(ah); in arn_attach()
[all …]
H A Darn_recv.c152 struct ath_hal *ah = sc->sc_ah; in arn_opmode_init() local
159 ath9k_hw_setrxfilter(ah, rfilt); in arn_opmode_init()
166 ath9k_hw_setopmode(ah); in arn_opmode_init()
276 struct ath_hal *ah = sc->sc_ah; in arn_startrecv() local
301 ath9k_hw_rxena(ah); in arn_startrecv()
306 ath9k_hw_startpcureceive(ah); in arn_startrecv()
314 struct ath_hal *ah = sc->sc_ah; in arn_stoprecv() local
317 ath9k_hw_stoppcurecv(ah); in arn_stoprecv()
318 ath9k_hw_setrxfilter(ah, 0); in arn_stoprecv()
319 stopped = ath9k_hw_stopdmarecv(ah); in arn_stoprecv()
[all …]
/illumos-gate/usr/src/boot/libsa/
H A Darp.c74 struct ether_arp *ah; in arpwhohas() local
102 ah = &wbuf.data.arp; in arpwhohas()
105 ah->arp_hln = sizeof (ah->arp_sha); /* hardware address length */ in arpwhohas()
106 ah->arp_pln = sizeof (ah->arp_spa); /* protocol address length */ in arpwhohas()
109 bcopy(&d->myip, ah->arp_spa, sizeof (ah->arp_spa)); in arpwhohas()
111 bcopy(&addr, ah->arp_tpa, sizeof (ah->arp_tpa)); in arpwhohas()
117 ah = NULL; in arpwhohas()
196 ah->arp_hln != sizeof (ah->arp_sha) || in arprecv()
197 ah->arp_pln != sizeof (ah->arp_spa)) { in arprecv()
211 arp_reply(d, ah); in arprecv()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_ads.c669 if (ah == NULL) { in smb_ads_open_main()
679 free(ah); in smb_ads_open_main()
687 free(ah); in smb_ads_open_main()
694 ah->ld = ld; in smb_ads_open_main()
730 ah->site = NULL; in smb_ads_open_main()
740 (ah->site != NULL) ? ah->site : ""); in smb_ads_open_main()
754 *hp = ah; in smb_ads_open_main()
771 if (ah == NULL) in smb_ads_close()
774 if (ah->ld) in smb_ads_close()
780 free(ah->site); in smb_ads_close()
[all …]
/illumos-gate/usr/src/lib/libm/common/C/
H A Datan2.c432 ah = pio2; in atan2()
435 ah = -pio2; in atan2()
443 ah = mpi; in atan2()
447 ah = al = zero; in atan2()
456 ah += pio4; in atan2()
460 return ((sy)? -ah : ah); in atan2()
463 if ((int)ah == 0) in atan2()
464 ah = y / x; in atan2()
465 return ((sy)? -ah : ah); in atan2()
478 return ((sy)? -ah : ah); in atan2()
[all …]
/illumos-gate/usr/src/cmd/login/
H A Dlogin_audit.c61 adt_session_data_t *ah; in audit_success() local
74 (void) adt_end_session(ah); in audit_success()
77 event = adt_alloc_event(ah, event_id); in audit_success()
93 (void) adt_end_session(ah); in audit_success()
112 (void) adt_end_session(ah); in audit_success()
119 audit_logout(adt_session_data_t *ah) in audit_logout() argument
196 (void) adt_end_session(ah); in audit_logout()
209 adt_session_data_t *ah; in audit_failure() local
237 (void) adt_end_session(ah); in audit_failure()
245 event = adt_alloc_event(ah, event_id); in audit_failure()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/pf_key/
H A Dkmc-update.sh41 delete ah spi 0x2112 dst 127.0.0.1
42 delete ah spi 0x5150 dst 127.0.0.1
43 delete ah spi 0x6768 dst 127.0.0.1
44 add ah spi 0x2112 dst 127.0.0.1 authalg md5 authkey \
46 add ah spi 0x5150 dst 127.0.0.1 authalg md5 authkey \
48 add ah spi 0x6768 dst 127.0.0.1 authalg md5 authkey \
135 ipseckey delete ah spi 0x2112 dst 127.0.0.1
136 ipseckey delete ah spi 0x5150 dst 127.0.0.1
137 ipseckey delete ah spi 0x6768 dst 127.0.0.1
/illumos-gate/usr/src/uts/common/io/ath/
H A Dath_aux.c115 struct ath_hal *ah = asc->asc_ah; in ath_calcrxfilter() local
136 struct ath_hal *ah = asc->asc_ah; in ath_set_data_queue() local
250 struct ath_hal *ah = asc->asc_ah; in ath_mode_init() local
255 ATH_HAL_SETRXFILTER(ah, rfilt); in ath_mode_init()
256 ATH_HAL_SETOPMODE(ah); in ath_mode_init()
301 struct ath_hal *ah = asc->asc_ah; in ath_getchannels() local
595 ATH_HAL_INTRSET(ah, 0); in ath_beacon_config()
601 ATH_HAL_RESETTSF(ah); in ath_beacon_config()
602 ATH_HAL_BEACONTIMERS(ah, &bs); in ath_beacon_config()
606 ATH_HAL_INTRSET(ah, 0); in ath_beacon_config()
[all …]
H A Dath_main.c1587 ATH_HAL_INTRSET(ah, 0); in ath_stop_locked()
1962 struct ath_hal *ah; in ath_attach() local
2054 if (ah == NULL) { in ath_attach()
2061 ah->ah_macVersion, ah->ah_macRev, in ath_attach()
2062 ah->ah_phyRev >> 4, ah->ah_phyRev & 0xf)); in ath_attach()
2063 ATH_HAL_INTRSET(ah, 0); in ath_attach()
2064 asc->asc_ah = ah; in ath_attach()
2077 ah->ah_macVersion, ah->ah_macRev, in ath_attach()
2078 ah->ah_phyRev >> 4, ah->ah_phyRev & 0xf)); in ath_attach()
2252 ATH_HAL_INTRSET(ah, 0); in ath_attach()
[all …]
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_audit.c40 adt_session_data_t *ah; in nwam_record_audit_event() local
43 if (adt_start_session(&ah, NULL, 0) != 0) in nwam_record_audit_event()
46 if (adt_set_from_ucred(ah, ucr, ADT_NEW) != 0) { in nwam_record_audit_event()
47 (void) adt_end_session(ah); in nwam_record_audit_event()
51 if ((edata = adt_alloc_event(ah, eid)) == NULL) { in nwam_record_audit_event()
52 (void) adt_end_session(ah); in nwam_record_audit_event()
81 (void) adt_end_session(ah); in nwam_record_audit_event()
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_autohome.c195 smb_autohome_t *ah = NULL; in smb_autohome_lookup() local
206 if (strcasecmp(ah->ah_name, name) == 0) in smb_autohome_lookup()
210 if (ah == NULL) { in smb_autohome_lookup()
215 ah->ah_name = (char *)name; in smb_autohome_lookup()
221 if (ah == NULL) { in smb_autohome_lookup()
228 ah = NULL; in smb_autohome_lookup()
232 ah->ah_name = pw->pw_name; in smb_autohome_lookup()
234 if (ah->ah_path) in smb_autohome_lookup()
235 ah->ah_container = ah->ah_path; in smb_autohome_lookup()
237 ah->ah_path = pw->pw_dir; in smb_autohome_lookup()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_misc.c79 tavor_ahhdl_t ah; in tavor_ah_alloc() local
197 ah->ah_rsrcp = rsrc; in tavor_ah_alloc()
198 ah->ah_pdhdl = pd; in tavor_ah_alloc()
199 ah->ah_mrhdl = mr; in tavor_ah_alloc()
202 *ahhdl = ah; in tavor_ah_alloc()
233 tavor_ahhdl_t ah; in tavor_ah_free() local
241 ah = *ahhdl; in tavor_ah_free()
244 rsrc = ah->ah_rsrcp; in tavor_ah_free()
245 pd = ah->ah_pdhdl; in tavor_ah_free()
246 mr = ah->ah_mrhdl; in tavor_ah_free()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dstart_eltorito.S151 mov $0x42, %ah /* Extended Read */
181 mov %ah, %dl /* Save error code */
185 mov ABS(dapa+2), %ah /* Sector transfer count */
188 mov $1, %ah /* Drop transfer size to 1 */
193 shr $1, %ah /* Otherwise, try to reduce */
194 adc $0, %ah /* the max transfer size, but not */
196 mov %ah, ABS(MaxTransfer)
197 mov %ah, ABS(dapa+2)
224 mov $0x0E, %ah
260 mov $0x0E, %ah
/illumos-gate/usr/src/cmd/power/
H A Dsys-suspend.c140 if ((event = adt_alloc_event(ah, event_id)) == NULL) { in pm_audit_event()
274 adt_session_data_t *ah = NULL; /* audit session handle */ in pm_suspend() local
335 if ((event = adt_alloc_event(ah, event_id)) != NULL) { in pm_suspend()
380 if (ah != NULL) { in pm_suspend()
382 ((event = adt_alloc_event(ah, ADT_uadmin_thaw)) in pm_suspend()
399 pm_do_auth(ah); in pm_suspend()
402 (void) adt_end_session(ah); in pm_suspend()
806 pm_do_auth(adt_session_data_t *ah) in pm_do_auth() argument
840 pm_audit_event(ah, ADT_passwd, err); in pm_do_auth()
847 pm_audit_event(ah, ADT_screenunlock, err); in pm_do_auth()
[all …]
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_logon.c156 adt_session_data_t *ah = NULL; in smbd_logon_audit() local
187 if (adt_start_session(&ah, NULL, 0)) { in smbd_logon_audit()
192 if ((event = adt_alloc_event(ah, ADT_smbd_session)) == NULL) { in smbd_logon_audit()
209 adt_set_termid(ah, &termid); in smbd_logon_audit()
211 if (adt_set_user(ah, uid, gid, uid, gid, NULL, ADT_NEW)) { in smbd_logon_audit()
232 entry->sa_handle = ah; in smbd_logon_audit()
244 (void) adt_end_session(ah); in smbd_logon_audit()
306 adt_session_data_t *ah; in smbd_user_auth_logoff() local
323 ah = entry->sa_handle; in smbd_user_auth_logoff()
325 if ((event = adt_alloc_event(ah, ADT_smbd_logoff)) == NULL) { in smbd_user_auth_logoff()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipsec.c106 ah_t *ah = (ah_t *)hdr; in interpret_ah() local
122 aligned_ah = ah; in interpret_ah()
139 auth_data = (uint8_t *)(ah + 1); in interpret_ah()
152 (void) sprintf(get_line((char *)&ah->ah_nexthdr - dlc_header, in interpret_ah()
155 (void) sprintf(get_line((char *)&ah->ah_length - dlc_header, 1), in interpret_ah()
157 (void) sprintf(get_line((char *)&ah->ah_reserved - dlc_header, in interpret_ah()
160 (void) sprintf(get_line((char *)&ah->ah_spi - dlc_header, 4), in interpret_ah()
162 (void) sprintf(get_line((char *)&ah->ah_replay - dlc_header, 4), in interpret_ah()
/illumos-gate/usr/src/uts/common/inet/
H A Dipsecah.h140 typedef struct ah { struct
149 #define AH_TOTAL_LEN(ah) (((ah)->ah_length << 2) + AH_BASELEN - \ argument
150 sizeof ((ah)->ah_replay))
162 #define AHOLD_TOTAL_LEN(ah) (((ah)->ah_length << 2) + AH_BASELEN) argument

123456