/kernel/linux/linux-5.10/drivers/thunderbolt/ |
D | test.c | 54 size = (sw->config.max_port_number + 1) * sizeof(*sw->ports); in alloc_switch() 55 sw->ports = kunit_kzalloc(test, size, GFP_KERNEL); in alloc_switch() 56 if (!sw->ports) in alloc_switch() 60 sw->ports[i].sw = sw; in alloc_switch() 61 sw->ports[i].port = i; in alloc_switch() 62 sw->ports[i].config.port_number = i; in alloc_switch() 64 kunit_ida_init(test, &sw->ports[i].in_hopids); in alloc_switch() 65 kunit_ida_init(test, &sw->ports[i].out_hopids); in alloc_switch() 83 sw->ports[0].config.type = TB_TYPE_PORT; in alloc_host() 84 sw->ports[0].config.max_in_hop_id = 7; in alloc_host() [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/soundwire/ |
D | qcom,sdw.txt | 42 - qcom,dout-ports: 45 Definition: must be count of data out ports 47 - qcom,din-ports: 50 Definition: must be count of data in ports 52 - qcom,ports-offset1: 56 data port. Out ports followed by In ports. 59 - qcom,ports-offset2: 63 data port. Out ports followed by In ports. 66 - qcom,ports-sinterval-low: 70 Out ports followed by In ports. Used for Sample Interval [all …]
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/hisilicon/ |
D | hi3660-coresight.dtsi | 21 out-ports { 38 out-ports { 55 out-ports { 72 out-ports { 88 out-ports { 97 in-ports { 137 in-ports { 146 out-ports { 164 out-ports { 181 out-ports { [all …]
|
D | hi6220-coresight.dtsi | 19 out-ports { 28 in-ports { 44 in-ports { 53 out-ports { 68 in-ports { 77 out-ports { 105 in-ports { 121 in-ports { 137 out-ports { 146 in-ports { [all …]
|
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dss-of.c | 28 struct device_node *ports; in omapdss_of_get_next_port() local 33 ports = of_get_child_by_name(parent, "ports"); in omapdss_of_get_next_port() 34 if (ports) in omapdss_of_get_next_port() 35 parent = ports; in omapdss_of_get_next_port() 40 of_node_put(ports); in omapdss_of_get_next_port() 42 struct device_node *ports; in omapdss_of_get_next_port() local 44 ports = of_get_parent(prev); in omapdss_of_get_next_port() 45 if (!ports) in omapdss_of_get_next_port() 49 port = of_get_next_child(ports, prev); in omapdss_of_get_next_port() 51 of_node_put(ports); in omapdss_of_get_next_port() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
D | sharedbuffer_configuration.py | 249 def get_tcbinds(ports, verify_existence=False): argument 252 for port in ports: 264 def do_check_tcbind(ports, tcbinds, vp): argument 266 pre_tcbinds = get_tcbinds(ports) 272 post_tcbinds = get_tcbinds(ports) 290 def check_tcbind(dlname, ports, pools): argument 291 tcbinds = get_tcbinds(ports, verify_existence=True) 298 do_check_tcbind(ports, tcbinds, RandomValuePicker(pools)) 301 do_check_tcbind(ports, tcbinds, record_vp) 321 def get_portpools(ports, verify_existence=False): argument [all …]
|
/kernel/linux/linux-5.10/drivers/bus/ |
D | arm-cci.c | 113 static struct cci_ace_port *ports; variable 169 ace_match = ports[i].type == type; in __cci_ace_get_port() 170 if (ace_match && cci_portn == ports[i].dn) in __cci_ace_get_port() 235 void __iomem *base = ports[port].base; in cci_port_control() 417 if (port >= nb_cci_ports || ports[port].type == ACE_INVALID_PORT) in __cci_control_port_by_index() 425 if (ports[port].type == ACE_PORT) in __cci_control_port_by_index() 454 ports = kcalloc(nb_cci_ports, sizeof(*ports), GFP_KERNEL); in cci_probe_ports() 455 if (!ports) in cci_probe_ports() 482 ports[i].base = ioremap(res.start, resource_size(&res)); in cci_probe_ports() 483 ports[i].phys = res.start; in cci_probe_ports() [all …]
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | hip04.dtsi | 277 in-ports { 292 in-ports { 307 in-ports { 322 in-ports { 337 in-ports { 352 out-ports { 356 /* replicator output ports */ 372 in-ports { 387 out-ports { 391 /* replicator output ports */ [all …]
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
D | xhci-hub.c | 170 struct usb_hub_descriptor *desc, int ports) in xhci_common_hub_descriptor() argument 176 desc->bNbrPorts = ports; in xhci_common_hub_descriptor() 195 int ports; in xhci_usb2_hub_descriptor() local 203 ports = rhub->num_ports; in xhci_usb2_hub_descriptor() 204 xhci_common_hub_descriptor(xhci, desc, ports); in xhci_usb2_hub_descriptor() 206 temp = 1 + (ports / 8); in xhci_usb2_hub_descriptor() 214 for (i = 0; i < ports; i++) { in xhci_usb2_hub_descriptor() 215 portsc = readl(rhub->ports[i]->addr); in xhci_usb2_hub_descriptor() 241 for (i = 0; i < (ports + 1 + 7) / 8; i++) in xhci_usb2_hub_descriptor() 250 int ports; in xhci_usb3_hub_descriptor() local [all …]
|
/kernel/linux/linux-5.10/drivers/firewire/ |
D | core-topology.c | 103 node = kzalloc(struct_size(node, ports, port_count), GFP_ATOMIC); in fw_node_create() 141 if (node->ports[i] == NULL) in update_hop_count() 144 if (node->ports[i]->max_hops > max_child_hops) in update_hop_count() 145 max_child_hops = node->ports[i]->max_hops; in update_hop_count() 147 if (node->ports[i]->max_depth > depths[0]) { in update_hop_count() 149 depths[0] = node->ports[i]->max_depth; in update_hop_count() 150 } else if (node->ports[i]->max_depth > depths[1]) in update_hop_count() 151 depths[1] = node->ports[i]->max_depth; in update_hop_count() 254 node->ports[i] = child; in build_tree() 259 child->ports[child->color] = node; in build_tree() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | cma_configfs.c | 55 struct cma_dev_port_group *ports; member 206 struct cma_dev_port_group *ports; in make_cma_ports() local 215 ports = kcalloc(ports_num, sizeof(*cma_dev_group->ports), in make_cma_ports() 218 if (!ports) { in make_cma_ports() 226 ports[i].port_num = i + 1; in make_cma_ports() 228 ports[i].cma_dev_group = cma_dev_group; in make_cma_ports() 229 config_group_init_type_name(&ports[i].group, in make_cma_ports() 232 configfs_add_default_group(&ports[i].group, in make_cma_ports() 236 cma_dev_group->ports = ports; in make_cma_ports() 240 kfree(ports); in make_cma_ports() [all …]
|
/kernel/linux/linux-5.10/Documentation/leds/ |
D | ledtrig-usbport.rst | 9 It requires selecting USB ports that should be observed. All available ones are 10 listed as separated entries in a "ports" subdirectory. Selecting is handled by 13 Please note that this trigger allows selecting multiple USB ports for a single 18 1) Device with single USB LED and few physical ports 29 only one LED user will most likely want to assign ports from all 3 hubs. 43 echo 1 > ports/usb1-port1 44 echo 1 > ports/usb2-port1 45 cat ports/usb1-port1 46 echo 0 > ports/usb1-port1
|
/kernel/linux/linux-5.10/sound/core/seq/ |
D | seq_midi.c | 54 struct seq_midisynth *ports[SNDRV_RAWMIDI_DEVICES]; member 267 unsigned int p, ports; in snd_seq_midisynth_probe() local 287 ports = output_count; in snd_seq_midisynth_probe() 288 if (ports < input_count) in snd_seq_midisynth_probe() 289 ports = input_count; in snd_seq_midisynth_probe() 290 if (ports == 0) { in snd_seq_midisynth_probe() 294 if (ports > (256 / SNDRV_RAWMIDI_DEVICES)) in snd_seq_midisynth_probe() 295 ports = 256 / SNDRV_RAWMIDI_DEVICES; in snd_seq_midisynth_probe() 319 msynth = kcalloc(ports, sizeof(struct seq_midisynth), GFP_KERNEL); in snd_seq_midisynth_probe() 324 for (p = 0; p < ports; p++) { in snd_seq_midisynth_probe() [all …]
|
/kernel/linux/linux-5.10/Documentation/ABI/stable/ |
D | sysfs-class-infiniband | 39 What: /sys/class/infiniband/<device>/ports/<port-num>/lid 40 What: /sys/class/infiniband/<device>/ports/<port-num>/rate 41 What: /sys/class/infiniband/<device>/ports/<port-num>/lid_mask_count 42 What: /sys/class/infiniband/<device>/ports/<port-num>/sm_sl 43 What: /sys/class/infiniband/<device>/ports/<port-num>/sm_lid 44 What: /sys/class/infiniband/<device>/ports/<port-num>/state 45 What: /sys/class/infiniband/<device>/ports/<port-num>/phys_state 46 What: /sys/class/infiniband/<device>/ports/<port-num>/cap_mask 77 What: /sys/class/infiniband/<device>/ports/<port-num>/link_layer 85 What: /sys/class/infiniband/<device>/ports/<port-num>/counters/symbol_error [all …]
|
/kernel/linux/linux-5.10/sound/usb/ |
D | mixer_scarlett_gen2.c | 220 struct scarlett2_ports ports[SCARLETT2_PORT_TYPE_COUNT]; member 263 .ports = { 319 .ports = { 389 .ports = { 439 static int scarlett2_get_port_start_num(const struct scarlett2_ports *ports, in scarlett2_get_port_start_num() argument 445 num += ports[i].num[direction]; in scarlett2_get_port_start_num() 803 info->ports[SCARLETT2_PORT_TYPE_MIX].num[SCARLETT2_PORT_OUT]; in scarlett2_usb_set_mix() 818 static u32 scarlett2_mux_src_num_to_id(const struct scarlett2_ports *ports, in scarlett2_mux_src_num_to_id() argument 826 if (num < ports[port_type].num[SCARLETT2_PORT_IN]) in scarlett2_mux_src_num_to_id() 827 return ports[port_type].id | num; in scarlett2_mux_src_num_to_id() [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
D | abilis,tb10x-iomux.txt | 25 - GPIO ports: gpioa, gpiob, gpioc, gpiod, gpioe, gpiof, gpiog, 27 - Serial TS input ports: mis0, mis1, mis2, mis3, mis4, mis5, mis6, mis7 28 - Parallel TS input ports: mip1, mip3, mip5, mip7 29 - Serial TS output ports: mos0, mos1, mos2, mos3 33 - Smart card ports: stc0, stc1 34 - UART ports: uart0, uart1 35 - SPI ports: spi1, spi3 38 All other ports of the chip are not multiplexed and thus not managed by this 45 The named pin groups of GPIO ports can be used to define GPIO ranges as
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/arm/ |
D | juno-cs-r1r2.dtsi | 10 out-ports { 17 in-ports { 33 in-ports { 40 out-ports { 56 out-ports { 64 in-ports {
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
D | err_marvel.c | 820 if (!io7->ports[i].enabled) in marvel_find_io7_with_error() 822 err_sum |= io7->ports[i].csrs->POx_ERR_SUM.csr; in marvel_find_io7_with_error() 857 io7_ioport_csrs *csrs = io7->ports[i].csrs; in marvel_find_io7_with_error() 859 if (!io7->ports[i].enabled) in marvel_find_io7_with_error() 862 io->ports[i].pox_err_sum = csrs->POx_ERR_SUM.csr; in marvel_find_io7_with_error() 863 io->ports[i].pox_tlb_err = csrs->POx_TLB_ERR.csr; in marvel_find_io7_with_error() 864 io->ports[i].pox_spl_cmplt = csrs->POx_SPL_COMPLT.csr; in marvel_find_io7_with_error() 865 io->ports[i].pox_trans_sum = csrs->POx_TRANS_SUM.csr; in marvel_find_io7_with_error() 866 io->ports[i].pox_first_err = csrs->POx_FIRST_ERR.csr; in marvel_find_io7_with_error() 867 io->ports[i].pox_mult_err = csrs->POx_MULT_ERR.csr; in marvel_find_io7_with_error() [all …]
|
/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
D | udp_tunnels.c | 25 if (ns->udp_ports.ports[table][entry]) { in nsim_udp_tunnel_set_port() 29 ns->udp_ports.ports[table][entry] = in nsim_udp_tunnel_set_port() 55 if (val == ns->udp_ports.ports[table][entry]) { in nsim_udp_tunnel_unset_port() 56 ns->udp_ports.ports[table][entry] = 0; in nsim_udp_tunnel_unset_port() 59 val, ns->udp_ports.ports[table][entry]); in nsim_udp_tunnel_unset_port() 83 ns->udp_ports.ports[table][i] = in nsim_udp_tunnel_sync_table() 115 memset(ns->udp_ports.ports, 0, sizeof(ns->udp_ports.__ports)); in nsim_udp_tunnels_info_reset_write() 143 ns->udp_ports.ports = ns->udp_ports.__ports; in nsim_udp_tunnels_info_create() 145 ns->udp_ports.ports = nsim_dev->udp_ports.__ports; in nsim_udp_tunnels_info_create() 151 ns->udp_ports.dfs_ports[0].array = ns->udp_ports.ports[0]; in nsim_udp_tunnels_info_create() [all …]
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/sprd/ |
D | sc9863a.dtsi | 193 out-ports { 201 in-ports { 217 in-ports { 233 out-ports { 242 in-ports { 282 out-ports { 307 out-ports { 316 in-ports { 332 out-ports { 341 in-ports { [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/ |
D | rcar_du_encoder.c | 29 struct device_node *ports; in rcar_du_encoder_count_ports() local 33 ports = of_get_child_by_name(node, "ports"); in rcar_du_encoder_count_ports() 34 if (!ports) in rcar_du_encoder_count_ports() 35 ports = of_node_get(node); in rcar_du_encoder_count_ports() 37 for_each_child_of_node(ports, port) { in rcar_du_encoder_count_ports() 42 of_node_put(ports); in rcar_du_encoder_count_ports()
|
/kernel/linux/linux-5.10/drivers/net/wan/ |
D | pci200syn.c | 90 port_t ports[2]; member 94 #define get_port(card, port) (&card->ports[port]) 244 if (card->ports[i].card) in pci200_pci_remove_one() 245 unregister_hdlc_device(card->ports[i].netdev); in pci200_pci_remove_one() 259 if (card->ports[0].netdev) in pci200_pci_remove_one() 260 free_netdev(card->ports[0].netdev); in pci200_pci_remove_one() 261 if (card->ports[1].netdev) in pci200_pci_remove_one() 262 free_netdev(card->ports[1].netdev); in pci200_pci_remove_one() 301 card->ports[0].netdev = alloc_hdlcdev(&card->ports[0]); in pci200_pci_init_one() 302 card->ports[1].netdev = alloc_hdlcdev(&card->ports[1]); in pci200_pci_init_one() [all …]
|
/kernel/linux/linux-5.10/net/dsa/ |
D | dsa2.c | 33 list_for_each_entry(dp, &dst->ports, list) { in dsa_switch_find() 68 INIT_LIST_HEAD(&dst->ports); in dsa_tree_alloc() 138 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_find_port_by_node() 203 list_for_each_entry(dp, &dst->ports, list) { in dsa_tree_setup_routing_table() 218 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_find_first_cpu() 236 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_setup_default_cpu() 247 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_teardown_default_cpu() 443 list_for_each_entry(dp, &ds->dst->ports, list) { in dsa_switch_setup() 488 list_for_each_entry(dp, &ds->dst->ports, list) in dsa_switch_setup() 518 list_for_each_entry(dp, &ds->dst->ports, list) in dsa_switch_teardown() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | devlink_port_split.py | 58 ports = json.loads(stdout)['port'] 60 validate_devlink_output(ports, 'flavour') 62 for port in ports: 64 if ports[port]['flavour'] == 'physical': 65 arr.append(Port(bus_info=port, name=ports[port]['netdev'])) 148 def exists_and_lanes(ports, lanes, dev): argument 155 for port in ports: 274 ports = devlink_ports(dev) 277 for port in ports.if_names:
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/dsa/ |
D | ocelot.txt | 25 For the external switch ports, depending on board configuration, "phy-mode" and 27 5 are fixed as internal ports in the NXP LS1028A instantiation. 49 * phy_mode = "internal": on ports 4 and 5 50 * phy_mode = "sgmii": on ports 0, 1, 2, 3 51 * phy_mode = "qsgmii": on ports 0, 1, 2, 3 52 * phy_mode = "usxgmii": on ports 0, 1, 2, 3 53 * phy_mode = "2500base-x": on ports 0, 1, 2, 3 70 ports { 74 /* External ports */ 132 * phy_mode = "internal": on ports 8 and 9 [all …]
|