Home
last modified time | relevance | path

Searched refs:qbase (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/scsi/
Dqlogicfas408.c81 int qbase = priv->qbase; in ql_zap() local
84 x = inb(qbase + 0xd); in ql_zap()
86 outb(3, qbase + 3); /* reset SCSI */ in ql_zap()
87 outb(2, qbase + 3); /* reset chip */ in ql_zap()
99 int qbase = priv->qbase; in ql_pdma() local
105 if (reqlen >= 128 && (inb(qbase + 8) & 2)) { /* full */ in ql_pdma()
106 insl(qbase + 4, request, 32); in ql_pdma()
111 if ((j = inb(qbase + 8)) & 4) in ql_pdma()
113 insl(qbase + 4, request, 21); in ql_pdma()
117 if (reqlen >= 44 && (inb(qbase + 8) & 8)) { /* 1/3 */ in ql_pdma()
[all …]
Dqlogicfas408.h78 int qbase; /* Port */ member
90 #define REG0 ( outb( inb( qbase + 0xd ) & 0x7f , qbase + 0xd ), outb( 4 , qbase + 0xd ))
91 #define REG1 ( outb( inb( qbase + 0xd ) | 0x80 , qbase + 0xd ), outb( 0xb4 | int_type, qbase + 0xd …
113 int qlogicfas408_get_chip_type(int qbase, int int_type);
114 void qlogicfas408_setup(int qbase, int id, int int_type);
115 int qlogicfas408_detect(int qbase, int int_type);
Dqlogicfas.c51 int qbase, in __qlogicfas_detect() argument
68 if (!qbase || qlirq == -1) in __qlogicfas_detect()
71 if (!request_region(qbase, 0x10, qlogicfas_name)) { in __qlogicfas_detect()
73 qbase); in __qlogicfas_detect()
77 if (!qlogicfas408_detect(qbase, INT_TYPE)) { in __qlogicfas_detect()
80 qbase); in __qlogicfas_detect()
85 " IRQ %d\n", qlogicfas_name, qbase, qlirq); in __qlogicfas_detect()
87 qltyp = qlogicfas408_get_chip_type(qbase, INT_TYPE); in __qlogicfas_detect()
92 qlogicfas408_setup(qbase, qinitid, INT_TYPE); in __qlogicfas_detect()
98 hreg->io_port = qbase; in __qlogicfas_detect()
[all …]
/linux-4.1.27/drivers/scsi/pcmcia/
Dqlogic_stub.c92 struct pcmcia_device *link, int qbase, int qlirq) in qlogic_detect() argument
99 qltyp = qlogicfas408_get_chip_type(qbase, INT_TYPE); in qlogic_detect()
104 qlogicfas408_setup(qbase, qinitid, INT_TYPE); in qlogic_detect()
110 shost->io_port = qbase; in qlogic_detect()
118 priv->qbase = qbase; in qlogic_detect()
128 qltyp, qbase, qlirq, QL_TURBO_PDMA); in qlogic_detect()