Home
last modified time | relevance | path

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

/Linux-v5.10/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 …]
/Linux-v5.10/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,
/Linux-v5.10/arch/ia64/pci/
Dpci.c157 unsigned long base, min, max, base_port; in add_io_space() local
178 base_port = IO_SPACE_BASE(space_nr); in add_io_space()
180 base_port + min, base_port + max); in add_io_space()
202 entry->offset = base_port; in add_io_space()
203 res->start = min + base_port; in add_io_space()
204 res->end = max + base_port; in add_io_space()
/Linux-v5.10/drivers/staging/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()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c1832 mlxsw_sp_port_split_create(struct mlxsw_sp *mlxsw_sp, u8 base_port, in mlxsw_sp_port_split_create() argument
1842 err = mlxsw_sp_port_create(mlxsw_sp, base_port + i * offset, in mlxsw_sp_port_split_create()
1843 base_port, &split_port_mapping); in mlxsw_sp_port_split_create()
1853 if (mlxsw_sp_port_created(mlxsw_sp, base_port + i * offset)) in mlxsw_sp_port_split_create()
1854 mlxsw_sp_port_remove(mlxsw_sp, base_port + i * offset); in mlxsw_sp_port_split_create()
1859 u8 base_port, in mlxsw_sp_port_unsplit_create() argument
1867 port_mapping = mlxsw_sp->port_mapping[base_port + i]; in mlxsw_sp_port_unsplit_create()
1870 mlxsw_sp_port_create(mlxsw_sp, base_port + i, 0, port_mapping); in mlxsw_sp_port_unsplit_create()
1911 u8 base_port; in mlxsw_sp_port_split() local
1949 base_port = count == max_width ? in mlxsw_sp_port_split()
[all …]
/Linux-v5.10/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()
/Linux-v5.10/arch/powerpc/kernel/
Dsetup-common.c637 int check_legacy_ioport(unsigned long base_port) in check_legacy_ioport() argument
642 switch(base_port) { in check_legacy_ioport()
/Linux-v5.10/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()
/Linux-v5.10/drivers/net/ethernet/ti/
Dtlan.c2912 static void tlan_mii_send_data(u16 base_port, u32 data, unsigned num_bits) in tlan_mii_send_data() argument
2920 outw(TLAN_NET_SIO, base_port + TLAN_DIO_ADR); in tlan_mii_send_data()
2921 sio = base_port + TLAN_DIO_DATA + TLAN_NET_SIO; in tlan_mii_send_data()
2954 static void tlan_mii_sync(u16 base_port) in tlan_mii_sync() argument
2959 outw(TLAN_NET_SIO, base_port + TLAN_DIO_ADR); in tlan_mii_sync()
2960 sio = base_port + TLAN_DIO_DATA + TLAN_NET_SIO; in tlan_mii_sync()
/Linux-v5.10/net/netfilter/
Dnf_conntrack_sip.c861 u_int16_t base_port; in set_expected_rtp_rtcp() local
944 base_port = ntohs(tuple.dst.u.udp.port) & ~1; in set_expected_rtp_rtcp()
945 rtp_port = htons(base_port); in set_expected_rtp_rtcp()
946 rtcp_port = htons(base_port + 1); in set_expected_rtp_rtcp()
/Linux-v5.10/arch/powerpc/include/asm/
Dio.h15 extern int check_legacy_ioport(unsigned long base_port);