Home
last modified time | relevance | path

Searched refs:portno (Results 1 – 10 of 10) sorted by relevance

/linux-2.4.37.9/drivers/net/wan/8253x/
D8253xmcs.c592 unsigned int portno; in aura_sp502_program() local
603 portno = (port->portno + (8 * chipno)); /* portno on a per EB basis */ in aura_sp502_program()
610 ((cimnum << CIMCMD_CIMSHIFT) | CIMCMD_RDSETUP | ((portno/4) << CIMCMD_CTRLSHIFT))); in aura_sp502_program()
614 ((cimnum << CIMCMD_CIMSHIFT) | CIMCMD_RDSETUP | ((4+(portno/4)) << CIMCMD_CTRLSHIFT))); in aura_sp502_program()
618 ((cimnum << CIMCMD_CIMSHIFT) | CIMCMD_WRSETUP | ((portno/4) << CIMCMD_CTRLSHIFT))); in aura_sp502_program()
621 ((cimnum << CIMCMD_CIMSHIFT) | CIMCMD_WRSETUP | ((4+(portno/4)) << CIMCMD_CTRLSHIFT))); in aura_sp502_program()
626 datareceiver &= (unsigned short) ~(0x0F << ((3 - (portno % 4)) * 4)); in aura_sp502_program()
628 datareceiver |= (prognibble << ((3 - (portno % 4)) * 4)); in aura_sp502_program()
634 datatransmitter &= (unsigned short) ~(0x0F << ((3 - (portno % 4)) * 4)); in aura_sp502_program()
635 datatransmitter |= (prognibble << ((3 - (portno % 4)) * 4)); in aura_sp502_program()
D8253xini.c316 static void CreateESCC2Port(SAB_CHIP *cptr, unsigned int portno, unsigned int function) in CreateESCC2Port() argument
335 portno, cptr->c_chipno, board_type[bptr->b_type],bptr->board_number)); in CreateESCC2Port()
336 pptr->portno = portno; in CreateESCC2Port()
344 (portno * SAB82532_REG_SIZE)); in CreateESCC2Port()
361 if(portno == 0) in CreateESCC2Port()
557 static void CreateESCC8Port(SAB_CHIP *cptr, unsigned int portno, unsigned int function) in CreateESCC8Port() argument
576 portno, cptr->c_chipno, board_type[bptr->b_type],bptr->board_number)); in CreateESCC8Port()
577 pptr->portno = portno; in CreateESCC8Port()
585 (portno * SAB82538_REG_SIZE)); in CreateESCC8Port()
592 pptr->dsr.mask = 0x1 << portno; in CreateESCC8Port()
[all …]
D8253xtty.c2278 int portno; in sab8253x_read_proc() local
2296 for (portno = 0; port != NULL; port = port->next, ++portno) in sab8253x_read_proc()
2305 sab8253x_serial_driver.minor_start + portno, in sab8253x_read_proc()
2306 port->portno, in sab8253x_read_proc()
D8253x.h447 unsigned int portno; member
/linux-2.4.37.9/drivers/scsi/
Dsata_sx4.c314 unsigned int portno, in pdc20621_ata_sg() argument
323 (PDC_DIMM_DATA_STEP * portno); in pdc20621_ata_sg()
330 (PDC_DIMM_WINDOW_STEP * portno) + in pdc20621_ata_sg()
336 unsigned int portno, in pdc20621_host_sg() argument
345 (PDC_DIMM_DATA_STEP * portno); in pdc20621_host_sg()
352 (PDC_DIMM_WINDOW_STEP * portno) + in pdc20621_host_sg()
359 unsigned int portno) in pdc20621_ata_pkt() argument
366 (PDC_DIMM_WINDOW_STEP * portno) + in pdc20621_ata_pkt()
382 buf[i++] = portno + 1; /* seq. id */ in pdc20621_ata_pkt()
411 unsigned int portno) in pdc20621_host_pkt() argument
[all …]
/linux-2.4.37.9/drivers/net/
Dmac89x0.c145 readreg_io(struct net_device *dev, int portno) in readreg_io() argument
147 nubus_writew(swab16(portno), dev->base_addr + ADD_PORT); in readreg_io()
152 writereg_io(struct net_device *dev, int portno, int value) in writereg_io() argument
154 nubus_writew(swab16(portno), dev->base_addr + ADD_PORT); in writereg_io()
160 readreg(struct net_device *dev, int portno) in readreg() argument
162 return swab16(nubus_readw(dev->mem_start + portno)); in readreg()
166 writereg(struct net_device *dev, int portno, int value) in writereg() argument
168 nubus_writew(swab16(value), dev->mem_start + portno); in writereg()
Dcs89x0.c304 readreg(struct net_device *dev, int portno) in readreg() argument
306 outw(portno, dev->base_addr + ADD_PORT); in readreg()
311 writereg(struct net_device *dev, int portno, int value) in writereg() argument
313 outw(portno, dev->base_addr + ADD_PORT); in writereg()
318 readword(struct net_device *dev, int portno) in readword() argument
320 return inw(dev->base_addr + portno); in readword()
324 writeword(struct net_device *dev, int portno, int value) in writeword() argument
326 outw(value, dev->base_addr + portno); in writeword()
/linux-2.4.37.9/drivers/char/
Dsx.c2335 int portno; in sx_init_portstructs() local
2389 portno = 0; in sx_init_portstructs()
2392 board->port_base = portno; in sx_init_portstructs()
2412 port->line = portno++; in sx_init_portstructs()
/linux-2.4.37.9/drivers/s390/net/
Dqeth.h731 int portno; member
Dqeth.c3133 cmd->rel_adapter_no=(__u8)card->options.portno; in qeth_fill_ipa_cmd()
7392 *(QETH_ULP_ENABLE_LINKNUM(card->send_buf))=(__u8)card->options.portno; in qeth_ulp_enable()
8606 card->options.portno=0; in qeth_fill_qeth_card_options()
9106 &card->options.portno,i); in qeth_parse_option()
9381 card->options.portno = probeinfo->port_protocol_no; in qeth_attach_handler()
9383 card->options.portno = 0; in qeth_attach_handler()
9641 card->options.portno, in qeth_probe()
10057 card->options.portno); in qeth_procfile_open()
10068 card->options.portno); in qeth_procfile_open()
10078 card->options.portno, in qeth_procfile_open()