Home
last modified time | relevance | path

Searched defs:port (Results 151 – 175 of 2623) sorted by relevance

12345678910>>...105

/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_devlink.c47 #define BUF_Q_RSRV_E(port, prio) \ argument
58 #define BUF_P_RSRV_E(port) \ argument
69 #define BUF_Q_RSRV_I(port, prio) \ argument
80 #define BUF_P_RSRV_I(port) \ argument
91 #define REF_Q_RSRV_E(port, prio) \ argument
102 #define REF_P_RSRV_E(port) \ argument
113 #define REF_Q_RSRV_I(port, prio) \ argument
124 #define REF_P_RSRV_I(port) \ argument
253 int port) in ocelot_disable_reservation_watermarks()
304 int port, prio; in ocelot_get_buf_rsrv() local
[all …]
/openbmc/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek.c116 static void hellcreek_select_port(struct hellcreek *hellcreek, int port) in hellcreek_select_port()
130 static void hellcreek_select_port_prio(struct hellcreek *hellcreek, int port, in hellcreek_select_port_prio()
165 static void hellcreek_select_tgd(struct hellcreek *hellcreek, int port) in hellcreek_select_tgd()
241 int port, in hellcreek_get_tag_protocol()
247 static int hellcreek_port_enable(struct dsa_switch *ds, int port, in hellcreek_port_enable()
271 static void hellcreek_port_disable(struct dsa_switch *ds, int port) in hellcreek_port_disable()
292 static void hellcreek_get_strings(struct dsa_switch *ds, int port, in hellcreek_get_strings()
305 static int hellcreek_get_sset_count(struct dsa_switch *ds, int port, int sset) in hellcreek_get_sset_count()
313 static void hellcreek_get_ethtool_stats(struct dsa_switch *ds, int port, in hellcreek_get_ethtool_stats()
347 static u16 hellcreek_private_vid(int port) in hellcreek_private_vid()
[all …]
/openbmc/linux/drivers/net/dsa/
H A Dmt7530.c604 static int mt7530_phy_read_c22(struct mt7530_priv *priv, int port, int regnum) in mt7530_phy_read_c22() argument
609 static int mt7530_phy_write_c22(struct mt7530_priv *priv, int port, int regnum, in mt7530_phy_write_c22() argument
615 static int mt7530_phy_read_c45(struct mt7530_priv *priv, int port, in mt7530_phy_read_c45() argument
621 static int mt7530_phy_write_c45(struct mt7530_priv *priv, int port, in argument
628 mt7531_ind_c45_phy_read(struct mt7530_priv * priv,int port,int devad,int regnum) mt7531_ind_c45_phy_read() argument
676 mt7531_ind_c45_phy_write(struct mt7530_priv * priv,int port,int devad,int regnum,u16 data) mt7531_ind_c45_phy_write() argument
723 mt7531_ind_c22_phy_read(struct mt7530_priv * priv,int port,int regnum) mt7531_ind_c22_phy_read() argument
760 mt7531_ind_c22_phy_write(struct mt7530_priv * priv,int port,int regnum,u16 data) mt7531_ind_c22_phy_write() argument
797 mt753x_phy_read_c22(struct mii_bus * bus,int port,int regnum) mt753x_phy_read_c22() argument
805 mt753x_phy_read_c45(struct mii_bus * bus,int port,int devad,int regnum) mt753x_phy_read_c45() argument
813 mt753x_phy_write_c22(struct mii_bus * bus,int port,int regnum,u16 val) mt753x_phy_write_c22() argument
821 mt753x_phy_write_c45(struct mii_bus * bus,int port,int devad,int regnum,u16 val) mt753x_phy_write_c45() argument
830 mt7530_get_strings(struct dsa_switch * ds,int port,u32 stringset,uint8_t * data) mt7530_get_strings() argument
844 mt7530_get_ethtool_stats(struct dsa_switch * ds,int port,uint64_t * data) mt7530_get_ethtool_stats() argument
865 mt7530_get_sset_count(struct dsa_switch * ds,int port,int sset) mt7530_get_sset_count() argument
1216 mt753x_cpu_port_enable(struct dsa_switch * ds,int port) mt753x_cpu_port_enable() argument
1261 mt7530_port_enable(struct dsa_switch * ds,int port,struct phy_device * phy) mt7530_port_enable() argument
1289 mt7530_port_disable(struct dsa_switch * ds,int port) mt7530_port_disable() argument
1307 mt7530_port_change_mtu(struct dsa_switch * ds,int port,int new_mtu) mt7530_port_change_mtu() argument
1347 mt7530_port_max_mtu(struct dsa_switch * ds,int port) mt7530_port_max_mtu() argument
1353 mt7530_stp_state_set(struct dsa_switch * ds,int port,u8 state) mt7530_stp_state_set() argument
1382 mt7530_port_pre_bridge_flags(struct dsa_switch * ds,int port,struct switchdev_brport_flags flags,struct netlink_ext_ack * extack) mt7530_port_pre_bridge_flags() argument
1394 mt7530_port_bridge_flags(struct dsa_switch * ds,int port,struct switchdev_brport_flags flags,struct netlink_ext_ack * extack) mt7530_port_bridge_flags() argument
1420 mt7530_port_bridge_join(struct dsa_switch * ds,int port,struct dsa_bridge bridge,bool * tx_fwd_offload,struct netlink_ext_ack * extack) mt7530_port_bridge_join() argument
1468 mt7530_port_set_vlan_unaware(struct dsa_switch * ds,int port) mt7530_port_set_vlan_unaware() argument
1514 mt7530_port_set_vlan_aware(struct dsa_switch * ds,int port) mt7530_port_set_vlan_aware() argument
1554 mt7530_port_bridge_leave(struct dsa_switch * ds,int port,struct dsa_bridge bridge) mt7530_port_bridge_leave() argument
1601 mt7530_port_fdb_add(struct dsa_switch * ds,int port,const unsigned char * addr,u16 vid,struct dsa_db db) mt7530_port_fdb_add() argument
1618 mt7530_port_fdb_del(struct dsa_switch * ds,int port,const unsigned char * addr,u16 vid,struct dsa_db db) mt7530_port_fdb_del() argument
1635 mt7530_port_fdb_dump(struct dsa_switch * ds,int port,dsa_fdb_dump_cb_t * cb,void * data) mt7530_port_fdb_dump() argument
1670 mt7530_port_mdb_add(struct dsa_switch * ds,int port,const struct switchdev_obj_port_mdb * mdb,struct dsa_db db) mt7530_port_mdb_add() argument
1697 mt7530_port_mdb_del(struct dsa_switch * ds,int port,const struct switchdev_obj_port_mdb * mdb,struct dsa_db db) mt7530_port_mdb_del() argument
1752 mt7530_port_vlan_filtering(struct dsa_switch * ds,int port,bool vlan_filtering,struct netlink_ext_ack * extack) mt7530_port_vlan_filtering() argument
1871 mt7530_port_vlan_add(struct dsa_switch * ds,int port,const struct switchdev_obj_port_vlan * vlan,struct netlink_ext_ack * extack) mt7530_port_vlan_add() argument
1916 mt7530_port_vlan_del(struct dsa_switch * ds,int port,const struct switchdev_obj_port_vlan * vlan) mt7530_port_vlan_del() argument
1963 mt753x_port_mirror_add(struct dsa_switch * ds,int port,struct dsa_mall_mirror_tc_entry * mirror,bool ingress,struct netlink_ext_ack * extack) mt753x_port_mirror_add() argument
2001 mt753x_port_mirror_del(struct dsa_switch * ds,int port,struct dsa_mall_mirror_tc_entry * mirror) mt753x_port_mirror_del() argument
2025 mtk_get_tag_protocol(struct dsa_switch * ds,int port,enum dsa_tag_protocol mp) mtk_get_tag_protocol() argument
2748 mt7530_mac_port_get_caps(struct dsa_switch * ds,int port,struct phylink_config * config) mt7530_mac_port_get_caps() argument
2774 mt7531_is_rgmii_port(struct mt7530_priv * priv,u32 port) mt7531_is_rgmii_port() argument
2779 mt7531_mac_port_get_caps(struct dsa_switch * ds,int port,struct phylink_config * config) mt7531_mac_port_get_caps() argument
2810 mt7988_mac_port_get_caps(struct dsa_switch * ds,int port,struct phylink_config * config) mt7988_mac_port_get_caps() argument
2838 mt7530_mac_config(struct dsa_switch * ds,int port,unsigned int mode,phy_interface_t interface) mt7530_mac_config() argument
2852 mt7531_rgmii_setup(struct mt7530_priv * priv,u32 port,phy_interface_t interface,struct phy_device * phydev) mt7531_rgmii_setup() argument
2899 mt753x_is_mac_port(u32 port) mt753x_is_mac_port() argument
2905 mt7988_mac_config(struct dsa_switch * ds,int port,unsigned int mode,phy_interface_t interface) mt7988_mac_config() argument
2916 mt7531_mac_config(struct dsa_switch * ds,int port,unsigned int mode,phy_interface_t interface) mt7531_mac_config() argument
2950 mt753x_mac_config(struct dsa_switch * ds,int port,unsigned int mode,const struct phylink_link_state * state) mt753x_mac_config() argument
2959 mt753x_phylink_mac_select_pcs(struct dsa_switch * ds,int port,phy_interface_t interface) mt753x_phylink_mac_select_pcs() argument
2977 mt753x_phylink_mac_config(struct dsa_switch * ds,int port,unsigned int mode,const struct phylink_link_state * state) mt753x_phylink_mac_config() argument
3031 mt753x_phylink_mac_link_down(struct dsa_switch * ds,int port,unsigned int mode,phy_interface_t interface) mt753x_phylink_mac_link_down() argument
3049 mt753x_phylink_mac_link_up(struct dsa_switch * ds,int port,unsigned int mode,phy_interface_t interface,struct phy_device * phydev,int speed,int duplex,bool tx_pause,bool rx_pause) mt753x_phylink_mac_link_up() argument
3101 mt7531_cpu_port_config(struct dsa_switch * ds,int port) mt7531_cpu_port_config() argument
3145 mt7988_cpu_port_config(struct dsa_switch * ds,int port) mt7988_cpu_port_config() argument
3159 mt753x_phylink_get_caps(struct dsa_switch * ds,int port,struct phylink_config * config) mt753x_phylink_get_caps() argument
3187 int port = pcs_to_mt753x_pcs(pcs)->port; mt7530_pcs_get_state() local
3272 mt753x_get_mac_eee(struct dsa_switch * ds,int port,struct ethtool_eee * e) mt753x_get_mac_eee() argument
3284 mt753x_set_mac_eee(struct dsa_switch * ds,int port,struct ethtool_eee * e) mt753x_set_mac_eee() argument
[all...]
H A Ddsa_loop.c79 int port, in dsa_loop_get_protocol()
106 static int dsa_loop_get_sset_count(struct dsa_switch *ds, int port, int sset) in dsa_loop_get_sset_count()
114 static void dsa_loop_get_strings(struct dsa_switch *ds, int port, in dsa_loop_get_strings()
128 static void dsa_loop_get_ethtool_stats(struct dsa_switch *ds, int port, in dsa_loop_get_ethtool_stats()
138 static int dsa_loop_phy_read(struct dsa_switch *ds, int port, int regnum) in dsa_loop_phy_read()
153 static int dsa_loop_phy_write(struct dsa_switch *ds, int port, in dsa_loop_phy_write()
169 static int dsa_loop_port_bridge_join(struct dsa_switch *ds, int port, in dsa_loop_port_bridge_join()
180 static void dsa_loop_port_bridge_leave(struct dsa_switch *ds, int port, in dsa_loop_port_bridge_leave()
187 static void dsa_loop_port_stp_state_set(struct dsa_switch *ds, int port, in dsa_loop_port_stp_state_set()
194 static int dsa_loop_port_vlan_filtering(struct dsa_switch *ds, int port, in dsa_loop_port_vlan_filtering()
[all …]
/openbmc/linux/drivers/tty/serial/
H A Dsifive.c148 struct uart_port port; member
189 static void __ssp_early_writel(u32 v, u16 offs, struct uart_port *port) in __ssp_early_writel()
209 static u32 __ssp_early_readl(struct uart_port *port, u16 offs) in __ssp_early_readl()
498 static void sifive_serial_stop_tx(struct uart_port *port) in sifive_serial_stop_tx()
505 static void sifive_serial_stop_rx(struct uart_port *port) in sifive_serial_stop_rx()
512 static void sifive_serial_start_tx(struct uart_port *port) in sifive_serial_start_tx()
542 static unsigned int sifive_serial_tx_empty(struct uart_port *port) in sifive_serial_tx_empty()
547 static unsigned int sifive_serial_get_mctrl(struct uart_port *port) in sifive_serial_get_mctrl()
552 static void sifive_serial_set_mctrl(struct uart_port *port, unsigned int mctrl) in sifive_serial_set_mctrl()
557 static void sifive_serial_break_ctl(struct uart_port *port, int break_state) in sifive_serial_break_ctl()
[all …]
H A Dar933x_uart.c48 struct uart_port port; member
129 static unsigned int ar933x_uart_tx_empty(struct uart_port *port) in ar933x_uart_tx_empty()
143 static unsigned int ar933x_uart_get_mctrl(struct uart_port *port) in ar933x_uart_get_mctrl()
154 static void ar933x_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in ar933x_uart_set_mctrl()
162 static void ar933x_uart_start_tx(struct uart_port *port) in ar933x_uart_start_tx()
201 static void ar933x_uart_stop_tx(struct uart_port *port) in ar933x_uart_stop_tx()
209 static void ar933x_uart_stop_rx(struct uart_port *port) in ar933x_uart_stop_rx()
217 static void ar933x_uart_break_ctl(struct uart_port *port, int break_state) in ar933x_uart_break_ctl()
284 static void ar933x_uart_set_termios(struct uart_port *port, in ar933x_uart_set_termios()
363 struct tty_port *port = &up->port.state->port; in ar933x_uart_rx_chars() local
[all …]
H A Dsunsab.c50 struct uart_port port; /* Generic UART port */ member
112 struct tty_port *port = NULL; in receive_chars() local
308 struct tty_port *port = NULL; in sunsab_interrupt() local
343 static unsigned int sunsab_tx_empty(struct uart_port *port) in sunsab_tx_empty()
359 static void sunsab_set_mctrl(struct uart_port *port, unsigned int mctrl) in sunsab_set_mctrl()
383 static unsigned int sunsab_get_mctrl(struct uart_port *port) in sunsab_get_mctrl()
405 static void sunsab_stop_tx(struct uart_port *port) in sunsab_stop_tx()
434 static void sunsab_start_tx(struct uart_port *port) in sunsab_start_tx()
467 static void sunsab_send_xchar(struct uart_port *port, char ch) in sunsab_send_xchar()
485 static void sunsab_stop_rx(struct uart_port *port) in sunsab_stop_rx()
[all …]
H A Dsc16is7xx.c325 struct uart_port port; member
364 static u8 sc16is7xx_port_read(struct uart_port *port, u8 reg) in sc16is7xx_port_read()
374 static void sc16is7xx_port_write(struct uart_port *port, u8 reg, u8 val) in sc16is7xx_port_write()
381 static void sc16is7xx_fifo_read(struct uart_port *port, unsigned int rxlen) in sc16is7xx_fifo_read()
389 static void sc16is7xx_fifo_write(struct uart_port *port, u8 to_send) in sc16is7xx_fifo_write()
404 static void sc16is7xx_port_update(struct uart_port *port, u8 reg, in sc16is7xx_port_update()
412 static void sc16is7xx_power(struct uart_port *port, int on) in sc16is7xx_power()
497 static int sc16is7xx_set_baud(struct uart_port *port, int baud) in sc16is7xx_set_baud()
568 static void sc16is7xx_handle_rx(struct uart_port *port, unsigned int rxlen, in sc16is7xx_handle_rx()
647 static void sc16is7xx_handle_tx(struct uart_port *port) in sc16is7xx_handle_tx()
[all …]
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_typec.c74 static int cros_typec_get_switch_handles(struct cros_typec_port *port, in cros_typec_get_switch_handles()
126 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_add_partner() local
150 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_unregister_altmodes() local
177 static int cros_typec_usb_disconnect_state(struct cros_typec_port *port) in cros_typec_usb_disconnect_state()
193 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_remove_partner() local
220 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_remove_cable() local
235 static void cros_typec_unregister_port_altmodes(struct cros_typec_port *port) in cros_typec_unregister_port_altmodes()
269 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_register_port_altmodes() local
398 static int cros_typec_usb_safe_state(struct cros_typec_port *port) in cros_typec_usb_safe_state()
417 static int cros_typec_get_cable_vdo(struct cros_typec_port *port, u16 svid) in cros_typec_get_cable_vdo()
[all …]
/openbmc/linux/drivers/media/pci/saa7164/
H A Dsaa7164-api.c91 int saa7164_api_set_vbi_format(struct saa7164_port *port) in saa7164_api_set_vbi_format()
154 static int saa7164_api_set_gop_size(struct saa7164_port *port) in saa7164_api_set_gop_size()
173 int saa7164_api_set_encoder(struct saa7164_port *port) in saa7164_api_set_encoder()
232 int saa7164_api_get_encoder(struct saa7164_port *port) in saa7164_api_get_encoder()
310 int saa7164_api_set_aspect_ratio(struct saa7164_port *port) in saa7164_api_set_aspect_ratio()
354 int saa7164_api_set_usercontrol(struct saa7164_port *port, u8 ctl) in saa7164_api_set_usercontrol()
388 int saa7164_api_get_usercontrol(struct saa7164_port *port, u8 ctl) in saa7164_api_get_usercontrol()
422 int saa7164_api_set_videomux(struct saa7164_port *port) in saa7164_api_set_videomux()
457 int saa7164_api_audio_mute(struct saa7164_port *port, int mute) in saa7164_api_audio_mute()
474 int saa7164_api_set_audio_volume(struct saa7164_port *port, s8 level) in saa7164_api_set_audio_volume()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-mxc.c163 struct mxc_gpio_port *port = gc->private; in gpio_set_irq_type() local
230 static void mxc_flip_edge(struct mxc_gpio_port *port, u32 gpio) in mxc_flip_edge()
262 static void mxc_gpio_irq_handler(struct mxc_gpio_port *port, u32 irq_stat) in mxc_gpio_irq_handler()
280 struct mxc_gpio_port *port = irq_desc_get_handler_data(desc); in mx3_gpio_irq_handler() local
299 struct mxc_gpio_port *port; in mx2_gpio_irq_handler() local
329 struct mxc_gpio_port *port = gc->private; in gpio_set_wake_irq() local
350 static int mxc_gpio_init_gc(struct mxc_gpio_port *port, int irq_base) in mxc_gpio_init_gc()
381 struct mxc_gpio_port *port = gpiochip_get_data(gc); in mxc_gpio_to_irq() local
403 static void mxc_update_irq_chained_handler(struct mxc_gpio_port *port, bool enable) in mxc_update_irq_chained_handler()
424 struct mxc_gpio_port *port; in mxc_gpio_probe() local
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu_helper.h154 #define PHM_READ_INDIRECT_FIELD(device, port, reg, field) \ argument
158 #define PHM_READ_VFPF_INDIRECT_FIELD(device, port, reg, field) \ argument
166 #define PHM_WRITE_INDIRECT_FIELD(device, port, reg, field, fieldval) \ argument
171 #define PHM_WRITE_VFPF_INDIRECT_FIELD(device, port, reg, field, fieldval) \ argument
176 #define PHM_WAIT_INDIRECT_REGISTER_GIVEN_INDEX(hwmgr, port, index, value, mask) \ argument
180 #define PHM_WAIT_INDIRECT_REGISTER(hwmgr, port, reg, value, mask) \ argument
183 #define PHM_WAIT_INDIRECT_FIELD(hwmgr, port, reg, field, fieldval) \ argument
187 #define PHM_WAIT_INDIRECT_REGISTER_UNEQUAL_GIVEN_INDEX(hwmgr, port, index, value, mask) \ argument
191 #define PHM_WAIT_INDIRECT_REGISTER_UNEQUAL(hwmgr, port, reg, value, mask) \ argument
194 #define PHM_WAIT_INDIRECT_FIELD_UNEQUAL(hwmgr, port, reg, field, fieldval) … argument
[all …]
/openbmc/u-boot/arch/xtensa/include/asm/
H A Dio.h59 #define inb(port) readb((u8 *)((port))) argument
60 #define outb(val, port) writeb((val), (u8 *)((unsigned long)(port))) argument
61 #define inw(port) readw((u16 *)((port))) argument
62 #define outw(val, port) writew((val), (u16 *)((unsigned long)(port))) argument
63 #define inl(port) readl((u32 *)((port))) argument
64 #define outl(val, port) writel((val), (u32 *)((unsigned long)(port))) argument
66 #define inb_p(port) inb((port)) argument
67 #define outb_p(val, port) outb((val), (port)) argument
68 #define inw_p(port) inw((port)) argument
69 #define outw_p(val, port) outw((val), (port)) argument
[all …]
/openbmc/linux/lib/
H A Diomap.c40 static void bad_io_access(unsigned long port, const char *access) in bad_io_access()
64 #define pio_read16be(port) swab16(inw(port)) argument
65 #define pio_read32be(port) swab32(inl(port)) argument
115 static u64 pio_read64_lo_hi(unsigned long port) in pio_read64_lo_hi()
125 static u64 pio_read64_hi_lo(unsigned long port) in pio_read64_hi_lo()
135 static u64 pio_read64be_lo_hi(unsigned long port) in pio_read64be_lo_hi()
145 static u64 pio_read64be_hi_lo(unsigned long port) in pio_read64be_hi_lo()
193 #define pio_write16be(val,port) outw(swab16(val),port) argument
194 #define pio_write32be(val,port) outl(swab32(val),port) argument
198 #define mmio_write16be(val,port) writew(swab16(val),port) argument
[all …]
/openbmc/u-boot/arch/arm/mach-mvebu/serdes/axp/
H A Dboard_env_spec.h130 #define SATA_BASE_REG(port) (0xA2000 + (port)*0x2000) argument
132 #define SATA_PWR_PLL_CTRL_REG(port) (SATA_BASE_REG(port) + 0x804) argument
133 #define SATA_DIG_LP_ENA_REG(port) (SATA_BASE_REG(port) + 0x88C) argument
134 #define SATA_REF_CLK_SEL_REG(port) (SATA_BASE_REG(port) + 0x918) argument
135 #define SATA_COMPHY_CTRL_REG(port) (SATA_BASE_REG(port) + 0x920) argument
136 #define SATA_LP_PHY_EXT_CTRL_REG(port) (SATA_BASE_REG(port) + 0x058) argument
137 #define SATA_LP_PHY_EXT_STAT_REG(port) (SATA_BASE_REG(port) + 0x05C) argument
138 #define SATA_IMP_TX_SSC_CTRL_REG(port) (SATA_BASE_REG(port) + 0x810) argument
139 #define SATA_GEN_1_SET_0_REG(port) (SATA_BASE_REG(port) + 0x834) argument
140 #define SATA_GEN_1_SET_1_REG(port) (SATA_BASE_REG(port) + 0x838) argument
[all …]
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_vlan.c54 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()
152 void lan966x_vlan_port_apply(struct lan966x_port *port) in lan966x_vlan_port_apply()
213 void lan966x_vlan_port_add_vlan(struct lan966x_port *port, in lan966x_vlan_port_add_vlan()
236 void lan966x_vlan_port_del_vlan(struct lan966x_port *port, u16 vid) in lan966x_vlan_port_del_vlan()
285 u16 port, vid; in lan966x_vlan_init() local
H A Dlan966x_taprio.c41 static u32 lan966x_taprio_list_index(struct lan966x_port *port, u8 entry) in lan966x_taprio_list_index()
46 static u32 lan966x_taprio_list_state_get(struct lan966x_port *port) in lan966x_taprio_list_state_get()
55 static u32 lan966x_taprio_list_index_state_get(struct lan966x_port *port, in lan966x_taprio_list_index_state_get()
67 static void lan966x_taprio_list_state_set(struct lan966x_port *port, in lan966x_taprio_list_state_set()
77 static int lan966x_taprio_list_shutdown(struct lan966x_port *port, in lan966x_taprio_list_shutdown()
150 static int lan966x_taprio_shutdown(struct lan966x_port *port) in lan966x_taprio_shutdown()
172 static int lan966x_taprio_find_list(struct lan966x_port *port, in lan966x_taprio_find_list()
268 static int lan966x_taprio_gcl_free_get(struct lan966x_port *port, in lan966x_taprio_gcl_free_get()
308 static void lan966x_taprio_gcl_setup_entry(struct lan966x_port *port, in lan966x_taprio_gcl_setup_entry()
327 static int lan966x_taprio_gcl_setup(struct lan966x_port *port, in lan966x_taprio_gcl_setup()
[all …]
/openbmc/linux/drivers/usb/serial/
H A Dkl5kusb105.c123 static int klsi_105_chg_port_settings(struct usb_serial_port *port, in klsi_105_chg_port_settings()
155 static int klsi_105_get_line_state(struct usb_serial_port *port, in klsi_105_get_line_state()
189 static int klsi_105_port_probe(struct usb_serial_port *port) in klsi_105_port_probe()
213 static void klsi_105_port_remove(struct usb_serial_port *port) in klsi_105_port_remove()
221 static int klsi_105_open(struct tty_struct *tty, struct usb_serial_port *port) in klsi_105_open()
303 static void klsi_105_close(struct usb_serial_port *port) in klsi_105_close()
328 static int klsi_105_prepare_write_buffer(struct usb_serial_port *port, in klsi_105_prepare_write_buffer()
345 struct usb_serial_port *port = urb->context; in klsi_105_process_read_urb() local
369 struct usb_serial_port *port, in klsi_105_set_termios()
490 struct usb_serial_port *port = tty->driver_data; in klsi_105_tiocmget() local
H A Dsymbolserial.c34 struct usb_serial_port *port = urb->context; in symbol_int_callback() local
91 static int symbol_open(struct tty_struct *tty, struct usb_serial_port *port) in symbol_open()
111 static void symbol_close(struct usb_serial_port *port) in symbol_close()
118 struct usb_serial_port *port = tty->driver_data; in symbol_throttle() local
128 struct usb_serial_port *port = tty->driver_data; in symbol_unthrottle() local
148 static int symbol_port_probe(struct usb_serial_port *port) in symbol_port_probe()
163 static void symbol_port_remove(struct usb_serial_port *port) in symbol_port_remove()
/openbmc/u-boot/drivers/serial/
H A Dserial_ns16550.c79 #define DECLARE_ESERIAL_FUNCTIONS(port) \ argument
110 #define INIT_ESERIAL_STRUCTURE(port, __name) { \ argument
121 static void _serial_putc(const char c, const int port) in _serial_putc()
129 static void _serial_puts(const char *s, const int port) in _serial_puts()
136 static int _serial_getc(const int port) in _serial_getc()
141 static int _serial_tstc(const int port) in _serial_tstc()
146 static void _serial_setbrg(const int port) in _serial_setbrg()
/openbmc/linux/drivers/thunderbolt/
H A Dswitch.c414 static const char *tb_port_type(const struct tb_regs_port_header *port) in tb_port_type()
443 static void tb_dump_port(struct tb *tb, const struct tb_port *port) in tb_dump_port()
468 int tb_port_state(struct tb_port *port) in tb_port_state()
497 int tb_wait_for_port(struct tb_port *port, bool wait_if_unplugged) in tb_wait_for_port()
566 int tb_port_add_nfc_credits(struct tb_port *port, int credits) in tb_port_add_nfc_credits()
603 int tb_port_clear_counter(struct tb_port *port, int counter) in tb_port_clear_counter()
617 int tb_port_unlock(struct tb_port *port) in tb_port_unlock()
628 static int __tb_port_enable(struct tb_port *port, bool enable) in __tb_port_enable()
662 int tb_port_enable(struct tb_port *port) in tb_port_enable()
673 int tb_port_disable(struct tb_port *port) in tb_port_disable()
[all …]
/openbmc/linux/drivers/net/dsa/microchip/
H A Dksz_common.c1611 static void ksz_phylink_get_caps(struct dsa_switch *ds, int port, in ksz_phylink_get_caps()
1640 void ksz_r_mib_stats64(struct ksz_device *dev, int port) in ksz_r_mib_stats64()
1689 void ksz88xx_r_mib_stats64(struct ksz_device *dev, int port) in ksz88xx_r_mib_stats64()
1738 static void ksz_get_stats64(struct dsa_switch *ds, int port, in ksz_get_stats64()
1751 static void ksz_get_pause_stats(struct dsa_switch *ds, int port, in ksz_get_pause_stats()
1764 static void ksz_get_strings(struct dsa_switch *ds, int port, in ksz_get_strings()
1779 static void ksz_update_port_member(struct ksz_device *dev, int port) in ksz_update_port_member()
2226 static void port_r_cnt(struct ksz_device *dev, int port) in port_r_cnt()
2328 static u32 ksz_get_phy_flags(struct dsa_switch *ds, int port) in ksz_get_phy_flags()
2358 static void ksz_mac_link_down(struct dsa_switch *ds, int port, in ksz_mac_link_down()
[all …]
/openbmc/linux/sound/core/seq/
H A Dseq_ports.c47 struct snd_seq_client_port *port; in snd_seq_port_use_ptr() local
71 struct snd_seq_client_port *port, *found; in snd_seq_port_query_nearest() local
117 int snd_seq_create_port(struct snd_seq_client *client, int port, in snd_seq_create_port()
220 struct snd_seq_client_port *port, in clear_subscriber_list()
258 struct snd_seq_client_port *port) in port_delete()
280 int snd_seq_delete_port(struct snd_seq_client *client, int port) in snd_seq_delete_port()
307 struct snd_seq_client_port *port, *tmp; in snd_seq_delete_all_ports() local
334 int snd_seq_set_port_info(struct snd_seq_client_port * port, in snd_seq_set_port_info()
378 int snd_seq_get_port_info(struct snd_seq_client_port * port, in snd_seq_get_port_info()
431 struct snd_seq_client_port *port, in subscribe_port()
[all …]
/openbmc/linux/drivers/net/ethernet/cortina/
H A Dgemini.c227 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_update_config0_reg() local
242 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_enable_tx_rx() local
257 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_disable_tx_rx() local
274 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_set_flow_control() local
293 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_speed_set() local
363 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_setup_phy() local
467 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_init() local
547 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_setup_txqs() local
606 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_clean_txq() local
677 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_cleanup_txqs() local
[all …]
/openbmc/linux/drivers/pci/controller/
H A Dpci-xgene.c72 static u32 xgene_pcie_readl(struct xgene_pcie *port, u32 reg) in xgene_pcie_readl()
77 static void xgene_pcie_writel(struct xgene_pcie *port, u32 reg, u32 val) in xgene_pcie_writel()
104 struct xgene_pcie *port = pcie_bus_to_port(bus); in xgene_pcie_get_cfg_base() local
118 struct xgene_pcie *port = pcie_bus_to_port(bus); in xgene_pcie_set_rtdid_reg() local
165 struct xgene_pcie *port = pcie_bus_to_port(bus); in xgene_pcie_config_read32() local
228 struct xgene_pcie *port; in xgene_pcie_ecam_init() local
282 static u64 xgene_pcie_set_ib_mask(struct xgene_pcie *port, u32 addr, in xgene_pcie_set_ib_mask()
308 static void xgene_pcie_linkup(struct xgene_pcie *port, in xgene_pcie_linkup()
323 static int xgene_pcie_init_port(struct xgene_pcie *port) in xgene_pcie_init_port()
343 static int xgene_pcie_map_reg(struct xgene_pcie *port, in xgene_pcie_map_reg()
[all …]

12345678910>>...105