Home
last modified time | relevance | path

Searched refs:base_port (Results 1 – 9 of 9) sorted by relevance

/drivers/tty/serial/8250/
D8250_fintek.c97 u16 base_port; member
104 outb(reg, pdata->base_port + ADDR_PORT); in sio_read_reg()
105 return inb(pdata->base_port + DATA_PORT); in sio_read_reg()
110 outb(reg, pdata->base_port + ADDR_PORT); in sio_write_reg()
111 outb(data, pdata->base_port + DATA_PORT); in sio_write_reg()
123 static int fintek_8250_enter_key(u16 base_port, u8 key) in fintek_8250_enter_key() argument
125 if (!request_muxed_region(base_port, 2, "8250_fintek")) in fintek_8250_enter_key()
129 outb(EXIT_KEY, base_port + ADDR_PORT); in fintek_8250_enter_key()
131 outb(key, base_port + ADDR_PORT); in fintek_8250_enter_key()
132 outb(key, base_port + ADDR_PORT); in fintek_8250_enter_key()
[all …]
/drivers/tty/ipwireless/
Dhardware.c230 unsigned int base_port; member
422 outw((unsigned short) length, hw->base_port + IODWR); in do_send_fragment()
431 outw(raw_data, hw->base_port + IODWR); in do_send_fragment()
434 outw(DCR_TXDONE, hw->base_port + IODCR); in do_send_fragment()
436 outw((unsigned short) length, hw->base_port); in do_send_fragment()
445 outw(raw_data, hw->base_port); in do_send_fragment()
448 outw((unsigned short) 0xDEAD, hw->base_port); in do_send_fragment()
528 outw(DCR_RXRESET, hw->base_port + IODCR); in ipw_setup_hardware()
530 outw(DCR_TXRESET, hw->base_port + IODCR); in ipw_setup_hardware()
533 outw(IER_TXENABLED | IER_RXENABLED, hw->base_port + IOIER); in ipw_setup_hardware()
[all …]
Dhardware.h54 unsigned int base_port,
/drivers/comedi/drivers/
Dni_65xx.c351 unsigned long base_port = (unsigned long)s->private; in ni_65xx_dio_insn_config() local
354 unsigned int port = base_port + NI_65XX_CHAN_TO_PORT(chan); in ni_65xx_dio_insn_config()
419 unsigned long base_port = (unsigned long)s->private; in ni_65xx_dio_insn_bits() local
427 unsigned int port = base_port + port_offset; in ni_65xx_dio_insn_bits()
/drivers/net/phy/mscc/
Dmscc_ptp.c66 bool base_port = phydev->mdio.addr == priv->ts_base_addr; in vsc85xx_ts_read_csr() local
72 blk_hw = base_port ? INGRESS_ENGINE_0 : INGRESS_ENGINE_1; in vsc85xx_ts_read_csr()
75 blk_hw = base_port ? EGRESS_ENGINE_0 : EGRESS_ENGINE_1; in vsc85xx_ts_read_csr()
79 blk_hw = base_port ? PROCESSOR_0 : PROCESSOR_1; in vsc85xx_ts_read_csr()
110 bool base_port = phydev->mdio.addr == priv->ts_base_addr; in vsc85xx_ts_write_csr() local
122 blk_hw = base_port ? INGRESS_ENGINE_0 : INGRESS_ENGINE_1; in vsc85xx_ts_write_csr()
125 blk_hw = base_port ? EGRESS_ENGINE_0 : EGRESS_ENGINE_1; in vsc85xx_ts_write_csr()
129 blk_hw = base_port ? PROCESSOR_0 : PROCESSOR_1; in vsc85xx_ts_write_csr()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c1905 mlxsw_sp_port_split_create(struct mlxsw_sp *mlxsw_sp, u8 base_port, in mlxsw_sp_port_split_create() argument
1915 err = mlxsw_sp_port_create(mlxsw_sp, base_port + i * offset, in mlxsw_sp_port_split_create()
1916 base_port, &split_port_mapping); in mlxsw_sp_port_split_create()
1926 if (mlxsw_sp_port_created(mlxsw_sp, base_port + i * offset)) in mlxsw_sp_port_split_create()
1927 mlxsw_sp_port_remove(mlxsw_sp, base_port + i * offset); in mlxsw_sp_port_split_create()
1932 u8 base_port, in mlxsw_sp_port_unsplit_create() argument
1940 port_mapping = mlxsw_sp->port_mapping[base_port + i]; in mlxsw_sp_port_unsplit_create()
1943 mlxsw_sp_port_create(mlxsw_sp, base_port + i, 0, port_mapping); in mlxsw_sp_port_unsplit_create()
1984 u8 base_port; in mlxsw_sp_port_split() local
2022 base_port = count == max_width ? in mlxsw_sp_port_split()
[all …]
/drivers/scsi/bfa/
Dbfad_drv.h153 struct bfad_port_s base_port; /* base port for vf */ member
Dbfad.c443 port_drv = &vf_drv->base_port; in bfa_fcb_lport_new()
/drivers/net/ethernet/ti/
Dtlan.c2923 static void tlan_mii_send_data(u16 base_port, u32 data, unsigned num_bits) in tlan_mii_send_data() argument
2931 outw(TLAN_NET_SIO, base_port + TLAN_DIO_ADR); in tlan_mii_send_data()
2932 sio = base_port + TLAN_DIO_DATA + TLAN_NET_SIO; in tlan_mii_send_data()
2965 static void tlan_mii_sync(u16 base_port) in tlan_mii_sync() argument
2970 outw(TLAN_NET_SIO, base_port + TLAN_DIO_ADR); in tlan_mii_sync()
2971 sio = base_port + TLAN_DIO_DATA + TLAN_NET_SIO; in tlan_mii_sync()