Home
last modified time | relevance | path

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

/openbmc/linux/drivers/tty/serial/8250/
H A D8250_fintek.c98 u16 base_port; member
105 outb(reg, pdata->base_port + ADDR_PORT); in sio_read_reg()
106 return inb(pdata->base_port + DATA_PORT); in sio_read_reg()
111 outb(reg, pdata->base_port + ADDR_PORT); in sio_write_reg()
112 outb(data, pdata->base_port + DATA_PORT); in sio_write_reg()
124 static int fintek_8250_enter_key(u16 base_port, u8 key) in fintek_8250_enter_key() argument
126 if (!request_muxed_region(base_port, 2, "8250_fintek")) in fintek_8250_enter_key()
130 outb(EXIT_KEY, base_port + ADDR_PORT); in fintek_8250_enter_key()
132 outb(key, base_port + ADDR_PORT); in fintek_8250_enter_key()
133 outb(key, base_port + ADDR_PORT); in fintek_8250_enter_key()
[all …]
/openbmc/linux/drivers/tty/ipwireless/
H A 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 …]
H A Dhardware.h54 unsigned int base_port,
/openbmc/u-boot/drivers/gpio/
H A Dtegra_gpio.c268 static char *gpio_port_name(int base_port) in gpio_port_name() argument
275 *s++ = 'A' + (base_port % 26); in gpio_port_name()
276 if (base_port >= 26) in gpio_port_name()
352 int base_port; in gpio_tegra_bind() local
358 base_port = bank * TEGRA_PORTS_PER_BANK + port; in gpio_tegra_bind()
359 plat->base_gpio = TEGRA_GPIOS_PER_PORT * base_port; in gpio_tegra_bind()
360 plat->port_name = gpio_port_name(base_port); in gpio_tegra_bind()
/openbmc/linux/arch/ia64/pci/
H A 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()
/openbmc/u-boot/drivers/net/fm/
H A Dinit.c344 void set_sgmii_phy(struct mii_dev *bus, enum fm_port base_port, in set_sgmii_phy() argument
357 for (i = base_port; i < base_port + port_num; i++) { in set_sgmii_phy()
359 phy_real_addr = phy_base_addr + i - base_port; in set_sgmii_phy()
/openbmc/linux/drivers/comedi/drivers/
H A Dni_65xx.c350 unsigned long base_port = (unsigned long)s->private; in ni_65xx_dio_insn_config() local
353 unsigned int port = base_port + NI_65XX_CHAN_TO_PORT(chan); in ni_65xx_dio_insn_config()
418 unsigned long base_port = (unsigned long)s->private; in ni_65xx_dio_insn_bits() local
426 unsigned int port = base_port + port_offset; in ni_65xx_dio_insn_bits()
/openbmc/linux/drivers/net/phy/mscc/
H A 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()
/openbmc/linux/arch/powerpc/kernel/
H A Dsetup-common.c657 int check_legacy_ioport(unsigned long base_port) in check_legacy_ioport() argument
662 switch(base_port) { in check_legacy_ioport()
/openbmc/u-boot/include/
H A Dfm_eth.h202 void set_sgmii_phy(struct mii_dev *bus, enum fm_port base_port,
/openbmc/linux/drivers/scsi/bfa/
H A Dbfad_drv.h152 struct bfad_port_s base_port; /* base port for vf */ member
H A Dbfad.c443 port_drv = &vf_drv->base_port; in bfa_fcb_lport_new()
/openbmc/linux/drivers/net/ethernet/ti/
H A Dtlan.c2925 static void tlan_mii_send_data(u16 base_port, u32 data, unsigned num_bits) in tlan_mii_send_data() argument
2933 outw(TLAN_NET_SIO, base_port + TLAN_DIO_ADR); in tlan_mii_send_data()
2934 sio = base_port + TLAN_DIO_DATA + TLAN_NET_SIO; in tlan_mii_send_data()
2967 static void tlan_mii_sync(u16 base_port) in tlan_mii_sync() argument
2972 outw(TLAN_NET_SIO, base_port + TLAN_DIO_ADR); in tlan_mii_sync()
2973 sio = base_port + TLAN_DIO_DATA + TLAN_NET_SIO; in tlan_mii_sync()
/openbmc/linux/net/netfilter/
H A 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()
/openbmc/linux/arch/powerpc/include/asm/
H A Dio.h10 extern int check_legacy_ioport(unsigned long base_port);