Searched defs:ai (Results 1 - 17 of 17) sorted by relevance

/drivers/input/misc/
H A Dgpio_axis.c63 struct gpio_event_axis_info *ai = as->info; local
69 for (i = ai->count - 1; i >= 0; i--)
70 state = (state << 1) | gpio_get_value(ai->gpio[i]);
71 pos = ai->map(ai, state);
72 if (ai->flags & GPIOEAF_PRINT_RAW)
74 ai->type, ai->code, state, old_pos, pos);
76 if (ai->type == EV_REL) {
77 change = (ai
118 struct gpio_event_axis_info *ai; local
[all...]
/drivers/media/dvb/dvb-core/
H A 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
345 dvb_filter_get_ac3info(u8 *mbuf, int count, struct dvb_audio_info *ai, int pr) argument
[all...]
/drivers/media/dvb/ttpci/
H A Dav7110_ipack.c47 struct dvb_audio_info ai; local
64 ai.off = 0;
69 p->count - ac3_off, &ai, 0);
72 ai.framesize + 1;
76 ac3_off += nframes * ai.framesize - p->count;
/drivers/staging/comedi/drivers/
H A Ddas08.h28 /* different ways ai data is encoded in first two registers */
38 void *ai; member in struct:das08_board_struct
H A Ddas16.c376 void *ai; member in struct:das16_board
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
[all...]
H A Dme4000.h320 struct me4000_ai_info ai; member in struct:me4000_board
/drivers/staging/usbip/userspace/src/
H A Dusbipd.c339 static void log_addrinfo(struct addrinfo *ai) argument
345 rc = getnameinfo(ai->ai_addr, ai->ai_addrlen, hbuf, sizeof(hbuf),
355 struct addrinfo *ai; local
358 for (ai = ai_head; ai && nsockfd < MAXSOCKFD; ai = ai->ai_next) {
359 sockfdlist[nsockfd] = socket(ai->ai_family, ai
[all...]
/drivers/uwb/
H A Dallocator.c24 static void uwb_rsv_fill_column_alloc(struct uwb_rsv_alloc_info *ai) argument
27 unsigned char *bm = ai->bm;
28 struct uwb_rsv_col_info *ci = ai->ci;
54 static void uwb_rsv_fill_row_alloc(struct uwb_rsv_alloc_info *ai) argument
57 unsigned char *bm = ai->bm;
58 struct uwb_rsv_row_info *ri = &ai->ri;
76 ai->safe_allocated_mases++;
78 ai->unsafe_allocated_mases++;
84 ai->total_allocated_mases = ai
137 uwb_rsv_find_best_column_set(struct uwb_rsv_alloc_info *ai, int interval, int num_safe_mas, int num_unsafe_mas) argument
204 get_row_descriptors(struct uwb_rsv_alloc_info *ai) argument
260 get_column_descriptors(struct uwb_rsv_alloc_info *ai) argument
271 uwb_rsv_find_best_row_alloc(struct uwb_rsv_alloc_info *ai) argument
289 uwb_rsv_find_best_col_alloc(struct uwb_rsv_alloc_info *ai, int interval) argument
324 struct uwb_rsv_alloc_info *ai; local
[all...]
/drivers/staging/ozwpan/
H A Dozpd.c238 struct oz_app_if *ai; local
241 for (ai = g_app_if; ai < &g_app_if[OZ_APPID_MAX]; ai++) {
242 if (apps & (1<<ai->app_id)) {
243 if (ai->start(pd, resume)) {
246 ai->app_id);
250 pd->total_apps |= (1<<ai->app_id);
252 pd->paused_apps &= ~(1<<ai->app_id);
263 struct oz_app_if *ai; local
284 struct oz_app_if *ai; local
803 struct oz_app_if *ai; local
815 struct oz_app_if *ai = &g_app_if[OZ_APPID_USB-1]; local
[all...]
/drivers/net/wireless/bcmdhd/
H A Daiutils.c526 aidmp_t *ai; local
537 ai = sii->curwrap;
539 return (R_REG(sii->osh, &ai->oobselouta30) & 0x1f);
589 aidmp_t *ai; local
592 ai = sii->curwrap;
594 return (((R_REG(sii->osh, &ai->ioctrl) & (SICF_FGC | SICF_CLOCK_EN)) == SICF_CLOCK_EN) &&
595 ((R_REG(sii->osh, &ai->resetctrl) & AIRC_RESET) == 0));
687 aidmp_t *ai; local
692 ai = sii->curwrap;
695 if (R_REG(sii->osh, &ai
726 aidmp_t *ai; local
756 aidmp_t *ai; local
787 aidmp_t *ai; local
819 aidmp_t *ai; local
[all...]
/drivers/cdrom/
H A Dcdrom.c1621 static int dvd_do_auth(struct cdrom_device_info *cdi, dvd_authinfo *ai) argument
1632 switch (ai->type) {
1637 setup_report_key(&cgc, ai->lsa.agid, 0);
1642 ai->lsa.agid = buf[7] >> 6;
1648 setup_report_key(&cgc, ai->lsk.agid, 2);
1653 copy_key(ai->lsk.key, &buf[4]);
1659 setup_report_key(&cgc, ai->lsc.agid, 1);
1664 copy_chal(ai->lsc.chal, &buf[4]);
1672 setup_report_key(&cgc, ai->lstk.agid, 4);
1673 cgc.cmd[5] = ai
3132 dvd_authinfo ai; local
[all...]
/drivers/isdn/hisax/
H A Dl3dss1.c1048 EncodeSyncParams(u_char si2, u_char ai) argument
1053 return ai + 2; // 1200 bit/s
1056 return ai + 24; // 1200/75 bit/s
1059 return ai + 23; // 75/1200 bit/s
1062 return ai + 3; // 2400 bit/s
1065 return ai + 5; // 4800 bit/s
1068 return ai + 8; // 9600 bit/s
1071 return ai + 9; // 14400 bit/s
1074 return ai + 11; // 19200 bit/s
1077 return ai
[all...]
H A Dl3ni1.c998 EncodeSyncParams(u_char si2, u_char ai) argument
1003 return ai + 2; // 1200 bit/s
1006 return ai + 24; // 1200/75 bit/s
1009 return ai + 23; // 75/1200 bit/s
1012 return ai + 3; // 2400 bit/s
1015 return ai + 5; // 4800 bit/s
1018 return ai + 8; // 9600 bit/s
1021 return ai + 9; // 14400 bit/s
1024 return ai + 11; // 19200 bit/s
1027 return ai
[all...]
/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c3112 const struct adapter_info *ai)
3137 dev->name, ai->desc, pi->phy.desc,
3183 const struct adapter_info *ai; local
3232 ai = t3_get_adapter_info(ent->driver_data);
3274 for (i = 0; i < ai->nports0 + ai->nports1; ++i) {
3304 if (t3_prep_adapter(adapter, ai, 1) < 0) {
3359 print_port_info(adapter, ai);
3364 for (i = ai->nports0 + ai
3111 print_port_info(struct adapter *adap, const struct adapter_info *ai) argument
[all...]
H A Dt3_hw.c196 static void mi1_init(struct adapter *adap, const struct adapter_info *ai) argument
3458 * @ai: information about the current card
3532 const struct adapter_info *ai)
3536 mi1_init(adapter, ai);
3540 ai->gpio_out | F_GPIO0_OEN | F_GPIO0_OUT_VAL);
3627 int t3_prep_adapter(struct adapter *adapter, const struct adapter_info *ai, argument
3635 adapter->params.info = ai;
3636 adapter->params.nports = ai->nports0 + ai->nports1;
3637 adapter->params.chan_map = (!!ai
3531 early_hw_init(struct adapter *adapter, const struct adapter_info *ai) argument
3760 const struct adapter_info *ai = adapter->params.info; local
[all...]
/drivers/isdn/hardware/eicon/
H A Dmessage.c1202 API_PARSE *ai; local
1245 ai = &parms[9];
1250 if (ai->length)
1253 if (!api_parse(&ai->info[1], (word)ai->length, "ssss", ai_parms))
1418 API_PARSE *ai; local
1429 ai = &parms[5];
1430 dbug(1, dprintf("ai->length=%d", ai->length));
1432 if (ai
1713 API_PARSE *ai; local
7447 add_ai(PLCI *plci, API_PARSE *ai) argument
[all...]
/drivers/net/wireless/
H A 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);
1250 bap_read(struct airo_info *ai, __le16 *pu16Dst, int bytelen, int whichbap) argument
1323 micinit(struct airo_info *ai) argument
1356 micsetup(struct airo_info *ai) argument
1449 decapsulate(struct airo_info *ai, MICBuffer *mic, etherHead *eth, u16 payLen) argument
1553 RxSeqValid(struct airo_info *ai,miccntx *context,int mcast,u32 micSeq) argument
1742 readBSSListRid(struct airo_info *ai, int first, BSSListRid *list) argument
1765 readWepKeyRid(struct airo_info *ai, WepKeyRid *wkr, int temp, int lock) argument
1771 writeWepKeyRid(struct airo_info *ai, WepKeyRid *wkr, int perm, int lock) argument
1795 readConfigRid(struct airo_info *ai, int lock) argument
1811 checkThrottle(struct airo_info *ai) argument
1824 writeConfigRid(struct airo_info *ai, int lock) argument
1844 readStatusRid(struct airo_info *ai, StatusRid *statr, int lock) argument
1849 readAPListRid(struct airo_info *ai, APListRid *aplr) argument
1854 writeAPListRid(struct airo_info *ai, APListRid *aplr, int lock) argument
1859 readCapabilityRid(struct airo_info *ai, CapabilityRid *capr, int lock) argument
1869 try_auto_wep(struct airo_info *ai) argument
1878 struct airo_info *ai = dev->ml_priv; local
1927 struct airo_info *ai = dev->ml_priv; local
1971 struct airo_info *ai = dev->ml_priv; local
2046 get_tx_error(struct airo_info *ai, s32 fid) argument
2240 struct airo_info *ai = dev->ml_priv; local
2288 airo_set_promisc(struct airo_info *ai) argument
2301 struct airo_info *ai = dev->ml_priv; local
2319 struct airo_info *ai = dev->ml_priv; local
2344 add_airo_dev(struct airo_info *ai) argument
2352 del_airo_dev(struct airo_info *ai) argument
2359 struct airo_info *ai = dev->ml_priv; local
2385 struct airo_info *ai = dev->ml_priv; local
2460 mpi_init_descriptors(struct airo_info *ai) argument
2537 mpi_map_card(struct airo_info *ai, struct pci_dev *pci) argument
2682 init_wifidev(struct airo_info *ai, struct net_device *ethdev) argument
2704 struct airo_info *ai = dev->ml_priv; local
2719 airo_networks_allocate(struct airo_info *ai) argument
2734 airo_networks_free(struct airo_info *ai) argument
2740 airo_networks_initialize(struct airo_info *ai) argument
2781 struct airo_info *ai; local
2946 waitbusy(struct airo_info *ai) argument
2959 struct airo_info *ai = dev->ml_priv; local
2982 struct airo_info *ai = dev->ml_priv; local
2998 airo_process_scan_results(struct airo_info *ai) argument
3059 struct airo_info *ai = dev->ml_priv; local
3169 airo_handle_cisco_mic(struct airo_info *ai) argument
3238 airo_handle_link(struct airo_info *ai) argument
3279 airo_handle_rx(struct airo_info *ai) argument
3420 airo_handle_tx(struct airo_info *ai, u16 status) argument
3478 struct airo_info *ai = dev->ml_priv; local
3540 OUT4500( struct airo_info *ai, u16 reg, u16 val ) argument
3551 IN4500( struct airo_info *ai, u16 reg ) argument
3565 enable_MAC(struct airo_info *ai, int lock) argument
3604 disable_MAC( struct airo_info *ai, int lock ) argument
3630 mpi_receive_802_3(struct airo_info *ai) argument
3700 mpi_receive_802_11(struct airo_info *ai) argument
3786 setup_card(struct airo_info *ai, u8 *mac, int lock) argument
3929 issuecommand(struct airo_info *ai, Cmd *pCmd, Resp *pRsp) argument
3981 bap_setup(struct airo_info *ai, u16 rid, u16 offset, int whichbap ) argument
4019 aux_setup(struct airo_info *ai, u16 page, u16 offset, u16 *len) argument
4033 aux_bap_read(struct airo_info *ai, __le16 *pu16Dst, int bytelen, int whichbap) argument
4070 fast_bap_read(struct airo_info *ai, __le16 *pu16Dst, int bytelen, int whichbap) argument
4082 bap_write(struct airo_info *ai, const __le16 *pu16Src, int bytelen, int whichbap) argument
4094 PC4500_accessrid(struct airo_info *ai, u16 rid, u16 accmd) argument
4113 PC4500_readrid(struct airo_info *ai, u16 rid, void *pBuf, int len, int lock) argument
4178 PC4500_writerid(struct airo_info *ai, u16 rid, const void *pBuf, int len, int lock) argument
4252 transmit_allocate(struct airo_info *ai, int lenPayload, int raw) argument
4310 transmit_802_3_packet(struct airo_info *ai, int len, char *pPacket) argument
4353 transmit_802_11_packet(struct airo_info *ai, int len, char *pPacket) argument
4801 sniffing_mode(struct airo_info *ai) argument
4812 struct airo_info *ai = dev->ml_priv; local
5024 struct airo_info *ai = dev->ml_priv; local
5115 struct airo_info *ai = dev->ml_priv; local
5151 struct airo_info *ai = dev->ml_priv; local
5181 do_writerid( struct airo_info *ai, u16 rid, const void *rid_data, int len, int dummy ) argument
5194 get_wep_key(struct airo_info *ai, u16 index, char *buf, u16 buflen) argument
5217 get_wep_tx_idx(struct airo_info *ai) argument
5237 set_wep_key(struct airo_info *ai, u16 index, const char *key, u16 keylen, int perm, int lock) argument
5260 set_wep_tx_idx(struct airo_info *ai, u16 index, int perm, int lock) argument
5286 struct airo_info *ai = dev->ml_priv; local
5338 struct airo_info *ai = dev->ml_priv; local
5387 struct airo_info *ai = dev->ml_priv; local
5431 struct airo_info *ai = dev->ml_priv; local
5471 struct airo_info *ai = dev->ml_priv; local
5620 struct airo_info *ai = dev->ml_priv; local
5653 struct airo_info *ai = dev->ml_priv; local
5733 struct airo_info *ai; local
6338 valid_index(struct airo_info *ai, int index) argument
7254 struct airo_info *ai = dev->ml_priv; local
7300 struct airo_info *ai = dev->ml_priv; local
7476 struct airo_info *ai = dev->ml_priv; local
7665 struct airo_info *ai = dev->ml_priv; local
7818 struct airo_info *ai = dev->ml_priv; local
7884 struct airo_info *ai = dev->ml_priv; local
8056 cmdreset(struct airo_info *ai) argument
8080 setflashmode(struct airo_info *ai) argument
8107 flashpchar(struct airo_info *ai,int byte,int dwelltime) argument
8147 flashgchar(struct airo_info *ai,int matchbyte,int dwelltime) argument
8178 flashputbuf(struct airo_info *ai) argument
8200 flashrestart(struct airo_info *ai,struct net_device *dev) argument
[all...]

Completed in 854 milliseconds