/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_tc_matchall.c | 5 static int lan966x_tc_matchall_add(struct lan966x_port *port, in lan966x_tc_matchall_add() 39 static int lan966x_tc_matchall_del(struct lan966x_port *port, in lan966x_tc_matchall_del() 57 static int lan966x_tc_matchall_stats(struct lan966x_port *port, in lan966x_tc_matchall_stats() 75 int lan966x_tc_matchall(struct lan966x_port *port, in lan966x_tc_matchall()
|
H A D | lan966x_phylink.c | 14 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev)); in lan966x_phylink_mac_select() local 29 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev)); in lan966x_phylink_mac_prepare() local 53 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev)); in lan966x_phylink_mac_link_up() local 72 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev)); in lan966x_phylink_mac_link_down() local 93 struct lan966x_port *port = lan966x_pcs_to_port(pcs); in lan966x_pcs_get_state() local 103 struct lan966x_port *port = lan966x_pcs_to_port(pcs); in lan966x_pcs_config() local
|
H A D | lan966x_main.c | 109 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_unique_address() local 127 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_set_mac_address() local 159 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_get_phys_port_name() local 171 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_open() local 199 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_stop() local 229 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_ifh_xmit() local 331 void lan966x_ifh_set_port(void *ifh, u64 port) in lan966x_ifh_set_port() 364 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_xmit() local 398 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_change_mtu() local 742 struct lan966x_port *port; in lan966x_cleanup_ports() local [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | port.c | 127 static int mlx4_set_port_mac_table(struct mlx4_dev *dev, u8 port, in mlx4_set_port_mac_table() 182 int __mlx4_register_mac(struct mlx4_dev *dev, u8 port, u64 mac) in __mlx4_register_mac() 342 int mlx4_register_mac(struct mlx4_dev *dev, u8 port, u64 mac) in mlx4_register_mac() 372 int mlx4_get_base_qpn(struct mlx4_dev *dev, u8 port) in mlx4_get_base_qpn() 450 void mlx4_unregister_mac(struct mlx4_dev *dev, u8 port, u64 mac) in mlx4_unregister_mac() 1170 int port, struct mlx4_cmd_mailbox *mailbox) in mlx4_reset_roce_port_gids() 1248 mlx4_en_set_port_mtu(struct mlx4_dev *dev, int slave, int port, in mlx4_en_set_port_mtu() 1341 int port; in mlx4_common_set_port() local 1546 int port = mlx4_slave_convert_port( in mlx4_SET_PORT_wrapper() local 1828 int mlx4_SET_MCAST_FLTR(struct mlx4_dev *dev, u8 port, in mlx4_SET_MCAST_FLTR() [all …]
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | tb.c | 74 u8 port; member 207 struct tb_port *port; in tb_add_dp_resources() local 430 struct tb_port *port; in tb_switch_discover_tunnels() local 544 struct tb_port *port; in tb_find_unused_port() local 867 struct tb_port *port; in tb_available_bandwidth() local 1038 struct tb_port *port; in tb_create_usb3_tunnels() local 1287 struct tb_port *port; in tb_scan_switch() local 1501 struct tb_port *port; in tb_free_unplugged_children() local 2145 struct tb_port *port; in tb_handle_hotplug() local 2681 struct tb_port *port; in tb_restore_children() local [all …]
|
/openbmc/linux/drivers/usb/serial/ |
H A D | keyspan.c | 771 struct usb_serial_port *port; in usa26_indat_callback() local 829 struct usb_serial_port *port; in usa2x_outdat_callback() local 845 struct usb_serial_port *port; in usa26_outcont_callback() local 917 struct usb_serial_port *port; in usa28_indat_callback() local 963 struct usb_serial_port *port; in usa28_outcont_callback() local 1037 struct usb_serial_port *port; in usa49_glocont_callback() local 1122 struct usb_serial_port *port; in usa49_indat_callback() local 1174 struct usb_serial_port *port; in usa49wg_indat_callback() local 1250 struct usb_serial_port *port; in usa90_indat_callback() local 1369 struct usb_serial_port *port; in usa90_outcont_callback() local [all …]
|
H A D | digi_acceleport.c | 615 struct usb_serial_port *port = tty->driver_data; in digi_rx_throttle() local 630 struct usb_serial_port *port = tty->driver_data; in digi_rx_unthrottle() local 653 struct usb_serial_port *port, in digi_set_termios() 844 struct usb_serial_port *port = tty->driver_data; in digi_break_ctl() local 858 struct usb_serial_port *port = tty->driver_data; in digi_tiocmget() local 873 struct usb_serial_port *port = tty->driver_data; in digi_tiocmset() local 961 struct usb_serial_port *port = urb->context; in digi_write_bulk_callback() local 1184 struct usb_serial_port *port; in digi_startup_device() local 1297 struct usb_serial_port *port = urb->context; in digi_read_bulk_callback() local 1358 struct usb_serial_port *port = urb->context; in digi_read_inb_callback() local [all …]
|
H A D | quatech2.c | 126 struct usb_serial_port *port; member 210 struct usb_serial_port *port = port_priv->port; in update_mctrl() local 256 struct usb_serial_port *port, in qt2_set_termios() 384 static void qt2_close(struct usb_serial_port *port) in qt2_close() 450 struct usb_serial_port *port; in qt2_process_read_urb() local 546 struct usb_serial_port *port; in qt2_write_bulk_callback() local 654 static int qt2_port_probe(struct usb_serial_port *port) in qt2_port_probe() 705 struct usb_serial_port *port = tty->driver_data; in qt2_tiocmget() local 746 struct usb_serial_port *port = tty->driver_data; in qt2_break_ctl() local 857 struct usb_serial_port *port = tty->driver_data; in qt2_write_room() local [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-mxs.c | 57 static inline int is_imx23_gpio(struct mxs_gpio_port *port) in is_imx23_gpio() 70 struct mxs_gpio_port *port = gc->private; in mxs_gpio_set_irq_type() local 126 static void mxs_flip_edge(struct mxs_gpio_port *port, u32 gpio) in mxs_flip_edge() 147 struct mxs_gpio_port *port = irq_desc_get_handler_data(desc); in mxs_gpio_irq_handler() local 176 struct mxs_gpio_port *port = gc->private; in mxs_gpio_set_wake_irq() local 186 static int mxs_gpio_init_gc(struct mxs_gpio_port *port, int irq_base) in mxs_gpio_init_gc() 233 struct mxs_gpio_port *port = gpiochip_get_data(gc); in mxs_gpio_to_irq() local 240 struct mxs_gpio_port *port = gpiochip_get_data(gc); in mxs_gpio_get_direction() local 263 struct mxs_gpio_port *port; in mxs_gpio_probe() local
|
/openbmc/linux/drivers/tty/serial/ |
H A D | sh-sci.h | 164 #define SCxSR_TEND(port) (((port)->type == PORT_SCI) ? SCI_TEND : SCIF_TEND) argument 165 #define SCxSR_RDxF(port) (((port)->type == PORT_SCI) ? SCI_RDRF : SCIF_DR | SCIF_RDF) argument 166 #define SCxSR_TDxE(port) (((port)->type == PORT_SCI) ? SCI_TDRE : SCIF_TDFE) argument 167 #define SCxSR_FER(port) (((port)->type == PORT_SCI) ? SCI_FER : SCIF_FER) argument 168 #define SCxSR_PER(port) (((port)->type == PORT_SCI) ? SCI_PER : SCIF_PER) argument 169 #define SCxSR_BRK(port) (((port)->type == PORT_SCI) ? 0x00 : SCIF_BRK) argument 171 #define SCxSR_ERRORS(port) (to_sci_port(port)->params->error_mask) argument 173 #define SCxSR_RDxF_CLEAR(port) \ argument 175 #define SCxSR_ERROR_CLEAR(port) \ argument 177 #define SCxSR_TDxE_CLEAR(port) \ argument [all …]
|
H A D | qcom_geni_serial.c | 193 struct qcom_geni_serial_port *port = to_dev_port(uport); in qcom_geni_serial_request_port() local 230 struct qcom_geni_serial_port *port = to_dev_port(uport); in qcom_geni_serial_set_mctrl() local 250 struct qcom_geni_serial_port *port; in get_port_from_line() local 274 struct qcom_geni_serial_port *port; in qcom_geni_serial_poll_bit() local 393 struct qcom_geni_serial_port *port = to_dev_port(uport); in qcom_geni_serial_poll_init() local 481 struct qcom_geni_serial_port *port; in qcom_geni_serial_console_write() local 541 struct qcom_geni_serial_port *port = to_dev_port(uport); in handle_rx_console() local 581 struct qcom_geni_serial_port *port = to_dev_port(uport); in handle_rx_uart() local 602 struct qcom_geni_serial_port *port = to_dev_port(uport); in qcom_geni_serial_stop_tx_dma() local 1364 struct qcom_geni_serial_port *port; in qcom_geni_console_setup() local [all …]
|
H A D | fsl_linflexuart.c | 143 static void linflex_stop_tx(struct uart_port *port) in linflex_stop_tx() 152 static void linflex_stop_rx(struct uart_port *port) in linflex_stop_rx() 191 static void linflex_start_tx(struct uart_port *port) in linflex_start_tx() 228 struct tty_port *port = &sport->state->port; in linflex_rxint() local 292 static unsigned int linflex_tx_empty(struct uart_port *port) in linflex_tx_empty() 301 static unsigned int linflex_get_mctrl(struct uart_port *port) in linflex_get_mctrl() 367 static int linflex_startup(struct uart_port *port) in linflex_startup() 384 static void linflex_shutdown(struct uart_port *port) in linflex_shutdown() 513 static const char *linflex_type(struct uart_port *port) in linflex_type() 518 static void linflex_release_port(struct uart_port *port) in linflex_release_port() [all …]
|
/openbmc/u-boot/arch/microblaze/include/asm/ |
H A D | io.h | 62 #define inb_p(port) inb((port)) argument 63 #define outb_p(val, port) outb((val), (port)) argument 64 #define inw_p(port) inw((port)) argument 65 #define outw_p(val, port) outw((val), (port)) argument 66 #define inl_p(port) inl((port)) argument 67 #define outl_p(val, port) outl((val), (port)) argument 78 static inline void io_insb(unsigned long port, void *dst, unsigned long count) in io_insb() 86 static inline void io_insw(unsigned long port, void *dst, unsigned long count) in io_insw() 103 io_outsb(unsigned long port, const void *src, unsigned long count) in io_outsb() 112 io_outsw(unsigned long port, const void *src, unsigned long count) in io_outsw() [all …]
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | hwtstamp.c | 21 static int mv88e6xxx_port_ptp_read(struct mv88e6xxx_chip *chip, int port, in mv88e6xxx_port_ptp_read() 31 static int mv88e6xxx_port_ptp_write(struct mv88e6xxx_chip *chip, int port, in mv88e6xxx_port_ptp_write() 66 int mv88e6xxx_get_ts_info(struct dsa_switch *ds, int port, in mv88e6xxx_get_ts_info() 91 static int mv88e6xxx_set_hwtstamp_config(struct mv88e6xxx_chip *chip, int port, in mv88e6xxx_set_hwtstamp_config() 171 int mv88e6xxx_port_hwtstamp_set(struct dsa_switch *ds, int port, in mv88e6xxx_port_hwtstamp_set() 196 int mv88e6xxx_port_hwtstamp_get(struct dsa_switch *ds, int port, in mv88e6xxx_port_hwtstamp_get() 214 int port, struct sk_buff *skb, in mv88e6xxx_should_tstamp() 331 bool mv88e6xxx_port_rxtstamp(struct dsa_switch *ds, int port, in mv88e6xxx_port_rxtstamp() 467 void mv88e6xxx_port_txtstamp(struct dsa_switch *ds, int port, in mv88e6xxx_port_txtstamp() 528 int mv88e6352_hwtstamp_port_disable(struct mv88e6xxx_chip *chip, int port) in mv88e6352_hwtstamp_port_disable() [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | pata_atp867x.c | 74 #define ATP867X_IO_DMABASE(ap, port) (0x40 + \ argument 77 #define ATP867X_IO_STATUS(ap, port) (0x07 + \ argument 79 #define ATP867X_IO_ALTSTATUS(ap, port) (0x0E + \ argument 85 #define ATP867X_IO_MSTRPIOSPD(ap, port) (0x08 + \ argument 87 #define ATP867X_IO_SLAVPIOSPD(ap, port) (0x09 + \ argument 89 #define ATP867X_IO_8BPIOSPD(ap, port) (0x0A + \ argument 91 #define ATP867X_IO_DMAMODE(ap, port) (0x0B + \ argument 94 #define ATP867X_IO_PORTSPD(ap, port) (0x4A + \ argument 96 #define ATP867X_IO_PREREAD(ap, port) (0x4C + \ argument 288 static void atp867x_check_ports(struct ata_port *ap, int port) in atp867x_check_ports() [all …]
|
/openbmc/linux/arch/hexagon/include/asm/ |
H A D | io.h | 208 static inline u8 inb(unsigned long port) in inb() 213 static inline u16 inw(unsigned long port) in inw() 218 static inline u32 inl(unsigned long port) in inl() 228 static inline void outb(u8 data, unsigned long port) in outb() 233 static inline void outw(u16 data, unsigned long port) in outw() 238 static inline void outl(u32 data, unsigned long port) in outl() 251 static inline void insb(unsigned long port, void *buffer, int count) in insb() 262 static inline void insw(unsigned long port, void *buffer, int count) in insw() 273 static inline void insl(unsigned long port, void *buffer, int count) in insl() 284 static inline void outsb(unsigned long port, const void *buffer, int count) in outsb() [all …]
|
/openbmc/linux/drivers/net/wwan/ |
H A D | rpmsg_wwan_ctrl.c | 32 static int rpmsg_wwan_ctrl_start(struct wwan_port *port) in rpmsg_wwan_ctrl_start() 49 static void rpmsg_wwan_ctrl_stop(struct wwan_port *port) in rpmsg_wwan_ctrl_stop() 57 static int rpmsg_wwan_ctrl_tx(struct wwan_port *port, struct sk_buff *skb) in rpmsg_wwan_ctrl_tx() 70 static int rpmsg_wwan_ctrl_tx_blocking(struct wwan_port *port, struct sk_buff *skb) in rpmsg_wwan_ctrl_tx_blocking() 83 static __poll_t rpmsg_wwan_ctrl_tx_poll(struct wwan_port *port, in rpmsg_wwan_ctrl_tx_poll() 116 struct wwan_port *port; in rpmsg_wwan_ctrl_probe() local
|
/openbmc/linux/drivers/net/ethernet/marvell/ |
H A D | skge.c | 163 int port = skge->port; in skge_wol_init() local 627 int port = skge->port; in skge_get_coalesce() local 653 int port = skge->port; in skge_set_coalesce() local 691 int port = skge->port; in skge_led() local 1286 int port = skge->port; in bcom_phy_init() local 1392 int port = skge->port; in xm_phy_init() local 1427 int port = skge->port; in xm_check_link() local 1501 int port = skge->port; in xm_link_timer() local 1694 int port = skge->port; in genesis_stop() local 1742 int port = skge->port; in genesis_get_stats() local [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_flow.c | 116 struct prestera_port *port) in prestera_flow_block_lookup() 128 struct prestera_port *port) in prestera_flow_block_bind() 155 struct prestera_port *port) in prestera_flow_block_unbind() 219 static int prestera_setup_flow_block_bind(struct prestera_port *port, in prestera_setup_flow_block_bind() 256 static void prestera_setup_flow_block_unbind(struct prestera_port *port, in prestera_setup_flow_block_unbind() 287 static int prestera_setup_flow_block_clsact(struct prestera_port *port, in prestera_setup_flow_block_clsact() 304 int prestera_flow_block_setup(struct prestera_port *port, in prestera_flow_block_setup()
|
/openbmc/linux/drivers/scsi/libsas/ |
H A D | sas_port.c | 15 static bool phy_is_wideport_member(struct asd_sas_port *port, struct asd_sas_phy *phy) in phy_is_wideport_member() 29 struct asd_sas_port *port = phy->port; in sas_resume_port() local 70 static void sas_form_port_add_phy(struct asd_sas_port *port, in sas_form_port_add_phy() 108 struct asd_sas_port *port = phy->port; in sas_form_port() local 212 struct asd_sas_port *port = phy->port; in sas_deform_port() local 325 static void sas_init_port(struct asd_sas_port *port, in sas_init_port() 347 struct asd_sas_port *port = sas_ha->sas_port[i]; in sas_register_ports() local
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | ib_virt.c | 50 int mlx5_ib_get_vf_config(struct ib_device *device, int vf, u32 port, in mlx5_ib_get_vf_config() 93 u32 port, int state) in mlx5_ib_set_vf_link_state() 121 u32 port, struct ifla_vf_stats *stats) in mlx5_ib_get_vf_stats() 151 static int set_vf_node_guid(struct ib_device *device, int vf, u32 port, in set_vf_node_guid() 175 static int set_vf_port_guid(struct ib_device *device, int vf, u32 port, in set_vf_port_guid() 199 int mlx5_ib_set_vf_guid(struct ib_device *device, int vf, u32 port, in mlx5_ib_set_vf_guid() 210 int mlx5_ib_get_vf_guid(struct ib_device *device, int vf, u32 port, in mlx5_ib_get_vf_guid()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | io.c | 27 void _insb(const volatile u8 __iomem *port, void *buf, long count) in _insb() 44 void _outsb(volatile u8 __iomem *port, const void *buf, long count) in _outsb() 58 void _insw_ns(const volatile u16 __iomem *port, void *buf, long count) in _insw_ns() 75 void _outsw_ns(volatile u16 __iomem *port, const void *buf, long count) in _outsw_ns() 89 void _insl_ns(const volatile u32 __iomem *port, void *buf, long count) in _insl_ns() 106 void _outsl_ns(volatile u32 __iomem *port, const void *buf, long count) in _outsl_ns()
|
/openbmc/linux/arch/parisc/lib/ |
H A D | io.c | 127 void insb (unsigned long port, void *dst, unsigned long count) in insb() 167 void insw (unsigned long port, void *dst, unsigned long count) in insw() 239 void insl (unsigned long port, void *dst, unsigned long count) in insl() 319 void outsb(unsigned long port, const void * src, unsigned long count) in outsb() 337 void outsw (unsigned long port, const void *src, unsigned long count) in outsw() 409 void outsl (unsigned long port, const void *src, unsigned long count) in outsl()
|
/openbmc/linux/drivers/net/dsa/ |
H A D | bcm_sf2_cfp.c | 23 int port; member 483 const __be32 *ip6_addr, const __be16 port, in bcm_sf2_cfp_slice_ipv6() 568 int port, u32 location) in bcm_sf2_cfp_rule_find() 580 static int bcm_sf2_cfp_rule_cmp(struct bcm_sf2_priv *priv, int port, in bcm_sf2_cfp_rule_cmp() 846 static int bcm_sf2_cfp_rule_insert(struct dsa_switch *ds, int port, in bcm_sf2_cfp_rule_insert() 926 static int bcm_sf2_cfp_rule_set(struct dsa_switch *ds, int port, in bcm_sf2_cfp_rule_set() 1085 int port, struct ethtool_rxnfc *nfc, in bcm_sf2_cfp_rule_get_all() 1102 int bcm_sf2_get_rxnfc(struct dsa_switch *ds, int port, in bcm_sf2_get_rxnfc() 1145 int bcm_sf2_set_rxnfc(struct dsa_switch *ds, int port, in bcm_sf2_set_rxnfc() 1282 void bcm_sf2_cfp_get_strings(struct dsa_switch *ds, int port, in bcm_sf2_cfp_get_strings() [all …]
|
/openbmc/linux/drivers/media/pci/cx23885/ |
H A D | cx23885-dvb.c | 92 struct cx23885_tsport *port = q->drv_priv; in queue_setup() local 106 struct cx23885_tsport *port = vb->vb2_queue->drv_priv; in buffer_prepare() local 116 struct cx23885_tsport *port = vb->vb2_queue->drv_priv; in buffer_finish() local 127 struct cx23885_tsport *port = vb->vb2_queue->drv_priv; in buffer_queue() local 152 struct cx23885_tsport *port = q->drv_priv; in cx23885_start_streaming() local 163 struct cx23885_tsport *port = q->drv_priv; in cx23885_stop_streaming() local 596 struct cx23885_tsport *port = fe->dvb->priv; in p8000_set_voltage() local 611 struct cx23885_tsport *port = fe->dvb->priv; in dvbsky_t9580_set_voltage() local 640 struct cx23885_tsport *port = fe->dvb->priv; in dvbsky_s952_portc_set_voltage() local 678 struct cx23885_tsport *port = priv; in cx23885_sp2_ci_ctrl() local [all …]
|