tei               203 drivers/isdn/mISDN/hwchannel.c 	u_int	sapi, tei;
tei               206 drivers/isdn/mISDN/hwchannel.c 	tei = p[1] >> 1;
tei               207 drivers/isdn/mISDN/hwchannel.c 	return sapi | (tei << 8);
tei               105 drivers/isdn/mISDN/layer2.c 	       mISDNDevName4ch(&l2->ch), l2->sapi, l2->tei, &vaf);
tei               132 drivers/isdn/mISDN/layer2.c 	id |= l2->tei << 8;
tei               287 drivers/isdn/mISDN/layer2.c 		       mISDNDevName4ch(&l2->ch), l2->sapi, l2->tei,
tei               296 drivers/isdn/mISDN/layer2.c 		       mISDNDevName4ch(&l2->ch), l2->sapi, l2->tei,
tei               400 drivers/isdn/mISDN/layer2.c 		*ptr++ = (l2->tei << 1) | 1;
tei              1349 drivers/isdn/mISDN/layer2.c 	l2->tei = (signed char)(long)arg;
tei              1350 drivers/isdn/mISDN/layer2.c 	set_channel_address(&l2->ch, l2->sapi, l2->tei);
tei              1592 drivers/isdn/mISDN/layer2.c 	l2->tei = GROUP_TEI;
tei              1602 drivers/isdn/mISDN/layer2.c 	l2->tei = GROUP_TEI;
tei              1615 drivers/isdn/mISDN/layer2.c 	l2->tei = GROUP_TEI;
tei              1627 drivers/isdn/mISDN/layer2.c 	l2->tei = GROUP_TEI;
tei              1641 drivers/isdn/mISDN/layer2.c 	l2->tei = GROUP_TEI;
tei              1889 drivers/isdn/mISDN/layer2.c 		if ((ptei != l2->tei) && (ptei != GROUP_TEI)) {
tei              1893 drivers/isdn/mISDN/layer2.c 				       mISDNDevName4ch(&l2->ch), ptei, l2->tei);
tei              1951 drivers/isdn/mISDN/layer2.c 		       l2->sapi, l2->tei);
tei              2092 drivers/isdn/mISDN/layer2.c 			set_channel_address(&l2->ch, l2->sapi, l2->tei);
tei              2108 drivers/isdn/mISDN/layer2.c create_l2(struct mISDNchannel *ch, u_int protocol, u_long options, int tei,
tei              2140 drivers/isdn/mISDN/layer2.c 		l2->tei = tei;
tei              2165 drivers/isdn/mISDN/layer2.c 		l2->tei = tei;
tei                50 drivers/isdn/mISDN/layer2.h 	signed char		tei;
tei               136 drivers/isdn/mISDN/socket.c 			maddr->tei =  (mISDN_HEAD_ID(skb) >> 8) & 0xff;
tei               141 drivers/isdn/mISDN/socket.c 			maddr->tei =  (_pms(sk)->ch.addr >> 8) & 0xFF;
tei               567 drivers/isdn/mISDN/socket.c 	maddr->tei = (_pms(sk)->ch.addr >> 8) & 0xff;
tei               335 drivers/isdn/mISDN/stack.c set_channel_address(struct mISDNchannel *ch, u_int sapi, u_int tei)
tei               337 drivers/isdn/mISDN/stack.c 	ch->addr = sapi | (tei << 8);
tei               428 drivers/isdn/mISDN/stack.c 		       adr->channel, adr->sapi, adr->tei);
tei               466 drivers/isdn/mISDN/stack.c 		       adr->tei);
tei               522 drivers/isdn/mISDN/stack.c 		       adr->tei);
tei               234 drivers/isdn/mISDN/tei.c 	       tm->l2->sapi, tm->l2->tei, &vaf);
tei               414 drivers/isdn/mISDN/tei.c findtei(struct manager *mgr, int tei)
tei               421 drivers/isdn/mISDN/tei.c 		if ((l2->sapi == 0) && (l2->tei > 0) &&
tei               422 drivers/isdn/mISDN/tei.c 		    (l2->tei != GROUP_TEI) && (l2->tei == tei))
tei               432 drivers/isdn/mISDN/tei.c put_tei_msg(struct manager *mgr, u_char m_id, unsigned int ri, int tei)
tei               446 drivers/isdn/mISDN/tei.c 	bp[7] = ((tei << 1) & 0xff) | 1;
tei               460 drivers/isdn/mISDN/tei.c 	if (tm->l2->tei != GROUP_TEI) {
tei               463 drivers/isdn/mISDN/tei.c 				     tm->l2->tei);
tei               482 drivers/isdn/mISDN/tei.c 	int ri, tei;
tei               487 drivers/isdn/mISDN/tei.c 	tei = *dp >> 1;
tei               490 drivers/isdn/mISDN/tei.c 				     ri, tei);
tei               491 drivers/isdn/mISDN/tei.c 	l2 = findtei(tm->mgr, tei);
tei               495 drivers/isdn/mISDN/tei.c 					     "possible duplicate assignment tei %d", tei);
tei               501 drivers/isdn/mISDN/tei.c 		tei_l2(tm->l2, MDL_ASSIGN_REQ, tei);
tei               511 drivers/isdn/mISDN/tei.c 	int tei, ri;
tei               516 drivers/isdn/mISDN/tei.c 	tei = *dp >> 1;
tei               519 drivers/isdn/mISDN/tei.c 				     ri, tei);
tei               520 drivers/isdn/mISDN/tei.c 	l2 = findtei(tm->mgr, tei);
tei               524 drivers/isdn/mISDN/tei.c 					     "possible duplicate assignment tei %d", tei);
tei               535 drivers/isdn/mISDN/tei.c 	int ri, tei;
tei               540 drivers/isdn/mISDN/tei.c 	tei = *dp >> 1;
tei               543 drivers/isdn/mISDN/tei.c 				     ri, tei);
tei               551 drivers/isdn/mISDN/tei.c 	int tei;
tei               553 drivers/isdn/mISDN/tei.c 	tei = *(dp + 3) >> 1;
tei               555 drivers/isdn/mISDN/tei.c 		tm->tei_m.printdebug(fi, "identity check req tei %d", tei);
tei               556 drivers/isdn/mISDN/tei.c 	if ((tm->l2->tei != GROUP_TEI) && ((tei == GROUP_TEI) ||
tei               557 drivers/isdn/mISDN/tei.c 					   (tei == tm->l2->tei))) {
tei               560 drivers/isdn/mISDN/tei.c 		put_tei_msg(tm->mgr, ID_CHK_RES, random_ri(), tm->l2->tei);
tei               569 drivers/isdn/mISDN/tei.c 	int tei;
tei               571 drivers/isdn/mISDN/tei.c 	tei = *(dp + 3) >> 1;
tei               573 drivers/isdn/mISDN/tei.c 		tm->tei_m.printdebug(fi, "identity remove tei %d", tei);
tei               574 drivers/isdn/mISDN/tei.c 	if ((tm->l2->tei != GROUP_TEI) &&
tei               575 drivers/isdn/mISDN/tei.c 	    ((tei == GROUP_TEI) || (tei == tm->l2->tei))) {
tei               589 drivers/isdn/mISDN/tei.c 				     tm->l2->tei);
tei               590 drivers/isdn/mISDN/tei.c 	put_tei_msg(tm->mgr, ID_VERIFY, 0, tm->l2->tei);
tei               624 drivers/isdn/mISDN/tei.c 					     3 - tm->nval, tm->l2->tei);
tei               625 drivers/isdn/mISDN/tei.c 		put_tei_msg(tm->mgr, ID_VERIFY, 0, tm->l2->tei);
tei               629 drivers/isdn/mISDN/tei.c 				     tm->l2->tei);
tei               653 drivers/isdn/mISDN/tei.c 	put_tei_msg(l2->tm->mgr, ID_REMOVE, 0, l2->tei);
tei               665 drivers/isdn/mISDN/tei.c 	if (tm->l2->tei == GROUP_TEI) {
tei               675 drivers/isdn/mISDN/tei.c 	put_tei_msg(tm->mgr, ID_ASSIGNED, tm->ri, tm->l2->tei);
tei               686 drivers/isdn/mISDN/tei.c 				     tm->l2->tei);
tei               688 drivers/isdn/mISDN/tei.c 	put_tei_msg(tm->mgr, ID_CHK_REQ, 0, tm->l2->tei);
tei               699 drivers/isdn/mISDN/tei.c 	int tei;
tei               701 drivers/isdn/mISDN/tei.c 	tei = dp[3] >> 1;
tei               703 drivers/isdn/mISDN/tei.c 		tm->tei_m.printdebug(fi, "identity check resp tei %d", tei);
tei               704 drivers/isdn/mISDN/tei.c 	if (tei == tm->l2->tei)
tei               713 drivers/isdn/mISDN/tei.c 	int tei;
tei               715 drivers/isdn/mISDN/tei.c 	tei = dp[3] >> 1;
tei               718 drivers/isdn/mISDN/tei.c 				     tei, tm->l2->tei);
tei               719 drivers/isdn/mISDN/tei.c 	if (tei == tm->l2->tei)
tei               731 drivers/isdn/mISDN/tei.c 					     "check req for tei %d successful\n", tm->l2->tei);
tei               740 drivers/isdn/mISDN/tei.c 					     3 - tm->nval, tm->l2->tei);
tei               741 drivers/isdn/mISDN/tei.c 		put_tei_msg(tm->mgr, ID_CHK_REQ, 0, tm->l2->tei);
tei               745 drivers/isdn/mISDN/tei.c 				     tm->l2->tei);
tei               782 drivers/isdn/mISDN/tei.c create_new_tei(struct manager *mgr, int tei, int sapi)
tei               792 drivers/isdn/mISDN/tei.c 	if ((tei >= 0) && (tei < 64))
tei               801 drivers/isdn/mISDN/tei.c 	l2 = create_l2(mgr->up, ISDN_P_LAPD_NT, opt, tei, sapi);
tei               850 drivers/isdn/mISDN/tei.c 	int		tei, ri;
tei               860 drivers/isdn/mISDN/tei.c 		tei = dp[3] >> 1; /* 3GPP TS 08.56 6.1.11.2 */
tei               862 drivers/isdn/mISDN/tei.c 		tei = get_free_tei(mgr);
tei               863 drivers/isdn/mISDN/tei.c 	if (tei < 0) {
tei               867 drivers/isdn/mISDN/tei.c 	l2 = create_new_tei(mgr, tei, CTRL_SAPI);
tei               948 drivers/isdn/mISDN/tei.c 			mISDN_FsmEvent(&tm->tei_m, EV_CHKREQ, &l2->tei);
tei               995 drivers/isdn/mISDN/tei.c 		       crq->adr.sapi, crq->adr.tei);
tei               996 drivers/isdn/mISDN/tei.c 	if (crq->adr.tei > GROUP_TEI)
tei               998 drivers/isdn/mISDN/tei.c 	if (crq->adr.tei < 64)
tei              1000 drivers/isdn/mISDN/tei.c 	if (crq->adr.tei == 0)
tei              1005 drivers/isdn/mISDN/tei.c 		if ((crq->adr.tei != 0) && (crq->adr.tei != 127))
tei              1016 drivers/isdn/mISDN/tei.c 		if ((crq->adr.tei >= 64) && (crq->adr.tei < GROUP_TEI))
tei              1028 drivers/isdn/mISDN/tei.c 	if ((crq->protocol == ISDN_P_LAPD_NT) && (crq->adr.tei == 127)) {
tei              1046 drivers/isdn/mISDN/tei.c 		       crq->adr.tei, crq->adr.sapi);
tei              1149 drivers/isdn/mISDN/tei.c 				put_tei_msg(mgr, ID_REMOVE, 0, l2->tei);
tei              1200 drivers/isdn/mISDN/tei.c 	int			ret, tei, sapi;
tei              1217 drivers/isdn/mISDN/tei.c 	tei = skb->data[1] >> 1;
tei              1218 drivers/isdn/mISDN/tei.c 	if (tei > 63) /* not a fixed tei */
tei              1225 drivers/isdn/mISDN/tei.c 		       __func__, sapi, tei);
tei              1226 drivers/isdn/mISDN/tei.c 	l2 = create_new_tei(mgr, tei, sapi);
tei               300 drivers/scsi/mvsas/mv_sas.c 			     struct mvs_task_exec_info *tei)
tei               304 drivers/scsi/mvsas/mv_sas.c 	struct sas_task *task = tei->task;
tei               305 drivers/scsi/mvsas/mv_sas.c 	struct mvs_cmd_hdr *hdr = tei->hdr;
tei               311 drivers/scsi/mvsas/mv_sas.c 	u32 req_len, resp_len, tag = tei->tag;
tei               317 drivers/scsi/mvsas/mv_sas.c 	u32 flags = (tei->n_elem << MCH_PRD_LEN_SHIFT);
tei               361 drivers/scsi/mvsas/mv_sas.c 	if (tei->n_elem)
tei               366 drivers/scsi/mvsas/mv_sas.c 	i = MVS_CHIP_DISP->prd_size() * tei->n_elem;
tei               397 drivers/scsi/mvsas/mv_sas.c 	MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd);
tei               402 drivers/scsi/mvsas/mv_sas.c 	dma_unmap_sg(mvi->dev, &tei->task->smp_task.smp_resp, 1,
tei               405 drivers/scsi/mvsas/mv_sas.c 	dma_unmap_sg(mvi->dev, &tei->task->smp_task.smp_req, 1,
tei               429 drivers/scsi/mvsas/mv_sas.c 			     struct mvs_task_exec_info *tei)
tei               431 drivers/scsi/mvsas/mv_sas.c 	struct sas_task *task = tei->task;
tei               434 drivers/scsi/mvsas/mv_sas.c 	struct mvs_cmd_hdr *hdr = tei->hdr;
tei               438 drivers/scsi/mvsas/mv_sas.c 	u32 tag = tei->tag, hdr_tag;
tei               462 drivers/scsi/mvsas/mv_sas.c 		flags = (tei->n_elem << MCH_PRD_LEN_SHIFT);
tei               506 drivers/scsi/mvsas/mv_sas.c 	if (tei->n_elem)
tei               545 drivers/scsi/mvsas/mv_sas.c 	MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd);
tei               549 drivers/scsi/mvsas/mv_sas.c 				TRASH_BUCKET_SIZE, tei->n_elem, buf_prd);
tei               555 drivers/scsi/mvsas/mv_sas.c 			     struct mvs_task_exec_info *tei, int is_tmf,
tei               558 drivers/scsi/mvsas/mv_sas.c 	struct sas_task *task = tei->task;
tei               559 drivers/scsi/mvsas/mv_sas.c 	struct mvs_cmd_hdr *hdr = tei->hdr;
tei               560 drivers/scsi/mvsas/mv_sas.c 	struct mvs_port *port = tei->port;
tei               571 drivers/scsi/mvsas/mv_sas.c 	u32 resp_len, req_len, i, tag = tei->tag;
tei               595 drivers/scsi/mvsas/mv_sas.c 	hdr->flags = cpu_to_le32(flags | (tei->n_elem << MCH_PRD_LEN_SHIFT));
tei               621 drivers/scsi/mvsas/mv_sas.c 	if (tei->n_elem)
tei               626 drivers/scsi/mvsas/mv_sas.c 	i = MVS_CHIP_DISP->prd_size() * tei->n_elem;
tei               690 drivers/scsi/mvsas/mv_sas.c 	MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd);
tei               700 drivers/scsi/mvsas/mv_sas.c 	struct mvs_task_exec_info tei;
tei               730 drivers/scsi/mvsas/mv_sas.c 	tei.port = dev->port->lldd_port;
tei               731 drivers/scsi/mvsas/mv_sas.c 	if (tei.port && !tei.port->port_attached && !tmf) {
tei               783 drivers/scsi/mvsas/mv_sas.c 	tei.task = task;
tei               784 drivers/scsi/mvsas/mv_sas.c 	tei.hdr = &mvi->slot[tag];
tei               785 drivers/scsi/mvsas/mv_sas.c 	tei.tag = tag;
tei               786 drivers/scsi/mvsas/mv_sas.c 	tei.n_elem = n_elem;
tei               789 drivers/scsi/mvsas/mv_sas.c 		rc = mvs_task_prep_smp(mvi, &tei);
tei               792 drivers/scsi/mvsas/mv_sas.c 		rc = mvs_task_prep_ssp(mvi, &tei, is_tmf, tmf);
tei               797 drivers/scsi/mvsas/mv_sas.c 		rc = mvs_task_prep_ata(mvi, &tei);
tei               812 drivers/scsi/mvsas/mv_sas.c 	slot->port = tei.port;
tei               814 drivers/scsi/mvsas/mv_sas.c 	list_add_tail(&slot->entry, &tei.port->list);
tei               288 include/linux/mISDNif.h 	unsigned char	tei;