/openbmc/u-boot/drivers/net/fm/ |
H A D | init.c | 116 static int fm_port_to_index(enum fm_port port) in fm_port_to_index() 152 void fm_disable_port(enum fm_port port) in fm_disable_port() 165 void fm_enable_port(enum fm_port port) in fm_enable_port() 176 void fm_info_set_mdio(enum fm_port port, struct mii_dev *bus) in fm_info_set_mdio() 186 void fm_info_set_phy_address(enum fm_port port, int address) in fm_info_set_phy_address() 202 int fm_info_get_phy_address(enum fm_port port) in fm_info_get_phy_address() 216 phy_interface_t fm_info_get_enet_if(enum fm_port port) in fm_info_get_enet_if() 231 enum fm_port port, int offset) in __def_board_ft_fman_fixup_port()
|
/openbmc/linux/arch/x86/boot/compressed/ |
H A D | tdx.c | 19 static inline unsigned int tdx_io_in(int size, u16 port) in tdx_io_in() 35 static inline void tdx_io_out(int size, u16 port, u32 value) in tdx_io_out() 49 static inline u8 tdx_inb(u16 port) in tdx_inb() 54 static inline void tdx_outb(u8 value, u16 port) in tdx_outb() 59 static inline void tdx_outw(u16 value, u16 port) in tdx_outw()
|
/openbmc/linux/drivers/net/dsa/microchip/ |
H A D | ksz8795.c | 34 static void ksz_port_cfg(struct ksz_device *dev, int port, int offset, u8 bits, in ksz_port_cfg() 109 int ksz8_change_mtu(struct ksz_device *dev, int port, int mtu) in ksz8_change_mtu() 130 static void ksz8795_set_prio_queue(struct ksz_device *dev, int port, int queue) in ksz8795_set_prio_queue() 163 void ksz8_r_mib_cnt(struct ksz_device *dev, int port, u16 addr, u64 *cnt) in ksz8_r_mib_cnt() 198 static void ksz8795_r_mib_pkt(struct ksz_device *dev, int port, u16 addr, in ksz8795_r_mib_pkt() 250 static void ksz8863_r_mib_pkt(struct ksz_device *dev, int port, u16 addr, in ksz8863_r_mib_pkt() 283 void ksz8_r_mib_pkt(struct ksz_device *dev, int port, u16 addr, in ksz8_r_mib_pkt() 292 void ksz8_freeze_mib(struct ksz_device *dev, int port, bool freeze) in ksz8_freeze_mib() 307 void ksz8_port_init_cnt(struct ksz_device *dev, int port) in ksz8_port_init_cnt() 936 void ksz8_cfg_port_member(struct ksz_device *dev, int port, u8 member) in ksz8_cfg_port_member() [all …]
|
/openbmc/linux/arch/um/drivers/ |
H A D | port_kern.c | 23 int port; member 31 struct port_list *port; member 42 struct port_list *port; member 76 static int port_accept(struct port_list *port) in port_accept() 130 struct port_list *port; in port_work_proc() local 151 struct port_list *port = data; in port_interrupt() local 161 struct port_list *port; in port_data() local 227 struct port_list *port = dev->port; in port_wait() local 294 struct port_list *port; in free_port() local
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_switchdev.c | 70 struct prestera_port *port; member 141 struct prestera_port *port) in prestera_br_port_flags_reset() 150 struct prestera_port *port) in prestera_br_port_flags_set() 240 prestera_port_vlan_by_vid(struct prestera_port *port, u16 vid) in prestera_port_vlan_by_vid() 253 prestera_port_vlan_create(struct prestera_port *port, u16 vid, bool untagged) in prestera_port_vlan_create() 284 static int prestera_fdb_add(struct prestera_port *port, in prestera_fdb_add() 294 static int prestera_fdb_del(struct prestera_port *port, in prestera_fdb_del() 304 static int prestera_fdb_flush_port_vlan(struct prestera_port *port, u16 vid, in prestera_fdb_flush_port_vlan() 314 static int prestera_fdb_flush_port(struct prestera_port *port, u32 mode) in prestera_fdb_flush_port() 391 struct prestera_port *port = port_vlan->port; in prestera_port_vlan_bridge_leave() local [all …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | sunzilog.c | 71 struct uart_port port; member 327 struct tty_port *port = NULL; in sunzilog_receive_chars() local 531 struct tty_port *port; in sunzilog_interrupt() local 588 static __inline__ unsigned char sunzilog_read_channel_status(struct uart_port *port) in sunzilog_read_channel_status() 601 static unsigned int sunzilog_tx_empty(struct uart_port *port) in sunzilog_tx_empty() 622 static unsigned int sunzilog_get_mctrl(struct uart_port *port) in sunzilog_get_mctrl() 641 static void sunzilog_set_mctrl(struct uart_port *port, unsigned int mctrl) in sunzilog_set_mctrl() 666 static void sunzilog_stop_tx(struct uart_port *port) in sunzilog_stop_tx() 675 static void sunzilog_start_tx(struct uart_port *port) in sunzilog_start_tx() 719 static void sunzilog_stop_rx(struct uart_port *port) in sunzilog_stop_rx() [all …]
|
H A D | omap-serial.c | 126 struct uart_port port; member 221 static inline int calculate_baud_abs_diff(struct uart_port *port, in calculate_baud_abs_diff() 244 serial_omap_baud_is_mode16(struct uart_port *port, unsigned int baud) in serial_omap_baud_is_mode16() 258 serial_omap_get_divisor(struct uart_port *port, unsigned int baud) in serial_omap_get_divisor() 269 static void serial_omap_enable_ms(struct uart_port *port) in serial_omap_enable_ms() 279 static void serial_omap_stop_tx(struct uart_port *port) in serial_omap_stop_tx() 325 static void serial_omap_stop_rx(struct uart_port *port) in serial_omap_stop_rx() 361 static void serial_omap_start_tx(struct uart_port *port) in serial_omap_start_tx() 388 static void serial_omap_throttle(struct uart_port *port) in serial_omap_throttle() 399 static void serial_omap_unthrottle(struct uart_port *port) in serial_omap_unthrottle() [all …]
|
H A D | ip22zilog.c | 63 struct uart_port port; member 488 static __inline__ unsigned char ip22zilog_read_channel_status(struct uart_port *port) in ip22zilog_read_channel_status() 501 static unsigned int ip22zilog_tx_empty(struct uart_port *port) in ip22zilog_tx_empty() 522 static unsigned int ip22zilog_get_mctrl(struct uart_port *port) in ip22zilog_get_mctrl() 541 static void ip22zilog_set_mctrl(struct uart_port *port, unsigned int mctrl) in ip22zilog_set_mctrl() 566 static void ip22zilog_stop_tx(struct uart_port *port) in ip22zilog_stop_tx() 575 static void ip22zilog_start_tx(struct uart_port *port) in ip22zilog_start_tx() 619 static void ip22zilog_stop_rx(struct uart_port *port) in ip22zilog_stop_rx() 635 static void ip22zilog_enable_ms(struct uart_port *port) in ip22zilog_enable_ms() 652 static void ip22zilog_break_ctl(struct uart_port *port, int break_state) in ip22zilog_break_ctl() [all …]
|
H A D | sunsu.c | 85 struct uart_port port; member 263 static void sunsu_stop_tx(struct uart_port *port) in sunsu_stop_tx() 279 static void sunsu_start_tx(struct uart_port *port) in sunsu_start_tx() 298 static void sunsu_stop_rx(struct uart_port *port) in sunsu_stop_rx() 308 static void sunsu_enable_ms(struct uart_port *port) in sunsu_enable_ms() 323 struct tty_port *port = &up->port.state->port; in receive_chars() local 541 static unsigned int sunsu_tx_empty(struct uart_port *port) in sunsu_tx_empty() 555 static unsigned int sunsu_get_mctrl(struct uart_port *port) in sunsu_get_mctrl() 576 static void sunsu_set_mctrl(struct uart_port *port, unsigned int mctrl) in sunsu_set_mctrl() 596 static void sunsu_break_ctl(struct uart_port *port, int break_state) in sunsu_break_ctl() [all …]
|
/openbmc/linux/drivers/net/wwan/ |
H A D | wwan_core.c | 335 struct wwan_port *port = to_wwan_port(dev); in type_show() local 349 struct wwan_port *port = to_wwan_port(dev); in wwan_port_destroy() local 388 static int __wwan_port_dev_assign_name(struct wwan_port *port, const char *fmt) in __wwan_port_dev_assign_name() 437 struct wwan_port *port; in wwan_create_port() local 507 void wwan_remove_port(struct wwan_port *port) in wwan_remove_port() 530 void wwan_port_rx(struct wwan_port *port, struct sk_buff *skb) in wwan_port_rx() 537 void wwan_port_txon(struct wwan_port *port) in wwan_port_txon() 544 void wwan_port_txoff(struct wwan_port *port) in wwan_port_txoff() 550 void *wwan_port_get_drvdata(struct wwan_port *port) in wwan_port_get_drvdata() 556 static int wwan_port_op_start(struct wwan_port *port) in wwan_port_op_start() [all …]
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-lpc.c | 24 static u8 opal_lpc_inb(unsigned long port) in opal_lpc_inb() 35 static __le16 __opal_lpc_inw(unsigned long port) in __opal_lpc_inw() 47 static u16 opal_lpc_inw(unsigned long port) in opal_lpc_inw() 52 static __le32 __opal_lpc_inl(unsigned long port) in __opal_lpc_inl() 68 static u32 opal_lpc_inl(unsigned long port) in opal_lpc_inl() 73 static void opal_lpc_outb(u8 val, unsigned long port) in opal_lpc_outb() 80 static void __opal_lpc_outw(__le16 val, unsigned long port) in __opal_lpc_outw() 92 static void opal_lpc_outw(u16 val, unsigned long port) in opal_lpc_outw() 97 static void __opal_lpc_outl(__le32 val, unsigned long port) in __opal_lpc_outl() 111 static void opal_lpc_outl(u32 val, unsigned long port) in opal_lpc_outl()
|
/openbmc/qemu/hw/usb/ |
H A D | dev-hub.c | 40 USBPort port; member 217 static bool usb_hub_port_change(USBHubPort *port, uint16_t status) in usb_hub_port_change() 228 static bool usb_hub_port_set(USBHubPort *port, uint16_t status) in usb_hub_port_set() 237 static bool usb_hub_port_clear(USBHubPort *port, uint16_t status) in usb_hub_port_clear() 246 static bool usb_hub_port_update(USBHubState *s, USBHubPort *port) in usb_hub_port_update() 283 USBHubPort *port = &s->ports[port1->index]; in usb_hub_attach() local 293 USBHubPort *port = &s->ports[port1->index]; in usb_hub_detach() local 318 USBHubPort *port = &s->ports[port1->index]; in usb_hub_wakeup() local 325 static void usb_hub_complete(USBPort *port, USBPacket *packet) in usb_hub_complete() 345 USBHubPort *port; in usb_hub_find_device() local [all …]
|
/openbmc/linux/drivers/usb/serial/ |
H A D | oti6858.c | 190 struct usb_serial_port *port; /* USB port with which associated */ member 197 struct usb_serial_port *port = priv->port; in setup_line() local 265 struct usb_serial_port *port = priv->port; in send_data() local 328 static int oti6858_port_probe(struct usb_serial_port *port) in oti6858_port_probe() 348 static void oti6858_port_remove(struct usb_serial_port *port) in oti6858_port_remove() 356 static int oti6858_write(struct tty_struct *tty, struct usb_serial_port *port, in oti6858_write() 369 struct usb_serial_port *port = tty->driver_data; in oti6858_write_room() local 382 struct usb_serial_port *port = tty->driver_data; in oti6858_chars_in_buffer() local 399 struct usb_serial_port *port, in oti6858_set_termios() 501 static int oti6858_open(struct tty_struct *tty, struct usb_serial_port *port) in oti6858_open() [all …]
|
H A D | sierra.c | 288 static int sierra_send_setup(struct usb_serial_port *port) in sierra_send_setup() 343 struct usb_serial_port *port = tty->driver_data; in sierra_tiocmget() local 362 struct usb_serial_port *port = tty->driver_data; in sierra_tiocmset() local 389 struct usb_serial_port *port = urb->context; in sierra_outdat_callback() local 415 static int sierra_write(struct tty_struct *tty, struct usb_serial_port *port, in sierra_write() 525 struct usb_serial_port *port; in sierra_indat_callback() local 563 struct usb_serial_port *port = urb->context; in sierra_instat_callback() local 616 struct usb_serial_port *port = tty->driver_data; in sierra_write_room() local 635 struct usb_serial_port *port = tty->driver_data; in sierra_chars_in_buffer() local 650 static void sierra_stop_rx_urbs(struct usb_serial_port *port) in sierra_stop_rx_urbs() [all …]
|
H A D | mxuport.c | 192 static int mxuport_prepare_write_buffer(struct usb_serial_port *port, in mxuport_prepare_write_buffer() 286 struct usb_serial_port *port = tty->driver_data; in mxuport_throttle() local 305 struct usb_serial_port *port = tty->driver_data; in mxuport_unthrottle() local 318 static void mxuport_process_read_urb_data(struct usb_serial_port *port, in mxuport_process_read_urb_data() 335 static void mxuport_msr_event(struct usb_serial_port *port, u8 buf[4]) in mxuport_msr_event() 397 static void mxuport_lsr_event(struct usb_serial_port *port, u8 buf[4]) in mxuport_lsr_event() 426 static void mxuport_process_read_urb_event(struct usb_serial_port *port, in mxuport_process_read_urb_event() 465 struct usb_serial_port *port = urb->context; in mxuport_process_read_urb_demux_data() local 512 struct usb_serial_port *port = urb->context; in mxuport_process_read_urb_demux_event() local 556 struct usb_serial_port *port = urb->context; in mxuport_process_read_urb() local [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-vf610.c | 85 struct vf610_gpio_port *port = gpiochip_get_data(gc); in vf610_gpio_get() local 100 struct vf610_gpio_port *port = gpiochip_get_data(gc); in vf610_gpio_set() local 109 struct vf610_gpio_port *port = gpiochip_get_data(chip); in vf610_gpio_direction_input() local 125 struct vf610_gpio_port *port = gpiochip_get_data(chip); in vf610_gpio_direction_output() local 142 struct vf610_gpio_port *port = in vf610_gpio_irq_handler() local 163 struct vf610_gpio_port *port = in vf610_gpio_irq_ack() local 172 struct vf610_gpio_port *port = in vf610_gpio_irq_set_type() local 209 struct vf610_gpio_port *port = gpiochip_get_data(gc); in vf610_gpio_irq_mask() local 220 struct vf610_gpio_port *port = gpiochip_get_data(gc); in vf610_gpio_irq_unmask() local 231 struct vf610_gpio_port *port = in vf610_gpio_irq_set_wake() local [all …]
|
/openbmc/linux/drivers/s390/scsi/ |
H A D | zfcp_unit.c | 53 void zfcp_unit_queue_scsi_scan(struct zfcp_port *port) in zfcp_unit_queue_scsi_scan() 67 static struct zfcp_unit *_zfcp_unit_find(struct zfcp_port *port, u64 fcp_lun) in _zfcp_unit_find() 91 struct zfcp_unit *zfcp_unit_find(struct zfcp_port *port, u64 fcp_lun) in zfcp_unit_find() 121 int zfcp_unit_add(struct zfcp_port *port, u64 fcp_lun) in zfcp_unit_add() 198 struct zfcp_port *port; in zfcp_unit_sdev() local 238 int zfcp_unit_remove(struct zfcp_port *port, u64 fcp_lun) in zfcp_unit_remove()
|
/openbmc/linux/drivers/net/ethernet/qualcomm/rmnet/ |
H A D | rmnet_map_data.c | 244 struct rmnet_port *port, in rmnet_map_v5_checksum_uplink_packet() 297 struct rmnet_port *port, in rmnet_map_add_map_header() 343 struct rmnet_port *port) in rmnet_map_deaggregate() 475 struct rmnet_port *port, in rmnet_map_checksum_uplink_packet() 525 static void reset_aggr_params(struct rmnet_port *port) in reset_aggr_params() 533 static void rmnet_send_skb(struct rmnet_port *port, struct sk_buff *skb) in rmnet_send_skb() 552 struct rmnet_port *port; in rmnet_map_flush_tx_packet_work() local 573 struct rmnet_port *port; in rmnet_map_flush_tx_packet_queue() local 582 unsigned int rmnet_map_tx_aggregate(struct sk_buff *skb, struct rmnet_port *port, in rmnet_map_tx_aggregate() 677 void rmnet_map_update_ul_agg_config(struct rmnet_port *port, u32 size, in rmnet_map_update_ul_agg_config() [all …]
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | debugfs.c | 127 static ssize_t regs_write(struct tb_switch *sw, struct tb_port *port, in regs_write() 174 struct tb_port *port = s->private; in port_regs_write() local 266 struct tb_port *port = s->private; in margining_ber_level_write() local 319 struct tb_port *port = s->private; in margining_ber_level_show() local 331 struct tb_port *port = s->private; in margining_caps_show() local 411 struct tb_port *port = s->private; in margining_lanes_write() local 451 struct tb_port *port = s->private; in margining_lanes_show() local 484 struct tb_port *port = s->private; in margining_mode_write() local 524 const struct tb_port *port = s->private; in margining_mode_show() local 555 struct tb_port *port = data; in margining_run_write() local [all …]
|
H A D | tb.c | 74 u8 port; member 186 static void tb_queue_hotplug(struct tb *tb, u64 route, u8 port, bool unplug) in tb_queue_hotplug() 207 struct tb_port *port; in tb_add_dp_resources() local 224 struct tb_port *port, *tmp; in tb_remove_dp_resources() local 240 static void tb_discover_dp_resource(struct tb *tb, struct tb_port *port) in tb_discover_dp_resource() 466 struct tb_port *port; in tb_switch_discover_tunnels() local 529 static int tb_port_configure_xdomain(struct tb_port *port, struct tb_xdomain *xd) in tb_port_configure_xdomain() 536 static void tb_port_unconfigure_xdomain(struct tb_port *port) in tb_port_unconfigure_xdomain() 546 static void tb_scan_xdomain(struct tb_port *port) in tb_scan_xdomain() 580 struct tb_port *port; in tb_find_unused_port() local [all …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | counters.c | 42 int rdma_counter_set_auto_mode(struct ib_device *dev, u32 port, in rdma_counter_set_auto_mode() 109 int rdma_counter_modify(struct ib_device *dev, u32 port, in rdma_counter_modify() 141 static struct rdma_counter *alloc_and_bind(struct ib_device *dev, u32 port, in alloc_and_bind() 279 u32 port) in rdma_get_counter_auto_mode() 323 int rdma_counter_bind_qp_auto(struct ib_qp *qp, u32 port) in rdma_counter_bind_qp_auto() 393 u32 port, u32 index) in get_running_counters_hwstat_sum() 429 u64 rdma_counter_get_hwstat_value(struct ib_device *dev, u32 port, u32 index) in rdma_counter_get_hwstat_value() 484 int rdma_counter_bind_qpn(struct ib_device *dev, u32 port, in rdma_counter_bind_qpn() 534 int rdma_counter_bind_qpn_alloc(struct ib_device *dev, u32 port, in rdma_counter_bind_qpn_alloc() 581 int rdma_counter_unbind_qpn(struct ib_device *dev, u32 port, in rdma_counter_unbind_qpn() [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-fsi.c | 159 u16 port; member 214 static int fsi_i2c_set_port(struct fsi_i2c_port *port) in fsi_i2c_set_port() 236 static int fsi_i2c_start(struct fsi_i2c_port *port, struct i2c_msg *msg, in fsi_i2c_start() 266 static int fsi_i2c_write_fifo(struct fsi_i2c_port *port, struct i2c_msg *msg, in fsi_i2c_write_fifo() 292 static int fsi_i2c_read_fifo(struct fsi_i2c_port *port, struct i2c_msg *msg, in fsi_i2c_read_fifo() 332 struct fsi_i2c_port *port = adap->algo_data; in fsi_i2c_get_scl() local 343 struct fsi_i2c_port *port = adap->algo_data; in fsi_i2c_set_scl() local 355 struct fsi_i2c_port *port = adap->algo_data; in fsi_i2c_get_sda() local 366 struct fsi_i2c_port *port = adap->algo_data; in fsi_i2c_set_sda() local 379 struct fsi_i2c_port *port = adap->algo_data; in fsi_i2c_prepare_recovery() local [all …]
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_mad.c | 279 u8 port) in subn_get_nodeinfo() 314 u8 port) in subn_get_guidinfo() 455 u8 port) in subn_get_portinfo() 581 static int get_pkeys(struct qib_devdata *dd, u8 port, u16 *pkeys) in get_pkeys() 597 u8 port) in subn_get_pkeytable() 621 u8 port) in subn_set_guidinfo() 654 u8 port) in subn_set_portinfo() 988 static int set_pkeys(struct qib_devdata *dd, u8 port, u16 *pkeys) in set_pkeys() 1040 u8 port) in subn_set_pkeytable() 1058 u8 port) in subn_get_sl_to_vl() [all …]
|
/openbmc/linux/drivers/net/dsa/ |
H A D | bcm_sf2.c | 35 static u16 bcm_sf2_reg_rgmii_cntrl(struct bcm_sf2_priv *priv, int port) in bcm_sf2_reg_rgmii_cntrl() 65 static u16 bcm_sf2_reg_led_base(struct bcm_sf2_priv *priv, int port) in bcm_sf2_reg_led_base() 97 static u32 bcm_sf2_port_override_offset(struct bcm_sf2_priv *priv, int port) in bcm_sf2_port_override_offset() 119 unsigned int port, count = 0; in bcm_sf2_num_active_ports() local 158 static void bcm_sf2_imp_setup(struct dsa_switch *ds, int port) in bcm_sf2_imp_setup() 237 int port) in bcm_sf2_port_intr_enable() 258 int port) in bcm_sf2_port_intr_disable() 280 static int bcm_sf2_port_setup(struct dsa_switch *ds, int port, in bcm_sf2_port_setup() 349 static void bcm_sf2_port_disable(struct dsa_switch *ds, int port) in bcm_sf2_port_disable() 559 struct device_node *port; in bcm_sf2_identify_ports() local [all …]
|
/openbmc/linux/drivers/slimbus/ |
H A D | stream.c | 124 struct slim_port *port) in slim_connect_port_channel() 144 struct slim_port *port) in slim_disconnect_port() 160 struct slim_port *port) in slim_deactivate_remove_channel() 206 struct slim_port *port; in slim_stream_prepare() local 271 struct slim_port *port) in slim_define_channel_content() 306 struct slim_port *port) in slim_define_channel() 330 struct slim_port *port) in slim_activate_channel() 381 struct slim_port *port = &stream->ports[i]; in slim_stream_enable() local 388 struct slim_port *port = &stream->ports[i]; in slim_stream_enable() local
|