Home
last modified time | relevance | path

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

12345678910>>...48

/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Ddss-of.c36 struct device_node *ports; in omapdss_of_get_next_port() local
41 ports = of_get_child_by_name(parent, "ports"); in omapdss_of_get_next_port()
42 if (ports) in omapdss_of_get_next_port()
43 parent = ports; in omapdss_of_get_next_port()
48 of_node_put(ports); in omapdss_of_get_next_port()
50 struct device_node *ports; in omapdss_of_get_next_port() local
52 ports = of_get_parent(prev); in omapdss_of_get_next_port()
53 if (!ports) in omapdss_of_get_next_port()
57 port = of_get_next_child(ports, prev); in omapdss_of_get_next_port()
59 of_node_put(ports); in omapdss_of_get_next_port()
[all …]
/Linux-v4.19/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-v4.19/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-v4.19/drivers/firewire/
Dcore-topology.c115 node = kzalloc(struct_size(node, ports, port_count), GFP_ATOMIC); in fw_node_create()
153 if (node->ports[i] == NULL) in update_hop_count()
156 if (node->ports[i]->max_hops > max_child_hops) in update_hop_count()
157 max_child_hops = node->ports[i]->max_hops; in update_hop_count()
159 if (node->ports[i]->max_depth > depths[0]) { in update_hop_count()
161 depths[0] = node->ports[i]->max_depth; in update_hop_count()
162 } else if (node->ports[i]->max_depth > depths[1]) in update_hop_count()
163 depths[1] = node->ports[i]->max_depth; in update_hop_count()
266 node->ports[i] = child; in build_tree()
271 child->ports[child->color] = node; in build_tree()
[all …]
/Linux-v4.19/drivers/infiniband/core/
Dcma_configfs.c52 struct cma_dev_port_group *ports; member
200 struct cma_dev_port_group *ports; in make_cma_ports() local
209 ports = kcalloc(ports_num, sizeof(*cma_dev_group->ports), in make_cma_ports()
212 if (!ports) { in make_cma_ports()
220 ports[i].port_num = i + 1; in make_cma_ports()
222 ports[i].cma_dev_group = cma_dev_group; in make_cma_ports()
223 config_group_init_type_name(&ports[i].group, in make_cma_ports()
226 configfs_add_default_group(&ports[i].group, in make_cma_ports()
230 cma_dev_group->ports = ports; in make_cma_ports()
234 kfree(ports); in make_cma_ports()
[all …]
/Linux-v4.19/Documentation/leds/
Dledtrig-usbport.txt8 It requires selecting USB ports that should be observed. All available ones are
9 listed as separated entries in a "ports" subdirectory. Selecting is handled by
12 Please note that this trigger allows selecting multiple USB ports for a single
15 1) Device with single USB LED and few physical ports
24 only one LED user will most likely want to assign ports from all 3 hubs.
38 echo 1 > ports/usb1-port1
39 echo 1 > ports/usb2-port1
40 cat ports/usb1-port1
41 echo 0 > ports/usb1-port1
/Linux-v4.19/sound/core/seq/
Dseq_midi.c68 struct seq_midisynth *ports[SNDRV_RAWMIDI_DEVICES]; member
281 unsigned int p, ports; in snd_seq_midisynth_probe() local
301 ports = output_count; in snd_seq_midisynth_probe()
302 if (ports < input_count) in snd_seq_midisynth_probe()
303 ports = input_count; in snd_seq_midisynth_probe()
304 if (ports == 0) { in snd_seq_midisynth_probe()
308 if (ports > (256 / SNDRV_RAWMIDI_DEVICES)) in snd_seq_midisynth_probe()
309 ports = 256 / SNDRV_RAWMIDI_DEVICES; in snd_seq_midisynth_probe()
333 msynth = kcalloc(ports, sizeof(struct seq_midisynth), GFP_KERNEL); in snd_seq_midisynth_probe()
338 for (p = 0; p < ports; p++) { in snd_seq_midisynth_probe()
[all …]
Dseq_dummy.c67 static int ports = 1; variable
70 module_param(ports, int, 0444);
71 MODULE_PARM_DESC(ports, "number of ports to be created");
169 if (ports < 1) { in register_client()
170 pr_err("ALSA: seq_dummy: invalid number of ports %d\n", ports); in register_client()
181 for (i = 0; i < ports; i++) { in register_client()
/Linux-v4.19/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-v4.19/drivers/net/dsa/mv88e6xxx/
Dserdes.c78 u8 cmode = chip->ports[port].cmode; in mv88e6352_port_has_serdes()
167 struct mv88e6xxx_port *mv88e6xxx_port = &chip->ports[port]; in mv88e6352_serdes_get_stats()
193 u8 cmode = chip->ports[port].cmode; in mv88e6390_serdes_get_lane()
221 cmode_port9 = chip->ports[9].cmode; in mv88e6390x_serdes_get_lane()
222 cmode_port10 = chip->ports[10].cmode; in mv88e6390x_serdes_get_lane()
223 cmode_port = chip->ports[port].cmode; in mv88e6390x_serdes_get_lane()
349 u8 cmode = chip->ports[port].cmode; in mv88e6390_serdes_power_lane()
444 u8 cmode = chip->ports[port].cmode; in mv88e6390_serdes_irq_enable()
460 u8 cmode = chip->ports[port].cmode; in mv88e6390_serdes_irq_disable()
534 chip->ports[port].serdes_irq = irq_find_mapping(chip->g2_irq.domain, in mv88e6390_serdes_irq_setup()
[all …]
/Linux-v4.19/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-v4.19/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-v4.19/drivers/net/wan/
Dpci200syn.c94 port_t ports[2]; member
98 #define get_port(card, port) (&card->ports[port])
248 if (card->ports[i].card) in pci200_pci_remove_one()
249 unregister_hdlc_device(card->ports[i].netdev); in pci200_pci_remove_one()
263 if (card->ports[0].netdev) in pci200_pci_remove_one()
264 free_netdev(card->ports[0].netdev); in pci200_pci_remove_one()
265 if (card->ports[1].netdev) in pci200_pci_remove_one()
266 free_netdev(card->ports[1].netdev); in pci200_pci_remove_one()
305 card->ports[0].netdev = alloc_hdlcdev(&card->ports[0]); in pci200_pci_init_one()
306 card->ports[1].netdev = alloc_hdlcdev(&card->ports[1]); in pci200_pci_init_one()
[all …]
Dn2.c126 port_t ports[2]; member
147 #define get_port(card, port) ((card)->ports[port].valid ? \
148 &(card)->ports[port] : NULL)
308 if (card->ports[cnt].card) { in n2_destroy_card()
309 struct net_device *dev = port_to_dev(&card->ports[cnt]); in n2_destroy_card()
323 if (card->ports[0].dev) in n2_destroy_card()
324 free_netdev(card->ports[0].dev); in n2_destroy_card()
325 if (card->ports[1].dev) in n2_destroy_card()
326 free_netdev(card->ports[1].dev); in n2_destroy_card()
363 card->ports[0].dev = alloc_hdlcdev(&card->ports[0]); in n2_run()
[all …]
/Linux-v4.19/drivers/thunderbolt/
Dtb.c42 tb_scan_port(&sw->ports[i]); in tb_scan_switch()
113 struct tb_port *port = &sw->ports[i]; in tb_free_unplugged_children()
135 if (sw->ports[i].config.type == TB_TYPE_PCIE_UP) in tb_find_pci_up_port()
136 return &sw->ports[i]; in tb_find_pci_up_port()
150 if (tb_is_upstream_port(&sw->ports[i])) in tb_find_unused_down_port()
152 if (sw->ports[i].config.type != TB_TYPE_PCIE_DOWN) in tb_find_unused_down_port()
154 cap = tb_port_find_cap(&sw->ports[i], TB_PORT_CAP_ADAP); in tb_find_unused_down_port()
157 res = tb_port_read(&sw->ports[i], &data, TB_CFG_PORT, cap, 1); in tb_find_unused_down_port()
162 return &sw->ports[i]; in tb_find_unused_down_port()
186 if (tb_is_upstream_port(&tb->root_switch->ports[i])) in tb_activate_pcie_devices()
[all …]
Deeprom.c346 port = &sw->ports[header->index]; in tb_drom_parse_entry_port()
367 &port->sw->ports[entry->dual_link_port_nr]; in tb_drom_parse_entry_port()
517 sw->ports[1].link_nr = 0; in tb_drom_read()
518 sw->ports[2].link_nr = 1; in tb_drom_read()
519 sw->ports[1].dual_link_port = &sw->ports[2]; in tb_drom_read()
520 sw->ports[2].dual_link_port = &sw->ports[1]; in tb_drom_read()
522 sw->ports[3].link_nr = 0; in tb_drom_read()
523 sw->ports[4].link_nr = 1; in tb_drom_read()
524 sw->ports[3].dual_link_port = &sw->ports[4]; in tb_drom_read()
525 sw->ports[4].dual_link_port = &sw->ports[3]; in tb_drom_read()
[all …]
/Linux-v4.19/drivers/input/serio/
Dps2mult.c40 struct ps2mult_port ports[PS2MULT_NUM_PORTS]; member
145 serio->port_data = &psm->ports[i]; in ps2mult_create_port()
147 psm->ports[i].serio = serio; in ps2mult_create_port()
161 ps2mult_select_port(psm, &psm->ports[PS2MULT_KBD_PORT]); in ps2mult_reset()
183 psm->ports[i].sel = ps2mult_controls[i]; in ps2mult_connect()
189 psm->in_port = psm->out_port = &psm->ports[PS2MULT_KBD_PORT]; in ps2mult_connect()
199 struct serio *s = psm->ports[i].serio; in ps2mult_connect()
209 kfree(psm->ports[i].serio); in ps2mult_connect()
275 psm->in_port = &psm->ports[PS2MULT_KBD_PORT]; in ps2mult_interrupt()
280 psm->in_port = &psm->ports[PS2MULT_MOUSE_PORT]; in ps2mult_interrupt()
/Linux-v4.19/drivers/staging/fwserial/
DKconfig16 int "Maximum number of serial ports supported"
19 Set this to the maximum number of serial ports you want the
23 int "Maximum number of serial ports supported per adapter"
27 Set this to the maximum number of serial ports each firewire
28 adapter supports. The actual number of serial ports registered
/Linux-v4.19/net/netfilter/
Dnf_conntrack_sane.c43 static u_int16_t ports[MAX_PORTS]; variable
45 module_param_array(ports, ushort, &ports_c, 0400);
193 ports[ports_c++] = SANE_PORT; in nf_conntrack_sane_init()
199 SANE_PORT, ports[i], ports[i], in nf_conntrack_sane_init()
203 SANE_PORT, ports[i], ports[i], in nf_conntrack_sane_init()
Dnf_conntrack_tftp.c30 static unsigned short ports[MAX_PORTS]; variable
32 module_param_array(ports, ushort, &ports_c, 0400);
33 MODULE_PARM_DESC(ports, "Port numbers of TFTP servers");
119 ports[ports_c++] = TFTP_PORT; in nf_conntrack_tftp_init()
123 TFTP_PORT, ports[i], i, &tftp_exp_policy, in nf_conntrack_tftp_init()
126 TFTP_PORT, ports[i], i, &tftp_exp_policy, in nf_conntrack_tftp_init()
/Linux-v4.19/drivers/char/ipmi/
Dipmi_si_hardcode.c19 static unsigned int ports[SI_MAX_PARMS]; variable
42 module_param_hw_array(ports, uint, ioport, &num_ports, 0);
43 MODULE_PARM_DESC(ports, "Sets the port address of each interface, the"
99 if (!ports[i] && !addrs[i]) in ipmi_si_hardcode_find_bmc()
117 if (ports[i]) { in ipmi_si_hardcode_find_bmc()
119 io.addr_data = ports[i]; in ipmi_si_hardcode_find_bmc()
/Linux-v4.19/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
Dgpio.txt4 On CPM1 devices, all ports are using slightly different register layouts.
5 Ports A, C and D are 16bit ports and Ports B and E are 32bit ports.
7 On CPM2 devices, all ports are 32bit ports and use a common register layout.
18 on CPM1), this item tells which ports have an associated interrupt (ports are
/Linux-v4.19/drivers/net/arcnet/
Dcom90xx.c100 int ports[(0x3f0 - 0x200) / 16 + 1] = { 0 }; in com90xx_probe() local
127 ports[numports++] = io; in com90xx_probe()
130 ports[numports++] = count; in com90xx_probe()
141 for (port = &ports[0]; port - ports < numports; port++) { in com90xx_probe()
158 *port-- = ports[--numports]; in com90xx_probe()
167 *port-- = ports[--numports]; in com90xx_probe()
191 for (port = &ports[0]; port < ports + numports; port++) { in com90xx_probe()
271 for (port = &ports[0]; port < ports + numports; port++) in com90xx_probe()
300 for (port = &ports[0]; port < ports + numports; port++) { in com90xx_probe()
321 *port-- = ports[--numports]; in com90xx_probe()
[all …]
/Linux-v4.19/drivers/gpio/
Dgpio-dwapb.c97 struct dwapb_gpio_port *ports; member
133 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_read()
142 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_write()
162 port = &gpio->ports[i]; in dwapb_offs_to_port()
227 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_irq_enable()
242 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_irq_disable()
257 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_irq_reqres()
273 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_irq_relres()
282 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_irq_set_type()
332 struct dwapb_context *ctx = gpio->ports[0].ctx; in dwapb_irq_set_wake()
[all …]
/Linux-v4.19/drivers/gpu/drm/i915/
Dicl_dsi.c44 for_each_dsi_port(port, intel_dsi->ports) { in gen11_dsi_program_esc_clk_div()
50 for_each_dsi_port(port, intel_dsi->ports) { in gen11_dsi_program_esc_clk_div()
64 for_each_dsi_port(port, intel_dsi->ports) { in gen11_dsi_enable_io_power()
70 for_each_dsi_port(port, intel_dsi->ports) { in gen11_dsi_enable_io_power()
101 for_each_dsi_port(port, intel_dsi->ports) { in gen11_dsi_power_up_lanes()

12345678910>>...48