Lines Matching defs:channel
201 u16 channel;
263 u16 channel = port->channel;
268 outw(0x8000 | (channel << card->shift_count) | 0x02, base);
279 u16 channel = port->channel;
284 outw(0x8000 | (channel << card->shift_count) | 0x02, base);
295 u16 channel = port->channel;
300 outw(0x8000 | (channel << card->shift_count) | 0x02, base);
311 u16 channel = port->channel;
316 outw(0x8000 | (channel << card->shift_count) | 0x02, base);
329 u16 channel = ip->channel;
335 outw(0x8000 | (channel << card->shift_count) | 0x02, base);
340 outw(0x8000 | (channel << card->shift_count) | 0x02, base);
353 u16 channel = port->channel;
358 outw(0x8000 | (channel << card->shift_count) | 0x02, base);
441 if (!(inw(base + 0x02) & (1 << port->channel)))
445 txcount, port->channel + 1);
446 outw((port->channel << isi_card[card].shift_count) | txcount,
513 u16 header, word_count, count, channel;
537 channel = (header & 0x7800) >> card->shift_count;
540 if (channel + 1 > card->port_count) {
541 pr_warn("%s(0x%lx): %d(channel) > port_count\n",
542 __func__, base, channel + 1);
547 port = card->ports + channel;
658 __func__, base, channel + 1);
680 u16 channel_setup, channel = port->channel,
724 outw(0x8000 | (channel << shift_count) | 0x03, base);
765 outw(0x8000 | (channel << shift_count) | 0x04, base);
773 card->port_status |= (1 << channel);
782 int channel;
788 for (channel = 0; channel < bp->port_count; channel++, port++)
813 outw(0x8000 | (port->channel << card->shift_count) | 0x02,
910 card->port_status &= ~(1 << ip->channel);
1042 outw(0x8000 | ((port->channel) << (card->shift_count)) | 0x3, base);
1186 card->port_status &= ~(1 << port->channel);
1200 card->port_status |= (1 << port->channel);
1620 int retval, idx, channel;
1627 for (channel = 0; channel < 16; channel++, port++) {
1630 port->channel = channel;