/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-qos.c | 59 static int am65_cpsw_port_est_enabled(struct am65_cpsw_port *port) in am65_cpsw_port_est_enabled() 79 static void am65_cpsw_port_est_enable(struct am65_cpsw_port *port, int enable) in am65_cpsw_port_est_enable() 96 struct am65_cpsw_port *port = am65_ndev_to_port(ndev); in am65_cpsw_port_est_assign_buf_num() local 120 struct am65_cpsw_port *port = am65_ndev_to_port(ndev); in am65_cpsw_port_est_is_swapped() local 168 struct am65_cpsw_port *port = am65_ndev_to_port(ndev); in am65_cpsw_admin_to_oper() local 179 struct am65_cpsw_port *port = am65_ndev_to_port(ndev); in am65_cpsw_port_est_get_buf_num() local 196 struct am65_cpsw_port *port = am65_ndev_to_port(ndev); in am65_cpsw_est_set() local 216 struct am65_cpsw_port *port = am65_ndev_to_port(ndev); in am65_cpsw_est_update_state() local 304 struct am65_cpsw_port *port = am65_ndev_to_port(ndev); in am65_cpsw_est_check_scheds() local 323 struct am65_cpsw_port *port = am65_ndev_to_port(ndev); in am65_cpsw_est_set_sched_list() local [all …]
|
H A D | am65-cpsw-switchdev.c | 21 struct am65_cpsw_port *port; member 25 static int am65_cpsw_port_stp_state_set(struct am65_cpsw_port *port, u8 state) in am65_cpsw_port_stp_state_set() 56 static int am65_cpsw_port_attr_br_flags_set(struct am65_cpsw_port *port, in am65_cpsw_port_attr_br_flags_set() 91 struct am65_cpsw_port *port = am65_ndev_to_port(ndev); in am65_cpsw_port_attr_set() local 117 static u16 am65_cpsw_get_pvid(struct am65_cpsw_port *port) in am65_cpsw_get_pvid() 133 static void am65_cpsw_set_pvid(struct am65_cpsw_port *port, u16 vid, bool cfi, u32 cos) in am65_cpsw_set_pvid() 149 static int am65_cpsw_port_vlan_add(struct am65_cpsw_port *port, bool untag, bool pvid, in am65_cpsw_port_vlan_add() 197 static int am65_cpsw_port_vlan_del(struct am65_cpsw_port *port, u16 vid, in am65_cpsw_port_vlan_del() 235 static int am65_cpsw_port_vlans_add(struct am65_cpsw_port *port, in am65_cpsw_port_vlans_add() 248 static int am65_cpsw_port_vlans_del(struct am65_cpsw_port *port, in am65_cpsw_port_vlans_del() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
H A D | rx.c | 24 void ia_css_isys_rx_enable_all_interrupts(enum mipi_port_id port) in ia_css_isys_rx_enable_all_interrupts() 71 enum mipi_port_id port = MIPI_PORT0_ID; in ia_css_isys_port_to_mipi_port() local 81 unsigned int ia_css_isys_rx_get_interrupt_reg(enum mipi_port_id port) in ia_css_isys_rx_get_interrupt_reg() 96 enum mipi_port_id port = ia_css_isys_port_to_mipi_port(api_port); in ia_css_rx_port_get_irq_info() local 101 void ia_css_isys_rx_get_irq_info(enum mipi_port_id port, in ia_css_isys_rx_get_irq_info() 160 enum mipi_port_id port = ia_css_isys_port_to_mipi_port(api_port); in ia_css_rx_port_clear_irq_info() local 165 void ia_css_isys_rx_clear_irq_info(enum mipi_port_id port, in ia_css_isys_rx_clear_irq_info() 494 enum mipi_port_id port; in ia_css_isys_rx_configure() local 591 enum mipi_port_id port; in ia_css_isys_rx_disable() local
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | chip.c | 417 int port, phy_interface_t interface) in mv88e6xxx_port_config_interface() 438 static int mv88e6xxx_port_setup_mac(struct mv88e6xxx_chip *chip, int port, in mv88e6xxx_port_setup_mac() 473 static int mv88e6xxx_phy_is_internal(struct mv88e6xxx_chip *chip, int port) in mv88e6xxx_phy_is_internal() 480 static int mv88e6xxx_port_ppu_updates(struct mv88e6xxx_chip *chip, int port) in mv88e6xxx_port_ppu_updates() 512 static void mv88e6095_phylink_get_caps(struct mv88e6xxx_chip *chip, int port, in mv88e6095_phylink_get_caps() 531 static void mv88e6185_phylink_get_caps(struct mv88e6xxx_chip *chip, int port, in mv88e6185_phylink_get_caps() 570 mv88e6250_setup_supported_interfaces(struct mv88e6xxx_chip *chip, int port, in mv88e6250_setup_supported_interfaces() 619 static void mv88e6250_phylink_get_caps(struct mv88e6xxx_chip *chip, int port, in mv88e6250_phylink_get_caps() 628 static void mv88e6351_phylink_get_caps(struct mv88e6xxx_chip *chip, int port, in mv88e6351_phylink_get_caps() 670 static void mv88e6352_phylink_get_caps(struct mv88e6xxx_chip *chip, int port, in mv88e6352_phylink_get_caps() [all …]
|
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfa_port.c | 21 bfa_port_stats_swap(struct bfa_port_s *port, union bfa_port_stats_u *stats) in bfa_port_stats_swap() 51 bfa_port_enable_isr(struct bfa_port_s *port, bfa_status_t status) in bfa_port_enable_isr() 68 bfa_port_disable_isr(struct bfa_port_s *port, bfa_status_t status) in bfa_port_disable_isr() 85 bfa_port_get_stats_isr(struct bfa_port_s *port, bfa_status_t status) in bfa_port_get_stats_isr() 114 bfa_port_clear_stats_isr(struct bfa_port_s *port, bfa_status_t status) in bfa_port_clear_stats_isr() 141 struct bfa_port_s *port = (struct bfa_port_s *) cbarg; in bfa_port_isr() local 203 bfa_port_mem_claim(struct bfa_port_s *port, u8 *dma_kva, u64 dma_pa) in bfa_port_mem_claim() 219 bfa_port_enable(struct bfa_port_s *port, bfa_port_endis_cbfn_t cbfn, in bfa_port_enable() 275 bfa_port_disable(struct bfa_port_s *port, bfa_port_endis_cbfn_t cbfn, in bfa_port_disable() 331 bfa_port_get_stats(struct bfa_port_s *port, union bfa_port_stats_u *stats, in bfa_port_get_stats() [all …]
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | lc.c | 32 static int find_port_lc_cap(struct tb_port *port) in find_port_lc_cap() 59 int tb_lc_reset_port(struct tb_port *port) in tb_lc_reset_port() 93 static int tb_lc_set_port_configured(struct tb_port *port, bool configured) in tb_lc_set_port_configured() 136 int tb_lc_configure_port(struct tb_port *port) in tb_lc_configure_port() 147 void tb_lc_unconfigure_port(struct tb_port *port) in tb_lc_unconfigure_port() 152 static int tb_lc_set_xdomain_configured(struct tb_port *port, bool configure) in tb_lc_set_xdomain_configured() 190 int tb_lc_configure_xdomain(struct tb_port *port) in tb_lc_configure_xdomain() 201 void tb_lc_unconfigure_xdomain(struct tb_port *port) in tb_lc_unconfigure_xdomain() 216 int tb_lc_start_lane_initialization(struct tb_port *port) in tb_lc_start_lane_initialization() 248 bool tb_lc_is_clx_supported(struct tb_port *port) in tb_lc_is_clx_supported() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_ethtool.c | 300 struct prestera_port *port = netdev_priv(dev); in prestera_ethtool_get_drvinfo() local 313 static u8 prestera_port_type_get(struct prestera_port *port) in prestera_port_type_get() 322 struct prestera_port *port) in prestera_port_type_set() 412 struct prestera_port *port) in prestera_port_supp_types_get() 429 struct prestera_port *port) in prestera_port_remote_cap_get() 470 struct prestera_port *port) in prestera_port_link_mode_get() 498 struct prestera_port *port) in prestera_port_mdix_get() 516 struct prestera_port *port = netdev_priv(dev); in prestera_ethtool_get_link_ksettings() local 571 struct prestera_port *port) in prestera_port_mdix_set() 587 static int prestera_port_link_mode_set(struct prestera_port *port, in prestera_port_link_mode_set() [all …]
|
/openbmc/linux/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_vema.c | 147 struct opa_vnic_vema_port *port) in vema_get_vport_adapter() 199 static struct opa_vnic_adapter *vema_add_vport(struct opa_vnic_vema_port *port, in vema_add_vport() 229 static void vema_get_class_port_info(struct opa_vnic_vema_port *port, in vema_get_class_port_info() 264 static void vema_set_class_port_info(struct opa_vnic_vema_port *port, in vema_set_class_port_info() 280 static void vema_get_veswport_info(struct opa_vnic_vema_port *port, in vema_get_veswport_info() 307 static void vema_set_veswport_info(struct opa_vnic_vema_port *port, in vema_set_veswport_info() 353 static void vema_get_mac_entries(struct opa_vnic_vema_port *port, in vema_get_mac_entries() 388 static void vema_set_mac_entries(struct opa_vnic_vema_port *port, in vema_set_mac_entries() 421 static void vema_set_delete_vesw(struct opa_vnic_vema_port *port, in vema_set_delete_vesw() 454 static void vema_get_mac_list(struct opa_vnic_vema_port *port, in vema_get_mac_list() [all …]
|
/openbmc/linux/drivers/media/pci/saa7164/ |
H A D | saa7164-dvb.c | 103 static int si2157_attach(struct saa7164_port *port, struct i2c_adapter *adapter, in si2157_attach() 133 static int saa7164_dvb_stop_port(struct saa7164_port *port) in saa7164_dvb_stop_port() 151 static int saa7164_dvb_acquire_port(struct saa7164_port *port) in saa7164_dvb_acquire_port() 169 static int saa7164_dvb_pause_port(struct saa7164_port *port) in saa7164_dvb_pause_port() 191 static int saa7164_dvb_stop_streaming(struct saa7164_port *port) in saa7164_dvb_stop_streaming() 215 static int saa7164_dvb_start_port(struct saa7164_port *port) in saa7164_dvb_start_port() 283 struct saa7164_port *port = demux->priv; in saa7164_dvb_start_feed() local 310 struct saa7164_port *port = demux->priv; in saa7164_dvb_stop_feed() local 331 static int dvb_register(struct saa7164_port *port) in dvb_register() 471 int saa7164_dvb_unregister(struct saa7164_port *port) in saa7164_dvb_unregister() [all …]
|
/openbmc/linux/drivers/parport/ |
H A D | share.c | 156 struct parport *port = _port; in driver_check() local 165 static void attach_driver_chain(struct parport *port) in attach_driver_chain() 183 struct parport *port = _port; in driver_detach() local 192 static void detach_driver_chain(struct parport *port) in detach_driver_chain() 351 struct parport *port = to_parport_dev(dev); in free_port() local 376 struct parport *parport_get_port(struct parport *port) in parport_get_port() 384 void parport_del_port(struct parport *port) in parport_del_port() 399 void parport_put_port(struct parport *port) in parport_put_port() 525 void parport_announce_port(struct parport *port) in parport_announce_port() 579 void parport_remove_port(struct parport *port) in parport_remove_port() [all …]
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pcie-mt7621.c | 115 static inline u32 pcie_port_read(struct mt7621_pcie_port *port, u32 reg) in pcie_port_read() 120 static inline void pcie_port_write(struct mt7621_pcie_port *port, in pcie_port_write() 161 static inline void mt7621_rst_gpio_pcie_assert(struct mt7621_pcie_port *port) in mt7621_rst_gpio_pcie_assert() 167 static inline void mt7621_rst_gpio_pcie_deassert(struct mt7621_pcie_port *port) in mt7621_rst_gpio_pcie_deassert() 173 static inline bool mt7621_pcie_port_is_linkup(struct mt7621_pcie_port *port) in mt7621_pcie_port_is_linkup() 178 static inline void mt7621_control_assert(struct mt7621_pcie_port *port) in mt7621_control_assert() 188 static inline void mt7621_control_deassert(struct mt7621_pcie_port *port) in mt7621_control_deassert() 202 struct mt7621_pcie_port *port; in mt7621_pcie_parse_port() local 290 static int mt7621_pcie_init_port(struct mt7621_pcie_port *port) in mt7621_pcie_init_port() 317 struct mt7621_pcie_port *port; in mt7621_pcie_reset_assert() local [all …]
|
H A D | pcie-xilinx-cpm.c | 143 static u32 pcie_read(struct xilinx_cpm_pcie *port, u32 reg) in pcie_read() 148 static void pcie_write(struct xilinx_cpm_pcie *port, in pcie_write() 154 static bool cpm_pcie_link_up(struct xilinx_cpm_pcie *port) in cpm_pcie_link_up() 160 static void cpm_pcie_clear_err_interrupts(struct xilinx_cpm_pcie *port) in cpm_pcie_clear_err_interrupts() 174 struct xilinx_cpm_pcie *port = irq_data_get_irq_chip_data(data); in xilinx_cpm_mask_leg_irq() local 188 struct xilinx_cpm_pcie *port = irq_data_get_irq_chip_data(data); in xilinx_cpm_unmask_leg_irq() local 232 struct xilinx_cpm_pcie *port = irq_desc_get_handler_data(desc); in xilinx_cpm_pcie_intx_flow() local 250 struct xilinx_cpm_pcie *port = irq_data_get_irq_chip_data(d); in xilinx_cpm_mask_event_irq() local 262 struct xilinx_cpm_pcie *port = irq_data_get_irq_chip_data(d); in xilinx_cpm_unmask_event_irq() local 294 struct xilinx_cpm_pcie *port = irq_desc_get_handler_data(desc); in xilinx_cpm_pcie_event_flow() local [all …]
|
/openbmc/linux/drivers/cxl/core/ |
H A D | port.c | 40 int cxl_num_decoders_committed(struct cxl_port *port) in cxl_num_decoders_committed() 399 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in __cxl_decoder_release() local 510 static void cxl_ep_remove(struct cxl_port *port, struct cxl_ep *ep) in cxl_ep_remove() 520 struct cxl_port *port = to_cxl_port(dev); in cxl_port_release() local 561 struct cxl_port *port = _port; in unregister_port() local 589 struct cxl_port *port = _port; in cxl_unlink_uport() local 594 static int devm_cxl_link_uport(struct device *host, struct cxl_port *port) in devm_cxl_link_uport() 607 struct cxl_port *port = _port; in cxl_unlink_parent_dport() local 613 struct cxl_port *port, in devm_cxl_link_parent_dport() 634 struct cxl_port *port; in cxl_port_alloc() local [all …]
|
/openbmc/linux/drivers/net/dsa/microchip/ |
H A D | ksz9477.c | 27 static void ksz_port_cfg(struct ksz_device *dev, int port, int offset, u8 bits, in ksz_port_cfg() 39 static void ksz9477_port_cfg32(struct ksz_device *dev, int port, int offset, in ksz9477_port_cfg32() 46 int ksz9477_change_mtu(struct ksz_device *dev, int port, int mtu) in ksz9477_change_mtu() 201 void ksz9477_r_mib_cnt(struct ksz_device *dev, int port, u16 addr, u64 *cnt) in ksz9477_r_mib_cnt() 228 void ksz9477_r_mib_pkt(struct ksz_device *dev, int port, u16 addr, in ksz9477_r_mib_pkt() 235 void ksz9477_freeze_mib(struct ksz_device *dev, int port, bool freeze) in ksz9477_freeze_mib() 249 void ksz9477_port_init_cnt(struct ksz_device *dev, int port) in ksz9477_port_init_cnt() 353 void ksz9477_cfg_port_member(struct ksz_device *dev, int port, u8 member) in ksz9477_cfg_port_member() 358 void ksz9477_flush_dyn_mac_table(struct ksz_device *dev, int port) in ksz9477_flush_dyn_mac_table() 381 int ksz9477_port_vlan_filtering(struct ksz_device *dev, int port, in ksz9477_port_vlan_filtering() [all …]
|
/openbmc/linux/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_main.c | 138 static void ehea_schedule_port_reset(struct ehea_port *port) in ehea_schedule_port_reset() 161 struct ehea_port *port = adapter->port[k]; in ehea_update_firmware_handles() local 187 struct ehea_port *port = adapter->port[k]; in ehea_update_firmware_handles() local 247 struct ehea_port *port = adapter->port[k]; in ehea_update_bcmc_registrations() local 267 struct ehea_port *port = adapter->port[k]; in ehea_update_bcmc_registrations() local 324 struct ehea_port *port = netdev_priv(dev); in ehea_get_stats64() local 349 struct ehea_port *port = in ehea_update_stats() local 657 struct ehea_port *port = pr->port; in ehea_proc_rwqes() local 756 static void reset_sq_restart_flag(struct ehea_port *port) in reset_sq_restart_flag() 767 static void check_sqs(struct ehea_port *port) in check_sqs() [all …]
|
/openbmc/linux/drivers/usb/serial/ |
H A D | xr_serial.c | 244 static int xr_set_reg(struct usb_serial_port *port, u8 channel, u16 reg, u16 val) in xr_set_reg() 264 static int xr_get_reg(struct usb_serial_port *port, u8 channel, u16 reg, u16 *val) in xr_get_reg() 303 static int xr_set_reg_uart(struct usb_serial_port *port, u16 reg, u16 val) in xr_set_reg_uart() 310 static int xr_get_reg_uart(struct usb_serial_port *port, u16 reg, u16 *val) in xr_get_reg_uart() 317 static int xr_set_reg_um(struct usb_serial_port *port, u8 reg_base, u8 val) in xr_set_reg_um() 327 static int __xr_uart_enable(struct usb_serial_port *port) in __xr_uart_enable() 335 static int __xr_uart_disable(struct usb_serial_port *port) in __xr_uart_disable() 350 static int xr21v141x_uart_enable(struct usb_serial_port *port) in xr21v141x_uart_enable() 371 static int xr21v141x_uart_disable(struct usb_serial_port *port) in xr21v141x_uart_disable() 384 static int xr_uart_enable(struct usb_serial_port *port) in xr_uart_enable() [all …]
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | sunvnet_common.c | 54 static int vnet_handle_unknown(struct vnet_port *port, void *arg) in vnet_handle_unknown() 71 struct vnet_port *port = to_vnet_port(vio); in sunvnet_send_attr_common() local 135 struct vnet_port *port = to_vnet_port(vio); in handle_attr_info() local 374 static int vnet_rx_one(struct vnet_port *port, struct vio_net_desc *desc) in vnet_rx_one() 470 static int vnet_send_ack(struct vnet_port *port, struct vio_dring_state *dr, in vnet_send_ack() 519 static struct vio_net_desc *get_rx_desc(struct vnet_port *port, in get_rx_desc() 535 static int put_rx_desc(struct vnet_port *port, in put_rx_desc() 551 static int vnet_walk_rx_one(struct vnet_port *port, in vnet_walk_rx_one() 587 static int vnet_walk_rx(struct vnet_port *port, struct vio_dring_state *dr, in vnet_walk_rx() 644 static int vnet_rx(struct vnet_port *port, void *msgbuf, int *npkts, in vnet_rx() [all …]
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | io.h | 43 #define insb(port, buf, ns) _insb((u8 *)((port)+_IO_BASE), (buf), (ns)) argument 44 #define outsb(port, buf, ns) _outsb((u8 *)((port)+_IO_BASE), (buf), (ns)) argument 45 #define insw(port, buf, ns) _insw_ns((u16 *)((port)+_IO_BASE), (buf), (ns)) argument 46 #define outsw(port, buf, ns) _outsw_ns((u16 *)((port)+_IO_BASE), (buf), (ns)) argument 47 #define insl(port, buf, nl) _insl_ns((u32 *)((port)+_IO_BASE), (buf), (nl)) argument 48 #define outsl(port, buf, nl) _outsl_ns((u32 *)((port)+_IO_BASE), (buf), (nl)) argument 50 #define inb(port) in_8((u8 *)((port)+_IO_BASE)) argument 51 #define outb(val, port) out_8((u8 *)((port)+_IO_BASE), (val)) argument 53 #define inw(port) in_be16((u16 *)((port)+_IO_BASE)) argument 54 #define outw(val, port) out_be16((u16 *)((port)+_IO_BASE), (val)) argument [all …]
|
/openbmc/linux/drivers/scsi/mvsas/ |
H A D | mv_chips.h | 42 static inline u32 mvs_read_phy_ctl(struct mvs_info *mvi, u32 port) in mvs_read_phy_ctl() 49 static inline void mvs_write_phy_ctl(struct mvs_info *mvi, u32 port, u32 val) in mvs_write_phy_ctl() 59 u32 off2, u32 port) in mvs_read_port() 68 u32 port, u32 val) in mvs_write_port() 78 static inline u32 mvs_read_port_cfg_data(struct mvs_info *mvi, u32 port) in mvs_read_port_cfg_data() 85 u32 port, u32 val) in mvs_write_port_cfg_data() 92 u32 port, u32 addr) in mvs_write_port_cfg_addr() 99 static inline u32 mvs_read_port_vsr_data(struct mvs_info *mvi, u32 port) in mvs_read_port_vsr_data() 106 u32 port, u32 val) in mvs_write_port_vsr_data() 113 u32 port, u32 addr) in mvs_write_port_vsr_addr() [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_vlan.c | 54 static void lan966x_vlan_port_add_vlan_mask(struct lan966x_port *port, u16 vid) in lan966x_vlan_port_add_vlan_mask() 63 static void lan966x_vlan_port_del_vlan_mask(struct lan966x_port *port, u16 vid) in lan966x_vlan_port_del_vlan_mask() 104 static u16 lan966x_vlan_port_get_pvid(struct lan966x_port *port) in lan966x_vlan_port_get_pvid() 114 int lan966x_vlan_port_set_vid(struct lan966x_port *port, u16 vid, in lan966x_vlan_port_set_vid() 137 static void lan966x_vlan_port_remove_vid(struct lan966x_port *port, u16 vid) in lan966x_vlan_port_remove_vid() 146 void lan966x_vlan_port_set_vlan_aware(struct lan966x_port *port, in lan966x_vlan_port_set_vlan_aware() 159 void lan966x_vlan_port_rew_host(struct lan966x_port *port) in lan966x_vlan_port_rew_host() 173 void lan966x_vlan_port_apply(struct lan966x_port *port) in lan966x_vlan_port_apply() 234 void lan966x_vlan_port_add_vlan(struct lan966x_port *port, in lan966x_vlan_port_add_vlan() 257 void lan966x_vlan_port_del_vlan(struct lan966x_port *port, u16 vid) in lan966x_vlan_port_del_vlan() [all …]
|
/openbmc/linux/arch/mips/include/asm/mach-cavium-octeon/ |
H A D | mangle-port.h | 23 # define __swizzle_addr_b(port) (port) argument 24 # define __swizzle_addr_w(port) (port) argument 25 # define __swizzle_addr_l(port) (port) argument 26 # define __swizzle_addr_q(port) (port) argument 38 # define __swizzle_addr_b(port) \ argument 40 # define __swizzle_addr_w(port) \ argument 42 # define __swizzle_addr_l(port) \ argument 44 # define __swizzle_addr_q(port) (port) argument
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | devlink_port_split.py | 75 def get_max_lanes(port): argument 93 def get_split_ability(port): argument 107 def split(k, port, should_fail=False): argument 130 def unsplit(port): argument 140 def exists(port, dev): argument 183 def create_split_group(port, k): argument 192 def split_unsplittable_port(port, k): argument 204 def split_splittable_port(port, k, lanes, dev): argument
|
/openbmc/qemu/pc-bios/optionrom/ |
H A D | optrom.h | 38 static inline void outb(uint8_t value, uint16_t port) in outb() 43 static inline void outw(uint16_t value, uint16_t port) in outw() 48 static inline void outl(uint32_t value, uint16_t port) in outl() 53 static inline uint8_t inb(uint16_t port) in inb() 61 static inline uint16_t inw(uint16_t port) in inw() 69 static inline uint32_t inl(uint16_t port) in inl() 77 static inline void insb(uint16_t port, uint8_t *buf, uint32_t len) in insb()
|
/openbmc/linux/drivers/tty/ |
H A D | nozomi.c | 236 u8 port; member 246 u8 port; member 301 u8 port; member 309 u8 port; member 314 struct port { struct 315 struct tty_port port; argument 316 u8 update_flow_control; 317 struct ctrl_ul ctrl_ul; 318 struct ctrl_dl ctrl_dl; 319 struct kfifo fifo_ul; [all …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | rda-uart.c | 117 struct uart_port port; member 121 #define to_rda_uart_port(port) container_of(port, struct rda_uart_port, port) argument 125 static inline void rda_uart_write(struct uart_port *port, u32 val, in rda_uart_write() 131 static inline u32 rda_uart_read(struct uart_port *port, unsigned int off) in rda_uart_read() 136 static unsigned int rda_uart_tx_empty(struct uart_port *port) in rda_uart_tx_empty() 152 static unsigned int rda_uart_get_mctrl(struct uart_port *port) in rda_uart_get_mctrl() 167 static void rda_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in rda_uart_set_mctrl() 190 static void rda_uart_stop_tx(struct uart_port *port) in rda_uart_stop_tx() 203 static void rda_uart_stop_rx(struct uart_port *port) in rda_uart_stop_rx() 219 static void rda_uart_start_tx(struct uart_port *port) in rda_uart_start_tx() [all …]
|