Home
last modified time | relevance | path

Searched refs:ahp (Results 1 – 24 of 24) sorted by relevance

/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_phy.c225 RF_BANK_SETUP(ahp->ah_analogBank0Data, &ahp->ah_iniBank0, 1); in ath9k_hw_set_rf_regs()
227 RF_BANK_SETUP(ahp->ah_analogBank1Data, &ahp->ah_iniBank1, 1); in ath9k_hw_set_rf_regs()
229 RF_BANK_SETUP(ahp->ah_analogBank2Data, &ahp->ah_iniBank2, 1); in ath9k_hw_set_rf_regs()
231 RF_BANK_SETUP(ahp->ah_analogBank3Data, &ahp->ah_iniBank3, in ath9k_hw_set_rf_regs()
259 RF_BANK_SETUP(ahp->ah_analogBank7Data, &ahp->ah_iniBank7, 1); in ath9k_hw_set_rf_regs()
261 REG_WRITE_RF_ARRAY(&ahp->ah_iniBank0, ahp->ah_analogBank0Data, in ath9k_hw_set_rf_regs()
264 REG_WRITE_RF_ARRAY(&ahp->ah_iniBank1, ahp->ah_analogBank1Data, in ath9k_hw_set_rf_regs()
267 REG_WRITE_RF_ARRAY(&ahp->ah_iniBank2, ahp->ah_analogBank2Data, in ath9k_hw_set_rf_regs()
270 REG_WRITE_RF_ARRAY(&ahp->ah_iniBank3, ahp->ah_analogBank3Data, in ath9k_hw_set_rf_regs()
273 REG_WRITE_RF_ARRAY(&ahp->ah_iniBank6TPC, ahp->ah_analogBank6Data, in ath9k_hw_set_rf_regs()
[all …]
H A Darn_ani.c80 ahp->ah_firpwr[level]); in ath9k_hw_ani_control()
253 aniState = ahp->ah_curani; in ath9k_ani_restart()
302 aniState = ahp->ah_curani; in ath9k_hw_ani_ofdm_err_trigger()
325 rssi = BEACON_RSSI(ahp); in ath9k_hw_ani_ofdm_err_trigger()
377 aniState = ahp->ah_curani; in ath9k_hw_ani_cck_err_trigger()
391 rssi = BEACON_RSSI(ahp); in ath9k_hw_ani_cck_err_trigger()
413 aniState = ahp->ah_curani; in ath9k_hw_ani_lower_immunity()
422 rssi = BEACON_RSSI(ahp); in ath9k_hw_ani_lower_immunity()
474 aniState = ahp->ah_curani; in ath9k_hw_ani_get_listen_time()
508 ahp->ah_curani = aniState; in ath9k_ani_reset()
[all …]
H A Darn_calib.c260 ahp->ah_Meas0.sign[i] = 0; in ath9k_hw_reset_calibration()
261 ahp->ah_Meas1.sign[i] = 0; in ath9k_hw_reset_calibration()
262 ahp->ah_Meas2.sign[i] = 0; in ath9k_hw_reset_calibration()
266 ahp->ah_CalSamples = 0; in ath9k_hw_reset_calibration()
285 ahp->ah_CalSamples++; in ath9k_hw_per_calibration()
347 ahp->ah_CalSamples, i, ahp->ah_totalPowerMeasI[i], in ath9k_hw_iqcal_collect()
979 ahp->ah_cal_list = ahp->ah_cal_list_last = ahp->ah_cal_list_curr = NULL; in ath9k_hw_init_cal()
986 INSERT_CAL(ahp, &ahp->ah_adcGainCalData); in ath9k_hw_init_cal()
995 INSERT_CAL(ahp, &ahp->ah_adcDcCalData); in ath9k_hw_init_cal()
1004 INSERT_CAL(ahp, &ahp->ah_iqCalData); in ath9k_hw_init_cal()
[all …]
H A Darn_hw.c499 if (ahp == NULL) { in ath9k_hw_newstate()
506 ah = &ahp->ah; in ath9k_hw_newstate()
522 ahp->ah_atimWindow = 0; in ath9k_hw_newstate()
535 ahp->ah_gBeaconRate = 0; in ath9k_hw_newstate()
537 return (ahp); in ath9k_hw_newstate()
607 ahp->ah_macaddr)); in ath9k_hw_init_macaddr()
712 if (ahp == NULL) in ath9k_hw_do_attach()
715 ah = &ahp->ah; in ath9k_hw_do_attach()
1031 if (ahp) in ath9k_hw_do_attach()
2546 ahp->ah_intrTxqs = 0; in ath9k_hw_reset()
[all …]
H A Darn_mac.c34 struct ath_hal_5416 *ahp = AH5416(ah); in ath9k_hw_set_txq_interrupts() local
39 ahp->ah_txErrInterruptMask, ahp->ah_txDescInterruptMask, in ath9k_hw_set_txq_interrupts()
40 ahp->ah_txEolInterruptMask, ahp->ah_txUrnInterruptMask)); in ath9k_hw_set_txq_interrupts()
562 *txqs &= ahp->ah_intrTxqs; in ath9k_hw_gettxintrtxqs()
563 ahp->ah_intrTxqs &= ~(*txqs); in ath9k_hw_gettxintrtxqs()
581 qi = &ahp->ah_txq[q]; in ath9k_hw_set_txq_props()
652 qi = &ahp->ah_txq[q]; in ath9k_hw_get_txq_props()
701 if (ahp->ah_txq[q].tqi_type == in ath9k_hw_setuptxqueue()
722 qi = &ahp->ah_txq[q]; in ath9k_hw_setuptxqueue()
762 qi = &ahp->ah_txq[q]; in ath9k_hw_releasetxqueue()
[all …]
H A Darn_eeprom.c178 struct ath_hal_5416 *ahp = AH5416(ah); in ath9k_hw_fill_4k_eeprom() local
208 struct ath_hal_5416 *ahp = AH5416(ah); in ath9k_hw_fill_def_eeprom() local
363 sum, ar5416_get_eep_ver(ahp))); in ath9k_hw_check_def_eeprom()
1089 (ahp->ah_rxchainmask == 5 || ahp->ah_txchainmask == 5) && in ath9k_hw_set_def_power_cal_table()
1209 (ahp->ah_rxchainmask == 5 || ahp->ah_txchainmask == 5) && in ath9k_hw_set_4k_power_cal_table()
1427 ar5416_get_eep_rev(ahp) <= 2) in ath9k_hw_set_def_power_per_rate_table()
1677 ar5416_get_eep_rev(ahp) <= 2) in ath9k_hw_set_4k_power_per_rate_table()
2148 INI_RA(&ahp->ah_iniAddac, 7, 1) = in ath9k_hw_set_def_addac()
2152 INI_RA(&ahp->ah_iniAddac, 6, 1) = in ath9k_hw_set_def_addac()
2178 INI_RA(&ahp->ah_iniAddac, 7, 1) = in ath9k_hw_set_4k_addac()
[all …]
H A Darn_hw.h1056 #define BEACON_RSSI(ahp) \ argument
1057 HAL_EP_RND(ahp->ah_stats.ast_nodestats.ns_avgbrssi, \
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_asru.c124 ahp->ah_count++; in fmd_asru_hash_insert()
641 fmd_asru_hash_discard(ahp, uuid, ahp->ah_error); in fmd_asru_hash_logopen()
840 return (ahp); in fmd_asru_hash_create()
860 fmd_free(ahp->ah_hash, sizeof (void *) * ahp->ah_hashlen); in fmd_asru_hash_destroy()
861 fmd_free(ahp->ah_asru_hash, sizeof (void *) * ahp->ah_hashlen); in fmd_asru_hash_destroy()
863 fmd_free(ahp->ah_fru_hash, sizeof (void *) * ahp->ah_hashlen); in fmd_asru_hash_destroy()
997 fmd_asru_do_hash_apply(ahp, name, func, arg, ahp->ah_fru_hash, in fmd_asru_hash_apply_by_fru()
1159 fmd_asru_do_hash_delete(ahp, cis, cp, ahp->ah_fru_hash, in fmd_asru_hash_delete_case()
1161 fmd_asru_do_hash_delete(ahp, cis, cp, ahp->ah_rsrc_hash, in fmd_asru_hash_delete_case()
1166 fmd_asru_do_delete_entry(ahp, cp, ahp->ah_label_hash, in fmd_asru_hash_delete_case()
[all …]
H A Dfmd_api.c2203 fmd_asru_hash_t *ahp = fmd.d_asrus; in fmd_nvl_fmri_has_fault() local
2227 fmd_asru_hash_apply_by_rsrc(ahp, name, fmd_rsrc_has_fault, in fmd_nvl_fmri_has_fault()
2230 fmd_asru_hash_apply_by_asru(ahp, name, fmd_rsrc_has_fault, in fmd_nvl_fmri_has_fault()
2233 fmd_asru_hash_apply_by_fru(ahp, name, fmd_rsrc_has_fault, in fmd_nvl_fmri_has_fault()
H A Dfmd_case.c912 fmd_asru_hash_t *ahp = fmd.d_asrus; in fmd_case_convict() local
985 if ((alp = fmd_asru_hash_create_entry(ahp, in fmd_case_convict()
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_anon.c292 struct anon_hdr *ahp; in anon_create() local
304 ahp->size = npages; in anon_create()
340 return (ahp); in anon_create()
359 kmem_free(ahp->array_chunk, ahp->size * sizeof (struct anon *)); in anon_release()
390 if ((ahp->size <= ANON_CHUNK_SIZE) || (ahp->flags & ANON_ALLOC_FORCE)) { in anon_get_ptr()
424 size = ahp->size; in anon_get_next_ptr()
481 if (ahp->size <= ANON_CHUNK_SIZE || (ahp->flags & ANON_ALLOC_FORCE)) { in anon_set_ptr()
1154 struct anon_hdr *ahp, in anon_decref_pages() argument
1683 struct anon_hdr *ahp = amp->ahp; in anon_disclaim() local
3285 struct anon_hdr *ahp = amp->ahp; in anon_shmap_free_pages() local
[all …]
H A Dseg_vn.c969 ASSERT(anon_get_ptr(amp->ahp, in segvn_create()
984 anon_dup(amp->ahp, anon_num, svd->amp->ahp, in segvn_create()
1223 namp->ahp = nahp; in segvn_concat()
2062 anon_free_pages(amp->ahp, in segvn_unmap()
2066 anon_free(amp->ahp, in segvn_unmap()
2172 anon_free_pages(amp->ahp, in segvn_unmap()
2329 anon_free(amp->ahp, an_idx, in segvn_unmap()
2369 amp->ahp = nahp; in segvn_unmap()
2465 anon_free_pages(amp->ahp, in segvn_free()
6310 amp->ahp = nahp; in segvn_setpagesize()
[all …]
H A Dseg_spt.c466 ap = anon_get_ptr(amp->ahp, anon_index); in segspt_shmincore()
626 (void) anon_copy_ptr(amp->ahp, 0, nahp, 0, npages, in segspt_create()
628 anon_release(amp->ahp, npages); in segspt_create()
629 amp->ahp = nahp; in segspt_create()
813 if ((ap = anon_get_next_ptr(amp->ahp, &anon_idx)) in segspt_free_pages()
1144 ap = anon_get_ptr(amp->ahp, an_idx); in segspt_dismpagelock()
1474 ap = anon_get_ptr(amp->ahp, anon_index); in segspt_shmpagelock()
1770 ap = anon_get_ptr(amp->ahp, anon_index++); in segspt_softunlock()
2296 ap = anon_get_ptr(amp->ahp, anon_index++); in segspt_shmfault()
2736 ap = anon_get_ptr(amp->ahp, anon_index); in spt_unlockpages()
[all …]
H A Danon.h305 struct anon_hdr *ahp; /* anon array header pointer, containing */ member
H A Dvm_usage.c934 ap = anon_get_ptr(amp->ahp, index); in vmu_amp_update_incore_bounds()
1214 ap = anon_get_next_ptr(private_amp->ahp, in vmu_calculate_seg()
H A Dseg_kp.c456 kpd->kp_anon = amp->ahp; in segkp_get_internal()
H A Dvm_page.c5459 ap = anon_get_ptr(amp->ahp, an_idx); in page_mark_migrate()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dipsecah.c372 ipsecah_param_register(IDP *ndp, ipsecahparam_t *ahp, int cnt) in ipsecah_param_register() argument
374 for (; cnt-- > 0; ahp++) { in ipsecah_param_register()
375 if (ahp->ipsecah_param_name != NULL && in ipsecah_param_register()
376 ahp->ipsecah_param_name[0]) { in ipsecah_param_register()
378 ahp->ipsecah_param_name, in ipsecah_param_register()
380 (caddr_t)ahp)) { in ipsecah_param_register()
396 ipsecahparam_t *ahp; in ipsecah_stack_init() local
401 ahp = (ipsecahparam_t *)kmem_alloc(sizeof (lcl_param_arr), KM_SLEEP); in ipsecah_stack_init()
402 ahstack->ipsecah_params = ahp; in ipsecah_stack_init()
403 bcopy(lcl_param_arr, ahp, sizeof (lcl_param_arr)); in ipsecah_stack_init()
[all …]
H A Dip_sadb.c659 ipsec_inbound_ah_sa(mblk_t *mp, ip_recv_attr_t *ira, ah_t **ahp) in ipsec_inbound_ah_sa() argument
777 *ahp = ah; in ipsec_inbound_ah_sa()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gcore.h205 uintptr_t ahp; member
/illumos-gate/usr/src/uts/common/os/
H A Dshm.c1138 ap = anon_get_ptr(amp->ahp, anon_idx); in lock_again()
1219 if ((ap = anon_get_ptr(amp->ahp, anon_idx)) == NULL) { in shmem_unlock()
1270 anon_free(amp->ahp, 0, amp->size); in shm_rm_amp()
H A Dschedctl.c697 anon_free(amp->ahp, 0, PAGESIZE); in schedctl_freepage()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgcore.c361 gcore_anon_get(uintptr_t ahp, ulong_t an_index, uintptr_t *vp, u_offset_t *off) in gcore_anon_get() argument
366 ap = gcore_anon_get_ptr(ahp, an_index); in gcore_anon_get()
401 gcore_anon_get(amp.ahp, svd->anon_index + p, &vp, in gsvn_incore()
H A Dmemory.c1154 (uintptr_t)(aw->aw_amp.ahp)) == -1) { in anon_walk_init_common()
1155 mdb_warn("failed to read anon hdr ptr at %p", aw->aw_amp.ahp); in anon_walk_init_common()