tag | line | file | source code |
channel | 356 | arch/mips/kernel/jazzdma.c | void vdma_enable(int channel) |
channel | 361 | arch/mips/kernel/jazzdma.c | printk("vdma_enable: channel %d\n",channel); |
channel | 366 | arch/mips/kernel/jazzdma.c | status = r4030_read_reg32(JAZZ_R4030_CHNL_ENABLE+(channel<<5)); |
channel | 368 | arch/mips/kernel/jazzdma.c | printk("VDMA: Channel %d: Address error!\n",channel); |
channel | 370 | arch/mips/kernel/jazzdma.c | printk("VDMA: Channel %d: Memory error!\n",channel); |
channel | 375 | arch/mips/kernel/jazzdma.c | r4030_write_reg32(JAZZ_R4030_CHNL_ENABLE+(channel<<5), |
channel | 381 | arch/mips/kernel/jazzdma.c | r4030_write_reg32(JAZZ_R4030_CHNL_ENABLE+(channel<<5), |
channel | 382 | arch/mips/kernel/jazzdma.c | r4030_read_reg32(JAZZ_R4030_CHNL_ENABLE+(channel<<5)) | |
channel | 389 | arch/mips/kernel/jazzdma.c | void vdma_disable(int channel) |
channel | 393 | arch/mips/kernel/jazzdma.c | int status = r4030_read_reg32(JAZZ_R4030_CHNL_ENABLE+(channel<<5)); |
channel | 395 | arch/mips/kernel/jazzdma.c | printk("vdma_disable: channel %d\n",channel); |
channel | 398 | arch/mips/kernel/jazzdma.c | channel,status,((status & 0x600) ? "ERROR" : "OK"), |
channel | 399 | arch/mips/kernel/jazzdma.c | (unsigned)r4030_read_reg32(JAZZ_R4030_CHNL_MODE+(channel<<5)), |
channel | 400 | arch/mips/kernel/jazzdma.c | (unsigned)r4030_read_reg32(JAZZ_R4030_CHNL_ADDR+(channel<<5)), |
channel | 401 | arch/mips/kernel/jazzdma.c | (unsigned)r4030_read_reg32(JAZZ_R4030_CHNL_COUNT+(channel<<5))); |
channel | 404 | arch/mips/kernel/jazzdma.c | r4030_write_reg32(JAZZ_R4030_CHNL_ENABLE+(channel<<5), |
channel | 405 | arch/mips/kernel/jazzdma.c | r4030_read_reg32(JAZZ_R4030_CHNL_ENABLE+(channel<<5)) & |
channel | 424 | arch/mips/kernel/jazzdma.c | void vdma_set_mode(int channel, int mode) |
channel | 427 | arch/mips/kernel/jazzdma.c | printk("vdma_set_mode: channel %d, mode 0x%x\n",channel,mode); |
channel | 429 | arch/mips/kernel/jazzdma.c | switch(channel) |
channel | 432 | arch/mips/kernel/jazzdma.c | r4030_write_reg32(JAZZ_R4030_CHNL_MODE+(channel<<5), |
channel | 441 | arch/mips/kernel/jazzdma.c | r4030_write_reg32(JAZZ_R4030_CHNL_MODE+(channel<<5), |
channel | 456 | arch/mips/kernel/jazzdma.c | channel); |
channel | 462 | arch/mips/kernel/jazzdma.c | r4030_write_reg32(JAZZ_R4030_CHNL_ENABLE+(channel<<5), |
channel | 463 | arch/mips/kernel/jazzdma.c | r4030_read_reg32(JAZZ_R4030_CHNL_ENABLE+(channel<<5)) & |
channel | 468 | arch/mips/kernel/jazzdma.c | r4030_write_reg32(JAZZ_R4030_CHNL_ENABLE+(channel<<5), |
channel | 469 | arch/mips/kernel/jazzdma.c | r4030_read_reg32(JAZZ_R4030_CHNL_ENABLE+(channel<<5)) | |
channel | 481 | arch/mips/kernel/jazzdma.c | void vdma_set_addr(int channel, long addr) |
channel | 484 | arch/mips/kernel/jazzdma.c | printk("vdma_set_addr: channel %d, addr %lx\n",channel,addr); |
channel | 486 | arch/mips/kernel/jazzdma.c | r4030_write_reg32(JAZZ_R4030_CHNL_ADDR+(channel<<5),addr); |
channel | 492 | arch/mips/kernel/jazzdma.c | void vdma_set_count(int channel, int count) |
channel | 495 | arch/mips/kernel/jazzdma.c | printk("vdma_set_count: channel %d, count %08x\n",channel,(unsigned)count); |
channel | 497 | arch/mips/kernel/jazzdma.c | r4030_write_reg32(JAZZ_R4030_CHNL_COUNT+(channel<<5),count); |
channel | 503 | arch/mips/kernel/jazzdma.c | int vdma_get_residue(int channel) |
channel | 507 | arch/mips/kernel/jazzdma.c | residual = r4030_read_reg32(JAZZ_R4030_CHNL_COUNT+(channel<<5)); |
channel | 510 | arch/mips/kernel/jazzdma.c | printk("vdma_get_residual: channel %d: residual=%d\n",channel,residual); |
channel | 532 | drivers/char/cyclades.c | int chip,channel,index; |
channel | 544 | drivers/char/cyclades.c | channel = info->line - cinfo->first_line; |
channel | 545 | drivers/char/cyclades.c | chip = channel>>2; |
channel | 546 | drivers/char/cyclades.c | channel &= 0x03; |
channel | 551 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)(channel & 0x0003); /* index channel */ |
channel | 564 | drivers/char/cyclades.c | int chip,channel,index; |
channel | 576 | drivers/char/cyclades.c | channel = info->line - cinfo->first_line; |
channel | 577 | drivers/char/cyclades.c | chip = channel>>2; |
channel | 578 | drivers/char/cyclades.c | channel &= 0x03; |
channel | 583 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)(channel & 0x0003); |
channel | 654 | drivers/char/cyclades.c | int save_xir, channel, save_car; |
channel | 695 | drivers/char/cyclades.c | channel = (u_short ) (save_xir & CyIRChannel); |
channel | 696 | drivers/char/cyclades.c | i = channel + chip * 4 + cinfo->first_line; |
channel | 811 | drivers/char/cyclades.c | channel = (u_short ) (save_xir & CyIRChannel); |
channel | 812 | drivers/char/cyclades.c | i = channel + chip * 4 + cinfo->first_line; |
channel | 917 | drivers/char/cyclades.c | channel = (u_short ) (save_xir & CyIRChannel); |
channel | 918 | drivers/char/cyclades.c | info = &cy_port[channel + chip * 4 + cinfo->first_line]; |
channel | 1192 | drivers/char/cyclades.c | int card,chip,channel,index; |
channel | 1214 | drivers/char/cyclades.c | channel = (info->line) - (cy_card[card].first_line); |
channel | 1215 | drivers/char/cyclades.c | chip = channel>>2; |
channel | 1216 | drivers/char/cyclades.c | channel &= 0x03; |
channel | 1223 | drivers/char/cyclades.c | card, chip, channel, (long)base_addr);/**/ |
channel | 1227 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
channel | 1235 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; /* !!! Is this needed? */ |
channel | 1266 | drivers/char/cyclades.c | int card,chip,channel,index; |
channel | 1269 | drivers/char/cyclades.c | channel = (info->line) - (cy_card[card].first_line); |
channel | 1270 | drivers/char/cyclades.c | chip = channel>>2; |
channel | 1271 | drivers/char/cyclades.c | channel &= 0x03; |
channel | 1277 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = channel; |
channel | 1291 | drivers/char/cyclades.c | int card,chip,channel,index; |
channel | 1299 | drivers/char/cyclades.c | channel = info->line - cy_card[card].first_line; |
channel | 1300 | drivers/char/cyclades.c | chip = channel>>2; |
channel | 1301 | drivers/char/cyclades.c | channel &= 0x03; |
channel | 1308 | drivers/char/cyclades.c | card, chip, channel, (long)base_addr); |
channel | 1325 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
channel | 1358 | drivers/char/cyclades.c | int card,chip,channel,index; |
channel | 1475 | drivers/char/cyclades.c | channel = (info->line) - (cy_card[card].first_line); |
channel | 1476 | drivers/char/cyclades.c | chip = channel>>2; |
channel | 1477 | drivers/char/cyclades.c | channel &= 0x03; |
channel | 1483 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
channel | 1504 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; /* !!! Is this needed? */ |
channel | 1582 | drivers/char/cyclades.c | int card,chip,channel,index; |
channel | 1596 | drivers/char/cyclades.c | channel = info->line - cy_card[card].first_line; |
channel | 1597 | drivers/char/cyclades.c | chip = channel>>2; |
channel | 1598 | drivers/char/cyclades.c | channel &= 0x03; |
channel | 1604 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = channel; |
channel | 1739 | drivers/char/cyclades.c | int card,chip,channel,index; |
channel | 1759 | drivers/char/cyclades.c | channel = info->line - cy_card[card].first_line; |
channel | 1760 | drivers/char/cyclades.c | chip = channel>>2; |
channel | 1761 | drivers/char/cyclades.c | channel &= 0x03; |
channel | 1767 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
channel | 1781 | drivers/char/cyclades.c | int card,chip,channel,index; |
channel | 1801 | drivers/char/cyclades.c | channel = info->line - cy_card[card].first_line; |
channel | 1802 | drivers/char/cyclades.c | chip = channel>>2; |
channel | 1803 | drivers/char/cyclades.c | channel &= 0x03; |
channel | 1809 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
channel | 1886 | drivers/char/cyclades.c | int card,chip,channel,index; |
channel | 1893 | drivers/char/cyclades.c | channel = (info->line) - (cy_card[card].first_line); |
channel | 1894 | drivers/char/cyclades.c | chip = channel>>2; |
channel | 1895 | drivers/char/cyclades.c | channel &= 0x03; |
channel | 1901 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
channel | 1920 | drivers/char/cyclades.c | int card,chip,channel,index; |
channel | 1926 | drivers/char/cyclades.c | channel = (info->line) - (cy_card[card].first_line); |
channel | 1927 | drivers/char/cyclades.c | chip = channel>>2; |
channel | 1928 | drivers/char/cyclades.c | channel &= 0x03; |
channel | 1937 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
channel | 1943 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
channel | 1956 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
channel | 1962 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
channel | 1975 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
channel | 1980 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
channel | 1986 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
channel | 1996 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
channel | 2039 | drivers/char/cyclades.c | int card,channel,chip,index; |
channel | 2042 | drivers/char/cyclades.c | channel = info->line - cy_card[card].first_line; |
channel | 2043 | drivers/char/cyclades.c | chip = channel>>2; |
channel | 2044 | drivers/char/cyclades.c | channel &= 0x03; |
channel | 2060 | drivers/char/cyclades.c | int card,channel,chip,index; |
channel | 2064 | drivers/char/cyclades.c | channel = info->line - cy_card[card].first_line; |
channel | 2065 | drivers/char/cyclades.c | chip = channel>>2; |
channel | 2066 | drivers/char/cyclades.c | channel &= 0x03; |
channel | 2094 | drivers/char/cyclades.c | int card,channel,chip,index; |
channel | 2097 | drivers/char/cyclades.c | channel = info->line - cy_card[card].first_line; |
channel | 2098 | drivers/char/cyclades.c | chip = channel>>2; |
channel | 2099 | drivers/char/cyclades.c | channel &= 0x03; |
channel | 2112 | drivers/char/cyclades.c | int card,channel,chip,index; |
channel | 2116 | drivers/char/cyclades.c | channel = info->line - cy_card[card].first_line; |
channel | 2117 | drivers/char/cyclades.c | chip = channel>>2; |
channel | 2118 | drivers/char/cyclades.c | channel &= 0x03; |
channel | 2449 | drivers/char/cyclades.c | int chip, channel,index; |
channel | 2520 | drivers/char/cyclades.c | channel = info->line - cinfo->first_line; |
channel | 2521 | drivers/char/cyclades.c | chip = channel>>2; |
channel | 2522 | drivers/char/cyclades.c | channel &= 0x03; |
channel | 2529 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
channel | 2550 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
channel | 3127 | drivers/char/cyclades.c | int card,chip,channel,index; |
channel | 3134 | drivers/char/cyclades.c | channel = (info->line) - (cy_card[card].first_line); |
channel | 3135 | drivers/char/cyclades.c | chip = channel>>2; |
channel | 3136 | drivers/char/cyclades.c | channel &= 0x03; |
channel | 3137 | drivers/char/cyclades.c | printk(" card %d, chip %d, channel %d\n", card, chip, channel);/**/ |
channel | 3181 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
channel | 1491 | drivers/char/scc.c | scc_tx_timer(unsigned long channel) |
channel | 1497 | drivers/char/scc.c | scc = (struct scc_channel *) channel; |
channel | 1525 | drivers/char/scc.c | scc_rx_timer(unsigned long channel) |
channel | 1529 | drivers/char/scc.c | scc = (struct scc_channel *) channel; |
channel | 173 | drivers/isdn/icn/icn.c | static inline void icn_map_channel(int channel) |
channel | 179 | drivers/isdn/icn/icn.c | printk(KERN_DEBUG "icn_map_channel %d %d\n", dev->channel, channel); |
channel | 181 | drivers/isdn/icn/icn.c | if (channel == dev->channel) |
channel | 184 | drivers/isdn/icn/icn.c | icn_shiftout(ICN_BANK, chan2bank[channel], 3, 4); /* Select Bank */ |
channel | 186 | drivers/isdn/icn/icn.c | dev->channel = channel; |
channel | 192 | drivers/isdn/icn/icn.c | static inline int icn_lock_channel(int channel) |
channel | 198 | drivers/isdn/icn/icn.c | printk(KERN_DEBUG "icn_lock_channel %d\n", channel); |
channel | 202 | drivers/isdn/icn/icn.c | if (dev->channel == channel) { |
channel | 206 | drivers/isdn/icn/icn.c | printk(KERN_DEBUG "icn_lock_channel %d OK\n", channel); |
channel | 211 | drivers/isdn/icn/icn.c | printk(KERN_DEBUG "icn_lock_channel %d FAILED, dc=%d\n", channel, dev->channel); |
channel | 232 | drivers/isdn/icn/icn.c | static inline int icn_trymaplock_channel(int channel) |
channel | 239 | drivers/isdn/icn/icn.c | printk(KERN_DEBUG "trymaplock c=%d dc=%d l=%d\n", channel, dev->channel, |
channel | 242 | drivers/isdn/icn/icn.c | if ((!dev->chanlock) || (dev->channel == channel)) { |
channel | 244 | drivers/isdn/icn/icn.c | icn_map_channel(channel); |
channel | 247 | drivers/isdn/icn/icn.c | printk(KERN_DEBUG "trymaplock %d OK\n", channel); |
channel | 253 | drivers/isdn/icn/icn.c | printk(KERN_DEBUG "trymaplock %d FAILED\n", channel); |
channel | 258 | drivers/isdn/icn/icn.c | static inline void icn_maprelease_channel(int channel) |
channel | 265 | drivers/isdn/icn/icn.c | printk(KERN_DEBUG "map_release c=%d l=%d\n", channel, dev->chanlock); |
channel | 270 | drivers/isdn/icn/icn.c | icn_map_channel(channel); |
channel | 285 | drivers/isdn/icn/icn.c | static void icn_pollbchan_receive(int channel, icn_dev * dev) |
channel | 287 | drivers/isdn/icn/icn.c | int mch = channel + ((dev->secondhalf) ? 2 : 0); |
channel | 300 | drivers/isdn/icn/icn.c | if ((dev->rcvidx[channel] + cnt) > 4000) { |
channel | 302 | drivers/isdn/icn/icn.c | channel + 1); |
channel | 303 | drivers/isdn/icn/icn.c | dev->rcvidx[channel] = 0; |
channel | 306 | drivers/isdn/icn/icn.c | memcpy(&dev->rcvbuf[channel][dev->rcvidx[channel]], rbuf_d, cnt); |
channel | 307 | drivers/isdn/icn/icn.c | dev->rcvidx[channel] += cnt; |
channel | 321 | drivers/isdn/icn/icn.c | dev->interface.rcvcallb(dev->myid, channel, dev->rcvbuf[channel], |
channel | 322 | drivers/isdn/icn/icn.c | dev->rcvidx[channel]); |
channel | 323 | drivers/isdn/icn/icn.c | dev->rcvidx[channel] = 0; |
channel | 330 | drivers/isdn/icn/icn.c | if (akt_pending > max_pending[channel]) { |
channel | 331 | drivers/isdn/icn/icn.c | max_pending[channel] = akt_pending; |
channel | 351 | drivers/isdn/icn/icn.c | static void icn_pollbchan_send(int channel, icn_dev * dev) |
channel | 353 | drivers/isdn/icn/icn.c | int mch = channel + ((dev->secondhalf) ? 2 : 0); |
channel | 361 | drivers/isdn/icn/icn.c | if (!dev->sndcount[channel]) |
channel | 364 | drivers/isdn/icn/icn.c | while (sbfree && dev->sndcount[channel]) { |
channel | 365 | drivers/isdn/icn/icn.c | left = dev->spqueue[channel]->length; |
channel | 369 | drivers/isdn/icn/icn.c | memcpy(sbuf_d, dev->spqueue[channel]->rptr, cnt); |
channel | 372 | drivers/isdn/icn/icn.c | dev->spqueue[channel]->rptr += cnt; |
channel | 373 | drivers/isdn/icn/icn.c | eflag = ((dev->spqueue[channel]->length -= cnt) == 0); |
channel | 376 | drivers/isdn/icn/icn.c | p = dev->spqueue[channel]; |
channel | 377 | drivers/isdn/icn/icn.c | dev->sndcount[channel] -= cnt; |
channel | 379 | drivers/isdn/icn/icn.c | dev->spqueue[channel] = (pqueue *) dev->spqueue[channel]->next; |
channel | 385 | drivers/isdn/icn/icn.c | cmd.arg = channel; |
channel | 680 | drivers/isdn/icn/icn.c | static int icn_sendbuf(int channel, const u_char * buffer, int len, int user, icn_dev * dev) |
channel | 688 | drivers/isdn/icn/icn.c | if (dev->sndcount[channel] > ICN_MAX_SQUEUE) |
channel | 692 | drivers/isdn/icn/icn.c | p = icn_new_buf(&dev->spqueue[channel], len); |
channel | 702 | drivers/isdn/icn/icn.c | dev->sndcount[channel] += len; |
channel | 703 | drivers/isdn/icn/icn.c | icn_pollbchan_send(channel, dev); |
channel | 807 | drivers/isdn/icn/icn.c | dev->channel = 1; /* Force Mapping */ |
channel | 1332 | drivers/isdn/icn/icn.c | static int if_sendbuf1(int id, int channel, const u_char * buffer, int len, |
channel | 1335 | drivers/isdn/icn/icn.c | return (icn_sendbuf(channel, buffer, len, user, dev)); |
channel | 1338 | drivers/isdn/icn/icn.c | static int if_sendbuf2(int id, int channel, const u_char * buffer, int len, |
channel | 1341 | drivers/isdn/icn/icn.c | return (icn_sendbuf(channel, buffer, len, user, dev2)); |
channel | 200 | drivers/isdn/icn/icn.h | int channel; /* Currently mapped Channel */ |
channel | 225 | drivers/isdn/isdn_common.c | static void isdn_receive_callback(int di, int channel, u_char * buf, int len) |
channel | 234 | drivers/isdn/isdn_common.c | if ((i = isdn_dc2minor(di,channel))==-1) |
channel | 257 | drivers/isdn/isdn_common.c | if (!dev->drv[di]->rpqueue[channel]) |
channel | 265 | drivers/isdn/isdn_common.c | p = isdn_new_buf(&dev->drv[di]->rpqueue[channel], len); |
channel | 268 | drivers/isdn/isdn_common.c | dev->drv[di]->rcverr[channel]++; |
channel | 273 | drivers/isdn/isdn_common.c | dev->drv[di]->rcvcount[channel] += len; |
channel | 280 | drivers/isdn/isdn_common.c | wake_up_interruptible(&dev->drv[di]->rcv_waitq[channel]); |
channel | 584 | drivers/isdn/isdn_common.c | int isdn_readbchan(int di, int channel, u_char * buf, u_char * fp, int len, int user) |
channel | 595 | drivers/isdn/isdn_common.c | if (!dev->drv[di]->rpqueue[channel]) { |
channel | 597 | drivers/isdn/isdn_common.c | interruptible_sleep_on(&dev->drv[di]->rcv_waitq[channel]); |
channel | 605 | drivers/isdn/isdn_common.c | avail = dev->drv[di]->rcvcount[channel]; |
channel | 611 | drivers/isdn/isdn_common.c | if ((copy_l = dev->drv[di]->rpqueue[channel]->length) > left) { |
channel | 616 | drivers/isdn/isdn_common.c | p = dev->drv[di]->rpqueue[channel]; |
channel | 633 | drivers/isdn/isdn_common.c | dev->drv[di]->rpqueue[channel] = (pqueue *) p->next; |
channel | 642 | drivers/isdn/isdn_common.c | dev->drv[di]->rcvcount[channel] -= copy_l; |
channel | 52 | drivers/isdn/isdn_common.h | extern int isdn_readbchan (int di, int channel, u_char *buf, |
channel | 112 | drivers/isdn/teles/teles.h | int channel; |
channel | 7575 | drivers/scsi/advansys.c | ushort channel; |
channel | 7577 | drivers/scsi/advansys.c | channel = AscGetChipCfgLsw(iop_base) & 0x0003; |
channel | 7578 | drivers/scsi/advansys.c | if (channel == 0x03) |
channel | 7580 | drivers/scsi/advansys.c | else if (channel == 0x00) |
channel | 7582 | drivers/scsi/advansys.c | return (channel + 4); |
channel | 2926 | drivers/scsi/aha152x.c | scd->channel, scd->id, scd->lun); |
channel | 1067 | drivers/scsi/aic7xxx.c | int target, char channel) |
channel | 1085 | drivers/scsi/aic7xxx.c | "above.\n", target, channel, aic7xxx_syncrates[i].english); |
channel | 1108 | drivers/scsi/aic7xxx.c | target, channel, aic7xxx_syncrates[i].english, offset); |
channel | 1118 | drivers/scsi/aic7xxx.c | target, channel); |
channel | 1190 | drivers/scsi/aic7xxx.c | aic7xxx_match_scb(struct aic7xxx_scb *scb, int target, char channel) |
channel | 1197 | drivers/scsi/aic7xxx.c | target, channel, targ, chan); |
channel | 1201 | drivers/scsi/aic7xxx.c | return (chan == channel); |
channel | 1205 | drivers/scsi/aic7xxx.c | return ((chan == channel) && (targ == target)); |
channel | 1217 | drivers/scsi/aic7xxx.c | aic7xxx_busy_target(unsigned char target, char channel, int base) |
channel | 1222 | drivers/scsi/aic7xxx.c | if ((target > 0x07) || (channel == 'B')) |
channel | 1243 | drivers/scsi/aic7xxx.c | aic7xxx_unbusy_target(unsigned char target, char channel, int base) |
channel | 1250 | drivers/scsi/aic7xxx.c | target, channel); |
channel | 1252 | drivers/scsi/aic7xxx.c | if ((target > 0x07) || (channel == 'B')) |
channel | 1280 | drivers/scsi/aic7xxx.c | cmd->target, cmd->channel); |
channel | 1365 | drivers/scsi/aic7xxx.c | char channel = (scb->target_channel_lun & SELBUSB) ? 'B' : 'A'; |
channel | 1381 | drivers/scsi/aic7xxx.c | aic7xxx_unbusy_target(target, channel, base); |
channel | 1421 | drivers/scsi/aic7xxx.c | "to_scb %d, next %d\n", target, channel, prev, timedout_scb, next); |
channel | 1435 | drivers/scsi/aic7xxx.c | aic7xxx_reset_device(struct aic7xxx_host *p, int target, char channel, |
channel | 1451 | drivers/scsi/aic7xxx.c | "active_scb %d\n", target, channel, timedout_scb, active_scb); |
channel | 1464 | drivers/scsi/aic7xxx.c | if (aic7xxx_match_scb(scb, target, channel)) |
channel | 1502 | drivers/scsi/aic7xxx.c | if (aic7xxx_match_scb(scb, target, channel)) |
channel | 1525 | drivers/scsi/aic7xxx.c | if ((scb->state & SCB_ACTIVE) && aic7xxx_match_scb(scb, target, channel)) |
channel | 1530 | drivers/scsi/aic7xxx.c | aic7xxx_unbusy_target(target, channel, base); |
channel | 1570 | drivers/scsi/aic7xxx.c | aic7xxx_reset_channel(struct aic7xxx_host *p, char channel, |
channel | 1581 | drivers/scsi/aic7xxx.c | channel, timedout_scb); |
channel | 1587 | drivers/scsi/aic7xxx.c | found = aic7xxx_reset_device(p, ALL_TARGETS, channel, timedout_scb); |
channel | 1589 | drivers/scsi/aic7xxx.c | if (channel == 'B') |
channel | 1641 | drivers/scsi/aic7xxx.c | if (cur_channel != channel) |
channel | 1645 | drivers/scsi/aic7xxx.c | channel); |
channel | 1663 | drivers/scsi/aic7xxx.c | channel); |
channel | 1694 | drivers/scsi/aic7xxx.c | char channel; |
channel | 1789 | drivers/scsi/aic7xxx.c | channel = 'A'; |
channel | 1792 | drivers/scsi/aic7xxx.c | channel = 'B'; |
channel | 1811 | drivers/scsi/aic7xxx.c | scsi_id, channel); |
channel | 1818 | drivers/scsi/aic7xxx.c | "from target %d channel %c.\n", rej_byte, scsi_id, channel); |
channel | 1825 | drivers/scsi/aic7xxx.c | scsi_id, channel, inb(SAVED_TCL + base)); |
channel | 1831 | drivers/scsi/aic7xxx.c | scsi_id, channel, inb(SAVED_TCL + base)); |
channel | 1832 | drivers/scsi/aic7xxx.c | aic7xxx_unbusy_target(scsi_id, channel, base); |
channel | 1861 | drivers/scsi/aic7xxx.c | scsi_id, channel); |
channel | 1909 | drivers/scsi/aic7xxx.c | "needwdtr(0x%x).\n", scsi_id, channel, p->needwdtr); |
channel | 1926 | drivers/scsi/aic7xxx.c | "transfers.\n", scsi_id, channel); |
channel | 1933 | drivers/scsi/aic7xxx.c | "transfers, rejecting...\n", scsi_id, channel); |
channel | 1958 | drivers/scsi/aic7xxx.c | "transfers.\n", scsi_id, channel); |
channel | 1991 | drivers/scsi/aic7xxx.c | "Using 8 bit transfers.\n", scsi_id, channel); |
channel | 2005 | drivers/scsi/aic7xxx.c | scsi_id, channel); |
channel | 2084 | drivers/scsi/aic7xxx.c | aic7xxx_busy_target(scsi_id, channel, base); |
channel | 2186 | drivers/scsi/aic7xxx.c | scsi_id, channel, cmd->lun & 0x07); |
channel | 2240 | drivers/scsi/aic7xxx.c | aic7xxx_unbusy_target(scsi_id, channel, base); |
channel | 2248 | drivers/scsi/aic7xxx.c | found = aic7xxx_reset_device(p, (int) scsi_id, channel, SCB_LIST_NULL); |
channel | 2315 | drivers/scsi/aic7xxx.c | cmd->target, cmd->channel & 0x01, cmd->lun & 0x07); |
channel | 2353 | drivers/scsi/aic7xxx.c | channel = 'A'; |
channel | 2356 | drivers/scsi/aic7xxx.c | channel = 'B'; |
channel | 2401 | drivers/scsi/aic7xxx.c | aic7xxx_unbusy_target(scsi_id, channel, base); |
channel | 2524 | drivers/scsi/aic7xxx.c | sp = &p->stats[cmd->channel & 0x01][cmd->target & 0x0F][cmd->lun & 0x07]; |
channel | 4037 | drivers/scsi/aic7xxx.c | "channel %d.\n", cmd->target, cmd->channel); |
channel | 4046 | drivers/scsi/aic7xxx.c | mask = (0x01 << (cmd->target | (cmd->channel << 3))); |
channel | 4077 | drivers/scsi/aic7xxx.c | ((cmd->channel & 0x01) << 3) | (cmd->lun & 0x07); |
channel | 4157 | drivers/scsi/aic7xxx.c | if (!p->a_scanned && (cmd->channel == 0)) |
channel | 4164 | drivers/scsi/aic7xxx.c | if (!p->b_scanned && (cmd->channel == 1)) |
channel | 4173 | drivers/scsi/aic7xxx.c | cmd->cmnd[0], cmd->cmd_len, cmd->target, cmd->channel, |
channel | 4311 | drivers/scsi/aic7xxx.c | char channel = scb->target_channel_lun & SELBUSB ? 'B': 'A'; |
channel | 4334 | drivers/scsi/aic7xxx.c | found = aic7xxx_reset_channel(p, channel, scb->position); |
channel | 4397 | drivers/scsi/aic7xxx.c | channel = (active_scbp->target_channel_lun & SELBUSB) ? 'B': 'A'; |
channel | 4398 | drivers/scsi/aic7xxx.c | aic7xxx_reset_channel(p, channel, scb->position); |
channel | 4436 | drivers/scsi/aic7xxx.c | aic7xxx_reset_channel(p, channel, scb->position); |
channel | 4528 | drivers/scsi/aic7xxx.c | printk ("aic7xxx: (abort) target/channel %d/%d\n", cmd->target, cmd->channel); |
channel | 4560 | drivers/scsi/aic7xxx.c | printk ("aic7xxx: (reset) target/channel %d/%d\n", cmd->target, cmd->channel); |
channel | 194 | drivers/scsi/aic7xxx_proc.c | int channel, target, lun; |
channel | 201 | drivers/scsi/aic7xxx_proc.c | for (channel = 0; channel < 2; channel++) |
channel | 207 | drivers/scsi/aic7xxx_proc.c | sp = &p->stats[channel][target][lun]; |
channel | 213 | drivers/scsi/aic7xxx_proc.c | 'A' + channel, target, lun); |
channel | 143 | drivers/scsi/eata_dma.c | if (SD(sh)->channel == 0) { |
channel | 294 | drivers/scsi/eata_dma.c | cmd->device->channel, cmd->device->id, cmd->device->lun, |
channel | 497 | drivers/scsi/eata_dma.c | cp->cp_channel = cmd->channel; |
channel | 1030 | drivers/scsi/eata_dma.c | hd->channel = gc->MAX_CHAN; |
channel | 1333 | drivers/scsi/eata_dma.c | printk(" %d %d %c %2d %2d %2d\n", SD(HBA_ptr)->channel, |
channel | 162 | drivers/scsi/eata_dma_proc.c | SDev.channel = 0; |
channel | 181 | drivers/scsi/eata_dma_proc.c | scmd.channel = 0; |
channel | 221 | drivers/scsi/eata_dma_proc.h | __u8 channel; |
channel | 336 | drivers/scsi/eata_generic.h | __u8 channel; /* # of avail. scsi channels */ |
channel | 365 | drivers/scsi/eata_generic.h | __u8 channel; /* SCSI channel number */ |
channel | 104 | drivers/scsi/eata_pio.c | if (SD(sh)->channel == 0) { |
channel | 796 | drivers/scsi/eata_pio.c | hd->channel = 0; |
channel | 1012 | drivers/scsi/eata_pio.c | (uint) HBA_ptr->base, HBA_ptr->irq, SD(HBA_ptr)->channel, |
channel | 80 | drivers/scsi/scsi.c | static int scan_scsis_single (int channel,int dev,int lun,int * max_scsi_dev , |
channel | 393 | drivers/scsi/scsi.c | int dev, lun, channel; |
channel | 425 | drivers/scsi/scsi.c | channel = hchannel; |
channel | 426 | drivers/scsi/scsi.c | if(channel > shpnt->max_channel) goto leave; |
channel | 431 | drivers/scsi/scsi.c | scan_scsis_single (channel, dev, lun, &max_dev_lun, |
channel | 454 | drivers/scsi/scsi.c | for (channel = 0; channel <= shpnt->max_channel; channel++) { |
channel | 466 | drivers/scsi/scsi.c | if (!scan_scsis_single (channel, dev, lun, &max_dev_lun, |
channel | 509 | drivers/scsi/scsi.c | int scan_scsis_single (int channel, int dev, int lun, int *max_dev_lun, |
channel | 527 | drivers/scsi/scsi.c | SDpnt->channel = channel; |
channel | 548 | drivers/scsi/scsi.c | SCpnt->channel = SDpnt->channel; |
channel | 952 | drivers/scsi/scsi.c | SCpnt->channel = device->channel; |
channel | 1063 | drivers/scsi/scsi.c | "lun %d\n", device->channel, device->id, device->lun); |
channel | 1124 | drivers/scsi/scsi.c | SCpnt->channel = device->channel; |
channel | 1165 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->channel, SCpnt->target, SCpnt->cmnd, |
channel | 1260 | drivers/scsi/scsi.c | "command : " , host->host_no, SCpnt->channel, target, buffer, |
channel | 1307 | drivers/scsi/scsi.c | SCpnt->channel = channel; |
channel | 1358 | drivers/scsi/scsi.c | printk("scsi%d, channel%d : ", SCpnt->host->host_no, SCpnt->channel); |
channel | 1477 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->channel, SCpnt->target, |
channel | 1579 | drivers/scsi/scsi.c | " reset.\n", SCpnt->host->host_no, SCpnt->channel); |
channel | 1701 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->channel); |
channel | 1820 | drivers/scsi/scsi.c | SCpnt->channel, SCpnt->target, SCpnt->lun); |
channel | 1831 | drivers/scsi/scsi.c | SCpnt->pid, SCpnt->host->host_no, (int) SCpnt->channel, |
channel | 2322 | drivers/scsi/scsi.c | SCpnt->channel = SDpnt->channel; |
channel | 2539 | drivers/scsi/scsi.c | || scd->channel != parameter[1] |
channel | 3111 | drivers/scsi/scsi.c | SCpnt->channel, |
channel | 155 | drivers/scsi/scsi.h | unsigned char id, lun, channel; |
channel | 347 | drivers/scsi/scsi.h | unsigned char target, lun, channel; |
channel | 315 | drivers/scsi/scsi_ioctl.c | + (dev->channel << 16) |
channel | 263 | drivers/scsi/scsi_proc.c | scd->host->host_no, scd->channel, scd->id, scd->lun); |
channel | 388 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].device->channel, |
channel | 1335 | drivers/scsi/sd.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
channel | 511 | drivers/scsi/sg.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
channel | 932 | drivers/scsi/sr.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
channel | 2148 | drivers/scsi/st.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
channel | 309 | drivers/sound/midi_synth.c | midi_synth_kill_note (int dev, int channel, int note, int velocity) |
channel | 316 | drivers/sound/midi_synth.c | if (channel < 0 || channel > 15) |
channel | 328 | drivers/sound/midi_synth.c | if (chn == channel && ((msg == 0x90 && velocity == 64) || msg == 0x80)) |
channel | 351 | drivers/sound/midi_synth.c | if (!prefix_cmd (orig_dev, 0x90 | (channel & 0x0f))) |
channel | 353 | drivers/sound/midi_synth.c | midi_outc (orig_dev, 0x90 | (channel & 0x0f)); /* |
channel | 363 | drivers/sound/midi_synth.c | if (!prefix_cmd (orig_dev, 0x80 | (channel & 0x0f))) |
channel | 365 | drivers/sound/midi_synth.c | midi_outc (orig_dev, 0x80 | (channel & 0x0f)); /* |
channel | 377 | drivers/sound/midi_synth.c | midi_synth_set_instr (int dev, int channel, int instr_no) |
channel | 383 | drivers/sound/midi_synth.c | if (channel < 0 || channel > 15) |
channel | 388 | drivers/sound/midi_synth.c | if (!prefix_cmd (orig_dev, 0xc0 | (channel & 0x0f))) |
channel | 390 | drivers/sound/midi_synth.c | midi_outc (orig_dev, 0xc0 | (channel & 0x0f)); /* |
channel | 399 | drivers/sound/midi_synth.c | midi_synth_start_note (int dev, int channel, int note, int velocity) |
channel | 406 | drivers/sound/midi_synth.c | if (channel < 0 || channel > 15) |
channel | 418 | drivers/sound/midi_synth.c | if (chn == channel && msg == 0x90) |
channel | 429 | drivers/sound/midi_synth.c | if (!prefix_cmd (orig_dev, 0x90 | (channel & 0x0f))) |
channel | 431 | drivers/sound/midi_synth.c | midi_outc (orig_dev, 0x90 | (channel & 0x0f)); /* |
channel | 603 | drivers/sound/midi_synth.c | midi_synth_panning (int dev, int channel, int pressure) |
channel | 608 | drivers/sound/midi_synth.c | midi_synth_aftertouch (int dev, int channel, int pressure) |
channel | 615 | drivers/sound/midi_synth.c | if (channel < 0 || channel > 15) |
channel | 623 | drivers/sound/midi_synth.c | if (msg != 0xd0 || chn != channel) /* |
channel | 627 | drivers/sound/midi_synth.c | if (!prefix_cmd (orig_dev, 0xd0 | (channel & 0x0f))) |
channel | 629 | drivers/sound/midi_synth.c | midi_outc (orig_dev, 0xd0 | (channel & 0x0f)); /* |
channel | 640 | drivers/sound/midi_synth.c | midi_synth_controller (int dev, int channel, int ctrl_num, int value) |
channel | 647 | drivers/sound/midi_synth.c | if (channel < 0 || channel > 15) |
channel | 655 | drivers/sound/midi_synth.c | if (msg != 0xb0 || chn != channel) |
channel | 657 | drivers/sound/midi_synth.c | if (!prefix_cmd (orig_dev, 0xb0 | (channel & 0x0f))) |
channel | 659 | drivers/sound/midi_synth.c | midi_outc (orig_dev, 0xb0 | (channel & 0x0f)); |
channel | 675 | drivers/sound/midi_synth.c | midi_synth_bender (int dev, int channel, int value) |
channel | 680 | drivers/sound/midi_synth.c | if (channel < 0 || channel > 15) |
channel | 691 | drivers/sound/midi_synth.c | if (msg != 0xd0 || prev_chn != channel) /* |
channel | 695 | drivers/sound/midi_synth.c | if (!prefix_cmd (orig_dev, 0xe0 | (channel & 0x0f))) |
channel | 697 | drivers/sound/midi_synth.c | midi_outc (orig_dev, 0xe0 | (channel & 0x0f)); |
channel | 707 | drivers/sound/midi_synth.c | midi_synth_setup_voice (int dev, int voice, int channel) |
channel | 3 | drivers/sound/midi_synth.h | int midi_synth_kill_note (int dev, int channel, int note, int velocity); |
channel | 4 | drivers/sound/midi_synth.h | int midi_synth_set_instr (int dev, int channel, int instr_no); |
channel | 5 | drivers/sound/midi_synth.h | int midi_synth_start_note (int dev, int channel, int note, int volume); |
channel | 12 | drivers/sound/midi_synth.h | void midi_synth_panning (int dev, int channel, int pressure); |
channel | 13 | drivers/sound/midi_synth.h | void midi_synth_aftertouch (int dev, int channel, int pressure); |
channel | 14 | drivers/sound/midi_synth.h | void midi_synth_controller (int dev, int channel, int ctrl_num, int value); |
channel | 138 | drivers/sound/opl3.c | if (ins.channel < 0 || ins.channel >= SBFM_MAXINSTR) |
channel | 140 | drivers/sound/opl3.c | printk ("FM Error: Invalid instrument number %d\n", ins.channel); |
channel | 144 | drivers/sound/opl3.c | pmgr_inform (dev, PM_E_PATCH_LOADED, ins.channel, 0, 0, 0); |
channel | 145 | drivers/sound/opl3.c | return store_instr (ins.channel, &ins); |
channel | 450 | drivers/sound/opl3.c | if (instr->channel < 0) |
channel | 578 | drivers/sound/opl3.c | if (instr->channel < 0) |
channel | 895 | drivers/sound/opl3.c | if (ins.channel < 0 || ins.channel >= SBFM_MAXINSTR) |
channel | 897 | drivers/sound/opl3.c | printk ("FM Error: Invalid instrument number %d\n", ins.channel); |
channel | 902 | drivers/sound/opl3.c | return store_instr (ins.channel, &ins); |
channel | 1084 | drivers/sound/opl3.c | if (instr->channel < 0 || /* Instrument not loaded */ |
channel | 1258 | drivers/sound/opl3.c | devc->i_map[i].channel = -1; |
channel | 20 | include/asm-mips/jazzdma.h | void vdma_enable(int channel); |
channel | 21 | include/asm-mips/jazzdma.h | void vdma_disable(int channel); |
channel | 22 | include/asm-mips/jazzdma.h | void vdma_set_mode(int channel, int mode); |
channel | 23 | include/asm-mips/jazzdma.h | void vdma_set_addr(int channel, long addr); |
channel | 24 | include/asm-mips/jazzdma.h | void vdma_set_count(int channel, int count); |
channel | 25 | include/asm-mips/jazzdma.h | int vdma_get_residue(int channel); |
channel | 485 | include/linux/soundcard.h | int channel; /* Program# to be initialized */ |