Home
last modified time | relevance | path

Searched refs:ai (Results 1 – 25 of 46) sorted by relevance

12

/linux-2.6.39/drivers/uwb/
Dallocator.c24 static void uwb_rsv_fill_column_alloc(struct uwb_rsv_alloc_info *ai) in uwb_rsv_fill_column_alloc() argument
27 unsigned char *bm = ai->bm; in uwb_rsv_fill_column_alloc()
28 struct uwb_rsv_col_info *ci = ai->ci; in uwb_rsv_fill_column_alloc()
54 static void uwb_rsv_fill_row_alloc(struct uwb_rsv_alloc_info *ai) in uwb_rsv_fill_row_alloc() argument
57 unsigned char *bm = ai->bm; in uwb_rsv_fill_row_alloc()
58 struct uwb_rsv_row_info *ri = &ai->ri; in uwb_rsv_fill_row_alloc()
76 ai->safe_allocated_mases++; in uwb_rsv_fill_row_alloc()
78 ai->unsafe_allocated_mases++; in uwb_rsv_fill_row_alloc()
84 ai->total_allocated_mases = ai->safe_allocated_mases + ai->unsafe_allocated_mases; in uwb_rsv_fill_row_alloc()
137 static int uwb_rsv_find_best_column_set(struct uwb_rsv_alloc_info *ai, int interval, in uwb_rsv_find_best_column_set() argument
[all …]
/linux-2.6.39/drivers/net/wireless/
Dairo.c1107 static int enable_MAC(struct airo_info *ai, int lock);
1108 static void disable_MAC(struct airo_info *ai, int lock);
1131 static void mpi_receive_802_3(struct airo_info *ai);
1132 static void mpi_receive_802_11(struct airo_info *ai);
1133 static int waitbusy (struct airo_info *ai);
1146 static void micinit(struct airo_info *ai);
1147 static int micsetup(struct airo_info *ai);
1148 static int encapsulate(struct airo_info *ai, etherHead *pPacket, MICBuffer *buffer, int len);
1149 static int decapsulate(struct airo_info *ai, MICBuffer *mic, etherHead *pPacket, u16 payLen);
1154 static void airo_networks_free(struct airo_info *ai);
[all …]
/linux-2.6.39/mm/
Dpercpu.c655 static int __init pcpu_verify_alloc_info(const struct pcpu_alloc_info *ai);
1037 struct pcpu_alloc_info *ai; in pcpu_alloc_alloc_info() local
1042 base_size = ALIGN(sizeof(*ai) + nr_groups * sizeof(ai->groups[0]), in pcpu_alloc_alloc_info()
1043 __alignof__(ai->groups[0].cpu_map[0])); in pcpu_alloc_alloc_info()
1044 ai_size = base_size + nr_units * sizeof(ai->groups[0].cpu_map[0]); in pcpu_alloc_alloc_info()
1049 ai = ptr; in pcpu_alloc_alloc_info()
1052 ai->groups[0].cpu_map = ptr; in pcpu_alloc_alloc_info()
1055 ai->groups[0].cpu_map[unit] = NR_CPUS; in pcpu_alloc_alloc_info()
1057 ai->nr_groups = nr_groups; in pcpu_alloc_alloc_info()
1058 ai->__ai_size = PFN_ALIGN(ai_size); in pcpu_alloc_alloc_info()
[all …]
Dpercpu-km.c90 static int __init pcpu_verify_alloc_info(const struct pcpu_alloc_info *ai) in pcpu_verify_alloc_info() argument
95 if (ai->nr_groups != 1) { in pcpu_verify_alloc_info()
100 nr_pages = (ai->groups[0].nr_units * ai->unit_size) >> PAGE_SHIFT; in pcpu_verify_alloc_info()
/linux-2.6.39/net/ipv4/
Dtcp_highspeed.c97 u32 ai; member
105 ca->ai = 0; in hstcp_init()
130 if (tp->snd_cwnd > hstcp_aimd_vals[ca->ai].cwnd) { in hstcp_cong_avoid()
131 while (tp->snd_cwnd > hstcp_aimd_vals[ca->ai].cwnd && in hstcp_cong_avoid()
132 ca->ai < HSTCP_AIMD_MAX - 1) in hstcp_cong_avoid()
133 ca->ai++; in hstcp_cong_avoid()
134 } else if (ca->ai && tp->snd_cwnd <= hstcp_aimd_vals[ca->ai-1].cwnd) { in hstcp_cong_avoid()
135 while (ca->ai && tp->snd_cwnd <= hstcp_aimd_vals[ca->ai-1].cwnd) in hstcp_cong_avoid()
136 ca->ai--; in hstcp_cong_avoid()
142 tp->snd_cwnd_cnt += ca->ai + 1; in hstcp_cong_avoid()
[all …]
/linux-2.6.39/drivers/staging/brcm80211/util/
Daiutils.c420 aidmp_t *ai; in ai_flag() local
427 ai = sii->curwrap; in ai_flag()
429 return R_REG(&ai->oobselouta30) & 0x1f; in ai_flag()
467 aidmp_t *ai; in ai_iscoreup() local
470 ai = sii->curwrap; in ai_iscoreup()
472 return (((R_REG(&ai->ioctrl) & (SICF_FGC | SICF_CLOCK_EN)) == in ai_iscoreup()
474 && ((R_REG(&ai->resetctrl) & AIRC_RESET) == 0)); in ai_iscoreup()
577 aidmp_t *ai; in ai_core_disable() local
582 ai = sii->curwrap; in ai_core_disable()
585 if (R_REG(&ai->resetctrl) & AIRC_RESET) in ai_core_disable()
[all …]
/linux-2.6.39/drivers/media/dvb/dvb-core/
Ddvb_filter.c290 static int get_ainfo(u8 *mbuf, int count, struct dvb_audio_info *ai, int pr)
313 ai->layer = (headr[1] & 0x06) >> 1;
316 printk("Audiostream: Layer: %d", 4-ai->layer);
319 ai->bit_rate = bitrates[(3-ai->layer)][(headr[2] >> 4 )]*1000;
322 if (ai->bit_rate == 0)
324 else if (ai->bit_rate == 0xf)
327 printk(" BRate: %d kb/s", ai->bit_rate/1000);
331 ai->frequency = freq[fr]*100;
333 if (ai->frequency == 3)
336 printk(" Freq: %d kHz\n",ai->frequency);
[all …]
/linux-2.6.39/fs/gfs2/
Dlog.c90 static void gfs2_ail1_start_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai) in gfs2_ail1_start_one() argument
101 list_for_each_entry_safe_reverse(bd, s, &ai->ai_ail1_list, in gfs2_ail1_start_one()
105 gfs2_assert(sdp, bd->bd_ail == ai); in gfs2_ail1_start_one()
110 list_move(&bd->bd_ail_st_list, &ai->ai_ail2_list); in gfs2_ail1_start_one()
117 list_move(&bd->bd_ail_st_list, &ai->ai_ail1_list); in gfs2_ail1_start_one()
144 static int gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai, int flags) in gfs2_ail1_empty_one() argument
149 list_for_each_entry_safe_reverse(bd, s, &ai->ai_ail1_list, in gfs2_ail1_empty_one()
153 gfs2_assert(sdp, bd->bd_ail == ai); in gfs2_ail1_empty_one()
165 list_move(&bd->bd_ail_st_list, &ai->ai_ail2_list); in gfs2_ail1_empty_one()
168 return list_empty(&ai->ai_ail1_list); in gfs2_ail1_empty_one()
[all …]
Dlops.h68 static inline void lops_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai) in lops_after_commit() argument
73 gfs2_log_ops[x]->lo_after_commit(sdp, ai); in lops_after_commit()
Dlops.c72 struct gfs2_ail *ai) in gfs2_unpin() argument
94 bd->bd_ail = ai; in gfs2_unpin()
95 list_add(&bd->bd_ail_st_list, &ai->ai_ail1_list); in gfs2_unpin()
229 static void buf_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai) in buf_lo_after_commit() argument
239 gfs2_unpin(sdp, bd->bd_bh, ai); in buf_lo_after_commit()
478 static void rg_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai) in rg_lo_after_commit() argument
724 static void databuf_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai) in databuf_lo_after_commit() argument
733 gfs2_unpin(sdp, bd->bd_bh, ai); in databuf_lo_after_commit()
/linux-2.6.39/arch/ia64/mm/
Dcontig.c214 struct pcpu_alloc_info *ai; in setup_per_cpu_areas() local
220 ai = pcpu_alloc_alloc_info(1, num_possible_cpus()); in setup_per_cpu_areas()
221 if (!ai) in setup_per_cpu_areas()
223 gi = &ai->groups[0]; in setup_per_cpu_areas()
237 ai->static_size = static_size; in setup_per_cpu_areas()
238 ai->reserved_size = reserved_size; in setup_per_cpu_areas()
239 ai->dyn_size = dyn_size; in setup_per_cpu_areas()
240 ai->unit_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas()
241 ai->atom_size = PAGE_SIZE; in setup_per_cpu_areas()
242 ai->alloc_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas()
[all …]
Ddiscontig.c187 struct pcpu_alloc_info *ai; in setup_per_cpu_areas() local
196 ai = pcpu_alloc_alloc_info(MAX_NUMNODES, nr_cpu_ids); in setup_per_cpu_areas()
197 if (!ai) in setup_per_cpu_areas()
199 cpu_map = ai->groups[0].cpu_map; in setup_per_cpu_areas()
224 ai->static_size = static_size; in setup_per_cpu_areas()
225 ai->reserved_size = reserved_size; in setup_per_cpu_areas()
226 ai->dyn_size = dyn_size; in setup_per_cpu_areas()
227 ai->unit_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas()
228 ai->atom_size = PAGE_SIZE; in setup_per_cpu_areas()
229 ai->alloc_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas()
[all …]
/linux-2.6.39/arch/arm/mach-omap2/
Ddpll3xxx.c138 u8 ai; in _omap3_noncore_dpll_lock() local
143 ai = omap3_dpll_autoidle_read(clk); in _omap3_noncore_dpll_lock()
151 if (ai) in _omap3_noncore_dpll_lock()
173 u8 ai; in _omap3_noncore_dpll_bypass() local
181 ai = omap3_dpll_autoidle_read(clk); in _omap3_noncore_dpll_bypass()
187 if (ai) in _omap3_noncore_dpll_bypass()
206 u8 ai; in _omap3_noncore_dpll_stop() local
213 ai = omap3_dpll_autoidle_read(clk); in _omap3_noncore_dpll_stop()
217 if (ai) in _omap3_noncore_dpll_stop()
/linux-2.6.39/net/ceph/
Dauth_none.c66 struct ceph_auth_none_info *ai = ac->private; in ceph_auth_none_create_authorizer() local
67 struct ceph_none_authorizer *au = &ai->au; in ceph_auth_none_create_authorizer()
71 if (!ai->built_authorizer) { in ceph_auth_none_create_authorizer()
81 ai->built_authorizer = true; in ceph_auth_none_create_authorizer()
/linux-2.6.39/arch/powerpc/platforms/cell/spufs/
Dspu_save_crt0.S60 ai $4, $4, 4
69 ai $3, $3, 64
85 ai $SP, $SP, -160
Dspu_restore_crt0.S51 ai $SP, $SP, -160
65 ai $4, $4, 4
74 ai $3, $3, 64
/linux-2.6.39/drivers/staging/comedi/drivers/
Ddas16.c376 void *ai; member
395 .ai = das16_ai_rinsn,
410 .ai = das16_ai_rinsn,
425 .ai = das16_ai_rinsn,
440 .ai = das16_ai_rinsn,
455 .ai = das16_ai_rinsn,
470 .ai = das16_ai_rinsn,
484 .ai = das16_ai_rinsn,
498 .ai = das16_ai_rinsn,
512 .ai = das16_ai_rinsn,
[all …]
Ddas08.c260 .ai = das08_ai_rinsn,
276 .ai = das08_ai_rinsn,
291 .ai = das08_ai_rinsn,
306 .ai = das08_ai_rinsn,
321 .ai = das08_ai_rinsn,
337 .ai = das08_ai_rinsn,
353 .ai = das08_ai_rinsn,
369 .ai = das08_ai_rinsn,
385 .ai = das08_ai_rinsn,
403 .ai = das08_ai_rinsn,
[all …]
Ddas08.h38 void *ai; member
/linux-2.6.39/drivers/cdrom/
Dcdrom.c1624 static int dvd_do_auth(struct cdrom_device_info *cdi, dvd_authinfo *ai) in dvd_do_auth() argument
1635 switch (ai->type) { in dvd_do_auth()
1640 setup_report_key(&cgc, ai->lsa.agid, 0); in dvd_do_auth()
1645 ai->lsa.agid = buf[7] >> 6; in dvd_do_auth()
1651 setup_report_key(&cgc, ai->lsk.agid, 2); in dvd_do_auth()
1656 copy_key(ai->lsk.key, &buf[4]); in dvd_do_auth()
1662 setup_report_key(&cgc, ai->lsc.agid, 1); in dvd_do_auth()
1667 copy_chal(ai->lsc.chal, &buf[4]); in dvd_do_auth()
1675 setup_report_key(&cgc, ai->lstk.agid, 4); in dvd_do_auth()
1676 cgc.cmd[5] = ai->lstk.lba; in dvd_do_auth()
[all …]
/linux-2.6.39/net/netfilter/
Dxt_TCPMSS.c152 const struct nf_afinfo *ai; in tcpmss_reverse_mtu() local
167 ai = nf_get_afinfo(family); in tcpmss_reverse_mtu()
168 if (ai != NULL) in tcpmss_reverse_mtu()
169 ai->route(&init_net, (struct dst_entry **)&rt, &fl, false); in tcpmss_reverse_mtu()
/linux-2.6.39/drivers/media/dvb/ttpci/
Dav7110_ipack.c47 struct dvb_audio_info ai; in send_ipack() local
64 ai.off = 0; in send_ipack()
69 p->count - ac3_off, &ai, 0); in send_ipack()
72 ai.framesize + 1; in send_ipack()
76 ac3_off += nframes * ai.framesize - p->count; in send_ipack()
/linux-2.6.39/sound/pci/hda/
Dpatch_hdmi.c629 union audio_infoframe ai; in hdmi_setup_audio_infoframe() local
641 memset(&ai, 0, sizeof(ai)); in hdmi_setup_audio_infoframe()
643 struct hdmi_audio_infoframe *hdmi_ai = &ai.hdmi; in hdmi_setup_audio_infoframe()
652 struct dp_audio_infoframe *dp_ai = &ai.dp; in hdmi_setup_audio_infoframe()
670 if (!hdmi_infoframe_uptodate(codec, pin_nid, ai.bytes, in hdmi_setup_audio_infoframe()
671 sizeof(ai))) { in hdmi_setup_audio_infoframe()
679 ai.bytes, sizeof(ai)); in hdmi_setup_audio_infoframe()
/linux-2.6.39/arch/powerpc/boot/dts/
Dwii.dts104 compatible = "nintendo,hollywood-ai",
105 "nintendo,flipper-ai";
/linux-2.6.39/drivers/net/cxgb3/
Dt3_hw.c196 static void mi1_init(struct adapter *adap, const struct adapter_info *ai) in mi1_init() argument
3535 const struct adapter_info *ai) in early_hw_init() argument
3539 mi1_init(adapter, ai); in early_hw_init()
3543 ai->gpio_out | F_GPIO0_OEN | F_GPIO0_OUT_VAL); in early_hw_init()
3630 int t3_prep_adapter(struct adapter *adapter, const struct adapter_info *ai, in t3_prep_adapter() argument
3638 adapter->params.info = ai; in t3_prep_adapter()
3639 adapter->params.nports = ai->nports0 + ai->nports1; in t3_prep_adapter()
3640 adapter->params.chan_map = (!!ai->nports0) | (!!ai->nports1 << 1); in t3_prep_adapter()
3700 early_hw_init(adapter, ai); in t3_prep_adapter()
3721 ret = pti->phy_prep(&p->phy, adapter, ai->phy_base_addr + j, in t3_prep_adapter()
[all …]

12