Lines Matching +full:0 +full:xdc000

278                         (cmd) ? ((cmd)->device->id & 0x0f) : -1, \
279 (cmd) ? ((u8)(cmd)->device->lun & 0x07) : -1
290 #define IRQ_MIN 0
302 not_issued = 0x0001, /* command not yet issued */
303 selecting = 0x0002, /* target is being selected */
304 identified = 0x0004, /* IDENTIFY was sent */
305 disconnected = 0x0008, /* target disconnected */
306 completed = 0x0010, /* target sent COMMAND COMPLETE */
307 aborted = 0x0020, /* ABORT was sent */
308 resetted = 0x0040, /* BUS DEVICE RESET was sent */
309 spiordy = 0x0080, /* waiting for SPIORDY to raise */
310 syncneg = 0x0100, /* synchronous negotiation in progress */
311 aborting = 0x0200, /* ABORT is pending */
312 resetting = 0x0400, /* BUS DEVICE RESET is pending */
313 check_condition = 0x0800, /* requesting sense after CHECK CONDITION */
322 static int io[] = {0, 0};
323 module_param_hw_array(io, int, ioport, NULL, 0);
326 static int irq[] = {0, 0};
327 module_param_hw_array(irq, int, irq, NULL, 0);
331 module_param_array(scsiid, int, NULL, 0);
335 module_param_array(reconnect, int, NULL, 0);
339 module_param_array(parity, int, NULL, 0);
343 module_param_array(sync, int, NULL, 0);
347 module_param_array(delay, int, NULL, 0);
350 static int exttrans[] = {0, 0};
351 module_param_array(exttrans, int, NULL, 0);
354 static int aha152x[] = {0, 11, 7, 1, 1, 0, DELAY_DEFAULT, 0};
355 module_param_array(aha152x, int, NULL, 0);
358 static int aha152x1[] = {0, 11, 7, 1, 1, 0, DELAY_DEFAULT, 0};
359 module_param_array(aha152x1, int, NULL, 0);
365 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x1502), 0 },
366 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x1505), 0 },
367 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x1510), 0 },
368 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x1515), 0 },
369 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x1520), 0 },
370 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x2015), 0 },
371 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x1522), 0 },
372 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x2215), 0 },
373 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x1530), 0 },
374 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x3015), 0 },
375 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x1532), 0 },
376 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x3215), 0 },
377 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x6360), 0 },
392 idle=0,
466 /* 0: no negotiation;
602 { "idle", NULL, NULL, NULL, 0},
603 { "unknown", NULL, NULL, NULL, 0},
604 { "seldo", NULL, seldo_run, NULL, 0},
605 { "seldi", NULL, seldi_run, NULL, 0},
606 { "selto", NULL, selto_run, NULL, 0},
607 { "busfree", NULL, busfree_run, NULL, 0},
612 { "datai", datai_init, datai_run, datai_end, 0},
613 { "datao", datao_init, datao_run, datao_end, 0},
614 { "parerr", NULL, parerr_run, NULL, 0},
615 { "rsti", NULL, rsti_run, NULL, 0},
724 memset(HOSTDATA(shpnt), 0, sizeof *HOSTDATA(shpnt)); in aha152x_probe_one()
738 HOSTIOPORT0 = setup->io_port+0x10; in aha152x_probe_one()
739 HOSTIOPORT1 = setup->io_port-0x10; in aha152x_probe_one()
759 SETPORT(SCSISEQ, 0); in aha152x_probe_one()
767 "io=0x%03lx (0x%03lx/0x%03lx), " in aha152x_probe_one()
776 GETPORT(REV) & 0x7, in aha152x_probe_one()
787 SETPORT(SIMODE0, 0); in aha152x_probe_one()
788 SETPORT(SIMODE1, 0); in aha152x_probe_one()
795 HOSTDATA(shpnt)->swint = 0; in aha152x_probe_one()
821 SETPORT(SSTAT0, 0x7f); in aha152x_probe_one()
822 SETPORT(SSTAT1, 0xef); in aha152x_probe_one()
882 SETPORT(SIMODE0, ENSELDO | (DISCONNECTED_SC ? ENSELDI : 0)); in setup_expected_interrupts()
885 SETPORT(SIMODE0, (CURRENT_SC->SCp.phase & spiordy) ? ENSPIORDY : 0); in setup_expected_interrupts()
889 SETPORT(SIMODE0, 0); in setup_expected_interrupts()
892 SETPORT(SIMODE0, DISCONNECTED_SC ? ENSELDI : 0); in setup_expected_interrupts()
893 SETPORT(SIMODE1, ENSCSIRST | ( (ISSUE_SC||DONE_SC) ? ENBUSFREE : 0)); in setup_expected_interrupts()
915 SCpnt->SCp.Status = 0x1; /* Ilegal status by SCSI standard */ in aha152x_internal_queue()
916 SCpnt->SCp.Message = 0; in aha152x_internal_queue()
917 SCpnt->SCp.have_data_in = 0; in aha152x_internal_queue()
918 SCpnt->SCp.sent_command = 0; in aha152x_internal_queue()
944 SCpnt->SCp.this_residual = 0; in aha152x_internal_queue()
945 scsi_set_resid(SCpnt, 0); in aha152x_internal_queue()
972 return 0; in aha152x_internal_queue()
982 return aha152x_internal_queue(SCpnt, NULL, 0, done); in aha152x_queue_lck()
1017 SETPORT(PORTA, 0); in aha152x_abort()
1064 SCpnt->cmd_len = 0; in aha152x_device_reset()
1083 SETPORT(PORTA, 0); in aha152x_device_reset()
1149 SETPORT(SCSISEQ, 0); in aha152x_bus_reset_host()
1153 if(HOSTDATA(shpnt)->commands==0) in aha152x_bus_reset_host()
1154 SETPORT(PORTA, 0); in aha152x_bus_reset_host()
1181 SETPORT(SCSISEQ, 0); in reset_ports()
1183 SETPORT(SXFRCTL1, 0); in reset_ports()
1184 SETPORT(SCSISIG, 0); in reset_ports()
1185 SETRATE(0); in reset_ports()
1188 SETPORT(SSTAT0, 0x7f); in reset_ports()
1189 SETPORT(SSTAT1, 0xef); in reset_ports()
1193 SETPORT(DMACNTRL0, 0); in reset_ports()
1194 SETPORT(DMACNTRL1, 0); in reset_ports()
1196 SETPORT(BRSTCNTRL, 0xf1); in reset_ports()
1229 info_array[0] = 64; in aha152x_biosparam()
1238 if (scsicam_bios_param(bdev, capacity, info) < 0 || in aha152x_biosparam()
1239 !((info[0] == 64 && info[1] == 32) || (info[0] == 255 && info[1] == 63))) { in aha152x_biosparam()
1244 info_array[0] = 255; in aha152x_biosparam()
1255 info_array[0] = info[0]; in aha152x_biosparam()
1259 if (info[0] == 255 && !EXT_TRANS) { in aha152x_biosparam()
1267 return 0; in aha152x_biosparam()
1331 if ((rev == 0xFF) && (dmacntrl0 == 0xFF)) in intr()
1342 if( HOSTDATA(shpnt)->service==0 ) { in intr()
1363 int action=0; in busfree_run()
1379 …done(shpnt, (CURRENT_SC->SCp.Status & 0xff) | ((CURRENT_SC->SCp.Message & 0xff) << 8) | (DID_OK <<… in busfree_run()
1382 …done(shpnt, (CURRENT_SC->SCp.Status & 0xff) | ((CURRENT_SC->SCp.Message & 0xff) << 8) | (DID_ABORT… in busfree_run()
1385 …done(shpnt, (CURRENT_SC->SCp.Status & 0xff) | ((CURRENT_SC->SCp.Message & 0xff) << 8) | (DID_RESET… in busfree_run()
1422 SETPORT(PORTA, 0); /* turn led off */ in busfree_run()
1436 scsi_eh_prep_cmnd(ptr, &sc->ses, NULL, 0, ~0); in busfree_run()
1451 SETPORT(PORTA, 0); /* turn led off */ in busfree_run()
1485 SETPORT(SXFRCTL1, (PARITY ? ENSPCHK : 0 ) | ENSTIMER); in busfree_run()
1486 SETPORT(SCSISEQ, ENSELO | ENAUTOATNO | (DISCONNECTED_SC ? ENRESELI : 0)); in busfree_run()
1491 SETPORT(SCSISEQ, DISCONNECTED_SC ? ENRESELI : 0); in busfree_run()
1507 SETPORT(SCSISIG, 0); in seldo_run()
1513 SETPORT(SCSISEQ, 0); in seldo_run()
1530 } else if (SYNCNEG==0 && SYNCHRONOUS) { in seldo_run()
1546 SETPORT(SCSISEQ, 0); in selto_run()
1576 SETPORT(SCSISIG, 0); in seldi_run()
1600 if (selid==0) { in seldi_run()
1616 SETPORT(SCSISEQ, 0); in seldi_run()
1659 if(!(MSGI(0) & IDENTIFY_BASE)) { in msgi_run()
1665 CURRENT_SC = remove_lun_SC(&DISCONNECTED_SC, RECONN_TARGET, MSGI(0) & 0x3f); in msgi_run()
1672 RECONN_TARGET, MSGI(0) & 0x3f); in msgi_run()
1676 CURRENT_SC->SCp.Message = MSGI(0); in msgi_run()
1679 MSGILEN=0; in msgi_run()
1685 CURRENT_SC->SCp.Message = MSGI(0); in msgi_run()
1687 switch (MSGI(0)) { in msgi_run()
1738 spi_print_msg(&MSGI(0)); in msgi_run()
1788 for(i=0; i<8; i++) { in msgi_run()
1789 HOSTDATA(shpnt)->syncrate[i]=0; in msgi_run()
1790 HOSTDATA(shpnt)->syncneg[i]=0; in msgi_run()
1806 MSGILEN=0; in msgi_run()
1812 if(MSGILEN>0) in msgi_end()
1817 if (MSGOLEN > 0 && !(GETPORT(SSTAT1) & BUSFREE)) in msgi_end()
1827 if(MSGOLEN==0) { in msgo_init()
1828 if((CURRENT_SC->SCp.phase & syncneg) && SYNCNEG==2 && SYNCRATE==0) { in msgo_init()
1881 MSGO_I = 0; in msgo_end()
1882 MSGOLEN = 0; in msgo_end()
1898 CMD_I=0; in cmd_init()
1950 SETPORT(SIMODE0, 0); in datai_init()
1953 DATA_LEN=0; in datai_init()
1995 if(CURRENT_SC->SCp.this_residual>0) { in datai_run()
1996 while(fifodata>0 && CURRENT_SC->SCp.this_residual>0) { in datai_run()
2018 if (CURRENT_SC->SCp.this_residual == 0 && in datai_run()
2026 } else if (fifodata > 0) { in datai_run()
2032 while(fifodata>0) { in datai_run()
2044 GETPORT(FIFOSTAT)>0) { in datai_run()
2068 SETPORT(DMACNTRL0, 0); in datai_end()
2083 SETPORT(SIMODE0, 0); in datao_init()
2095 while(TESTLO(DMASTAT, INTSTAT) && CURRENT_SC->SCp.this_residual>0) { in datao_run()
2123 if (CURRENT_SC->SCp.this_residual == 0 && in datao_run()
2154 while (done > 0 && !sg_is_last(sg)) { in datao_end()
2170 SETPORT(DMACNTRL0, 0); in datao_end()
2179 int dataphase=0; in update_state()
2188 SETPORT(SCSISEQ,0); in update_state()
2284 if( HOSTDATA(shpnt)->service==0 ) { in is_complete()
2289 HOSTDATA(shpnt)->service = 0; in is_complete()
2322 SETPORT(DMACNTRL0, 0); in is_complete()
2343 SETPORT(DMACNTRL0, 0); in is_complete()
2439 "phase |%s%s%s%s%s%s%s%s%s; next=0x%p", in show_command()
2487 for (i = 0; i < COMMAND_SIZE(ptr->cmnd[0]); i++) in get_command()
2488 seq_printf(m, "0x%02x ", ptr->cmnd[i]); in get_command()
2510 seq_printf(m, "; next=0x%p\n", SCNEXT(ptr)); in get_command()
2697 seq_printf(m, "SCSICNT (%d), OFFCNT(%d), ", (s & 0xf0) >> 4, s & 0x0f); in get_ports()
2774 if(!shpnt || !buffer || length<8 || strncmp("aha152x ", buffer, 8)!=0) in aha152x_set_info()
2778 if(length>13 && strncmp("reset", buffer+8, 5)==0) { in aha152x_set_info()
2781 HOSTDATA(shpnt)->total_commands=0; in aha152x_set_info()
2782 HOSTDATA(shpnt)->disconnections=0; in aha152x_set_info()
2783 HOSTDATA(shpnt)->busfree_without_any_action=0; in aha152x_set_info()
2784 HOSTDATA(shpnt)->busfree_without_old_command=0; in aha152x_set_info()
2785 HOSTDATA(shpnt)->busfree_without_new_command=0; in aha152x_set_info()
2786 HOSTDATA(shpnt)->busfree_without_done_command=0; in aha152x_set_info()
2787 HOSTDATA(shpnt)->busfree_with_check_condition=0; in aha152x_set_info()
2789 HOSTDATA(shpnt)->count[i]=0; in aha152x_set_info()
2790 HOSTDATA(shpnt)->count_trans[i]=0; in aha152x_set_info()
2791 HOSTDATA(shpnt)->time[i]=0; in aha152x_set_info()
2814 seq_printf(m, "ioports 0x%04lx to 0x%04lx\n", in aha152x_show_info()
2816 seq_printf(m, "interrupt 0x%02x\n", shpnt->irq); in aha152x_show_info()
2827 for (i = 0; i < 8; i++) in aha152x_show_info()
2828 if (HOSTDATA(shpnt)->syncrate[i] & 0x7f) in aha152x_show_info()
2831 (((HOSTDATA(shpnt)->syncrate[i] & 0x70) >> 4) + 2), in aha152x_show_info()
2832 (((HOSTDATA(shpnt)->syncrate[i] & 0x70) >> 4) + 2) * 50, in aha152x_show_info()
2833 HOSTDATA(shpnt)->syncrate[i] & 0x0f); in aha152x_show_info()
2880 for(i=0; i<maxstate; i++) { in aha152x_show_info()
2888 return 0; in aha152x_show_info()
2894 return 0; in aha152x_adjust_queue()
2920 static unsigned short ports[] = { 0x340, 0x140 };
2926 0xdc000, /* default first */
2927 0xc8000,
2928 0xcc000,
2929 0xd0000,
2930 0xd4000,
2931 0xd8000,
2932 0xe0000,
2933 0xeb800, /* VTech Platinum SMP */
2934 0xf0000,
2950 { "Adaptec AHA-1520 BIOS", 0x102e, 21 },
2952 { "Adaptec AHA-1520B", 0x000b, 17 },
2954 { "Adaptec AHA-1520B", 0x0026, 17 },
2956 { "Adaptec ASW-B626 BIOS", 0x1029, 21 },
2958 { "Adaptec BIOS: ASW-B626", 0x000f, 22 },
2960 { "Adaptec ASW-B626 S2", 0x2e6c, 19 },
2962 { "Adaptec BIOS:AIC-6360", 0x000c, 21 },
2964 { "ScsiPro SP-360 BIOS", 0x2873, 19 },
2966 { "GA-400 LOCAL BUS SCSI BIOS", 0x102e, 26 },
2968 { "Adaptec BIOS:AVA-282X", 0x000c, 21 },
2970 { "Adaptec IBM Dock II SCSI", 0x2edd, 24 },
2972 { "Adaptec BIOS:AHA-1532P", 0x001c, 22 },
2974 { "DTC3520A Host Adapter BIOS", 0x318a, 26 },
2987 SETPORT(io_port + O_DMACNTRL1, 0); /* reset stack pointer */ in aha152x_porttest()
2988 for (i = 0; i < 16; i++) in aha152x_porttest()
2991 SETPORT(io_port + O_DMACNTRL1, 0); /* reset stack pointer */ in aha152x_porttest()
2992 for (i = 0; i < 16 && GETPORT(io_port + O_STACK) == i; i++) in aha152x_porttest()
3002 SETPORT(io_port + O_TC_DMACNTRL1, 0); /* reset stack pointer */ in tc1550_porttest()
3003 for (i = 0; i < 16; i++) in tc1550_porttest()
3006 SETPORT(io_port + O_TC_DMACNTRL1, 0); /* reset stack pointer */ in tc1550_porttest()
3007 for (i = 0; i < 16 && GETPORT(io_port + O_TC_STACK) == i; i++) in tc1550_porttest()
3017 for (i = 0; i < ARRAY_SIZE(ports) && (setup->io_port != ports[i]); i++) in checksetup()
3021 return 0; in checksetup()
3024 printk(KERN_ERR "aha152x: io port 0x%x busy.\n", setup->io_port); in checksetup()
3025 return 0; in checksetup()
3029 setup->tc1550=0; in checksetup()
3034 return 0; in checksetup()
3040 return 0; in checksetup()
3042 if ((setup->scsiid < 0) || (setup->scsiid > 7)) in checksetup()
3043 return 0; in checksetup()
3045 if ((setup->reconnect < 0) || (setup->reconnect > 1)) in checksetup()
3046 return 0; in checksetup()
3048 if ((setup->parity < 0) || (setup->parity > 1)) in checksetup()
3049 return 0; in checksetup()
3051 if ((setup->synchronous < 0) || (setup->synchronous > 1)) in checksetup()
3052 return 0; in checksetup()
3054 if ((setup->ext_trans < 0) || (setup->ext_trans > 1)) in checksetup()
3055 return 0; in checksetup()
3075 for (i = 0; i<setup_count; i++) { in aha152x_init()
3088 if (setup_count == 0 || (override.io_port != setup[0].io_port)) { in aha152x_init()
3090 printk(KERN_ERR "\naha152x: invalid override SETUP0={0x%x,%d,%d,%d,%d,%d,%d,%d}\n", in aha152x_init()
3109 if (setup_count == 0 || (override.io_port != setup[0].io_port)) { in aha152x_init()
3111 printk(KERN_ERR "\naha152x: invalid override SETUP1={0x%x,%d,%d,%d,%d,%d,%d,%d}\n", in aha152x_init()
3127 if (setup_count<ARRAY_SIZE(setup) && (aha152x[0]!=0 || io[0]!=0 || irq[0]!=0)) { in aha152x_init()
3128 if(aha152x[0]!=0) { in aha152x_init()
3130 setup[setup_count].io_port = aha152x[0]; in aha152x_init()
3138 } else if (io[0] != 0 || irq[0] != 0) { in aha152x_init()
3139 if(io[0]!=0) setup[setup_count].io_port = io[0]; in aha152x_init()
3140 if(irq[0]!=0) setup[setup_count].irq = irq[0]; in aha152x_init()
3142 setup[setup_count].scsiid = scsiid[0]; in aha152x_init()
3143 setup[setup_count].reconnect = reconnect[0]; in aha152x_init()
3144 setup[setup_count].parity = parity[0]; in aha152x_init()
3145 setup[setup_count].synchronous = sync[0]; in aha152x_init()
3146 setup[setup_count].delay = delay[0]; in aha152x_init()
3147 setup[setup_count].ext_trans = exttrans[0]; in aha152x_init()
3153 …printk(KERN_ERR "aha152x: invalid module params io=0x%x, irq=%d,scsiid=%d,reconnect=%d,parity=%d,s… in aha152x_init()
3164 if (setup_count<ARRAY_SIZE(setup) && (aha152x1[0]!=0 || io[1]!=0 || irq[1]!=0)) { in aha152x_init()
3165 if(aha152x1[0]!=0) { in aha152x_init()
3167 setup[setup_count].io_port = aha152x1[0]; in aha152x_init()
3175 } else if (io[1] != 0 || irq[1] != 0) { in aha152x_init()
3176 if(io[1]!=0) setup[setup_count].io_port = io[1]; in aha152x_init()
3177 if(irq[1]!=0) setup[setup_count].irq = irq[1]; in aha152x_init()
3189 …printk(KERN_ERR "aha152x: invalid module params io=0x%x, irq=%d,scsiid=%d,reconnect=%d,parity=%d,s… in aha152x_init()
3202 for(i=0; setup_count<ARRAY_SIZE(setup) && id_table[i].vendor; i++) { in aha152x_init()
3205 if (pnp_device_attach(dev) < 0) in aha152x_init()
3208 if (pnp_activate_dev(dev) < 0) { in aha152x_init()
3213 if (!pnp_port_valid(dev, 0)) { in aha152x_init()
3218 if (setup_count==1 && pnp_port_start(dev, 0)==setup[0].io_port) { in aha152x_init()
3223 setup[setup_count].io_port = pnp_port_start(dev, 0); in aha152x_init()
3224 setup[setup_count].irq = pnp_irq(dev, 0); in aha152x_init()
3230 setup[setup_count].ext_trans = 0; in aha152x_init()
3235 "aha152x: found ISAPnP adapter at io=0x%03x, irq=%d\n", in aha152x_init()
3245 ok = 0; in aha152x_init()
3246 for (i = 0; i < ARRAY_SIZE(addresses) && !ok; i++) { in aha152x_init()
3247 void __iomem *p = ioremap(addresses[i], 0x4000); in aha152x_init()
3250 for (j = 0; j<ARRAY_SIZE(signatures) && !ok; j++) in aha152x_init()
3255 if (!ok && setup_count == 0) in aha152x_init()
3263 ok = 0; in aha152x_init()
3264 for (i = 0; i < ARRAY_SIZE(ports) && setup_count < 2; i++) { in aha152x_init()
3265 if ((setup_count == 1) && (setup[0].io_port == ports[i])) in aha152x_init()
3269 printk(KERN_ERR "aha152x: io port 0x%x busy.\n", ports[i]); in aha152x_init()
3274 setup[setup_count].tc1550 = 0; in aha152x_init()
3298 setup[setup_count].ext_trans = 0; in aha152x_init()
3310 for (i=0; i<setup_count; i++) { in aha152x_init()
3323 printk(KERN_ERR "aha152x: io port 0x%x busy.\n", setup[i].io_port); in aha152x_init()
3332 return 0; in aha152x_init()
3362 setup[setup_count].io_port = ints[0] >= 1 ? ints[1] : 0x340; in aha152x_setup()
3363 setup[setup_count].irq = ints[0] >= 2 ? ints[2] : 11; in aha152x_setup()
3364 setup[setup_count].scsiid = ints[0] >= 3 ? ints[3] : 7; in aha152x_setup()
3365 setup[setup_count].reconnect = ints[0] >= 4 ? ints[4] : 1; in aha152x_setup()
3366 setup[setup_count].parity = ints[0] >= 5 ? ints[5] : 1; in aha152x_setup()
3367 setup[setup_count].synchronous = ints[0] >= 6 ? ints[6] : 1; in aha152x_setup()
3368 setup[setup_count].delay = ints[0] >= 7 ? ints[7] : DELAY_DEFAULT; in aha152x_setup()
3369 setup[setup_count].ext_trans = ints[0] >= 8 ? ints[8] : 0; in aha152x_setup()
3370 if (ints[0] > 8) { /*}*/ in aha152x_setup()
3375 return 0; in aha152x_setup()