taglinefilesource code
ti2091drivers/block/ide-cd.cstruct cdrom_ti ti;
ti2094drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *)arg, sizeof (ti));
ti2097drivers/block/ide-cd.cmemcpy_fromfs (&ti, (void *) arg, sizeof(ti));
ti2099drivers/block/ide-cd.cstat = cdrom_get_toc_entry (drive, ti.cdti_trk0, &first_toc, NULL);
ti2101drivers/block/ide-cd.cstat = cdrom_get_toc_entry (drive, ti.cdti_trk1, &last_toc, NULL);
ti2104drivers/block/ide-cd.cif (ti.cdti_trk1 != CDROM_LEADOUT) ++last_toc;
ti614drivers/cdrom/aztcd.cstruct cdrom_ti ti;
ti706drivers/cdrom/aztcd.cst = verify_area(VERIFY_READ, (void *) arg, sizeof ti);
ti708drivers/cdrom/aztcd.cmemcpy_fromfs(&ti, (void *) arg, sizeof ti);
ti709drivers/cdrom/aztcd.cif (ti.cdti_trk0 < DiskInfo.first
ti710drivers/cdrom/aztcd.c|| ti.cdti_trk0 > DiskInfo.last
ti711drivers/cdrom/aztcd.c|| ti.cdti_trk1 < ti.cdti_trk0)
ti714drivers/cdrom/aztcd.cif (ti.cdti_trk1 > DiskInfo.last)
ti715drivers/cdrom/aztcd.cti.cdti_trk1 = DiskInfo.last;
ti716drivers/cdrom/aztcd.cazt_Play.start = Toc[ti.cdti_trk0].diskTime;
ti717drivers/cdrom/aztcd.cazt_Play.end = Toc[ti.cdti_trk1 + 1].diskTime;
ti2550drivers/cdrom/cdu31a.cstruct cdrom_ti ti;
ti2559drivers/cdrom/cdu31a.ci=verify_area(VERIFY_READ, (char *) arg, sizeof(ti));
ti2563drivers/cdrom/cdu31a.cmemcpy_fromfs(&ti, (char *) arg, sizeof(ti));
ti2564drivers/cdrom/cdu31a.cif (   (ti.cdti_trk0 < sony_toc.first_track_num)
ti2565drivers/cdrom/cdu31a.c|| (ti.cdti_trk0 > sony_toc.last_track_num)
ti2566drivers/cdrom/cdu31a.c|| (ti.cdti_trk1 < ti.cdti_trk0))
ti2571drivers/cdrom/cdu31a.ctrack_idx = find_track(int_to_bcd(ti.cdti_trk0));
ti2584drivers/cdrom/cdu31a.cif (ti.cdti_trk1 >= bcd_to_int(sony_toc.last_track_num))
ti2591drivers/cdrom/cdu31a.ctrack_idx = find_track(int_to_bcd(ti.cdti_trk1+1));
ti289drivers/cdrom/mcd.cstruct cdrom_ti ti;
ti368drivers/cdrom/mcd.cst = verify_area(VERIFY_READ, (void *) arg, sizeof ti);
ti372drivers/cdrom/mcd.cmemcpy_fromfs(&ti, (void *) arg, sizeof ti);
ti374drivers/cdrom/mcd.cif (ti.cdti_trk0 < DiskInfo.first
ti375drivers/cdrom/mcd.c|| ti.cdti_trk0 > DiskInfo.last
ti376drivers/cdrom/mcd.c|| ti.cdti_trk1 < ti.cdti_trk0)
ti381drivers/cdrom/mcd.cif (ti.cdti_trk1 > DiskInfo.last)
ti382drivers/cdrom/mcd.cti. cdti_trk1 = DiskInfo.last;
ti384drivers/cdrom/mcd.cmcd_Play.start = Toc[ti.cdti_trk0].diskTime;
ti385drivers/cdrom/mcd.cmcd_Play.end = Toc[ti.cdti_trk1 + 1].diskTime;
ti291drivers/cdrom/mcdx.cstruct cdrom_ti ti;
ti294drivers/cdrom/mcdx.cif ((ans = verify_area(VERIFY_READ, (void*) arg, sizeof(ti))))
ti296drivers/cdrom/mcdx.cmemcpy_fromfs(&ti, (void*) arg, sizeof(ti));
ti297drivers/cdrom/mcdx.cif ((ti.cdti_trk0 < stuffp->di.n_first)
ti298drivers/cdrom/mcdx.c|| (ti.cdti_trk0 > stuffp->di.n_last)
ti299drivers/cdrom/mcdx.c|| (ti.cdti_trk1 < stuffp->di.n_first))
ti301drivers/cdrom/mcdx.cif (ti.cdti_trk1 > stuffp->di.n_last) ti.cdti_trk1 = stuffp->di.n_last;
ti302drivers/cdrom/mcdx.cTRACE((PLAYTRK, "ioctl() track %d to %d\n", ti.cdti_trk0, ti.cdti_trk1));
ti304drivers/cdrom/mcdx.creturn mcdx_playtrk(stuffp, &ti);
ti1520drivers/cdrom/mcdx.cmcdx_playtrk(struct s_drive_stuff* stuffp, const struct cdrom_ti* ti)
ti1527drivers/cdrom/mcdx.cif (ti) p = &stuffp->toc[ti->cdti_trk0 - stuffp->di.n_first];
ti1534drivers/cdrom/mcdx.cif (ti) {
ti1535drivers/cdrom/mcdx.cp = &stuffp->toc[ti->cdti_trk1 - stuffp->di.n_first + 1];
ti1097drivers/cdrom/optcd.cstruct cdrom_ti ti;
ti1099drivers/cdrom/optcd.cif ((st = verify_area(VERIFY_READ, (void *) arg, sizeof ti)))
ti1101drivers/cdrom/optcd.cmemcpy_fromfs(&ti, (void *) arg, sizeof ti);
ti1102drivers/cdrom/optcd.cif (ti.cdti_trk0 < DiskInfo.first
ti1103drivers/cdrom/optcd.c|| ti.cdti_trk0 > DiskInfo.last
ti1104drivers/cdrom/optcd.c|| ti.cdti_trk1 < ti.cdti_trk0)
ti1106drivers/cdrom/optcd.cif (ti.cdti_trk1 > DiskInfo.last)
ti1107drivers/cdrom/optcd.cti.cdti_trk1 = DiskInfo.last;
ti1108drivers/cdrom/optcd.copt_Play.start = Toc[ti.cdti_trk0].diskTime;
ti1109drivers/cdrom/optcd.copt_Play.end = Toc[ti.cdti_trk1 + 1].diskTime;
ti491drivers/cdrom/sbpcd.cstatic struct cdrom_ti ti;
ti3844drivers/cdrom/sbpcd.cmemcpy_fromfs(&ti,(void *) arg,sizeof(struct cdrom_ti));
ti3846drivers/cdrom/sbpcd.cti.cdti_trk0,ti.cdti_ind0,ti.cdti_trk1,ti.cdti_ind1);
ti3847drivers/cdrom/sbpcd.cif (ti.cdti_trk0<D_S[d].n_first_track) return (-EINVAL);
ti3848drivers/cdrom/sbpcd.cif (ti.cdti_trk0>D_S[d].n_last_track) return (-EINVAL);
ti3849drivers/cdrom/sbpcd.cif (ti.cdti_trk1<ti.cdti_trk0) ti.cdti_trk1=ti.cdti_trk0;
ti3850drivers/cdrom/sbpcd.cif (ti.cdti_trk1>D_S[d].n_last_track) ti.cdti_trk1=D_S[d].n_last_track;
ti3851drivers/cdrom/sbpcd.cD_S[d].pos_audio_start=D_S[d].TocBuffer[ti.cdti_trk0].address;
ti3852drivers/cdrom/sbpcd.cD_S[d].pos_audio_end=D_S[d].TocBuffer[ti.cdti_trk1+1].address;
ti780drivers/cdrom/sjcd.cstruct cdrom_ti ti; int s;
ti784drivers/cdrom/sjcd.cif( ( s = verify_area( VERIFY_READ, (void *)arg, sizeof( ti ) ) ) == 0 ){
ti785drivers/cdrom/sjcd.cmemcpy_fromfs( &ti, (void *)arg, sizeof( ti ) );
ti787drivers/cdrom/sjcd.cif( ti.cdti_trk0 < sjcd_first_track_no ) return( -EINVAL );
ti788drivers/cdrom/sjcd.cif( ti.cdti_trk1 > sjcd_last_track_no )
ti789drivers/cdrom/sjcd.cti.cdti_trk1 = sjcd_last_track_no;
ti790drivers/cdrom/sjcd.cif( ti.cdti_trk0 > ti.cdti_trk1 ) return( -EINVAL );
ti792drivers/cdrom/sjcd.csjcd_playing.start = sjcd_table_of_contents[ ti.cdti_trk0 ].un.track_msf;
ti793drivers/cdrom/sjcd.csjcd_playing.end = ( ti.cdti_trk1 < sjcd_last_track_no ) ?
ti794drivers/cdrom/sjcd.csjcd_table_of_contents[ ti.cdti_trk1 + 1 ].un.track_msf :
ti1269drivers/cdrom/sonycd535.cstruct cdrom_ti ti;
ti1275drivers/cdrom/sonycd535.cerr = verify_area(VERIFY_READ, (char *)arg, sizeof ti);
ti1279drivers/cdrom/sonycd535.cmemcpy_fromfs(&ti, (char *)arg, sizeof ti);
ti1280drivers/cdrom/sonycd535.cif ((ti.cdti_trk0 < sony_toc->first_track_num)
ti1281drivers/cdrom/sonycd535.c|| (sony_toc->last_track_num < ti.cdti_trk0)
ti1282drivers/cdrom/sonycd535.c|| (ti.cdti_trk1 < ti.cdti_trk0)) {
ti1285drivers/cdrom/sonycd535.ctrack_idx = find_track(int_to_bcd(ti.cdti_trk0));
ti1295drivers/cdrom/sonycd535.cif (bcd_to_int(sony_toc->last_track_num) <= ti.cdti_trk1) {
ti1299drivers/cdrom/sonycd535.ctrack_idx = find_track(int_to_bcd(ti.cdti_trk1 + 1));
ti184drivers/net/ibmtr.cstruct tok_info *ti=0;
ti284drivers/net/ibmtr.cti = (struct tok_info *)kmalloc(sizeof(struct tok_info), GFP_KERNEL);
ti285drivers/net/ibmtr.cif (ti == NULL)
ti288drivers/net/ibmtr.cti = badti; badti = NULL;
ti291drivers/net/ibmtr.cmemset(ti,0,sizeof(struct tok_info));
ti293drivers/net/ibmtr.cti->mmio= t_mmio;
ti295drivers/net/ibmtr.cdev->priv = ti;     /* this seems like the logical use of the
ti307drivers/net/ibmtr.cti->global_int_enable=GLOBAL_INT_ENABLE+((irq==9) ? 2 : irq);
ti308drivers/net/ibmtr.cti->sram=NULL;
ti310drivers/net/ibmtr.cDPRINTK("ti->global_int_enable: %04X\n",ti->global_int_enable);
ti318drivers/net/ibmtr.cti->global_int_enable=0;
ti319drivers/net/ibmtr.cti->sram=(unsigned char *)((inb(PIOaddr+ADAPTRESETREL) & 0xfe)
ti327drivers/net/ibmtr.cwhile(!(ti->mmio + ACA_OFFSET + ACA_RW + RRR_EVEN));
ti328drivers/net/ibmtr.cti->sram=(unsigned char *)((unsigned long)(ti->mmio + ACA_OFFSET + ACA_RW + RRR_EVEN) <<12);
ti329drivers/net/ibmtr.cti->global_int_enable=PIOaddr+ADAPTINTREL;
ti337drivers/net/ibmtr.cDPRINTK(", ti->mmio=%p",ti->mmio);
ti349drivers/net/ibmtr.ctemp = *(char *)((ulong)AIP + (ulong)i + ti->mmio) & 0x0f; /* Tech ref states must do this */
ti351drivers/net/ibmtr.cprintk("%1X",ti->hw_address[j]=temp);
ti353drivers/net/ibmtr.cti->hw_address[j]=temp;
ti356drivers/net/ibmtr.cdev->dev_addr[(j/2)]=ti->hw_address[j]+(ti->hw_address[j-1]<<4);
ti365drivers/net/ibmtr.cti->adapter_type = *(char *)(ti->mmio + AIPADAPTYPE);
ti368drivers/net/ibmtr.cti->data_rate = *(char *)(ti->mmio + AIPDATARATE);
ti371drivers/net/ibmtr.cti->token_release = *(char *)(ti->mmio + AIPEARLYTOKEN);
ti374drivers/net/ibmtr.cti->avail_shared_ram = get_sram_size(ti);
ti378drivers/net/ibmtr.cti->shared_ram_paging = *(char *)(ti->mmio + AIPSHRAMPAGE);
ti381drivers/net/ibmtr.cti->dhb_size4mb = *(char *) (ti->mmio + AIP4MBDHB);
ti384drivers/net/ibmtr.cti->dhb_size16mb = *(char *)(ti->mmio + AIP16MBDHB);
ti387drivers/net/ibmtr.cDPRINTK("atype=%x, drate=%x, trel=%x, asram=%dK, srp=%x, dhb(4mb=%x, 16mb=%x)\n",ti->adapter_type,
ti388drivers/net/ibmtr.cti->data_rate, ti->token_release, ti->avail_shared_ram/2, ti->shared_ram_paging,
ti389drivers/net/ibmtr.cti->dhb_size4mb, ti->dhb_size16mb);
ti400drivers/net/ibmtr.cti->mapped_ram_size=1<<(((*(unsigned char *)
ti401drivers/net/ibmtr.c(ti->mmio+ ACA_OFFSET + ACA_RW + RRR_ODD))>>2)+4);
ti402drivers/net/ibmtr.cti->page_mask=0;
ti403drivers/net/ibmtr.cif (ti->shared_ram_paging == 0xf) { /* No paging in adapter */
ti404drivers/net/ibmtr.cti->mapped_ram_size = ti->avail_shared_ram;
ti411drivers/net/ibmtr.cDPRINTK("shared ram page size: %dK\n",ti->mapped_ram_size/2);
ti414drivers/net/ibmtr.cswitch(ti->shared_ram_paging) {
ti418drivers/net/ibmtr.cti->page_mask=(ti->mapped_ram_size==32) ? 0xc0 : 0;
ti422drivers/net/ibmtr.cti->page_mask=(ti->mapped_ram_size==64) ? 0x80 : 0;
ti426drivers/net/ibmtr.cti->page_mask=(ti->mapped_ram_size==32) ? 0xc0 : 0;
ti427drivers/net/ibmtr.cti->page_mask=(ti->mapped_ram_size==64) ? 0x80 : 0;
ti434drivers/net/ibmtr.cbadti=ti;
ti437drivers/net/ibmtr.cDPRINTK("Unknown shared ram paging info %01X\n",ti->shared_ram_paging);
ti438drivers/net/ibmtr.cbadti=ti;    /* bail out if bad code */
ti441drivers/net/ibmtr.cif(ti->page_mask) {
ti442drivers/net/ibmtr.cif(pg_size > ti->mapped_ram_size) {
ti444drivers/net/ibmtr.cpg_size, ti->mapped_ram_size);
ti445drivers/net/ibmtr.cti->page_mask = 0;    /* reset paging */
ti447drivers/net/ibmtr.cti->mapped_ram_size=ti->avail_shared_ram; /****** ?????????? *******/
ti448drivers/net/ibmtr.cDPRINTK("Shared RAM paging enabled. Page size : %uK\n",((ti->page_mask^ 0xff)+1)>>2);
ti459drivers/net/ibmtr.c(ti->mmio+ ACA_OFFSET + ACA_RW + RRR_ODD))>>2;
ti462drivers/net/ibmtr.cchk_base = new_base + (ti->mapped_ram_size>>3);
ti468drivers/net/ibmtr.cbadti=ti;
ti470drivers/net/ibmtr.cti->sram_base = new_base;
ti481drivers/net/ibmtr.cDPRINTK("Using %dK shared RAM\n",ti->mapped_ram_size/2);
ti486drivers/net/ibmtr.cbadti = ti;    /*  keep track of unused tok_info */
ti500drivers/net/ibmtr.cchannel_def[cardpresent-1], adapter_def(ti->adapter_type), irq,
ti501drivers/net/ibmtr.cPIOaddr, ti->mapped_ram_size/2);
ti546drivers/net/ibmtr.cstruct tok_info *ti=(struct tok_info *)dev->priv;
ti548drivers/net/ibmtr.cif(ti->open_status==CLOSED) {
ti552drivers/net/ibmtr.cif(ti->open_status==IN_PROGRESS) {
ti553drivers/net/ibmtr.csleep_on(&ti->wait_for_reset);
ti556drivers/net/ibmtr.cif(ti->open_status==SUCCES) {
ti574drivers/net/ibmtr.cstruct tok_info *ti=(struct tok_info *) dev->priv;
ti576drivers/net/ibmtr.cstruct srb_close_adapter *close_adapter=(struct srb_close_adapter *)ti->srb;
ti579drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_SET + ISRA_ODD)=CMD_IN_SRB;
ti581drivers/net/ibmtr.cti->open_status=CLOSED;
ti583drivers/net/ibmtr.csleep_on(&ti->wait_for_tok_int);    
ti597drivers/net/ibmtr.cstruct tok_info *ti;
ti603drivers/net/ibmtr.cti=(struct tok_info *) dev->priv;
ti605drivers/net/ibmtr.cswitch (ti->do_tok_int) {
ti616drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RESET + ISRP_EVEN)=(~INT_ENABLE);
ti619drivers/net/ibmtr.cif(ti->global_int_enable)
ti620drivers/net/ibmtr.coutb(0,ti->global_int_enable);
ti622drivers/net/ibmtr.cstatus=*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RW + ISRP_ODD);
ti626drivers/net/ibmtr.cunsigned char *check_reason=ti->mmio + ntohs(*(unsigned short *)(ti->mmio + ACA_OFFSET + ACA_RW +WWCR_EVEN));
ti635drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RESET + ISRP_ODD)=(~ADAP_CHK_INT);
ti636drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_SET  + ISRP_EVEN)=INT_ENABLE;
ti640drivers/net/ibmtr.celse if((*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RW + ISRP_EVEN)) & (TCR_INT + ERR_INT + ACCESS_INT)) {
ti643drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RW + ISRP_EVEN));
ti645drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RESET + ISRP_EVEN)=~(TCR_INT + ERR_INT + ACCESS_INT);
ti646drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_SET  + ISRP_EVEN)=INT_ENABLE;
ti653drivers/net/ibmtr.cswitch(*ti->srb) {
ti655drivers/net/ibmtr.cstruct srb_xmit *xmit=(struct srb_xmit *)(ti->srb);
ti658drivers/net/ibmtr.cif(ti->current_skb) {
ti659drivers/net/ibmtr.cdev_kfree_skb(ti->current_skb, FREE_WRITE);
ti660drivers/net/ibmtr.cti->current_skb=NULL;
ti668drivers/net/ibmtr.cstruct srb_xmit *xmit=(struct srb_xmit *)(ti->srb);
ti671drivers/net/ibmtr.cif(ti->current_skb) {
ti672drivers/net/ibmtr.cdev_kfree_skb(ti->current_skb, FREE_WRITE);
ti673drivers/net/ibmtr.cti->current_skb=NULL;
ti681drivers/net/ibmtr.cstruct srb_open_response *open_response=(struct srb_open_response *)(ti->init_srb);
ti683drivers/net/ibmtr.cti->srb=ti->sram+ntohs(open_response->srb_addr);
ti684drivers/net/ibmtr.cti->ssb=ti->sram+ntohs(open_response->ssb_addr);
ti685drivers/net/ibmtr.cti->arb=ti->sram+ntohs(open_response->arb_addr);
ti686drivers/net/ibmtr.cti->asb=ti->sram+ntohs(open_response->asb_addr);
ti687drivers/net/ibmtr.cti->current_skb=NULL;
ti690drivers/net/ibmtr.cif(!ti->auto_ringspeedsave && (open_response->error_code==0x24)) {
ti692drivers/net/ibmtr.cti->open_status=FAILURE;
ti693drivers/net/ibmtr.cwake_up(&ti->wait_for_reset);
ti698drivers/net/ibmtr.celse if((open_response->error_code==0x2d) && ti->auto_ringspeedsave)
ti708drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RESET + ISRP_ODD)=~(SRB_RESP_INT);
ti709drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RESET + ISRA_ODD)=~(CMD_IN_SRB);
ti717drivers/net/ibmtr.cif(ti->open_status!=FAILURE) {
ti727drivers/net/ibmtr.cwake_up(&ti->wait_for_tok_int);
ti730drivers/net/ibmtr.cstruct dlc_open_sap *open_sap=(struct dlc_open_sap *)ti->srb;
ti739drivers/net/ibmtr.cti->exsap_station_id=open_sap->station_id;
ti740drivers/net/ibmtr.cti->open_status=SUCCES; /* TR adapter is now available */
ti741drivers/net/ibmtr.cwake_up(&ti->wait_for_reset);
ti751drivers/net/ibmtr.cstruct srb_interrupt *intr=(struct srb_interrupt *)(ti->srb);
ti758drivers/net/ibmtr.cstruct srb_read_log *read_log=(struct srb_read_log *)(ti->srb);
ti775drivers/net/ibmtr.cDPRINTK("Unknown command %02X encountered\n",*(ti->srb));
ti777drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RESET + ISRA_ODD)=~(CMD_IN_SRB);
ti778drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RESET + ISRP_ODD)=~(SRB_RESP_INT);
ti783drivers/net/ibmtr.cswitch(*ti->asb) {
ti787drivers/net/ibmtr.cif(*(ti->asb+2)!=0xff)
ti788drivers/net/ibmtr.cDPRINTK("ASB error %02X in cmd %02X\n",  *(ti->asb+2),*(ti->asb));
ti791drivers/net/ibmtr.cDPRINTK("unknown command in asb %02X\n",*ti->asb);
ti793drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RESET + ISRP_ODD)=~(ASB_FREE_INT);
ti797drivers/net/ibmtr.cswitch(*ti->arb) {
ti799drivers/net/ibmtr.cstruct arb_dlc_status *dlc_status=(struct arb_dlc_status *)(ti->arb);      
ti809drivers/net/ibmtr.cstruct arb_ring_stat_change *ring_stat_change=(struct arb_ring_stat_change *)(ti->arb);
ti824drivers/net/ibmtr.c*(ti->srb)=DIR_READ_LOG;
ti825drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_SET + ISRP_EVEN)=INT_ENABLE;
ti826drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_SET + ISRA_ODD)=CMD_IN_SRB;
ti837drivers/net/ibmtr.cDPRINTK("Unknown command %02X in arb\n",*(ti->arb));
ti840drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RESET + ISRP_ODD)=~(ARB_CMD_INT);
ti841drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_SET + ISRA_ODD)=ARB_FREE;
ti845drivers/net/ibmtr.cswitch(*ti->ssb) {
ti848drivers/net/ibmtr.cif(*(ti->ssb+2))
ti849drivers/net/ibmtr.cDPRINTK("xmit ret_code: %02X xmit error code: %02X\n",*(ti->ssb+2),*(ti->ssb+6));    
ti851drivers/net/ibmtr.cti->tr_stats.tx_packets++;
ti855drivers/net/ibmtr.cDPRINTK("xmit xid ret_code: %02X\n",*(ti->ssb+2));
ti858drivers/net/ibmtr.cDPRINTK("Unknown command %02X in ssb\n",*(ti->ssb));
ti860drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RESET + ISRP_ODD)=~(SSB_RESP_INT);
ti861drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_SET + ISRA_ODD)=SSB_FREE;
ti866drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_SET + ISRP_EVEN)=INT_ENABLE;
ti886drivers/net/ibmtr.cstruct tok_info *ti;
ti888drivers/net/ibmtr.cti=(struct tok_info *) dev->priv;
ti890drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RESET + ISRP_EVEN)=(~INT_ENABLE);
ti893drivers/net/ibmtr.cif(ti->global_int_enable)
ti894drivers/net/ibmtr.coutb(0,ti->global_int_enable);
ti896drivers/net/ibmtr.cti->do_tok_int=NOT_FIRST;
ti902drivers/net/ibmtr.cif(!ti->sram) {  /* we assign the address for ISA devices */
ti904drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RW + RRR_EVEN)=
ti905drivers/net/ibmtr.cti->sram_base;
ti906drivers/net/ibmtr.cti->sram=(char *)(ti->sram_base << 12);
ti908drivers/net/ibmtr.cti->init_srb=ti->sram+ntohs(*(unsigned short *)(ti->mmio+ ACA_OFFSET + WRBR_EVEN));
ti909drivers/net/ibmtr.cSET_PAGE(ntohs(*(unsigned short *)(ti->mmio+ ACA_OFFSET + WRBR_EVEN)));
ti912drivers/net/ibmtr.cDPRINTK("init_srb(%p):",ti->init_srb);
ti914drivers/net/ibmtr.cprintk("%02X ",*(ti->init_srb+i));
ti919drivers/net/ibmtr.cDPRINTK("srb_init_response->encoded_address: %04X\n",((struct srb_init_response *)ti->init_srb)->encoded_address);
ti920drivers/net/ibmtr.cDPRINTK("ntohs(srb_init_response->encoded_address): %04X\n",ntohs(((struct srb_init_response *)ti->init_srb)->encoded_address));
ti922drivers/net/ibmtr.cencoded_addr=(unsigned char *)(ti->sram + ntohs(((struct srb_init_response *)ti->init_srb)->encoded_address));
ti926drivers/net/ibmtr.c((struct srb_init_response *)ti->init_srb)->encoded_address,
ti927drivers/net/ibmtr.cntohs(((struct srb_init_response *)ti->init_srb)->encoded_address),  
ti932drivers/net/ibmtr.cti->auto_ringspeedsave=((struct srb_init_response *)ti->init_srb)->init_status_2 & 0x4 ? TRUE : FALSE;
ti946drivers/net/ibmtr.cstruct tok_info *ti;
ti951drivers/net/ibmtr.cti=(struct tok_info *) dev->priv;
ti954drivers/net/ibmtr.cti->do_tok_int=FIRST_INT;
ti961drivers/net/ibmtr.cif(ti->page_mask) {
ti962drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RW + SRPR_EVEN)=SRPR_ENABLE_PAGING;
ti966drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RESET + ISRP_EVEN)=~(INT_ENABLE);
ti977drivers/net/ibmtr.cti->open_status=IN_PROGRESS;
ti979drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_SET + ISRP_EVEN)=INT_ENABLE;
ti985drivers/net/ibmtr.cstruct tok_info *ti=(struct tok_info *) dev->priv;
ti986drivers/net/ibmtr.cstruct dlc_open_sap *open_sap=(struct dlc_open_sap *)ti->srb;
ti988drivers/net/ibmtr.cSET_PAGE(ti->srb);
ti997drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_SET + ISRA_ODD)=CMD_IN_SRB;
ti1005drivers/net/ibmtr.cstruct tok_info *ti;
ti1006drivers/net/ibmtr.cti=(struct tok_info *) dev->priv;
ti1012drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RESET + ISRP_ODD)=~(SRB_RESP_INT);
ti1013drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RESET + ISRA_ODD)=~(CMD_IN_SRB);
ti1015drivers/net/ibmtr.copen_adapter=(struct dir_open_adapter *)(ti->init_srb);
ti1027drivers/net/ibmtr.cti->srb=ti->init_srb; /* We use this one in the interrupt handler */
ti1029drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_SET + ISRP_EVEN)=INT_ENABLE;
ti1030drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_SET + ISRA_ODD)=CMD_IN_SRB;
ti1036drivers/net/ibmtr.cstruct tok_info *ti=(struct tok_info *) dev->priv;
ti1037drivers/net/ibmtr.cstruct asb_xmit_resp *xmit_resp=(struct asb_xmit_resp *)ti->asb;
ti1038drivers/net/ibmtr.cstruct arb_xmit_req *xmit_req=(struct arb_xmit_req *)ti->arb;
ti1039drivers/net/ibmtr.cstruct srb_xmit *xmit=(struct srb_xmit *)ti->srb;
ti1040drivers/net/ibmtr.cstruct trh_hdr *trhdr=(struct trh_hdr *)ti->current_skb->data;
ti1046drivers/net/ibmtr.cti , ti->asb, xmit_resp, ti->arb, xmit_req, ti->srb, xmit);
ti1060drivers/net/ibmtr.cdhb=ti->sram+ntohs(xmit_req->dhb_address);
ti1075drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_SET
ti1094drivers/net/ibmtr.cti->current_skb->len-18));
ti1104drivers/net/ibmtr.cti->current_skb->len-18+hdr_len);
ti1111drivers/net/ibmtr.cmemcpy(dhb,ti->current_skb->data,hdr_len);
ti1114drivers/net/ibmtr.cxmit_resp->frame_length=htons(ti->current_skb->len
ti1118drivers/net/ibmtr.cmemcpy(dhb,ti->current_skb->data+sizeof(struct trh_hdr),
ti1119drivers/net/ibmtr.cti->current_skb->len-sizeof(struct trh_hdr));
ti1121drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_SET + ISRA_ODD)
ti1124drivers/net/ibmtr.cdev_kfree_skb(ti->current_skb,FREE_WRITE);
ti1125drivers/net/ibmtr.cti->current_skb=NULL;
ti1131drivers/net/ibmtr.cstruct tok_info *ti=(struct tok_info *) dev->priv;
ti1133drivers/net/ibmtr.cstruct arb_rec_req *rec_req=(struct arb_rec_req *)ti->arb;
ti1134drivers/net/ibmtr.cstruct asb_rec *rec_resp=(struct asb_rec *)ti->asb;
ti1141drivers/net/ibmtr.crbuffer=(struct rec_buf *)(ti->sram+ntohs(rec_req->rec_buf_addr));
ti1155drivers/net/ibmtr.cDPRINTK("llc: %p rec_buf_addr: %04X ti->sram: %p\n",llc,ntohs(rec_req->rec_buf_addr),ti->sram);
ti1165drivers/net/ibmtr.cti->tr_stats.rx_dropped++;
ti1166drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_SET + ISRA_ODD)=RESP_IN_ASB;
ti1185drivers/net/ibmtr.cti->tr_stats.rx_dropped++;
ti1187drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_SET + ISRA_ODD)=RESP_IN_ASB;
ti1216drivers/net/ibmtr.cfor(rbuffer=(struct rec_buf *)(ti->sram+ntohs(rbuffer->buf_ptr)-2);
ti1218drivers/net/ibmtr.cdata+=rbuffer_len,rbuffer=(struct rec_buf *)(ti->sram+ntohs(rbuffer->buf_ptr)-2))
ti1225drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_SET + ISRA_ODD)=RESP_IN_ASB;
ti1227drivers/net/ibmtr.cti->tr_stats.rx_packets++;
ti1237drivers/net/ibmtr.cstruct tok_info *ti=(struct tok_info *) dev->priv;
ti1264drivers/net/ibmtr.cstruct srb_xmit *xmit=(struct srb_xmit *)ti->srb;
ti1266drivers/net/ibmtr.cti->current_skb=skb; /* save skb. We will need it when the adapter
ti1269drivers/net/ibmtr.cxmit->station_id=ti->exsap_station_id;
ti1270drivers/net/ibmtr.c*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_SET + ISRA_ODD)=CMD_IN_SRB;
ti162drivers/net/ibmtr.h(ti->mmio + ACA_OFFSET + ACA_RW + SRPR_EVEN)\
ti163drivers/net/ibmtr.h= (x>>8)&ti.page_mask)
ti177drivers/scsi/sr_ioctl.cstruct cdrom_ti ti;
ti179drivers/scsi/sr_ioctl.cerr = verify_area (VERIFY_READ, (void *) arg, sizeof (ti));
ti182drivers/scsi/sr_ioctl.cmemcpy_fromfs(&ti, (void *) arg, sizeof(ti));
ti188drivers/scsi/sr_ioctl.csr_cmd[4] = ti.cdti_trk0;
ti189drivers/scsi/sr_ioctl.csr_cmd[5] = ti.cdti_ind0;
ti191drivers/scsi/sr_ioctl.csr_cmd[7] = ti.cdti_trk1;
ti192drivers/scsi/sr_ioctl.csr_cmd[8] = ti.cdti_ind1;