CHA 338 drivers/char/pcmcia/synclink_cs.c if (channel == CHA) { CHA 340 drivers/char/pcmcia/synclink_cs.c write_reg16(info, CHA + IMR, info->imra_value); CHA 348 drivers/char/pcmcia/synclink_cs.c if (channel == CHA) { CHA 350 drivers/char/pcmcia/synclink_cs.c write_reg16(info, CHA + IMR, info->imra_value); CHA 844 drivers/char/pcmcia/synclink_cs.c issue_command(info, CHA, CMD_RXRESET); CHA 853 drivers/char/pcmcia/synclink_cs.c fifo_count = (unsigned char)(read_reg(info, CHA+RBCL) & 0x1f); CHA 862 drivers/char/pcmcia/synclink_cs.c data[0] = read_reg(info, CHA + RXFIFO); CHA 865 drivers/char/pcmcia/synclink_cs.c *((unsigned short *) data) = read_reg16(info, CHA + RXFIFO); CHA 874 drivers/char/pcmcia/synclink_cs.c issue_command(info, CHA, CMD_RXRESET); CHA 890 drivers/char/pcmcia/synclink_cs.c issue_command(info, CHA, CMD_RXFIFO); CHA 903 drivers/char/pcmcia/synclink_cs.c fifo_count = (unsigned char)(read_reg(info, CHA+RBCL) & 0x1f); CHA 908 drivers/char/pcmcia/synclink_cs.c if (!fifo_count && (read_reg(info,CHA+STAR) & BIT5)) CHA 916 drivers/char/pcmcia/synclink_cs.c data = read_reg(info, CHA + RXFIFO); CHA 917 drivers/char/pcmcia/synclink_cs.c status = read_reg(info, CHA + RXFIFO); CHA 946 drivers/char/pcmcia/synclink_cs.c issue_command(info, CHA, CMD_RXFIFO); CHA 1025 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + TXFIFO, *(info->tx_buf + info->tx_get)); CHA 1027 drivers/char/pcmcia/synclink_cs.c write_reg16(info, CHA + TXFIFO, CHA 1038 drivers/char/pcmcia/synclink_cs.c issue_command(info, CHA, CMD_TXFIFO); CHA 1041 drivers/char/pcmcia/synclink_cs.c issue_command(info, CHA, CMD_TXFIFO); CHA 1043 drivers/char/pcmcia/synclink_cs.c issue_command(info, CHA, CMD_TXFIFO + CMD_TXEOM); CHA 1175 drivers/char/pcmcia/synclink_cs.c while ((gis = read_reg(info, CHA + GIS))) { CHA 1194 drivers/char/pcmcia/synclink_cs.c isr = read_reg16(info, CHA + ISR); CHA 1197 drivers/char/pcmcia/synclink_cs.c irq_disable(info, CHA, IRQ_TIMER); CHA 1211 drivers/char/pcmcia/synclink_cs.c issue_command(info, CHA, CMD_RXFIFO_READ); CHA 1236 drivers/char/pcmcia/synclink_cs.c pis = read_reg(info, CHA + PIS); CHA 1992 drivers/char/pcmcia/synclink_cs.c irq_enable(info, CHA, IRQ_EXITHUNT); CHA 2053 drivers/char/pcmcia/synclink_cs.c irq_disable(info, CHA, IRQ_EXITHUNT); CHA 2184 drivers/char/pcmcia/synclink_cs.c set_reg_bits(info, CHA+DAFO, BIT6); CHA 2186 drivers/char/pcmcia/synclink_cs.c clear_reg_bits(info, CHA+DAFO, BIT6); CHA 2997 drivers/char/pcmcia/synclink_cs.c val = read_reg(info, CHA + CCR1) | (BIT2 | BIT1 | BIT0); CHA 2998 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + CCR1, val); CHA 3001 drivers/char/pcmcia/synclink_cs.c val = read_reg(info, CHA + CCR2) | (BIT4 | BIT5); CHA 3002 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + CCR2, val); CHA 3006 drivers/char/pcmcia/synclink_cs.c mgslpc_set_rate(info, CHA, info->params.clock_speed); CHA 3008 drivers/char/pcmcia/synclink_cs.c mgslpc_set_rate(info, CHA, 1843200); CHA 3011 drivers/char/pcmcia/synclink_cs.c val = read_reg(info, CHA + MODE) | BIT0; CHA 3012 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + MODE, val); CHA 3021 drivers/char/pcmcia/synclink_cs.c irq_disable(info, CHA, 0xffff); CHA 3069 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + MODE, val); CHA 3097 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + CCR0, val); CHA 3111 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + CCR1, val); CHA 3135 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + CCR2, val); CHA 3166 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + CCR3, val); CHA 3177 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + PRE, val); CHA 3191 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + CCR4, val); CHA 3193 drivers/char/pcmcia/synclink_cs.c mgslpc_set_rate(info, CHA, info->params.clock_speed * 16); CHA 3195 drivers/char/pcmcia/synclink_cs.c mgslpc_set_rate(info, CHA, info->params.clock_speed); CHA 3202 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + RLCR, 0); CHA 3217 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + XBCH, val); CHA 3225 drivers/char/pcmcia/synclink_cs.c set_reg_bits(info, CHA + PVR, BIT3); CHA 3227 drivers/char/pcmcia/synclink_cs.c clear_reg_bits(info, CHA + PVR, BIT3); CHA 3229 drivers/char/pcmcia/synclink_cs.c irq_enable(info, CHA, CHA 3232 drivers/char/pcmcia/synclink_cs.c issue_command(info, CHA, CMD_TXRESET + CMD_RXRESET); CHA 3233 drivers/char/pcmcia/synclink_cs.c wait_command_complete(info, CHA); CHA 3234 drivers/char/pcmcia/synclink_cs.c read_reg16(info, CHA + ISR); /* clear pending IRQs */ CHA 3247 drivers/char/pcmcia/synclink_cs.c clear_reg_bits(info, CHA + CCR0, BIT6); CHA 3262 drivers/char/pcmcia/synclink_cs.c clear_reg_bits(info, CHA + MODE, BIT3); CHA 3279 drivers/char/pcmcia/synclink_cs.c set_reg_bits(info, CHA + MODE, BIT3); CHA 3339 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + CCR0, 0x80); CHA 3341 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + MODE, 0); CHA 3345 drivers/char/pcmcia/synclink_cs.c irq_disable(info, CHA, 0xffff); CHA 3391 drivers/char/pcmcia/synclink_cs.c irq_disable(info, CHA, 0xffff); CHA 3415 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + MODE, val); CHA 3427 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + CCR0, 0x83); CHA 3438 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + CCR1, 0x1f); CHA 3452 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + CCR2, 0x10); CHA 3461 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + CCR3, 0); CHA 3473 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + CCR4, 0x50); CHA 3474 drivers/char/pcmcia/synclink_cs.c mgslpc_set_rate(info, CHA, info->params.data_rate * 16); CHA 3499 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + DAFO, val); CHA 3513 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + RFC, 0x5c); CHA 3519 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + RLCR, 0); CHA 3534 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + XBCH, val); CHA 3536 drivers/char/pcmcia/synclink_cs.c irq_enable(info, CHA, IRQ_CTS); CHA 3539 drivers/char/pcmcia/synclink_cs.c set_reg_bits(info, CHA + MODE, BIT3); CHA 3544 drivers/char/pcmcia/synclink_cs.c set_reg_bits(info, CHA + PVR, BIT3); CHA 3546 drivers/char/pcmcia/synclink_cs.c clear_reg_bits(info, CHA + PVR, BIT3); CHA 3547 drivers/char/pcmcia/synclink_cs.c irq_enable(info, CHA, CHA 3550 drivers/char/pcmcia/synclink_cs.c issue_command(info, CHA, CMD_TXRESET + CMD_RXRESET); CHA 3551 drivers/char/pcmcia/synclink_cs.c wait_command_complete(info, CHA); CHA 3552 drivers/char/pcmcia/synclink_cs.c read_reg16(info, CHA + ISR); /* clear pending IRQs */ CHA 3561 drivers/char/pcmcia/synclink_cs.c set_reg_bits(info, CHA + CCR1, BIT3); CHA 3563 drivers/char/pcmcia/synclink_cs.c clear_reg_bits(info, CHA + CCR1, BIT3); CHA 3580 drivers/char/pcmcia/synclink_cs.c status = read_reg(info, CHA + PVR); CHA 3594 drivers/char/pcmcia/synclink_cs.c val = read_reg(info, CHA + MODE); CHA 3606 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + MODE, val); CHA 3609 drivers/char/pcmcia/synclink_cs.c clear_reg_bits(info, CHA + PVR, PVR_DTR); CHA 3611 drivers/char/pcmcia/synclink_cs.c set_reg_bits(info, CHA + PVR, PVR_DTR); CHA 3758 drivers/char/pcmcia/synclink_cs.c irq_enable(info, CHA, IRQ_TIMER); CHA 3759 drivers/char/pcmcia/synclink_cs.c write_reg(info, CHA + TIMR, 0); /* 512 cycles */ CHA 3760 drivers/char/pcmcia/synclink_cs.c issue_command(info, CHA, CMD_START_TIMER);