Home
last modified time | relevance | path

Searched refs:ports (Results 226 - 250 of 1113) sorted by relevance

12345678910>>...45

/kernel/linux/linux-6.6/drivers/usb/core/
H A Dhub.c274 * it to figure out that one of the ports is sending an LFPS. Then it in usb_set_lpm_pel()
484 struct usb_port *port_dev = hub->ports[port1 - 1]; in set_port_led()
725 port_dev = hub->ports[portnum - 1]; in usb_wakeup_notification()
932 * but only emulate it. In all cases, the ports won't work in hub_power_on()
936 dev_dbg(hub->intfdev, "enabling power on all ports\n"); in hub_power_on()
985 dev_dbg(&hub->ports[port1 - 1]->dev, "logical disconnect\n"); in hub_port_logical_disconnect()
1094 * because for those activation types the ports have to be in hub_activate()
1139 * which ports need attention. in hub_activate()
1142 struct usb_port *port_dev = hub->ports[port1 - 1]; in hub_activate()
1158 * Unconnected ports shoul in hub_activate()
[all...]
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dehci-hub.c30 /* After a power loss, ports that were owned by the companion must be
54 /* Make sure the ports are powered */ in ehci_handover_companion_ports()
235 * for the root hub and any ports are in the middle of a resume or in ehci_bus_suspend()
248 * to manually suspend all the active unsuspended ports, and in ehci_bus_suspend()
261 /* keep track of which ports we suspend */ in ehci_bus_suspend()
269 /* enable remote wakeup on all ports, if told to do so */ in ehci_bus_suspend()
463 /* manually resume the ports we suspended during bus_suspend() */ in ehci_bus_resume()
623 int ports, i, retval = 1; in ehci_hub_status_data() local
629 ports = HCS_N_PORTS (ehci->hcs_params); in ehci_hub_status_data()
630 if (ports > in ehci_hub_status_data()
701 int ports = HCS_N_PORTS (ehci->hcs_params); ehci_hub_descriptor() local
879 int ports = HCS_N_PORTS (ehci->hcs_params); ehci_hub_control() local
[all...]
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/
H A Dpinctrl-rza1.c475 * @nport: number of pin controller ports
476 * @ports: pin controller banks
490 struct rza1_port *ports; member
673 struct rza1_port *port = &rza1_pctl->ports[mux_conf->port]; in rza1_pin_mux_single()
1230 &rza1_pctl->ports[gpioport]); in rza1_parse_gpiochip()
1291 * rza1_pinctrl_register() - Enumerate pins, ports and gpiochips; register
1299 struct rza1_port *ports; in rza1_pinctrl_register() local
1305 ports = devm_kcalloc(rza1_pctl->dev, RZA1_NPORTS, sizeof(*ports), in rza1_pinctrl_register()
1307 if (!pins || !ports) in rza1_pinctrl_register()
[all...]
/kernel/linux/linux-6.6/drivers/pinctrl/renesas/
H A Dpinctrl-rza1.c475 * @nport: number of pin controller ports
476 * @ports: pin controller banks
490 struct rza1_port *ports; member
673 struct rza1_port *port = &rza1_pctl->ports[mux_conf->port]; in rza1_pin_mux_single()
1215 &rza1_pctl->ports[gpioport]); in rza1_parse_gpiochip()
1272 * rza1_pinctrl_register() - Enumerate pins, ports and gpiochips; register
1280 struct rza1_port *ports; in rza1_pinctrl_register() local
1286 ports = devm_kcalloc(rza1_pctl->dev, RZA1_NPORTS, sizeof(*ports), in rza1_pinctrl_register()
1288 if (!pins || !ports) in rza1_pinctrl_register()
[all...]
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dehci-hub.c30 /* After a power loss, ports that were owned by the companion must be
54 /* Make sure the ports are powered */ in ehci_handover_companion_ports()
235 * for the root hub and any ports are in the middle of a resume or in ehci_bus_suspend()
248 * to manually suspend all the active unsuspended ports, and in ehci_bus_suspend()
261 /* keep track of which ports we suspend */ in ehci_bus_suspend()
269 /* enable remote wakeup on all ports, if told to do so */ in ehci_bus_suspend()
463 /* manually resume the ports we suspended during bus_suspend() */ in ehci_bus_resume()
623 int ports, i, retval = 1; in ehci_hub_status_data() local
629 ports = HCS_N_PORTS (ehci->hcs_params); in ehci_hub_status_data()
630 if (ports > in ehci_hub_status_data()
702 int ports = HCS_N_PORTS (ehci->hcs_params); ehci_hub_descriptor() local
741 int ports = HCS_N_PORTS (ehci->hcs_params); ehci_hub_control() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c243 csk->cdev->ports[csk->port_id], in send_act_open_req()
268 csk->cdev->ports[csk->port_id], in send_act_open_req()
296 csk->cdev->ports[csk->port_id], in send_act_open_req()
322 cxgb4_l2t_send(csk->cdev->ports[csk->port_id], skb, csk->l2t); in send_act_open_req()
372 csk->cdev->ports[csk->port_id], in send_act_open_req6()
395 csk->cdev->ports[csk->port_id], in send_act_open_req6()
420 csk->cdev->ports[csk->port_id], in send_act_open_req6()
436 cxgb4_l2t_send(csk->cdev->ports[csk->port_id], skb, csk->l2t); in send_act_open_req6()
470 cxgb4_ofld_send(csk->cdev->ports[csk->port_id], skb); in abort_arp_failure()
505 cxgb4_l2t_send(csk->cdev->ports[cs in send_abort_req()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c244 csk->cdev->ports[csk->port_id], in send_act_open_req()
269 csk->cdev->ports[csk->port_id], in send_act_open_req()
297 csk->cdev->ports[csk->port_id], in send_act_open_req()
323 cxgb4_l2t_send(csk->cdev->ports[csk->port_id], skb, csk->l2t); in send_act_open_req()
373 csk->cdev->ports[csk->port_id], in send_act_open_req6()
396 csk->cdev->ports[csk->port_id], in send_act_open_req6()
421 csk->cdev->ports[csk->port_id], in send_act_open_req6()
437 cxgb4_l2t_send(csk->cdev->ports[csk->port_id], skb, csk->l2t); in send_act_open_req6()
471 cxgb4_ofld_send(csk->cdev->ports[csk->port_id], skb); in abort_arp_failure()
506 cxgb4_l2t_send(csk->cdev->ports[cs in send_abort_req()
[all...]
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
H A Dsja1105_main.c100 /* Disable learning and I/O on user ports by default - in sja1105_init_mac_settings()
159 struct sja1105_dt_port *ports) in sja1105_init_mii_settings()
188 switch (ports[i].phy_mode) { in sja1105_init_mii_settings()
208 phy_modes(ports[i].phy_mode)); in sja1105_init_mii_settings()
216 if (ports[i].phy_mode == PHY_INTERFACE_MODE_SGMII) in sja1105_init_mii_settings()
219 mii->phy_mac[i] = ports[i].role; in sja1105_init_mii_settings()
300 * All DT-defined ports are members of this VLAN, and there are no
495 * mac_fltres0 on all ports except host_port. Such traffic in sja1105_init_general_params()
507 * and overwrite this if we find any DSA (cascaded) ports. in sja1105_init_general_params()
677 struct sja1105_dt_port *ports) in sja1105_static_config_load()
158 sja1105_init_mii_settings(struct sja1105_private *priv, struct sja1105_dt_port *ports) sja1105_init_mii_settings() argument
676 sja1105_static_config_load(struct sja1105_private *priv, struct sja1105_dt_port *ports) sja1105_static_config_load() argument
724 sja1105_parse_rgmii_delays(struct sja1105_private *priv, const struct sja1105_dt_port *ports) sja1105_parse_rgmii_delays() argument
748 sja1105_parse_ports_node(struct sja1105_private *priv, struct sja1105_dt_port *ports, struct device_node *ports_node) sja1105_parse_ports_node() argument
808 sja1105_parse_dt(struct sja1105_private *priv, struct sja1105_dt_port *ports) sja1105_parse_dt() argument
2978 struct sja1105_dt_port ports[SJA1105_NUM_PORTS]; sja1105_setup() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/core/
H A Dhub.c267 * it to figure out that one of the ports is sending an LFPS. Then it in usb_set_lpm_pel()
477 struct usb_port *port_dev = hub->ports[port1 - 1]; in set_port_led()
718 port_dev = hub->ports[portnum - 1]; in usb_wakeup_notification()
925 * but only emulate it. In all cases, the ports won't work in hub_power_on()
929 dev_dbg(hub->intfdev, "enabling power on all ports\n"); in hub_power_on()
978 dev_dbg(&hub->ports[port1 - 1]->dev, "logical disconnect\n"); in hub_port_logical_disconnect()
1087 * because for those activation types the ports have to be in hub_activate()
1132 * which ports need attention. in hub_activate()
1135 struct usb_port *port_dev = hub->ports[port1 - 1]; in hub_activate()
1151 * Unconnected ports shoul in hub_activate()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_flex_actions.c149 mlxsw_sp_port = mlxsw_sp->ports[local_in_port]; in mlxsw_sp_act_mirror_add()
167 mlxsw_sp_port = mlxsw_sp->ports[local_in_port]; in mlxsw_sp_act_mirror_del()
259 mlxsw_sp_port = mlxsw_sp->ports[local_port]; in mlxsw_sp2_act_sampler_add()
284 mlxsw_sp_port = mlxsw_sp->ports[local_port]; in mlxsw_sp2_act_sampler_del()
/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Ddma_port.c170 static const int ports[] = { 3, 5, 7 }; in dma_find_port() local
177 for (i = 0; i < ARRAY_SIZE(ports); i++) { in dma_find_port()
181 ret = dma_port_read(sw->tb->ctl, &type, tb_route(sw), ports[i], in dma_find_port()
184 return ports[i]; in dma_find_port()
/kernel/linux/linux-6.6/drivers/net/dsa/hirschmann/
H A Dhellcreek.c254 hellcreek_port = &hellcreek->ports[port]; in hellcreek_port_enable()
277 hellcreek_port = &hellcreek->ports[port]; in hellcreek_port_disable()
320 hellcreek_port = &hellcreek->ports[port]; in hellcreek_get_ethtool_stats()
503 hellcreek_port = &hellcreek->ports[port]; in hellcreek_port_stp_state_set()
549 struct hellcreek_port *hellcreek_port = &hellcreek->ports[port]; in hellcreek_setup_ingressflt()
614 hellcreek_port = &hellcreek->ports[port]; in hellcreek_port_set_ucast_flood()
639 hellcreek_port = &hellcreek->ports[port]; in hellcreek_port_set_mcast_flood()
1012 struct hellcreek_port *tunnel_port = &hellcreek->ports[TUNNEL_PORT]; in hellcreek_setup_cpu_and_tunnel_port()
1013 struct hellcreek_port *cpu_port = &hellcreek->ports[CPU_PORT]; in hellcreek_setup_cpu_and_tunnel_port()
1071 .portmask = 0x03, /* Management ports */ in hellcreek_setup_fdb()
[all...]
/kernel/linux/linux-5.10/drivers/pci/controller/
H A Dpci-mvebu.c71 struct mvebu_pcie_port *ports; member
453 * hard-wired to zero for downstream ports in mvebu_pci_bridge_emul_pcie_conf_read()
615 struct mvebu_pcie_port *port = &pcie->ports[i]; in mvebu_pcie_find_port()
791 struct mvebu_pcie_port *port = pcie->ports + i; in mvebu_pcie_suspend()
805 struct mvebu_pcie_port *port = pcie->ports + i; in mvebu_pcie_resume()
1083 pcie->ports = devm_kcalloc(dev, num, sizeof(*pcie->ports), GFP_KERNEL); in mvebu_pcie_probe()
1084 if (!pcie->ports) in mvebu_pcie_probe()
1089 struct mvebu_pcie_port *port = &pcie->ports[i]; in mvebu_pcie_probe()
1105 struct mvebu_pcie_port *port = &pcie->ports[ in mvebu_pcie_probe()
[all...]
/kernel/linux/linux-5.10/drivers/pinctrl/
H A Dpinctrl-tb10x.c476 * @ports: current state of each port.
487 struct tb10x_port ports[TB10X_PORTS]; member
497 if (state->ports[port].count) in tb10x_pinctrl_set_config()
500 state->ports[port].mode = mode; in tb10x_pinctrl_set_config()
639 } else if (state->ports[port].count in tb10x_gpio_request_enable()
640 && (state->ports[port].mode == mode)) { in tb10x_gpio_request_enable()
704 if (state->ports[grp->port].count in tb10x_pctl_set_mux()
705 && (state->ports[grp->port].mode != grp->mode)) { in tb10x_pctl_set_mux()
722 state->ports[grp->port].count++; in tb10x_pctl_set_mux()
780 state->ports[ in tb10x_pinctrl_probe()
[all...]
/kernel/linux/linux-6.6/drivers/pinctrl/
H A Dpinctrl-tb10x.c476 * @ports: current state of each port.
487 struct tb10x_port ports[TB10X_PORTS]; member
497 if (state->ports[port].count) in tb10x_pinctrl_set_config()
500 state->ports[port].mode = mode; in tb10x_pinctrl_set_config()
639 } else if (state->ports[port].count in tb10x_gpio_request_enable()
640 && (state->ports[port].mode == mode)) { in tb10x_gpio_request_enable()
704 if (state->ports[grp->port].count in tb10x_pctl_set_mux()
705 && (state->ports[grp->port].mode != grp->mode)) { in tb10x_pctl_set_mux()
722 state->ports[grp->port].count++; in tb10x_pctl_set_mux()
780 state->ports[ in tb10x_pinctrl_probe()
[all...]
/kernel/linux/linux-6.6/include/net/
H A Ddsa.h123 /* List of switch ports */
124 struct list_head ports; member
173 list_for_each_entry((_dp), &(_dst)->ports, list) \
177 list_for_each_entry((_dp), &(_ds)->dst->ports, list) \
248 * in the data path. Valid only for the CPU ports.
279 /* Managed by DSA on user ports and by drivers on CPU and DSA ports */
284 /* Master state bits, valid only on CPU ports */
288 /* Valid only on user ports */
311 * These are only valid on CPU ports an
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dswitchx2.c29 struct mlxsw_sx_port **ports; member
1063 mlxsw_sx->ports[local_port] = mlxsw_sx_port; in __mlxsw_sx_port_eth_create()
1108 struct mlxsw_sx_port *mlxsw_sx_port = mlxsw_sx->ports[local_port]; in __mlxsw_sx_port_eth_remove()
1112 mlxsw_sx->ports[local_port] = NULL; in __mlxsw_sx_port_eth_remove()
1120 return mlxsw_sx->ports[local_port] != NULL; in mlxsw_sx_port_created()
1190 mlxsw_sx->ports[local_port] = mlxsw_sx_port; in __mlxsw_sx_port_ib_create()
1206 struct mlxsw_sx_port *mlxsw_sx_port = mlxsw_sx->ports[local_port]; in __mlxsw_sx_port_ib_remove()
1209 mlxsw_sx->ports[local_port] = NULL; in __mlxsw_sx_port_ib_remove()
1239 kfree(mlxsw_sx->ports); in mlxsw_sx_ports_remove()
1240 mlxsw_sx->ports in mlxsw_sx_ports_remove()
[all...]
/kernel/linux/linux-5.10/drivers/net/wan/
H A Dfarsync.c44 /* Number of ports (per card) and cards supported
340 u32 numberOfPorts; /* Number of ports detected at startup */
451 unsigned int nports; /* Number of serial ports */
457 struct fst_port_info ports[FST_MAX_PORTS]; member
1335 for (pi = 0, port = card->ports; pi < card->nports; pi++, port++) { in do_bottom_half_tx()
1432 /* Check for rx completions on all ports on this card */ in do_bottom_half_rx()
1434 for (pi = 0, port = card->ports; pi < card->nports; pi++, port++) { in do_bottom_half_rx()
1555 port = &card->ports[event & 0x03]; in fst_intr()
1650 /* Finally check the number of ports reported by firmware against the in check_started_ok()
2366 /* We're working on a number of ports base in fst_init_card()
[all...]
/kernel/linux/linux-6.6/drivers/net/wan/
H A Dfarsync.c42 /* Number of ports (per card) and cards supported
342 u32 numberOfPorts; /* Number of ports detected at startup */
451 unsigned int nports; /* Number of serial ports */
457 struct fst_port_info ports[FST_MAX_PORTS]; member
1292 for (pi = 0, port = card->ports; pi < card->nports; pi++, port++) { in do_bottom_half_tx()
1384 /* Check for rx completions on all ports on this card */ in do_bottom_half_rx()
1386 for (pi = 0, port = card->ports; pi < card->nports; pi++, port++) { in do_bottom_half_rx()
1497 port = &card->ports[event & 0x03]; in fst_intr()
1593 /* Finally check the number of ports reported by firmware against the in check_started_ok()
2297 /* We're working on a number of ports base in fst_init_card()
[all...]
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
H A Dninet_hashtables.c315 const __portpair ports = INET_COMBINED_PORTS(sport, hnum); in __ninet_lookup_established() local
325 if (!ninet_match(sk, net, saddr, daddr, ports, dif)) in __ninet_lookup_established()
332 if (unlikely(!ninet_match(sk, net, saddr, daddr, ports, dif))) { in __ninet_lookup_established()
455 const __portpair ports = INET_COMBINED_PORTS(inet->inet_dport, lport); in __ninet_check_established() local
470 saddr, daddr, ports, sk->sk_bound_dev_if))) { in __ninet_check_established()
504 /* Bind local ports randomly */
/kernel/linux/linux-5.10/drivers/bcma/
H A Ddriver_chipcommon.c383 struct bcma_serial_port *ports = cc->serial_ports; in bcma_chipco_serial_init() local
414 ports[i].regs = cc->core->io_addr + BCMA_CC_UART0_DATA + in bcma_chipco_serial_init()
416 ports[i].irq = irq; in bcma_chipco_serial_init()
417 ports[i].baud_base = baud_base; in bcma_chipco_serial_init()
418 ports[i].reg_shift = 0; in bcma_chipco_serial_init()
/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpio-104-dio-48e.c181 static const size_t ports[] = { 0, 1, 2, 4, 5, 6 }; variable
195 for_each_set_clump8(offset, gpio_mask, mask, ARRAY_SIZE(ports) * 8) { in dio48e_gpio_get_multiple()
196 port_addr = dio48egpio->base + ports[offset / 8]; in dio48e_gpio_get_multiple()
236 for_each_set_clump8(offset, gpio_mask, mask, ARRAY_SIZE(ports) * 8) { in dio48e_gpio_set_multiple()
238 port_addr = dio48egpio->base + ports[index]; in dio48e_gpio_set_multiple()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/
H A Dcore.c141 ast_vhub_dev_irq(&vhub->ports[i].dev); in ast_vhub_irq()
273 ast_vhub_del_dev(&vhub->ports[i].dev); in ast_vhub_remove()
314 rc = of_property_read_u32(np, "aspeed,vhub-downstream-ports", in ast_vhub_probe()
319 vhub->ports = devm_kcalloc(&pdev->dev, vhub->max_ports, in ast_vhub_probe()
320 sizeof(*vhub->ports), GFP_KERNEL); in ast_vhub_probe()
321 if (!vhub->ports) in ast_vhub_probe()
/kernel/linux/linux-5.10/net/ipv6/
H A Dinet6_hashtables.c61 const __portpair ports = INET_COMBINED_PORTS(sport, hnum); in __inet6_lookup_established() local
74 if (!inet6_match(net, sk, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established()
79 if (unlikely(!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))) { in __inet6_lookup_established()
257 const __portpair ports = INET_COMBINED_PORTS(inet->inet_dport, lport); in __inet6_check_established() local
272 if (likely(inet6_match(net, sk2, saddr, daddr, ports, in __inet6_check_established()
/kernel/linux/linux-5.10/net/netfilter/ipvs/
H A Dip_vs_mh.c448 __be16 _ports[2], *ports; in ip_vs_mh_get_port() local
452 * bytes, let's just grab the ports. Fortunately they're in the in ip_vs_mh_get_port()
459 ports = skb_header_pointer(skb, iph->len, sizeof(_ports), in ip_vs_mh_get_port()
461 if (unlikely(!ports)) in ip_vs_mh_get_port()
465 return ports[0]; in ip_vs_mh_get_port()
467 return ports[1]; in ip_vs_mh_get_port()

Completed in 39 milliseconds

12345678910>>...45