Home
last modified time | relevance | path

Searched refs:ports (Results 1 – 25 of 1288) sorted by relevance

12345678910>>...52

/Linux-v5.4/arch/arm64/boot/dts/hisilicon/
Dhi3660-coresight.dtsi21 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 …]
Dhi6220-coresight.dtsi19 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 …]
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/
Ddss-of.c28 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 …]
/Linux-v5.4/drivers/usb/host/
Dxhci-hub.c161 struct usb_hub_descriptor *desc, int ports) in xhci_common_hub_descriptor() argument
168 desc->bNbrPorts = ports; in xhci_common_hub_descriptor()
187 int ports; in xhci_usb2_hub_descriptor() local
195 ports = rhub->num_ports; in xhci_usb2_hub_descriptor()
196 xhci_common_hub_descriptor(xhci, desc, ports); in xhci_usb2_hub_descriptor()
198 temp = 1 + (ports / 8); in xhci_usb2_hub_descriptor()
205 for (i = 0; i < ports; i++) { in xhci_usb2_hub_descriptor()
206 portsc = readl(rhub->ports[i]->addr); in xhci_usb2_hub_descriptor()
232 for (i = 0; i < (ports + 1 + 7) / 8; i++) in xhci_usb2_hub_descriptor()
241 int ports; in xhci_usb3_hub_descriptor() local
[all …]
/Linux-v5.4/drivers/bus/
Darm-cci.c113 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 …]
/Linux-v5.4/arch/arm/boot/dts/
Dhip04.dtsi277 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 …]
/Linux-v5.4/drivers/firewire/
Dcore-topology.c103 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 …]
/Linux-v5.4/drivers/infiniband/core/
Dcma_configfs.c55 struct cma_dev_port_group *ports; member
203 struct cma_dev_port_group *ports; in make_cma_ports() local
212 ports = kcalloc(ports_num, sizeof(*cma_dev_group->ports), in make_cma_ports()
215 if (!ports) { in make_cma_ports()
223 ports[i].port_num = i + 1; in make_cma_ports()
225 ports[i].cma_dev_group = cma_dev_group; in make_cma_ports()
226 config_group_init_type_name(&ports[i].group, in make_cma_ports()
229 configfs_add_default_group(&ports[i].group, in make_cma_ports()
233 cma_dev_group->ports = ports; in make_cma_ports()
237 kfree(ports); in make_cma_ports()
[all …]
/Linux-v5.4/Documentation/leds/
Dledtrig-usbport.rst9 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
/Linux-v5.4/sound/core/seq/
Dseq_midi.c54 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 …]
/Linux-v5.4/sound/usb/
Dmixer_scarlett_gen2.c220 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 …]
/Linux-v5.4/Documentation/ABI/stable/
Dsysfs-class-infiniband37 What: /sys/class/infiniband/<device>/ports/<port-num>/lid
38 What: /sys/class/infiniband/<device>/ports/<port-num>/rate
39 What: /sys/class/infiniband/<device>/ports/<port-num>/lid_mask_count
40 What: /sys/class/infiniband/<device>/ports/<port-num>/sm_sl
41 What: /sys/class/infiniband/<device>/ports/<port-num>/sm_lid
42 What: /sys/class/infiniband/<device>/ports/<port-num>/state
43 What: /sys/class/infiniband/<device>/ports/<port-num>/phys_state
44 What: /sys/class/infiniband/<device>/ports/<port-num>/cap_mask
73 What: /sys/class/infiniband/<device>/ports/<port-num>/link_layer
81 What: /sys/class/infiniband/<device>/ports/<port-num>/counters/symbol_error
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/pinctrl/
Dabilis,tb10x-iomux.txt25 - 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
/Linux-v5.4/arch/arm64/boot/dts/arm/
Djuno-cs-r1r2.dtsi10 out-ports {
17 in-ports {
33 in-ports {
40 out-ports {
56 out-ports {
64 in-ports {
/Linux-v5.4/arch/alpha/kernel/
Derr_marvel.c820 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 …]
/Linux-v5.4/drivers/net/wan/
Dpci200syn.c90 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 …]
Dn2.c123 port_t ports[2]; member
144 #define get_port(card, port) ((card)->ports[port].valid ? \
145 &(card)->ports[port] : NULL)
305 if (card->ports[cnt].card) { in n2_destroy_card()
306 struct net_device *dev = port_to_dev(&card->ports[cnt]); in n2_destroy_card()
320 if (card->ports[0].dev) in n2_destroy_card()
321 free_netdev(card->ports[0].dev); in n2_destroy_card()
322 if (card->ports[1].dev) in n2_destroy_card()
323 free_netdev(card->ports[1].dev); in n2_destroy_card()
360 card->ports[0].dev = alloc_hdlcdev(&card->ports[0]); in n2_run()
[all …]
/Linux-v5.4/drivers/gpu/drm/rcar-du/
Drcar_du_encoder.c34 struct device_node *ports; in rcar_du_encoder_count_ports() local
38 ports = of_get_child_by_name(node, "ports"); in rcar_du_encoder_count_ports()
39 if (!ports) in rcar_du_encoder_count_ports()
40 ports = of_node_get(node); in rcar_du_encoder_count_ports()
42 for_each_child_of_node(ports, port) { in rcar_du_encoder_count_ports()
47 of_node_put(ports); in rcar_du_encoder_count_ports()
/Linux-v5.4/Documentation/devicetree/bindings/arm/
Dcoresight.txt60 * port or ports: see "Graph bindings for Coresight" below.
88 * port or ports: see "Graph bindings for Coresight" below.
118 * All output ports must be listed inside a child node named "out-ports"
119 * All input ports must be listed inside a child node named "in-ports".
131 in-ports {
146 in-ports {
161 in-ports {
169 out-ports {
185 out-ports {
189 /* replicator output ports */
[all …]
/Linux-v5.4/arch/arm64/boot/dts/sprd/
Dsc9860.dtsi307 out-ports {
315 in-ports {
342 out-ports {
359 out-ports {
374 out-ports {
383 in-ports {
422 out-ports {
431 in-ports {
471 out-ports {
480 in-ports {
[all …]
Dsc9836.dtsi53 in-ports {
68 out-ports {
76 in-ports {
114 /* Other input ports aren't connected to anyone */
125 out-ports {
141 out-ports {
157 out-ports {
173 out-ports {
189 out-ports {
/Linux-v5.4/drivers/input/serio/
Dps2mult.c37 struct ps2mult_port ports[PS2MULT_NUM_PORTS]; member
142 serio->port_data = &psm->ports[i]; in ps2mult_create_port()
144 psm->ports[i].serio = serio; in ps2mult_create_port()
158 ps2mult_select_port(psm, &psm->ports[PS2MULT_KBD_PORT]); in ps2mult_reset()
180 psm->ports[i].sel = ps2mult_controls[i]; in ps2mult_connect()
186 psm->in_port = psm->out_port = &psm->ports[PS2MULT_KBD_PORT]; in ps2mult_connect()
196 struct serio *s = psm->ports[i].serio; in ps2mult_connect()
206 kfree(psm->ports[i].serio); in ps2mult_connect()
272 psm->in_port = &psm->ports[PS2MULT_KBD_PORT]; in ps2mult_interrupt()
277 psm->in_port = &psm->ports[PS2MULT_MOUSE_PORT]; in ps2mult_interrupt()
/Linux-v5.4/drivers/net/ethernet/mscc/
Docelot_board.c117 dev = ocelot->ports[info.port]->dev; in ocelot_xtr_irq_handler()
213 port = ocelot->ports[txport]; in ocelot_ptp_rdy_irq_handler()
255 struct device_node *ports, *portnp; in mscc_ocelot_probe() local
351 ports = of_get_child_by_name(np, "ethernet-ports"); in mscc_ocelot_probe()
352 if (!ports) { in mscc_ocelot_probe()
357 ocelot->num_phys_ports = of_get_child_count(ports); in mscc_ocelot_probe()
359 ocelot->ports = devm_kcalloc(&pdev->dev, ocelot->num_phys_ports, in mscc_ocelot_probe()
365 for_each_available_child_of_node(ports, portnp) { in mscc_ocelot_probe()
403 ocelot->ports[port]->phy_mode = PHY_INTERFACE_MODE_NA; in mscc_ocelot_probe()
405 ocelot->ports[port]->phy_mode = phy_mode; in mscc_ocelot_probe()
[all …]
/Linux-v5.4/net/netfilter/
Dnf_conntrack_sane.c42 static u_int16_t ports[MAX_PORTS]; variable
44 module_param_array(ports, ushort, &ports_c, 0400);
192 ports[ports_c++] = SANE_PORT; in nf_conntrack_sane_init()
198 HELPER_NAME, SANE_PORT, ports[i], ports[i], in nf_conntrack_sane_init()
202 HELPER_NAME, SANE_PORT, ports[i], ports[i], in nf_conntrack_sane_init()
/Linux-v5.4/drivers/staging/fwserial/
DKconfig17 int "Maximum number of serial ports supported"
20 Set this to the maximum number of serial ports you want the
24 int "Maximum number of serial ports supported per adapter"
28 Set this to the maximum number of serial ports each firewire
29 adapter supports. The actual number of serial ports registered

12345678910>>...52