/linux-master/arch/sh/kernel/cpu/sh3/ |
H A D | serial-sh7720.c | 8 static void sh7720_sci_init_pins(struct uart_port *port, unsigned int cflag) argument 14 if (port->mapbase == 0xa4430000) { /* SCIF0 */ 18 } else if (port->mapbase == 0xa4438000) { /* SCIF1 */ 24 if (port->mapbase == 0xa4430000) { /* SCIF0 */ 28 } else if (port->mapbase == 0xa4438000) { /* SCIF1 */
|
/linux-master/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-helper-loop.c | 52 int port; local 56 for (port = 0; port < num_ports; port++) { 58 int ipd_port = cvmx_helper_get_ipd_port(interface, port);
|
H A D | cvmx-helper-npi.c | 85 int port; local 86 for (port = 0; port < num_ports; port++) { 89 cvmx_helper_get_ipd_port(interface, port);
|
/linux-master/drivers/misc/ibmasm/ |
H A D | uart.c | 37 uart.port.irq = sp->irq; 38 uart.port.uartclk = 3686400; 39 uart.port.flags = UPF_SHARE_IRQ; 40 uart.port.iotype = UPIO_MEM; 41 uart.port.membase = iomem_base; 45 dev_err(sp->dev, "Failed to register serial port\n");
|
/linux-master/drivers/net/dsa/hirschmann/ |
H A D | hellcreek_hwtstamp.h | 40 int hellcreek_port_hwtstamp_set(struct dsa_switch *ds, int port, 42 int hellcreek_port_hwtstamp_get(struct dsa_switch *ds, int port, 45 bool hellcreek_port_rxtstamp(struct dsa_switch *ds, int port, 47 void hellcreek_port_txtstamp(struct dsa_switch *ds, int port, 50 int hellcreek_get_ts_info(struct dsa_switch *ds, int port,
|
/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | port_scale.sh | 4 # Test for physical ports resource. The test splits each splittable port 21 for port in "${unsplit[@]}"; do 22 devlink port unsplit $port 38 devlink -j port show | 43 devlink port split $netdev count $count
|
/linux-master/drivers/tty/serial/ |
H A D | imx_earlycon.c | 19 static void imx_uart_console_early_putchar(struct uart_port *port, unsigned char ch) argument 21 while (readl_relaxed(port->membase + IMX21_UTS) & UTS_TXFULL) 24 writel_relaxed(ch, port->membase + URTX0); 32 uart_console_write(&dev->port, s, count, imx_uart_console_early_putchar); 38 if (!dev->port.membase)
|
H A D | amba-pl011.c | 252 * We wrap our port structure around the generic uart_port. 255 struct uart_port port; member in struct:uart_amba_port 277 static unsigned int pl011_tx_empty(struct uart_port *port); 288 void __iomem *addr = uap->port.membase + pl011_reg_to_offset(uap, reg); 290 return (uap->port.iotype == UPIO_MEM32) ? 297 void __iomem *addr = uap->port.membase + pl011_reg_to_offset(uap, reg); 299 if (uap->port.iotype == UPIO_MEM32) 325 uap->port.icount.rx++; 330 uap->port.icount.brk++; 331 if (uart_handle_break(&uap->port)) 856 struct tty_port *port = &uap->port.state->port; local 1040 struct tty_port *port = &uap->port.state->port; local 1268 struct uart_port *port = &uap->port; local 1302 pl011_stop_tx(struct uart_port *port) argument 1328 struct uart_port *port = &uap->port; local 1352 pl011_start_tx(struct uart_port *port) argument 1365 pl011_stop_rx(struct uart_port *port) argument 1377 pl011_throttle_rx(struct uart_port *port) argument 1386 pl011_enable_ms(struct uart_port *port) argument 1569 pl011_tx_empty(struct uart_port *port) argument 1587 pl011_get_mctrl(struct uart_port *port) argument 1610 pl011_set_mctrl(struct uart_port *port, unsigned int mctrl) argument 1632 pl011_break_ctl(struct uart_port *port, int break_state) argument 1651 pl011_quiesce_irqs(struct uart_port *port) argument 1674 pl011_get_poll_char(struct uart_port *port) argument 1693 pl011_put_poll_char(struct uart_port *port, unsigned char ch) argument 1706 pl011_hwinit(struct uart_port *port) argument 1809 pl011_unthrottle_rx(struct uart_port *port) argument 1825 pl011_startup(struct uart_port *port) argument 1872 sbsa_uart_startup(struct uart_port *port) argument 1940 pl011_shutdown(struct uart_port *port) argument 1975 sbsa_uart_shutdown(struct uart_port *port) argument 1989 pl011_setup_status_masks(struct uart_port *port, struct ktermios *termios) argument 2021 pl011_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument 2160 sbsa_uart_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument 2180 pl011_type(struct uart_port *port) argument 2190 pl011_config_port(struct uart_port *port, int flags) argument 2199 pl011_verify_port(struct uart_port *port, struct serial_struct *ser) argument 2214 pl011_rs485_config(struct uart_port *port, struct ktermios *termios, struct serial_rs485 *rs485) argument 2260 sbsa_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) argument 2264 sbsa_uart_get_mctrl(struct uart_port *port) argument 2293 pl011_console_putchar(struct uart_port *port, unsigned char ch) argument 2472 struct uart_port *port; local 2504 qdf2400_e44_putc(struct uart_port *port, unsigned char c) argument 2520 pl011_putc(struct uart_port *port, unsigned char c) argument 2540 pl011_getc(struct uart_port *port) argument [all...] |
H A D | ar933x_uart.c | 48 struct uart_port port; member in struct:ar933x_uart_port 60 return readl(up->port.membase + offset); 66 writel(value, up->port.membase + offset); 129 static unsigned int ar933x_uart_tx_empty(struct uart_port *port) argument 132 container_of(port, struct ar933x_uart_port, port); 136 uart_port_lock_irqsave(&up->port, &flags); 138 uart_port_unlock_irqrestore(&up->port, flags); 143 static unsigned int ar933x_uart_get_mctrl(struct uart_port *port) argument 146 container_of(port, struc 154 ar933x_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) argument 162 ar933x_uart_start_tx(struct uart_port *port) argument 201 ar933x_uart_stop_tx(struct uart_port *port) argument 209 ar933x_uart_stop_rx(struct uart_port *port) argument 217 ar933x_uart_break_ctl(struct uart_port *port, int break_state) argument 284 ar933x_uart_set_termios(struct uart_port *port, struct ktermios *new, const struct ktermios *old) argument 363 struct tty_port *port = &up->port.state->port; local 475 ar933x_uart_startup(struct uart_port *port) argument 505 ar933x_uart_shutdown(struct uart_port *port) argument 521 ar933x_uart_type(struct uart_port *port) argument 526 ar933x_uart_release_port(struct uart_port *port) argument 531 ar933x_uart_request_port(struct uart_port *port) argument 537 ar933x_uart_config_port(struct uart_port *port, int flags) argument 543 ar933x_uart_verify_port(struct uart_port *port, struct serial_struct *ser) argument 581 ar933x_config_rs485(struct uart_port *port, struct ktermios *termios, struct serial_rs485 *rs485conf) argument 612 ar933x_uart_console_putchar(struct uart_port *port, unsigned char ch) argument 702 struct uart_port *port; local [all...] |
H A D | ma35d1_serial.c | 149 struct uart_port port; member in struct:uart_ma35d1_port 151 u16 capabilities; /* port capabilities */ 165 return container_of(uart, struct uart_ma35d1_port, port); 170 return readl_relaxed(p->port.membase + offset); 175 writel_relaxed(value, p->port.membase + offset); 187 static void ma35d1serial_stop_tx(struct uart_port *port) argument 189 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); 199 if (uart_tx_stopped(&up->port)) { 200 ma35d1serial_stop_tx(&up->port); 205 uart_port_tx_limited(&up->port, c 211 ma35d1serial_start_tx(struct uart_port *port) argument 222 ma35d1serial_stop_rx(struct uart_port *port) argument 286 struct uart_port *port = dev_id; local 306 ma35d1serial_tx_empty(struct uart_port *port) argument 318 ma35d1serial_get_mctrl(struct uart_port *port) argument 330 ma35d1serial_set_mctrl(struct uart_port *port, u32 mctrl) argument 361 ma35d1serial_break_ctl(struct uart_port *port, int break_state) argument 377 ma35d1serial_startup(struct uart_port *port) argument 405 ma35d1serial_shutdown(struct uart_port *port) argument 413 ma35d1serial_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument 481 ma35d1serial_type(struct uart_port *port) argument 486 ma35d1serial_config_port(struct uart_port *port, int flags) argument 496 ma35d1serial_verify_port(struct uart_port *port, struct serial_struct *ser) argument 539 ma35d1serial_console_putchar(struct uart_port *port, unsigned char ch) argument 595 struct uart_port *port; local 759 struct uart_port *port = platform_get_drvdata(dev); local 768 struct uart_port *port = platform_get_drvdata(dev); local 782 struct uart_port *port = platform_get_drvdata(dev); local [all...] |
/linux-master/drivers/net/dsa/microchip/ |
H A D | lan937x.h | 12 void lan937x_port_setup(struct ksz_device *dev, int port, bool cpu_port); 18 int lan937x_change_mtu(struct ksz_device *dev, int port, int new_mtu); 19 void lan937x_phylink_get_caps(struct ksz_device *dev, int port, 21 void lan937x_setup_rgmii_delay(struct ksz_device *dev, int port); 23 int lan937x_tc_cbs_set_cinc(struct ksz_device *dev, int port, u32 val);
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | vlv_dsi_pll.h | 11 enum port; 23 void vlv_dsi_reset_clocks(struct intel_encoder *encoder, enum port port); 33 void bxt_dsi_reset_clocks(struct intel_encoder *encoder, enum port port);
|
/linux-master/drivers/net/team/ |
H A D | team_core.c | 41 struct team_port *port = rtnl_dereference(dev->rx_handler_data); local 43 return netif_is_team_port(dev) ? port : NULL; 47 * Since the ability to change device address for open port device is tested in 60 static int team_port_set_orig_dev_addr(struct team_port *port) argument 62 return __set_port_dev_addr(port->dev, port->orig.dev_addr); 66 struct team_port *port) 68 return __set_port_dev_addr(port->dev, team->dev->dev_addr); 71 int team_modeop_port_enter(struct team *team, struct team_port *port) argument 73 return team_port_set_team_dev_addr(team, port); 65 team_port_set_team_dev_addr(struct team *team, struct team_port *port) argument 77 team_modeop_port_change_dev_addr(struct team *team, struct team_port *port) argument 84 team_lower_state_changed(struct team_port *port) argument 93 team_refresh_port_linkup(struct team_port *port) argument 147 __team_option_inst_add(struct team *team, struct team_option *option, struct team_port *port) argument 205 __team_option_inst_del_port(struct team *team, struct team_port *port) argument 217 __team_option_inst_add_port(struct team *team, struct team_port *port) argument 237 __team_option_inst_mark_removed_port(struct team *team, struct team_port *port) argument 506 team_dummy_receive(struct team *team, struct team_port *port, struct sk_buff *skb) argument 725 struct team_port *port; local 808 struct team_port *port; local 820 __team_queue_override_port_del(struct team *team, struct team_port *port) argument 828 team_queue_override_port_has_gt_prio_than(struct team_port *port, struct team_port *cur) argument 840 __team_queue_override_port_add(struct team *team, struct team_port *port) argument 861 struct team_port *port; local 877 team_queue_override_port_prio_changed(struct team *team, struct team_port *port) argument 887 team_queue_override_port_change_queue_id(struct team *team, struct team_port *port, u16 new_queue_id) argument 901 team_queue_override_port_add(struct team *team, struct team_port *port) argument 908 team_queue_override_port_del(struct team *team, struct team_port *port) argument 920 team_port_find(const struct team *team, const struct team_port *port) argument 937 team_port_enable(struct team *team, struct team_port *port) argument 957 struct team_port *port; local 968 team_port_disable(struct team *team, struct team_port *port) argument 993 struct team_port *port; local 1035 team_port_enter(struct team *team, struct team_port *port) argument 1057 team_port_leave(struct team *team, struct team_port *port) argument 1065 __team_port_enable_netpoll(struct team_port *port) argument 1083 team_port_enable_netpoll(struct team_port *port) argument 1091 team_port_disable_netpoll(struct team_port *port) argument 1102 team_port_enable_netpoll(struct team_port *port) argument 1106 team_port_disable_netpoll(struct team_port *port) argument 1111 team_upper_dev_link(struct team *team, struct team_port *port, struct netlink_ext_ack *extack) argument 1127 team_upper_dev_unlink(struct team *team, struct team_port *port) argument 1141 struct team_port *port; local 1333 struct team_port *port; local 1446 struct team_port *port = ctx->info->port; local 1454 struct team_port *port = ctx->info->port; local 1466 struct team_port *port = ctx->info->port; local 1476 struct team_port *port = ctx->info->port; local 1487 struct team_port *port = ctx->info->port; local 1495 struct team_port *port = ctx->info->port; local 1506 struct team_port *port = ctx->info->port; local 1514 struct team_port *port = ctx->info->port; local 1527 struct team_port *port = ctx->info->port; local 1535 struct team_port *port = ctx->info->port; local 1668 struct team_port *port; local 1700 struct team_port *port; local 1764 struct team_port *port; local 1784 struct team_port *port; local 1798 struct team_port *port; local 1814 struct team_port *port; local 1889 struct team_port *port; local 1917 struct team_port *port; local 1934 struct team_port *port; local 1953 struct team_port *port; local 2010 struct team_port *port; local 2085 struct team_port *port; local 2673 team_nl_fill_one_port_get(struct sk_buff *skb, struct team_port *port) argument 2710 struct team_port *port; local 2836 team_nl_send_event_port_get(struct team *team, struct team_port *port) argument 2876 __team_port_change_send(struct team_port *port, bool linkup) argument 2906 struct team_port *port; local 2926 __team_port_change_check(struct team_port *port, bool linkup) argument 2933 __team_port_change_port_added(struct team_port *port, bool linkup) argument 2939 __team_port_change_port_removed(struct team_port *port) argument 2946 team_port_change_check(struct team_port *port, bool linkup) argument 2964 struct team_port *port; local [all...] |
/linux-master/drivers/infiniband/sw/rxe/ |
H A D | rxe.c | 80 /* initialize port attributes */ 81 static void rxe_init_port_param(struct rxe_port *port) argument 83 port->attr.state = IB_PORT_DOWN; 84 port->attr.max_mtu = IB_MTU_4096; 85 port->attr.active_mtu = IB_MTU_256; 86 port->attr.gid_tbl_len = RXE_PORT_GID_TBL_LEN; 87 port->attr.port_cap_flags = RXE_PORT_PORT_CAP_FLAGS; 88 port->attr.max_msg_sz = RXE_PORT_MAX_MSG_SZ; 89 port->attr.bad_pkey_cntr = RXE_PORT_BAD_PKEY_CNTR; 90 port 111 struct rxe_port *port = &rxe->port; local 155 struct rxe_port *port = &rxe->port; local [all...] |
/linux-master/drivers/usb/serial/ |
H A D | kl5kusb105.c | 54 static int klsi_105_port_probe(struct usb_serial_port *port); 55 static void klsi_105_port_remove(struct usb_serial_port *port); 56 static int klsi_105_open(struct tty_struct *tty, struct usb_serial_port *port); 57 static void klsi_105_close(struct usb_serial_port *port); 59 struct usb_serial_port *port, 63 static int klsi_105_prepare_write_buffer(struct usb_serial_port *port, 123 static int klsi_105_chg_port_settings(struct usb_serial_port *port, argument 128 rc = usb_control_msg_send(port->serial->dev, 140 dev_err(&port->dev, 141 "Change port setting 155 klsi_105_get_line_state(struct usb_serial_port *port, unsigned long *state) argument 189 klsi_105_port_probe(struct usb_serial_port *port) argument 213 klsi_105_port_remove(struct usb_serial_port *port) argument 221 klsi_105_open(struct tty_struct *tty, struct usb_serial_port *port) argument 303 klsi_105_close(struct usb_serial_port *port) argument 328 klsi_105_prepare_write_buffer(struct usb_serial_port *port, void *dest, size_t size) argument 345 struct usb_serial_port *port = urb->context; local 368 klsi_105_set_termios(struct tty_struct *tty, struct usb_serial_port *port, const struct ktermios *old_termios) argument 490 struct usb_serial_port *port = tty->driver_data; local [all...] |
/linux-master/drivers/input/joystick/ |
H A D | tmdc.c | 106 struct tmdc_port *port[2]; member in struct:tmdc 172 static int tmdc_parse_packet(struct tmdc_port *port, unsigned char *data) argument 176 if (data[TMDC_BYTE_ID] != port->mode) 179 for (i = 0; i < port->absc; i++) { 180 if (port->abs[i] < 0) 183 input_report_abs(port->dev, port->abs[i], data[tmdc_byte_a[i]]); 186 switch (port->mode) { 191 input_report_abs(port->dev, ABS_HAT0X, ((data[i] >> 3) & 1) - ((data[i] >> 1) & 1)); 192 input_report_abs(port 262 struct tmdc_port *port; local [all...] |
/linux-master/drivers/usb/host/ |
H A D | uhci-hub.c | 22 HUB_CHAR_INDV_PORT_OCPM, /* (per-port OC, no power switching) */ 38 /* suspend/resume bits: port suspended or port resuming */ 41 /* A port that either is connected or has a changed-bit set will prevent 46 int port; local 48 for (port = 0; port < uhci->rh_numports; ++port) { 49 if ((uhci_readw(uhci, USBPORTSC1 + port * 2) & 51 test_bit(port, 59 int port; local 96 uhci_finish_suspend(struct uhci_hcd *uhci, int port, unsigned long port_addr) argument 139 unsigned int port; local 248 unsigned int port = wIndex - 1; local [all...] |
/linux-master/drivers/input/gameport/ |
H A D | emu10k1-gp.c | 43 struct gameport *port; local 47 port = gameport_allocate_port(); 48 if (!emu || !port) { 62 emu->gameport = port; 64 gameport_set_name(port, "EMU10K1"); 65 gameport_set_phys(port, "pci%s/gameport0", pci_name(pdev)); 66 port->dev.parent = &pdev->dev; 67 port->io = emu->io; 78 gameport_register_port(port); 85 gameport_free_port(port); [all...] |
/linux-master/drivers/tty/serial/8250/ |
H A D | 8250_ioc3.c | 60 up.port.iotype = UPIO_MEM; 61 up.port.uartclk = IOC3_UARTCLK; 62 up.port.type = PORT_16550A; 63 up.port.irq = irq; 64 up.port.flags = (UPF_BOOT_AUTOCONF | UPF_SHARE_IRQ); 65 up.port.dev = &pdev->dev; 66 up.port.membase = membase; 67 up.port.mapbase = r->start; 68 up.port.serial_in = ioc3_serial_in; 69 up.port [all...] |
H A D | 8250_ingenic.c | 44 static uint8_t early_in(struct uart_port *port, int offset) argument 46 return readl(port->membase + (offset << 2)); 49 static void early_out(struct uart_port *port, int offset, uint8_t value) argument 51 writel(value, port->membase + (offset << 2)); 54 static void ingenic_early_console_putc(struct uart_port *port, unsigned char c) argument 59 lsr = early_in(port, UART_LSR); 62 early_out(port, UART_TX, c); 68 uart_console_write(&early_device->port, s, count, 86 dev->port.uartclk = be32_to_cpup(prop); 92 struct uart_port *port local [all...] |
/linux-master/include/linux/ |
H A D | wwan.h | 12 * enum wwan_port_type - WWAN port types 21 * @WWAN_PORT_MAX: Highest supported port types 22 * @WWAN_PORT_UNKNOWN: Special value to indicate an unknown port type 34 /* Add new port types above this line */ 47 /** struct wwan_port_ops - The WWAN port operations 48 * @start: The routine for starting the WWAN port device. 49 * @stop: The routine for stopping the WWAN port device. 50 * @tx: Non-blocking routine that sends WWAN port protocol data to the device. 51 * @tx_blocking: Optional blocking routine that sends WWAN port protocol data 56 * that control a WWAN port devic [all...] |
/linux-master/drivers/net/ethernet/mscc/ |
H A D | ocelot_net.c | 69 int port = devlink_port_to_port(dlp); local 71 return ocelot_sb_port_pool_get(ocelot, port, sb_index, pool_index, 81 int port = devlink_port_to_port(dlp); local 83 return ocelot_sb_port_pool_set(ocelot, port, sb_index, pool_index, 94 int port = devlink_port_to_port(dlp); local 96 return ocelot_sb_tc_pool_bind_get(ocelot, port, sb_index, tc_index, 109 int port = devlink_port_to_port(dlp); local 111 return ocelot_sb_tc_pool_bind_set(ocelot, port, sb_index, tc_index, 138 int port = devlink_port_to_port(dlp); local 140 return ocelot_sb_occ_port_pool_get(ocelot, port, sb_inde 151 int port = devlink_port_to_port(dlp); local 171 ocelot_port_devlink_init(struct ocelot *ocelot, int port, enum devlink_port_flavour flavour) argument 190 ocelot_port_devlink_teardown(struct ocelot *ocelot, int port) argument 202 int port = priv->port.index; local 227 int port = priv->port.index; local 307 int port = priv->port.index; local 328 int port = priv->port.index; local 498 int port = priv->port.index; local 516 int port = priv->port.index; local 559 int port = priv->port.index; local 725 int port = priv->port.index; local 739 int port = priv->port.index; local 752 int port = priv->port.index; local 813 int port = priv->port.index; local 835 ocelot_vlan_mode(struct ocelot *ocelot, int port, netdev_features_t features) argument 855 int port = priv->port.index; local 874 int port = priv->port.index; local 921 ocelot_port_to_netdev(struct ocelot *ocelot, int port) argument 957 int port = priv->port.index; local 968 int port = priv->port.index; local 977 int port = priv->port.index; local 987 int port = priv->port.index; local 1004 ocelot_port_attr_stp_state_set(struct ocelot *ocelot, int port, u8 state) argument 1010 ocelot_port_attr_ageing_set(struct ocelot *ocelot, int port, unsigned long ageing_clock_t) argument 1019 ocelot_port_attr_mc_set(struct ocelot *ocelot, int port, bool mc) argument 1039 int port = priv->port.index; local 1080 int port = priv->port.index; local 1106 int port = priv->port.index; local 1117 int port = priv->port.index; local 1128 int port = priv->port.index; local 1139 int port = priv->port.index; local 1151 int port = priv->port.index; local 1163 int port = priv->port.index; local 1232 ocelot_inherit_brport_flags(struct ocelot *ocelot, int port, struct net_device *brport_dev) argument 1247 ocelot_clear_brport_flags(struct ocelot *ocelot, int port) argument 1257 ocelot_switchdev_sync(struct ocelot *ocelot, int port, struct net_device *brport_dev, struct net_device *bridge_dev, struct netlink_ext_ack *extack) argument 1278 ocelot_switchdev_unsync(struct ocelot *ocelot, int port) argument 1328 int port = priv->port.index; local 1380 int port = priv->port.index; local 1402 int port = priv->port.index; local 1444 int port = priv->port.index; local 1558 int port = priv->port.index; local 1679 int port = priv->port.index; local 1691 int port = priv->port.index; local 1707 int port = priv->port.index; local 1720 ocelot_port_phylink_create(struct ocelot *ocelot, int port, struct device_node *portnp) argument 1783 ocelot_probe_port(struct ocelot *ocelot, int port, struct regmap *target, struct device_node *portnp) argument [all...] |
/linux-master/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-switchdev.c | 21 struct am65_cpsw_port *port; member in struct:am65_cpsw_switchdev_event_work 25 static int am65_cpsw_port_stp_state_set(struct am65_cpsw_port *port, u8 state) argument 27 struct am65_cpsw_common *cpsw = port->common; 49 ret = cpsw_ale_control_set(cpsw->ale, port->port_id, 51 netdev_dbg(port->ndev, "ale state: %u\n", cpsw_state); 56 static int am65_cpsw_port_attr_br_flags_set(struct am65_cpsw_port *port, argument 60 struct am65_cpsw_common *cpsw = port->common; 68 netdev_dbg(port->ndev, "BR_MCAST_FLOOD: %d port %u\n", 69 unreg_mcast_add, port 91 struct am65_cpsw_port *port = am65_ndev_to_port(ndev); local 117 am65_cpsw_get_pvid(struct am65_cpsw_port *port) argument 133 am65_cpsw_set_pvid(struct am65_cpsw_port *port, u16 vid, bool cfi, u32 cos) argument 149 am65_cpsw_port_vlan_add(struct am65_cpsw_port *port, bool untag, bool pvid, u16 vid, struct net_device *orig_dev) argument 197 am65_cpsw_port_vlan_del(struct am65_cpsw_port *port, u16 vid, struct net_device *orig_dev) argument 235 am65_cpsw_port_vlans_add(struct am65_cpsw_port *port, const struct switchdev_obj_port_vlan *vlan) argument 248 am65_cpsw_port_vlans_del(struct am65_cpsw_port *port, const struct switchdev_obj_port_vlan *vlan) argument 255 am65_cpsw_port_mdb_add(struct am65_cpsw_port *port, struct switchdev_obj_port_mdb *mdb) argument 278 am65_cpsw_port_mdb_del(struct am65_cpsw_port *port, struct switchdev_obj_port_mdb *mdb) argument 307 struct am65_cpsw_port *port = am65_ndev_to_port(ndev); local 333 struct am65_cpsw_port *port = am65_ndev_to_port(ndev); local 370 struct am65_cpsw_port *port = switchdev_work->port; local 424 struct am65_cpsw_port *port = am65_ndev_to_port(ndev); local [all...] |
/linux-master/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_ethtool.c | 23 struct ehea_port *port = netdev_priv(dev); local 28 ret = ehea_sense_port_attr(port); 34 switch (port->port_speed) { 51 cmd->base.duplex = port->full_duplex == 1 ? 62 cmd->base.port = PORT_FIBRE; 70 cmd->base.port = PORT_TP; 73 cmd->base.autoneg = port->autoneg == 1 ? 87 struct ehea_port *port = netdev_priv(dev); local 133 ret = ehea_set_portspeed(port, sp); 138 port 146 struct ehea_port *port = netdev_priv(dev); local 168 struct ehea_port *port = netdev_priv(dev); local 174 struct ehea_port *port = netdev_priv(dev); local 227 struct ehea_port *port = netdev_priv(dev); local [all...] |
/linux-master/arch/alpha/kernel/ |
H A D | srmcons.c | 36 struct tty_port port; member in struct:srmcons_private 50 srmcons_do_receive_chars(struct tty_port *port) argument 58 tty_insert_flip_char(port, (u8)result.bits.c, 0); 64 tty_flip_buffer_push(port); 73 struct tty_port *port = &srmconsp->port; local 79 if (!srmcons_do_receive_chars(port)) 84 spin_lock(&port->lock); 85 if (port->tty) 87 spin_unlock(&port 94 srmcons_do_write(struct tty_port *port, const u8 *buf, size_t count) argument 152 struct tty_port *port = &srmconsp->port; local 173 struct tty_port *port = &srmconsp->port; local [all...] |