Lines Matching refs:index
1024 cyy_issue_cmd(volatile ucchar *base_addr, u_char cmd, int index) in cyy_issue_cmd() argument
1030 if (cy_readb(base_addr+(CyCCR<<index)) == 0){ in cyy_issue_cmd()
1040 cy_writeb((u_long)base_addr+(CyCCR<<index), cmd); in cyy_issue_cmd()
1053 int index = 0; /* IRQ probing is only for ISA */ in detect_isa_irq() local
1059 cy_writeb((u_long)address + (Cy_ClrIntr<<index), 0); in detect_isa_irq()
1068 cy_writeb((u_long)address + (CyCAR<<index), 0); in detect_isa_irq()
1069 cyy_issue_cmd(address, CyCHAN_CTL|CyENB_XMTR, index); in detect_isa_irq()
1071 cy_writeb((u_long)address + (CyCAR<<index), 0); in detect_isa_irq()
1072 cy_writeb((u_long)address + (CySRER<<index), in detect_isa_irq()
1073 cy_readb(address + (CySRER<<index)) | CyTxRdy); in detect_isa_irq()
1083 save_xir = (u_char) cy_readb(address + (CyTIR<<index)); in detect_isa_irq()
1084 save_car = cy_readb(address + (CyCAR<<index)); in detect_isa_irq()
1085 cy_writeb((u_long)address + (CyCAR<<index), (save_xir & 0x3)); in detect_isa_irq()
1086 cy_writeb((u_long)address + (CySRER<<index), in detect_isa_irq()
1087 cy_readb(address + (CySRER<<index)) & ~CyTxRdy); in detect_isa_irq()
1088 cy_writeb((u_long)address + (CyTIR<<index), (save_xir & 0x3f)); in detect_isa_irq()
1089 cy_writeb((u_long)address + (CyCAR<<index), (save_car)); in detect_isa_irq()
1090 cy_writeb((u_long)address + (Cy_ClrIntr<<index), 0); in detect_isa_irq()
1114 int i,j,index; in cyy_interrupt() local
1128 index = cinfo->bus_index; in cyy_interrupt()
1140 (cinfo->base_addr + (cy_chip_offset[chip]<<index)); in cyy_interrupt()
1142 while ( (status = cy_readb(base_addr+(CySVRR<<index))) != 0x00) { in cyy_interrupt()
1158 save_xir = (u_char) cy_readb(base_addr+(CyRIR<<index)); in cyy_interrupt()
1163 save_car = cy_readb(base_addr+(CyCAR<<index)); in cyy_interrupt()
1164 cy_writeb((u_long)base_addr+(CyCAR<<index), save_xir); in cyy_interrupt()
1168 j = (cy_readb(base_addr+(CyRIVR<<index)) & CyIVRMask); in cyy_interrupt()
1170 data = cy_readb(base_addr+(CyRDSR<<index)); in cyy_interrupt()
1172 char_count = cy_readb(base_addr+(CyRDCR<<index)); in cyy_interrupt()
1174 data = cy_readb(base_addr+(CyRDSR<<index)); in cyy_interrupt()
1179 j = (cy_readb(base_addr+(CyRIVR<<index)) & CyIVRMask); in cyy_interrupt()
1181 data = cy_readb(base_addr+(CyRDSR<<index)); in cyy_interrupt()
1204 cy_readb(base_addr+(CyRDSR<<index)); in cyy_interrupt()
1213 cy_readb(base_addr+(CyRDSR<<index)); in cyy_interrupt()
1220 cy_readb(base_addr+(CyRDSR<<index)); in cyy_interrupt()
1238 cy_readb(base_addr+(CyRDSR<<index)); in cyy_interrupt()
1265 char_count = cy_readb(base_addr+(CyRDCR<<index)); in cyy_interrupt()
1281 data = cy_readb(base_addr+(CyRDSR<<index)); in cyy_interrupt()
1293 cy_writeb((u_long)base_addr+(CyRIR<<index), (save_xir & 0x3f)); in cyy_interrupt()
1294 cy_writeb((u_long)base_addr+(CyCAR<<index), (save_car)); in cyy_interrupt()
1309 save_xir = (u_char) cy_readb(base_addr+(CyTIR<<index)); in cyy_interrupt()
1312 save_car = cy_readb(base_addr+(CyCAR<<index)); in cyy_interrupt()
1313 cy_writeb((u_long)base_addr+(CyCAR<<index), save_xir); in cyy_interrupt()
1317 cy_writeb((u_long)base_addr+(CySRER<<index), in cyy_interrupt()
1318 cy_readb(base_addr+(CySRER<<index)) & ~CyTxRdy); in cyy_interrupt()
1324 cy_writeb((u_long)base_addr+(CySRER<<index), in cyy_interrupt()
1325 cy_readb(base_addr+(CySRER<<index)) & ~CyTxRdy); in cyy_interrupt()
1334 cy_writeb((u_long)base_addr+(CyTDR<<index), outch); in cyy_interrupt()
1342 cy_writeb((u_long)base_addr + (CyTDR<<index), 0); in cyy_interrupt()
1343 cy_writeb((u_long)base_addr + (CyTDR<<index), 0x81); in cyy_interrupt()
1348 cy_writeb((u_long)base_addr + (CyTDR<<index), 0); in cyy_interrupt()
1349 cy_writeb((u_long)base_addr + (CyTDR<<index), 0x83); in cyy_interrupt()
1357 if (cy_readb(base_addr+(CySRER<<index))&CyTxMpty) { in cyy_interrupt()
1358 cy_writeb((u_long)base_addr+(CySRER<<index), in cyy_interrupt()
1359 cy_readb(base_addr+(CySRER<<index)) & in cyy_interrupt()
1362 cy_writeb((u_long)base_addr+(CySRER<<index), in cyy_interrupt()
1363 ((cy_readb(base_addr+(CySRER<<index)) in cyy_interrupt()
1370 cy_writeb((u_long)base_addr+(CySRER<<index), in cyy_interrupt()
1371 cy_readb(base_addr+(CySRER<<index)) & in cyy_interrupt()
1376 cy_writeb((u_long)base_addr+(CySRER<<index), in cyy_interrupt()
1377 cy_readb(base_addr+(CySRER<<index)) & in cyy_interrupt()
1397 cy_writeb((u_long)base_addr+(CyTDR<<index), outch); in cyy_interrupt()
1404 cy_writeb((u_long)base_addr+(CyTDR<<index), in cyy_interrupt()
1406 cy_writeb((u_long)base_addr+(CyTDR<<index), 0); in cyy_interrupt()
1420 cy_writeb((u_long)base_addr+(CyTIR<<index), in cyy_interrupt()
1422 cy_writeb((u_long)base_addr+(CyCAR<<index), (save_car)); in cyy_interrupt()
1430 save_xir = (u_char) cy_readb(base_addr+(CyMIR<<index)); in cyy_interrupt()
1435 save_car = cy_readb(base_addr+(CyCAR<<index)); in cyy_interrupt()
1436 cy_writeb((u_long)base_addr+(CyCAR<<index), save_xir); in cyy_interrupt()
1438 mdm_change = cy_readb(base_addr+(CyMISR<<index)); in cyy_interrupt()
1439 mdm_status = cy_readb(base_addr+(CyMSVR1<<index)); in cyy_interrupt()
1474 cy_writeb((u_long)base_addr+(CySRER<<index), in cyy_interrupt()
1475 cy_readb(base_addr+(CySRER<<index)) | in cyy_interrupt()
1485 cy_writeb((u_long)base_addr+(CySRER<<index), in cyy_interrupt()
1486 cy_readb(base_addr+(CySRER<<index)) & in cyy_interrupt()
1497 cy_writeb((u_long)base_addr+(CyMIR<<index), in cyy_interrupt()
1499 cy_writeb((u_long)base_addr+(CyCAR<<index), save_car); in cyy_interrupt()
1508 cy_writeb((u_long)card_base_addr + (Cy_ClrIntr<<index), 0); in cyy_interrupt()
1557 int index; in cyz_issue_cmd() local
1568 index = 0; in cyz_issue_cmd()
1572 if (index++ == 1000){ in cyz_issue_cmd()
2005 int card,chip,channel,index; in startup() local
2042 index = cy_card[card].bus_index; in startup()
2044 (cy_card[card].base_addr + (cy_chip_offset[chip]<<index)); in startup()
2053 cy_writeb((ulong)base_addr+(CyCAR<<index), (u_char)channel); in startup()
2055 cy_writeb((ulong)base_addr+(CyRTPR<<index), (info->default_timeout in startup()
2058 cyy_issue_cmd(base_addr,CyCHAN_CTL|CyENB_RCVR|CyENB_XMTR,index); in startup()
2060 cy_writeb((ulong)base_addr+(CyCAR<<index), (u_char)channel); in startup()
2061 cy_writeb((ulong)base_addr+(CyMSVR1<<index), CyRTS); in startup()
2062 cy_writeb((ulong)base_addr+(CyMSVR2<<index), CyDTR); in startup()
2067 cy_readb(base_addr+(CyMSVR1<<index)), in startup()
2068 cy_readb(base_addr+(CyMSVR2<<index))); in startup()
2071 cy_writeb((u_long)base_addr+(CySRER<<index), in startup()
2072 cy_readb(base_addr+(CySRER<<index)) | CyRxData); in startup()
2196 int card,chip,channel,index; in start_xmit() local
2203 index = cy_card[card].bus_index; in start_xmit()
2206 + (cy_chip_offset[chip]<<index)); in start_xmit()
2209 cy_writeb((u_long)base_addr+(CyCAR<<index), channel); in start_xmit()
2210 cy_writeb((u_long)base_addr+(CySRER<<index), in start_xmit()
2211 cy_readb(base_addr+(CySRER<<index)) | CyTxRdy); in start_xmit()
2239 int card,chip,channel,index; in shutdown() local
2250 index = cy_card[card].bus_index; in shutdown()
2253 + (cy_chip_offset[chip]<<index)); in shutdown()
2271 cy_writeb((u_long)base_addr+(CyCAR<<index), (u_char)channel); in shutdown()
2273 cy_writeb((u_long)base_addr+(CyMSVR1<<index), ~CyRTS); in shutdown()
2274 cy_writeb((u_long)base_addr+(CyMSVR2<<index), ~CyDTR); in shutdown()
2278 cy_readb(base_addr+(CyMSVR1<<index)), in shutdown()
2279 cy_readb(base_addr+(CyMSVR2<<index))); in shutdown()
2282 cyy_issue_cmd(base_addr,CyCHAN_CTL|CyDIS_RCVR,index); in shutdown()
2367 int chip, channel,index; in block_til_ready() local
2446 index = cinfo->bus_index; in block_til_ready()
2448 + (cy_chip_offset[chip]<<index)); in block_til_ready()
2454 cy_writeb((u_long)base_addr+(CyCAR<<index), (u_char)channel); in block_til_ready()
2455 cy_writeb((u_long)base_addr+(CyMSVR1<<index), CyRTS); in block_til_ready()
2456 cy_writeb((u_long)base_addr+(CyMSVR2<<index), CyDTR); in block_til_ready()
2460 cy_readb(base_addr+(CyMSVR1<<index)), in block_til_ready()
2461 cy_readb(base_addr+(CyMSVR2<<index))); in block_til_ready()
2475 cy_writeb((u_long)base_addr+(CyCAR<<index), (u_char)channel); in block_til_ready()
2479 || (cy_readb(base_addr+(CyMSVR1<<index)) & CyDCD))) { in block_til_ready()
2719 int card,chip,channel,index; in cy_wait_until_sent() local
2766 index = cy_card[card].bus_index; in cy_wait_until_sent()
2768 (cy_card[card].base_addr + (cy_chip_offset[chip]<<index)); in cy_wait_until_sent()
2769 while (cy_readb(base_addr+(CySRER<<index)) & CyTxRdy) { in cy_wait_until_sent()
2871 int index = cy_card[info->card].bus_index; in cy_close() local
2874 (cy_chip_offset[channel>>2] <<index)); in cy_close()
2877 cy_writeb((ulong)base_addr+(CyCAR<<index), (u_char)channel); in cy_close()
2878 cy_writeb((u_long)base_addr+(CySRER<<index), in cy_close()
2879 cy_readb(base_addr+(CySRER<<index)) & ~CyRxData); in cy_close()
3230 int card,chip,channel,index; in set_line_char() local
3266 index = cy_card[card].bus_index; in set_line_char()
3383 + (cy_chip_offset[chip]<<index)); in set_line_char()
3386 cy_writeb((u_long)base_addr+(CyCAR<<index), (u_char)channel); in set_line_char()
3390 cy_writeb((u_long)base_addr+(CyTCOR<<index), info->tco); in set_line_char()
3391 cy_writeb((u_long)base_addr+(CyTBPR<<index), info->tbpr); in set_line_char()
3392 cy_writeb((u_long)base_addr+(CyRCOR<<index), info->rco); in set_line_char()
3393 cy_writeb((u_long)base_addr+(CyRBPR<<index), info->rbpr); in set_line_char()
3397 cy_writeb((u_long)base_addr+(CySCHR1<<index), in set_line_char()
3399 cy_writeb((u_long)base_addr+(CySCHR2<<index), in set_line_char()
3401 cy_writeb((u_long)base_addr+(CyCOR1<<index), info->cor1); in set_line_char()
3402 cy_writeb((u_long)base_addr+(CyCOR2<<index), info->cor2); in set_line_char()
3403 cy_writeb((u_long)base_addr+(CyCOR3<<index), info->cor3); in set_line_char()
3404 cy_writeb((u_long)base_addr+(CyCOR4<<index), info->cor4); in set_line_char()
3405 cy_writeb((u_long)base_addr+(CyCOR5<<index), info->cor5); in set_line_char()
3408 CyCOR_CHANGE|CyCOR1ch|CyCOR2ch|CyCOR3ch,index); in set_line_char()
3410 cy_writeb((u_long)base_addr+(CyCAR<<index), in set_line_char()
3412 cy_writeb((u_long)base_addr+(CyRTPR<<index), (info->default_timeout in set_line_char()
3418 cy_writeb((u_long)base_addr+(CySRER<<index), in set_line_char()
3419 cy_readb(base_addr+(CySRER<<index)) | CyMdmCh); in set_line_char()
3422 cy_writeb((u_long)base_addr+(CyMCOR1<<index), in set_line_char()
3425 cy_writeb((u_long)base_addr+(CyMCOR1<<index), CyCTS); in set_line_char()
3428 cy_writeb((u_long)base_addr+(CyMCOR2<<index), CyCTS); in set_line_char()
3431 cy_writeb((u_long)base_addr+(CySRER<<index), in set_line_char()
3432 cy_readb(base_addr+(CySRER<<index)) | CyMdmCh); in set_line_char()
3435 cy_writeb((u_long)base_addr+(CyMCOR1<<index), in set_line_char()
3438 cy_writeb((u_long)base_addr+(CyMCOR1<<index), in set_line_char()
3442 cy_writeb((u_long)base_addr+(CyMCOR2<<index), in set_line_char()
3448 cy_writeb((u_long)base_addr+(CyMSVR1<<index), ~CyRTS); in set_line_char()
3450 cy_writeb((u_long)base_addr+(CyMSVR2<<index), ~CyDTR); in set_line_char()
3455 cy_readb(base_addr+(CyMSVR1<<index)), in set_line_char()
3456 cy_readb(base_addr+(CyMSVR2<<index))); in set_line_char()
3460 cy_writeb((u_long)base_addr+(CyMSVR1<<index), CyRTS); in set_line_char()
3462 cy_writeb((u_long)base_addr+(CyMSVR2<<index), CyDTR); in set_line_char()
3467 cy_readb(base_addr+(CyMSVR1<<index)), in set_line_char()
3468 cy_readb(base_addr+(CyMSVR2<<index))); in set_line_char()
3691 int card, chip, channel, index; in get_lsr_info() local
3702 index = cy_card[card].bus_index; in get_lsr_info()
3704 (cy_card[card].base_addr + (cy_chip_offset[chip]<<index)); in get_lsr_info()
3707 status = cy_readb(base_addr+(CySRER<<index)) & (CyTxRdy|CyTxMpty); in get_lsr_info()
3720 int card,chip,channel,index; in get_modem_info() local
3736 index = cy_card[card].bus_index; in get_modem_info()
3739 + (cy_chip_offset[chip]<<index)); in get_modem_info()
3742 cy_writeb((u_long)base_addr+(CyCAR<<index), (u_char)channel); in get_modem_info()
3743 status = cy_readb(base_addr+(CyMSVR1<<index)); in get_modem_info()
3744 status |= cy_readb(base_addr+(CyMSVR2<<index)); in get_modem_info()
3794 int card,chip,channel,index; in set_modem_info() local
3809 index = cy_card[card].bus_index; in set_modem_info()
3812 + (cy_chip_offset[chip]<<index)); in set_modem_info()
3818 cy_writeb((u_long)base_addr+(CyCAR<<index), (u_char)channel); in set_modem_info()
3820 cy_writeb((u_long)base_addr+(CyMSVR2<<index), CyDTR); in set_modem_info()
3822 cy_writeb((u_long)base_addr+(CyMSVR1<<index), CyRTS); in set_modem_info()
3828 cy_writeb((u_long)base_addr+(CyCAR<<index), (u_char)channel); in set_modem_info()
3830 cy_writeb((u_long)base_addr+(CyMSVR1<<index), CyRTS); in set_modem_info()
3832 cy_writeb((u_long)base_addr+(CyMSVR2<<index), CyDTR); in set_modem_info()
3837 cy_readb(base_addr+(CyMSVR1<<index)), in set_modem_info()
3838 cy_readb(base_addr+(CyMSVR2<<index))); in set_modem_info()
3846 cy_writeb((u_long)base_addr+(CyCAR<<index), in set_modem_info()
3849 cy_writeb((u_long)base_addr+(CyMSVR2<<index), ~CyDTR); in set_modem_info()
3851 cy_writeb((u_long)base_addr+(CyMSVR1<<index), ~CyRTS); in set_modem_info()
3857 cy_writeb((u_long)base_addr+(CyCAR<<index), (u_char)channel); in set_modem_info()
3859 cy_writeb((u_long)base_addr+(CyMSVR1<<index), ~CyRTS); in set_modem_info()
3861 cy_writeb((u_long)base_addr+(CyMSVR2<<index), ~CyDTR); in set_modem_info()
3866 cy_readb(base_addr+(CyMSVR1<<index)), in set_modem_info()
3867 cy_readb(base_addr+(CyMSVR2<<index))); in set_modem_info()
3875 cy_writeb((u_long)base_addr+(CyCAR<<index), (u_char)channel); in set_modem_info()
3877 cy_writeb((u_long)base_addr+(CyMSVR2<<index), CyDTR); in set_modem_info()
3879 cy_writeb((u_long)base_addr+(CyMSVR1<<index), CyRTS); in set_modem_info()
3884 cy_writeb((u_long)base_addr+(CyCAR<<index), (u_char)channel); in set_modem_info()
3886 cy_writeb((u_long)base_addr+(CyMSVR2<<index), ~CyDTR); in set_modem_info()
3888 cy_writeb((u_long)base_addr+(CyMSVR1<<index), ~CyRTS); in set_modem_info()
3894 cy_writeb((u_long)base_addr+(CyCAR<<index), (u_char)channel); in set_modem_info()
3896 cy_writeb((u_long)base_addr+(CyMSVR1<<index), CyRTS); in set_modem_info()
3898 cy_writeb((u_long)base_addr+(CyMSVR2<<index), CyDTR); in set_modem_info()
3903 cy_readb(base_addr+(CyMSVR1<<index)), in set_modem_info()
3904 cy_readb(base_addr+(CyMSVR2<<index))); in set_modem_info()
3909 cy_writeb((u_long)base_addr+(CyCAR<<index), (u_char)channel); in set_modem_info()
3911 cy_writeb((u_long)base_addr+(CyMSVR1<<index), ~CyRTS); in set_modem_info()
3913 cy_writeb((u_long)base_addr+(CyMSVR2<<index), ~CyDTR); in set_modem_info()
3919 cy_readb(base_addr+(CyMSVR1<<index)), in set_modem_info()
3920 cy_readb(base_addr+(CyMSVR2<<index))); in set_modem_info()
4101 int card,channel,chip,index; in set_threshold() local
4109 index = cy_card[card].bus_index; in set_threshold()
4112 + (cy_chip_offset[chip]<<index)); in set_threshold()
4118 cy_writeb((u_long)base_addr+(CyCOR3<<index), info->cor3); in set_threshold()
4119 cyy_issue_cmd(base_addr,CyCOR_CHANGE|CyCOR3ch,index); in set_threshold()
4132 int card,channel,chip,index; in get_threshold() local
4140 index = cy_card[card].bus_index; in get_threshold()
4143 + (cy_chip_offset[chip]<<index)); in get_threshold()
4145 tmp = cy_readb(base_addr+(CyCOR3<<index)) & CyREC_FIFO; in get_threshold()
4173 int card,channel,chip,index; in set_timeout() local
4181 index = cy_card[card].bus_index; in set_timeout()
4184 + (cy_chip_offset[chip]<<index)); in set_timeout()
4187 cy_writeb((u_long)base_addr+(CyRTPR<<index), value & 0xff); in set_timeout()
4200 int card,channel,chip,index; in get_timeout() local
4208 index = cy_card[card].bus_index; in get_timeout()
4211 + (cy_chip_offset[chip]<<index)); in get_timeout()
4213 tmp = cy_readb(base_addr+(CyRTPR<<index)); in get_timeout()
4479 int card,chip,channel,index; in cy_throttle() local
4503 index = cy_card[card].bus_index; in cy_throttle()
4506 + (cy_chip_offset[chip]<<index)); in cy_throttle()
4509 cy_writeb((u_long)base_addr+(CyCAR<<index), (u_char)channel); in cy_throttle()
4511 cy_writeb((u_long)base_addr+(CyMSVR2<<index), ~CyDTR); in cy_throttle()
4513 cy_writeb((u_long)base_addr+(CyMSVR1<<index), ~CyRTS); in cy_throttle()
4535 int card,chip,channel,index; in cy_unthrottle() local
4562 index = cy_card[card].bus_index; in cy_unthrottle()
4565 + (cy_chip_offset[chip]<<index)); in cy_unthrottle()
4568 cy_writeb((u_long)base_addr+(CyCAR<<index), (u_char)channel); in cy_unthrottle()
4570 cy_writeb((u_long)base_addr+(CyMSVR2<<index), CyDTR); in cy_unthrottle()
4572 cy_writeb((u_long)base_addr+(CyMSVR1<<index), CyRTS); in cy_unthrottle()
4592 int chip,channel,index; in cy_stop() local
4605 index = cinfo->bus_index; in cy_stop()
4610 + (cy_chip_offset[chip]<<index)); in cy_stop()
4613 cy_writeb((u_long)base_addr+(CyCAR<<index), in cy_stop()
4615 cy_writeb((u_long)base_addr+(CySRER<<index), in cy_stop()
4616 cy_readb(base_addr+(CySRER<<index)) & ~CyTxRdy); in cy_stop()
4632 int chip,channel,index; in cy_start() local
4644 index = cinfo->bus_index; in cy_start()
4650 + (cy_chip_offset[chip]<<index)); in cy_start()
4653 cy_writeb((u_long)base_addr+(CyCAR<<index), in cy_start()
4655 cy_writeb((u_long)base_addr+(CySRER<<index), in cy_start()
4656 cy_readb(base_addr+(CySRER<<index)) | CyTxRdy); in cy_start()
4740 cyy_init_card(volatile ucchar *true_base_addr,int index) in cyy_init_card() argument
4745 cy_writeb((u_long)true_base_addr+(Cy_HwReset<<index), 0); in cyy_init_card()
4747 cy_writeb((u_long)true_base_addr+(Cy_ClrIntr<<index), 0); in cyy_init_card()
4753 + (cy_chip_offset[chip_number]<<index); in cyy_init_card()
4755 if(cy_readb(base_addr+(CyCCR<<index)) != 0x00){ in cyy_init_card()
4763 cy_writeb((u_long)base_addr+(CyGFRCR<<index), 0); in cyy_init_card()
4774 + (cy_chip_offset[0]<<index) in cyy_init_card()
4775 + (CyGFRCR<<index)) == 0){ in cyy_init_card()
4779 cy_writeb((u_long)base_addr+(CyCCR<<index), CyCHIP_RESET); in cyy_init_card()
4782 if(cy_readb(base_addr+(CyGFRCR<<index)) == 0x00){ in cyy_init_card()
4790 if((0xf0 & (cy_readb(base_addr+(CyGFRCR<<index)))) != 0x40){ in cyy_init_card()
4798 cy_writeb((u_long)base_addr+(CyGCR<<index), CyCH0_SERIAL); in cyy_init_card()
4799 if (cy_readb(base_addr+(CyGFRCR<<index)) >= CD1400_REV_J){ in cyy_init_card()
4803 cy_writeb((u_long)base_addr+(CyPPR<<index), CyCLOCK_60_2MS); in cyy_init_card()
4806 cy_writeb((u_long)base_addr+(CyPPR<<index), CyCLOCK_25_5MS); in cyy_init_card()
5502 int board,port,i,index; in cy_init() local
5680 index = cinfo->bus_index; in cy_init()
5711 (cy_chip_offset[chip_number]<<index) + in cy_init()
5712 (CyGFRCR<<index))) >= CD1400_REV_J) { in cy_init()