Home
last modified time | relevance | path

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

12

/titanic_44/usr/src/uts/common/io/arn/
H A Darn_phy.c32 struct ath_hal_5416 *ahp = AH5416(ah); in ath9k_hw_write_regs() local
35 REG_WRITE_ARRAY(&ahp->ah_iniBB_RfGain, freqIndex, regWrites); in ath9k_hw_write_regs()
212 struct ath_hal_5416 *ahp = AH5416(ah); in ath9k_hw_set_rf_regs() local
225 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()
235 for (i = 0; i < ahp->ah_iniBank6TPC.ia_rows; i++) { in ath9k_hw_set_rf_regs()
236 ahp->ah_analogBank6Data[i] = in ath9k_hw_set_rf_regs()
237 INI_RA(&ahp->ah_iniBank6TPC, i, modesIndex); in ath9k_hw_set_rf_regs()
[all …]
H A Darn_ani.c30 struct ath_hal_5416 *ahp = AH5416(ah); in ath9k_hw_get_ani_channel_idx() local
33 for (i = 0; i < ARRAY_SIZE(ahp->ah_ani); i++) { in ath9k_hw_get_ani_channel_idx()
34 if (ahp->ah_ani[i].c.channel == chan->channel) in ath9k_hw_get_ani_channel_idx()
36 if (ahp->ah_ani[i].c.channel == 0) { in ath9k_hw_get_ani_channel_idx()
37 ahp->ah_ani[i].c.channel = chan->channel; in ath9k_hw_get_ani_channel_idx()
38 ahp->ah_ani[i].c.channelFlags = chan->channelFlags; in ath9k_hw_get_ani_channel_idx()
52 struct ath_hal_5416 *ahp = AH5416(ah); in ath9k_hw_ani_control() local
53 struct ar5416AniState *aniState = ahp->ah_curani; in ath9k_hw_ani_control()
55 switch (cmd & ahp->ah_ani_function) { in ath9k_hw_ani_control()
59 if (level >= ARRAY_SIZE(ahp->ah_totalSizeDesired)) { in ath9k_hw_ani_control()
[all …]
H A Darn_calib.c252 struct ath_hal_5416 *ahp = AH5416(ah); in ath9k_hw_reset_calibration() local
260 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()
263 ahp->ah_Meas3.sign[i] = 0; in ath9k_hw_reset_calibration()
266 ahp->ah_CalSamples = 0; in ath9k_hw_reset_calibration()
276 struct ath_hal_5416 *ahp = AH5416(ah); in ath9k_hw_per_calibration() local
285 ahp->ah_CalSamples++; in ath9k_hw_per_calibration()
287 if (ahp->ah_CalSamples >= in ath9k_hw_per_calibration()
313 struct ath_hal_5416 *ahp = AH5416(ah); in ath9k_hw_iscal_supported() local
[all …]
H A Darn_hw.c269 struct ath_hal_5416 *ahp = AH5416(ah); in ath9k_hw_get_channel_centers() local
292 ((ahp->ah_extprotspacing == ATH9K_HT_EXTPROTSPACING_20) ? in ath9k_hw_get_channel_centers()
494 struct ath_hal_5416 *ahp; in ath9k_hw_newstate() local
497 ahp = (struct ath_hal_5416 *) in ath9k_hw_newstate()
499 if (ahp == NULL) { in ath9k_hw_newstate()
506 ah = &ahp->ah; in ath9k_hw_newstate()
522 ahp->ah_atimWindow = 0; in ath9k_hw_newstate()
523 ahp->ah_diversityControl = ah->ah_config.diversity_control; in ath9k_hw_newstate()
524 ahp->ah_antennaSwitchSwap = in ath9k_hw_newstate()
526 ahp->ah_staId1Defaults = AR_STA_ID1_CRPT_MIC_ENABLE; in ath9k_hw_newstate()
[all …]
H A Darn_mac.c34 struct ath_hal_5416 *ahp = AH5416(ah); in ath9k_hw_set_txq_interrupts() local
38 __func__, ahp->ah_txOkInterruptMask, in ath9k_hw_set_txq_interrupts()
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()
43 SM(ahp->ah_txOkInterruptMask, AR_IMR_S0_QCU_TXOK) | in ath9k_hw_set_txq_interrupts()
44 SM(ahp->ah_txDescInterruptMask, AR_IMR_S0_QCU_TXDESC)); in ath9k_hw_set_txq_interrupts()
46 SM(ahp->ah_txErrInterruptMask, AR_IMR_S1_QCU_TXERR)| in ath9k_hw_set_txq_interrupts()
47 SM(ahp->ah_txEolInterruptMask, AR_IMR_S1_QCU_TXEOL)); in ath9k_hw_set_txq_interrupts()
49 AR_IMR_S2_QCU_TXURN, ahp->ah_txUrnInterruptMask); in ath9k_hw_set_txq_interrupts()
168 struct ath_hal_5416 *ahp = AH5416(ah); in ath9k_hw_updatetxtriglevel() local
[all …]
H A Darn_eeprom.c178 struct ath_hal_5416 *ahp = AH5416(ah); in ath9k_hw_fill_4k_eeprom() local
179 struct ar5416_eeprom_4k *eep = &ahp->ah_eeprom.map4k; in ath9k_hw_fill_4k_eeprom()
208 struct ath_hal_5416 *ahp = AH5416(ah); in ath9k_hw_fill_def_eeprom() local
209 struct ar5416_eeprom_def *eep = &ahp->ah_eeprom.def; in ath9k_hw_fill_def_eeprom()
236 struct ath_hal_5416 *ahp = AH5416(ah); in ath9k_hw_fill_eeprom() local
238 return (ath9k_fill_eeprom[ahp->ah_eep_map](ah)); in ath9k_hw_fill_eeprom()
244 struct ath_hal_5416 *ahp = AH5416(ah); in ath9k_hw_check_def_eeprom() local
246 (struct ar5416_eeprom_def *)&ahp->ah_eeprom.def; in ath9k_hw_check_def_eeprom()
267 eepdata = (uint16_t *)(&ahp->ah_eeprom); in ath9k_hw_check_def_eeprom()
296 el = swab16(ahp->ah_eeprom.def.baseEepHeader.length); in ath9k_hw_check_def_eeprom()
[all …]
H A Darn_hw.h1053 #define BEACON_RSSI(ahp) \ argument
1054 HAL_EP_RND(ahp->ah_stats.ast_nodestats.ns_avgbrssi, \
/titanic_44/usr/src/cmd/fm/fmd/common/
H A Dfmd_asru.c66 fmd_asru_strhash(fmd_asru_hash_t *ahp, const char *val) in fmd_asru_strhash() argument
68 return (topo_fmri_strhash(ahp->ah_topo->ft_hdl, val) % ahp->ah_hashlen); in fmd_asru_strhash()
72 fmd_asru_strcmp(fmd_asru_hash_t *ahp, const char *a, const char *b) in fmd_asru_strcmp() argument
74 return (topo_fmri_strcmp(ahp->ah_topo->ft_hdl, a, b)); in fmd_asru_strcmp()
78 fmd_asru_create(fmd_asru_hash_t *ahp, const char *uuid, in fmd_asru_create() argument
90 ap->asru_root = fmd_strdup(ahp->ah_dirpath, FMD_SLEEP); in fmd_asru_create()
117 fmd_asru_hash_insert(fmd_asru_hash_t *ahp, fmd_asru_t *ap) in fmd_asru_hash_insert() argument
119 uint_t h = fmd_asru_strhash(ahp, ap->asru_name); in fmd_asru_hash_insert()
121 ASSERT(RW_WRITE_HELD(&ahp->ah_lock)); in fmd_asru_hash_insert()
122 ap->asru_next = ahp->ah_hash[h]; in fmd_asru_hash_insert()
[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()
/titanic_44/usr/src/uts/common/vm/
H A Dvm_anon.c293 struct anon_hdr *ahp; in anon_create() local
297 if ((ahp = kmem_zalloc(sizeof (struct anon_hdr), kmemflags)) == NULL) { in anon_create()
301 mutex_init(&ahp->serial_lock, NULL, MUTEX_DEFAULT, NULL); in anon_create()
305 ahp->size = npages; in anon_create()
309 ahp->flags |= ANON_ALLOC_FORCE; in anon_create()
311 ahp->array_chunk = kmem_zalloc( in anon_create()
312 ahp->size * sizeof (struct anon *), kmemflags); in anon_create()
314 if (ahp->array_chunk == NULL) { in anon_create()
315 kmem_free(ahp, sizeof (struct anon_hdr)); in anon_create()
330 ahp->size = P2ROUNDUP(npages, ANON_CHUNK_SIZE); in anon_create()
[all …]
H A Dseg_vn.c939 if ((ap = anon_get_ptr(amp->ahp, in segvn_create()
958 ASSERT(anon_get_ptr(amp->ahp, in segvn_create()
960 (void) anon_set_ptr(amp->ahp, anon_idx, ap, in segvn_create()
973 anon_dup(amp->ahp, anon_num, svd->amp->ahp, in segvn_create()
1169 if (anon_copy_ptr(amp1->ahp, svd1->anon_index, in segvn_concat()
1182 if (anon_copy_ptr(amp2->ahp, svd2->anon_index, in segvn_concat()
1198 anon_release(amp1->ahp, btop(amp1->size)); in segvn_concat()
1204 anon_release(amp2->ahp, btop(amp2->size)); in segvn_concat()
1212 namp->ahp = nahp; in segvn_concat()
1322 newpgs = anon_grow(amp1->ahp, &svd1->anon_index,
[all …]
H A Dseg_spt.c319 ap = anon_get_ptr(amp->ahp, anon_index); in segspt_shmincore()
481 (void) anon_copy_ptr(amp->ahp, 0, nahp, 0, npages, in segspt_create()
483 anon_release(amp->ahp, npages); in segspt_create()
484 amp->ahp = nahp; in segspt_create()
660 if ((ap = anon_get_ptr(amp->ahp, anon_idx)) == NULL) { in segspt_free_pages()
665 if ((ap = anon_get_next_ptr(amp->ahp, &anon_idx)) in segspt_free_pages()
669 ASSERT(ANON_ISBUSY(anon_get_slot(amp->ahp, anon_idx)) == 0); in segspt_free_pages()
996 ap = anon_get_ptr(amp->ahp, an_idx); in segspt_dismpagelock()
1326 ap = anon_get_ptr(amp->ahp, anon_index); in segspt_shmpagelock()
1622 ap = anon_get_ptr(amp->ahp, anon_index++); in segspt_softunlock()
[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()
1212 ap = anon_get_next_ptr(private_amp->ahp, in vmu_calculate_seg()
H A Dseg_kp.c455 kpd->kp_anon = amp->ahp; in segkp_get_internal()
/titanic_44/usr/src/uts/common/fs/cachefs/
H A Dcachefs_filegrp.c1414 struct attrcache_header *ahp; in filegrpattr_find() local
1429 ahp = (struct attrcache_header *)cachefs_kmem_zalloc( in filegrpattr_find()
1432 error = vn_rdwr(UIO_READ, attrvp, (caddr_t)ahp, in filegrpattr_find()
1438 cachefs_kmem_free(ahp, fgp->fg_headersize); in filegrpattr_find()
1442 ASSERT(ahp->ach_nffs <= ahp->ach_count); in filegrpattr_find()
1444 fgp->fg_header = ahp; in filegrpattr_find()
1445 fgp->fg_offsets = (struct attrcache_index *)(ahp + 1); in filegrpattr_find()
1452 (ahp->ach_rl_current == CACHEFS_RL_ATTRFILE)) { in filegrpattr_find()
1456 error = cachefs_rl_entry_get(cachep, ahp->ach_rlno, in filegrpattr_find()
1460 cachefs_kmem_free(ahp, fgp->fg_headersize); in filegrpattr_find()
[all …]
/titanic_44/usr/src/cmd/fs.d/cachefs/fsck/
H A Dfsck.c1325 struct attrcache_header *ahp; in process_fsgroup() local
1391 ahp = (struct attrcache_header *)addrp; in process_fsgroup()
1392 startp = (struct attrcache_index *)(ahp + 1); in process_fsgroup()
1400 if (xx != ahp->ach_nblks) { in process_fsgroup()
1404 attrfile, ahp->ach_nblks, xx); in process_fsgroup()
1406 ahp->ach_nblks = xx; in process_fsgroup()
1408 ahp->ach_nffs = 0; in process_fsgroup()
1412 ahp->ach_count = 0; in process_fsgroup()
1523 ahp->ach_nffs++; in process_fsgroup()
1535 ahp->ach_count += 1; in process_fsgroup()
[all …]
/titanic_44/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gcore.h205 uintptr_t ahp; member
/titanic_44/usr/src/uts/common/inet/ip/
H A Dipsecah.c383 ipsecah_param_register(IDP *ndp, ipsecahparam_t *ahp, int cnt) in ipsecah_param_register() argument
385 for (; cnt-- > 0; ahp++) { in ipsecah_param_register()
386 if (ahp->ipsecah_param_name != NULL && in ipsecah_param_register()
387 ahp->ipsecah_param_name[0]) { in ipsecah_param_register()
389 ahp->ipsecah_param_name, in ipsecah_param_register()
391 (caddr_t)ahp)) { in ipsecah_param_register()
407 ipsecahparam_t *ahp; in ipsecah_stack_init() local
412 ahp = (ipsecahparam_t *)kmem_alloc(sizeof (lcl_param_arr), KM_SLEEP); in ipsecah_stack_init()
413 ahstack->ipsecah_params = ahp; in ipsecah_stack_init()
414 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()
/titanic_44/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.c680 anon_free(amp->ahp, 0, PAGESIZE); in schedctl_freepage()
/titanic_44/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.c1120 (uintptr_t)(aw->aw_amp.ahp)) == -1) { in anon_walk_init_common()
1121 mdb_warn("failed to read anon hdr ptr at %p", aw->aw_amp.ahp); in anon_walk_init_common()

12