Home
last modified time | relevance | path

Searched refs:ports (Results 1 – 200 of 791) sorted by relevance

1234

/linux-4.4.14/drivers/thunderbolt/
Dswitch.c264 if (tb_is_upstream_port(&sw->ports[next_port])) in get_switch_at_route()
266 if (!sw->ports[next_port].remote) in get_switch_at_route()
268 return get_switch_at_route(sw->ports[next_port].remote->sw, in get_switch_at_route()
319 if (tb_is_upstream_port(&sw->ports[i])) in tb_switch_free()
321 if (sw->ports[i].remote) in tb_switch_free()
322 tb_switch_free(sw->ports[i].remote->sw); in tb_switch_free()
323 sw->ports[i].remote = NULL; in tb_switch_free()
329 kfree(sw->ports); in tb_switch_free()
382 sw->ports = kcalloc(sw->config.max_port_number + 1, sizeof(*sw->ports), in tb_switch_alloc()
384 if (!sw->ports) in tb_switch_alloc()
[all …]
Dtb.c28 tb_scan_port(&sw->ports[i]); in tb_scan_switch()
83 struct tb_port *port = &sw->ports[i]; in tb_free_unplugged_children()
105 if (sw->ports[i].config.type == TB_TYPE_PCIE_UP) in tb_find_pci_up_port()
106 return &sw->ports[i]; in tb_find_pci_up_port()
120 if (tb_is_upstream_port(&sw->ports[i])) in tb_find_unused_down_port()
122 if (sw->ports[i].config.type != TB_TYPE_PCIE_DOWN) in tb_find_unused_down_port()
124 cap = tb_find_cap(&sw->ports[i], TB_CFG_PORT, TB_CAP_PCIE); in tb_find_unused_down_port()
127 res = tb_port_read(&sw->ports[i], &data, TB_CFG_PORT, cap, 1); in tb_find_unused_down_port()
132 return &sw->ports[i]; in tb_find_unused_down_port()
154 if (tb_is_upstream_port(&tb->root_switch->ports[i])) in tb_activate_pcie_devices()
[all …]
Deeprom.c300 &port->sw->ports[entry->dual_link_port_nr]; in tb_drom_parse_port_entry()
313 port = &sw->ports[header->index]; in tb_drom_parse_entry()
382 sw->ports[1].link_nr = 0; in tb_drom_read()
383 sw->ports[2].link_nr = 1; in tb_drom_read()
384 sw->ports[1].dual_link_port = &sw->ports[2]; in tb_drom_read()
385 sw->ports[2].dual_link_port = &sw->ports[1]; in tb_drom_read()
387 sw->ports[3].link_nr = 0; in tb_drom_read()
388 sw->ports[4].link_nr = 1; in tb_drom_read()
389 sw->ports[3].dual_link_port = &sw->ports[4]; in tb_drom_read()
390 sw->ports[4].dual_link_port = &sw->ports[3]; in tb_drom_read()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Ddss-of.c35 struct device_node *ports; in omapdss_of_get_next_port() local
40 ports = of_get_child_by_name(parent, "ports"); in omapdss_of_get_next_port()
41 if (ports) in omapdss_of_get_next_port()
42 parent = ports; in omapdss_of_get_next_port()
47 of_node_put(ports); in omapdss_of_get_next_port()
49 struct device_node *ports; in omapdss_of_get_next_port() local
51 ports = of_get_parent(prev); in omapdss_of_get_next_port()
52 if (!ports) in omapdss_of_get_next_port()
56 port = of_get_next_child(ports, prev); in omapdss_of_get_next_port()
58 of_node_put(ports); in omapdss_of_get_next_port()
[all …]
Ddss.c75 const enum omap_display_type *ports; member
832 .ports = omap2plus_ports,
841 .ports = omap34xx_ports,
850 .ports = omap2plus_ports,
859 .ports = omap2plus_ports,
868 .ports = omap2plus_ports,
877 .ports = omap2plus_ports,
886 .ports = dra7xx_ports,
971 port_type = dss.feat->ports[reg]; in dss_init_ports()
1015 port_type = dss.feat->ports[reg]; in dss_uninit_ports()
/linux-4.4.14/drivers/firewire/
Dcore-topology.c115 node = kzalloc(sizeof(*node) + port_count * sizeof(node->ports[0]), in fw_node_create()
154 if (node->ports[i] == NULL) in update_hop_count()
157 if (node->ports[i]->max_hops > max_child_hops) in update_hop_count()
158 max_child_hops = node->ports[i]->max_hops; in update_hop_count()
160 if (node->ports[i]->max_depth > depths[0]) { in update_hop_count()
162 depths[0] = node->ports[i]->max_depth; in update_hop_count()
163 } else if (node->ports[i]->max_depth > depths[1]) in update_hop_count()
164 depths[1] = node->ports[i]->max_depth; in update_hop_count()
267 node->ports[i] = child; in build_tree()
272 child->ports[child->color] = node; in build_tree()
[all …]
/linux-4.4.14/arch/cris/arch-v32/kernel/
Ddebugport.c25 struct dbg_port ports[] = variable
73 &ports[0];
75 &ports[1];
77 &ports[2];
79 &ports[3];
87 &ports[0];
89 &ports[1];
91 &ports[2];
93 &ports[3];
95 &ports[4];
/linux-4.4.14/sound/core/seq/
Dseq_midi.c68 struct seq_midisynth *ports[SNDRV_RAWMIDI_DEVICES]; member
285 unsigned int p, ports; in snd_seq_midisynth_probe() local
305 ports = output_count; in snd_seq_midisynth_probe()
306 if (ports < input_count) in snd_seq_midisynth_probe()
307 ports = input_count; in snd_seq_midisynth_probe()
308 if (ports == 0) { in snd_seq_midisynth_probe()
312 if (ports > (256 / SNDRV_RAWMIDI_DEVICES)) in snd_seq_midisynth_probe()
313 ports = 256 / SNDRV_RAWMIDI_DEVICES; in snd_seq_midisynth_probe()
337 msynth = kcalloc(ports, sizeof(struct seq_midisynth), GFP_KERNEL); in snd_seq_midisynth_probe()
342 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-4.4.14/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-4.4.14/drivers/scsi/
Dg_NCR5380.c256 unsigned int *ports; in generic_NCR5380_detect() local
327 ports = NULL; in generic_NCR5380_detect()
337 ports = ncr_53c400a_ports; in generic_NCR5380_detect()
341 ports = dtc_3181e_ports; in generic_NCR5380_detect()
346 if (ports) { in generic_NCR5380_detect()
358 for (i = 0; ports[i]; i++) { in generic_NCR5380_detect()
359 if (!request_region(ports[i], 16, "ncr53c80")) in generic_NCR5380_detect()
361 if (overrides[current_override].NCR5380_map_name == ports[i]) in generic_NCR5380_detect()
363 release_region(ports[i], 16); in generic_NCR5380_detect()
365 for (i = 0; ports[i]; i++) { in generic_NCR5380_detect()
[all …]
DNCR53c406a.c219 static unsigned short ports[] = { 0x230, 0x330, 0x280, 0x290, 0x330, 0x340, 0x300, 0x310, 0x348, 0x… variable
220 #define PORT_COUNT ARRAY_SIZE(ports)
487 if (!request_region(ports[i], 0x10, "NCR53c406a")) { in NCR53c406a_detect()
488 DEB(printk("NCR53c406a: port 0x%x in use\n", ports[i])); in NCR53c406a_detect()
490 VDEB(printk("NCR53c406a: port 0x%x available\n", ports[i])); in NCR53c406a_detect()
491 outb(C5_IMG, ports[i] + 0x0d); /* reg set 1 */ in NCR53c406a_detect()
492 …if ((inb(ports[i] + 0x0e) ^ inb(ports[i] + 0x0e)) == 7 && (inb(ports[i] + 0x0e) ^ inb(ports[i] + 0… in NCR53c406a_detect()
493 port_base = ports[i]; in NCR53c406a_detect()
498 release_region(ports[i], 0x10); in NCR53c406a_detect()
631 if (ports[i] == ints[1]) { in NCR53c406a_setup()
Daha152x.c2934 static unsigned short ports[] = { 0x340, 0x140 }; variable
3031 for (i = 0; i < ARRAY_SIZE(ports) && (setup->io_port != ports[i]); i++) in checksetup()
3034 if (i == ARRAY_SIZE(ports)) in checksetup()
3278 for (i = 0; i < ARRAY_SIZE(ports) && setup_count < 2; i++) { in aha152x_init()
3279 if ((setup_count == 1) && (setup[0].io_port == ports[i])) in aha152x_init()
3282 if (!request_region(ports[i], IO_RANGE, "aha152x")) { in aha152x_init()
3283 printk(KERN_ERR "aha152x: io port 0x%x busy.\n", ports[i]); in aha152x_init()
3287 if (aha152x_porttest(ports[i])) { in aha152x_init()
3291 (GETPORT(ports[i] + O_PORTA) << 8) + GETPORT(ports[i] + O_PORTB); in aha152x_init()
3292 } else if (tc1550_porttest(ports[i])) { in aha152x_init()
[all …]
/linux-4.4.14/arch/alpha/kernel/
Derr_marvel.c819 if (!io7->ports[i].enabled) in marvel_find_io7_with_error()
821 err_sum |= io7->ports[i].csrs->POx_ERR_SUM.csr; in marvel_find_io7_with_error()
856 io7_ioport_csrs *csrs = io7->ports[i].csrs; in marvel_find_io7_with_error()
858 if (!io7->ports[i].enabled) in marvel_find_io7_with_error()
861 io->ports[i].pox_err_sum = csrs->POx_ERR_SUM.csr; in marvel_find_io7_with_error()
862 io->ports[i].pox_tlb_err = csrs->POx_TLB_ERR.csr; in marvel_find_io7_with_error()
863 io->ports[i].pox_spl_cmplt = csrs->POx_SPL_COMPLT.csr; in marvel_find_io7_with_error()
864 io->ports[i].pox_trans_sum = csrs->POx_TRANS_SUM.csr; in marvel_find_io7_with_error()
865 io->ports[i].pox_first_err = csrs->POx_FIRST_ERR.csr; in marvel_find_io7_with_error()
866 io->ports[i].pox_mult_err = csrs->POx_MULT_ERR.csr; in marvel_find_io7_with_error()
[all …]
Dcore_marvel.c125 io7->ports[h].io7 = io7; in alloc_io7()
126 io7->ports[h].port = h; in alloc_io7()
127 io7->ports[h].enabled = 0; /* default to disabled */ in alloc_io7()
205 struct io7_port *io7_port = &io7->ports[port]; in io7_init_hose()
349 io7->ports[i].enabled = 1; in marvel_init_io7()
399 hose = io7->ports[port].hose; in marvel_find_console_vga_hose()
1080 if (!io7->ports[IO7_AGP_PORT].enabled) in marvel_agp_info()
1083 h = io7->ports[IO7_AGP_PORT].hose; in marvel_agp_info()
/linux-4.4.14/net/netfilter/
Dnf_conntrack_sane.c41 static u_int16_t ports[MAX_PORTS]; variable
43 module_param_array(ports, ushort, &ports_c, 0400);
183 sane[i][j].tuple.src.l3num, ports[i]); in nf_conntrack_sane_fini()
200 ports[ports_c++] = SANE_PORT; in nf_conntrack_sane_init()
209 sane[i][j].tuple.src.u.tcp.port = htons(ports[i]); in nf_conntrack_sane_init()
214 if (ports[i] == SANE_PORT) in nf_conntrack_sane_init()
217 sprintf(sane[i][j].name, "sane-%d", ports[i]); in nf_conntrack_sane_init()
221 sane[i][j].tuple.src.l3num, ports[i]); in nf_conntrack_sane_init()
226 sane[i][j].tuple.src.l3num, ports[i]); in nf_conntrack_sane_init()
Dnf_conntrack_tftp.c28 static unsigned short ports[MAX_PORTS]; variable
30 module_param_array(ports, ushort, &ports_c, 0400);
31 MODULE_PARM_DESC(ports, "Port numbers of TFTP servers");
120 ports[ports_c++] = TFTP_PORT; in nf_conntrack_tftp_init()
129 tftp[i][j].tuple.src.u.udp.port = htons(ports[i]); in nf_conntrack_tftp_init()
134 if (ports[i] == TFTP_PORT) in nf_conntrack_tftp_init()
143 tftp[i][j].tuple.src.l3num, ports[i]); in nf_conntrack_tftp_init()
Dnf_conntrack_irc.c27 static unsigned short ports[MAX_PORTS]; variable
49 module_param_array(ports, ushort, &ports_c, 0400);
50 MODULE_PARM_DESC(ports, "port numbers of IRC servers");
253 ports[ports_c++] = IRC_PORT; in nf_conntrack_irc_init()
257 irc[i].tuple.src.u.tcp.port = htons(ports[i]); in nf_conntrack_irc_init()
263 if (ports[i] == IRC_PORT) in nf_conntrack_irc_init()
272 irc[i].tuple.src.l3num, ports[i]); in nf_conntrack_irc_init()
Dxt_socket.c49 __be16 *ports, _ports[2]; in extract_icmp4_fields() local
77 ports = skb_header_pointer(skb, outside_hdrlen + in extract_icmp4_fields()
81 if (ports == NULL) in extract_icmp4_fields()
88 *lport = ports[0]; in extract_icmp4_fields()
90 *rport = ports[1]; in extract_icmp4_fields()
275 __be16 *ports, _ports[2]; in extract_icmp6_fields() local
304 ports = skb_header_pointer(skb, inside_hdrlen, in extract_icmp6_fields()
306 if (ports == NULL) in extract_icmp6_fields()
313 *lport = ports[0]; in extract_icmp6_fields()
315 *rport = ports[1]; in extract_icmp6_fields()
Dnf_conntrack_ftp.c42 static u_int16_t ports[MAX_PORTS]; variable
44 module_param_array(ports, ushort, &ports_c, 0400);
591 ftp[i][j].tuple.src.l3num, ports[i]); in nf_conntrack_ftp_fini()
608 ports[ports_c++] = FTP_PORT; in nf_conntrack_ftp_init()
617 ftp[i][j].tuple.src.u.tcp.port = htons(ports[i]); in nf_conntrack_ftp_init()
623 if (ports[i] == FTP_PORT) in nf_conntrack_ftp_init()
626 sprintf(ftp[i][j].name, "ftp-%d", ports[i]); in nf_conntrack_ftp_init()
630 ftp[i][j].tuple.src.l3num, ports[i]); in nf_conntrack_ftp_init()
635 ftp[i][j].tuple.src.l3num, ports[i]); in nf_conntrack_ftp_init()
Dxt_multiport.c38 s = minfo->ports[i]; in ports_match_v1()
42 e = minfo->ports[++i]; in ports_match_v1()
/linux-4.4.14/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()
306 card->ports[0].netdev = alloc_hdlcdev(&card->ports[0]); in pci200_pci_init_one()
307 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()
364 card->ports[0].dev = alloc_hdlcdev(&card->ports[0]); in n2_run()
[all …]
Dwanxl.c84 struct port ports[0]; /* 1 - 4 port structures follow */ member
206 struct port *port = &card->ports[desc->stat & in wanxl_rx_intr()
260 wanxl_tx_intr(&card->ports[i]); in wanxl_intr()
262 wanxl_cable_intr(&card->ports[i]); in wanxl_intr()
518 unregister_hdlc_device(card->ports[i].dev); in wanxl_pci_remove_one()
519 free_netdev(card->ports[i].dev); in wanxl_pci_remove_one()
569 int i, ports, alloc_size; in wanxl_pci_init_one() local
599 case PCI_DEVICE_ID_SBE_WANXL100: ports = 1; break; in wanxl_pci_init_one()
600 case PCI_DEVICE_ID_SBE_WANXL200: ports = 2; break; in wanxl_pci_init_one()
601 default: ports = 4; in wanxl_pci_init_one()
[all …]
Dpc300too.c110 port_t ports[2]; member
115 (&(card)->ports[port]) : (NULL))
269 if (card->ports[i].card) in pc300_pci_remove_one()
270 unregister_hdlc_device(card->ports[i].netdev); in pc300_pci_remove_one()
284 if (card->ports[0].netdev) in pc300_pci_remove_one()
285 free_netdev(card->ports[0].netdev); in pc300_pci_remove_one()
286 if (card->ports[1].netdev) in pc300_pci_remove_one()
287 free_netdev(card->ports[1].netdev); in pc300_pci_remove_one()
372 if (!(card->ports[i].netdev = alloc_hdlcdev(&card->ports[i]))) { in pc300_pci_init_one()
445 port_t *port = &card->ports[i]; in pc300_pci_init_one()
Dfarsync.c461 struct fst_port_info ports[FST_MAX_PORTS]; member
1339 for (pi = 0, port = card->ports; pi < card->nports; pi++, port++) { in do_bottom_half_tx()
1438 for (pi = 0, port = card->ports; pi < card->nports; pi++, port++) { in do_bottom_half_rx()
1559 port = &card->ports[event & 0x03]; in fst_intr()
2377 err = register_hdlc_device(card->ports[i].dev); in fst_init_card()
2382 unregister_hdlc_device(card->ports[i].dev); in fst_init_card()
2388 port_to_dev(&card->ports[0])->name, in fst_init_card()
2389 port_to_dev(&card->ports[card->nports - 1])->name, in fst_init_card()
2495 struct net_device *dev = alloc_hdlcdev(&card->ports[i]); in fst_add_one()
2499 free_netdev(card->ports[i].dev); in fst_add_one()
[all …]
/linux-4.4.14/sound/oss/
Dad1848.h14 int ad1848_init(char *name, struct resource *ports, int irq, int dma_playback,
18 int ad1848_detect (struct resource *ports, int *flags, int *osp);
21 void attach_ms_sound(struct address_info * hw_config, struct resource *ports, struct module * owner…
23 int probe_ms_sound(struct address_info *hw_config, struct resource *ports);
Dtrix.c128 struct resource *ports; in init_trix_wss() local
179 ports = request_region(hw_config->io_base + 4, 4, "ad1848"); in init_trix_wss()
180 if (!ports) { in init_trix_wss()
217 ret = ad1848_detect(ports, NULL, hw_config->osp); in init_trix_wss()
248 hw_config->slots[0] = ad1848_init("AudioTrix Pro", ports, in init_trix_wss()
Dpss.c742 struct resource *ports; in probe_pss_mpu() local
748 ports = request_region(hw_config->io_base, 2, "mpu401"); in probe_pss_mpu()
750 if (!ports) { in probe_pss_mpu()
781 if (!probe_mpu401(hw_config, ports)) in probe_pss_mpu()
1034 struct resource *ports; in probe_pss_mss() local
1044 ports = request_region(hw_config->io_base + 4, 4, "ad1848"); in probe_pss_mss()
1045 if (!ports) { in probe_pss_mss()
1075 if (!probe_ms_sound(hw_config, ports)) in probe_pss_mss()
1092 attach_ms_sound(hw_config, ports, THIS_MODULE); /* Slot 0 */ in probe_pss_mss()
Dad1848.c1533 int ad1848_detect(struct resource *ports, int *ad_flags, int *osp) in ad1848_detect() argument
1543 int io_base = ports->start; in ad1848_detect()
1942 int ad1848_init (char *name, struct resource *ports, int irq, int dma_playback, in ad1848_init() argument
1977 rename_region(ports, devc->name); in ad1848_init()
2505 int probe_ms_sound(struct address_info *hw_config, struct resource *ports) in probe_ms_sound() argument
2514 return ad1848_detect(ports, NULL, hw_config->osp); in probe_ms_sound()
2540 if (!(ret = ad1848_detect(ports, NULL, hw_config->osp))) in probe_ms_sound()
2553 if (!(ret = ad1848_detect(ports, NULL, hw_config->osp))) in probe_ms_sound()
2588 return ad1848_detect(ports, NULL, hw_config->osp); in probe_ms_sound()
2591 void attach_ms_sound(struct address_info *hw_config, struct resource *ports, struct module *owner) in attach_ms_sound() argument
[all …]
Dmpu401.h9 int probe_mpu401(struct address_info *hw_config, struct resource *ports);
/linux-4.4.14/drivers/gpio/
Dgpio-dwapb.c81 struct dwapb_gpio_port *ports; member
94 struct bgpio_chip *bgc = &gpio->ports[0].bgc; in dwapb_read()
103 struct bgpio_chip *bgc = &gpio->ports[0].bgc; in dwapb_write()
122 if (gpio_get_value(gpio->ports[0].bgc.gc.base + offs)) in dwapb_toggle_trigger()
165 struct bgpio_chip *bgc = &gpio->ports[0].bgc; in dwapb_irq_enable()
180 struct bgpio_chip *bgc = &gpio->ports[0].bgc; in dwapb_irq_disable()
195 struct bgpio_chip *bgc = &gpio->ports[0].bgc; in dwapb_irq_reqres()
209 struct bgpio_chip *bgc = &gpio->ports[0].bgc; in dwapb_irq_relres()
218 struct bgpio_chip *bgc = &gpio->ports[0].bgc; in dwapb_irq_set_type()
377 struct dwapb_gpio_port *port = &gpio->ports[0]; in dwapb_irq_teardown()
[all …]
Dgpio-etraxfs.c84 const struct etraxfs_gpio_port *ports; member
133 .ports = etraxfs_gpio_etraxfs_ports,
171 .ports = etraxfs_gpio_artpec3_ports,
423 const struct etraxfs_gpio_port *port = &info->ports[i]; in etraxfs_gpio_probe()
/linux-4.4.14/net/core/
Dflow_dissector.c93 __be32 *ports, _ports; in __skb_flow_get_ports() local
95 ports = __skb_header_pointer(skb, thoff + poff, in __skb_flow_get_ports()
97 if (ports) in __skb_flow_get_ports()
98 return *ports; in __skb_flow_get_ports()
488 key_ports->ports = __skb_flow_get_ports(skb, nhoff, ip_proto, in __skb_flow_dissect()
585 ((__force u16)keys->ports.dst < in __flow_hash_consistentify()
586 (__force u16)keys->ports.src))) { in __flow_hash_consistentify()
588 swap(keys->ports.src, keys->ports.dst); in __flow_hash_consistentify()
597 ((__force u16)keys->ports.dst < in __flow_hash_consistentify()
598 (__force u16)keys->ports.src))) { in __flow_hash_consistentify()
[all …]
/linux-4.4.14/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()
DKconfig122 This driver provides support for the PS/2 ports on PA-RISC machines
162 keyboard and mice ports.
172 PS/2 ports.
188 tristate "Raw access to serio ports"
190 Say Y here if you want to have raw access to serio ports, such as
191 AUX ports on i8042 keyboard controller. Each serio port that is
216 Say Y here if you have Altera University Program PS/2 ports.
300 this facility userspace programs can implement serio ports that
/linux-4.4.14/arch/cris/arch-v10/drivers/
Dsync_serial.c193 static struct sync_port ports[] = { variable
260 ports[0].enabled = 0; in etrax_sync_serial_init()
261 ports[1].enabled = 0; in etrax_sync_serial_init()
300 ports[0].enabled = 1; in etrax_sync_serial_init()
304 ports[0].use_dma = 1; in etrax_sync_serial_init()
306 ports[0].use_dma = 0; in etrax_sync_serial_init()
312 ports[1].enabled = 1; in etrax_sync_serial_init()
316 ports[1].use_dma = 1; in etrax_sync_serial_init()
318 ports[1].use_dma = 0; in etrax_sync_serial_init()
346 struct sync_port *port = &ports[portnbr]; in initialize_port()
[all …]
/linux-4.4.14/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
Dfwserial.c859 serial->ports[j]->index = i; in fwtty_ports_add()
860 port_table[i] = serial->ports[j]; in fwtty_ports_add()
873 struct fwtty_port **ports = serial->ports; in fwserial_destroy() local
874 int j, i = ports[0]->index; in fwserial_destroy()
880 port_table_corrupt |= port_table[i] != ports[j]; in fwserial_destroy()
882 i, port_table[i], j, ports[j]); in fwserial_destroy()
889 fw_core_remove_address_handler(&ports[j]->rx_handler); in fwserial_destroy()
890 tty_port_destroy(&ports[j]->port); in fwserial_destroy()
891 kfree(ports[j]); in fwserial_destroy()
1498 port = fwtty_port_get(serial->ports[i]->index); in fwtty_debugfs_stats_show()
[all …]
/linux-4.4.14/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-4.4.14/drivers/rtc/
Drtc-cmos.c590 cmos_do_probe(struct device *dev, struct resource *ports, int rtc_irq) in cmos_do_probe() argument
602 if (!ports) in cmos_do_probe()
611 ports = request_region(ports->start, resource_size(ports), in cmos_do_probe()
614 ports = request_mem_region(ports->start, resource_size(ports), in cmos_do_probe()
616 if (!ports) { in cmos_do_probe()
622 cmos_rtc.iomem = ports; in cmos_do_probe()
639 if (can_bank2 && ports->end > (ports->start + 1)) in cmos_do_probe()
680 rename_region(ports, dev_name(&cmos_rtc.rtc->dev)); in cmos_do_probe()
764 release_region(ports->start, resource_size(ports)); in cmos_do_probe()
766 release_mem_region(ports->start, resource_size(ports)); in cmos_do_probe()
[all …]
/linux-4.4.14/drivers/ata/
Dpata_sil680.c387 host->ports[0]->ioaddr.bmdma_addr = mmio_base + 0x00; in sil680_init_one()
388 host->ports[0]->ioaddr.cmd_addr = mmio_base + 0x80; in sil680_init_one()
389 host->ports[0]->ioaddr.ctl_addr = mmio_base + 0x8a; in sil680_init_one()
390 host->ports[0]->ioaddr.altstatus_addr = mmio_base + 0x8a; in sil680_init_one()
391 ata_sff_std_ports(&host->ports[0]->ioaddr); in sil680_init_one()
392 host->ports[1]->ioaddr.bmdma_addr = mmio_base + 0x08; in sil680_init_one()
393 host->ports[1]->ioaddr.cmd_addr = mmio_base + 0xc0; in sil680_init_one()
394 host->ports[1]->ioaddr.ctl_addr = mmio_base + 0xca; in sil680_init_one()
395 host->ports[1]->ioaddr.altstatus_addr = mmio_base + 0xca; in sil680_init_one()
396 ata_sff_std_ports(&host->ports[1]->ioaddr); in sil680_init_one()
Dpata_cs5520.c186 ioaddr = &host->ports[0]->ioaddr; in cs5520_init_one()
193 ata_port_desc(host->ports[0], in cs5520_init_one()
195 ata_port_pbar_desc(host->ports[0], 4, 0, "bmdma"); in cs5520_init_one()
197 ioaddr = &host->ports[1]->ioaddr; in cs5520_init_one()
204 ata_port_desc(host->ports[1], in cs5520_init_one()
206 ata_port_pbar_desc(host->ports[1], 4, 8, "bmdma"); in cs5520_init_one()
216 struct ata_port *ap = host->ports[i]; in cs5520_init_one()
Dsata_uli.c192 ioaddr = &host->ports[2]->ioaddr; in uli_init_one()
201 ata_port_desc(host->ports[2], in uli_init_one()
207 ioaddr = &host->ports[3]->ioaddr; in uli_init_one()
216 ata_port_desc(host->ports[2], in uli_init_one()
Dsata_sis.c286 struct ata_port *ap = host->ports[i]; in sis_init_one()
304 host->ports[0]->ioaddr.scr_addr = mmio; in sis_init_one()
305 host->ports[1]->ioaddr.scr_addr = mmio + port2_start; in sis_init_one()
Dsata_nv.c737 port0 = ap->host->ports[0]->private_data; in nv_adma_slave_config()
738 port1 = ap->host->ports[1]->private_data; in nv_adma_slave_config()
739 sdev0 = ap->host->ports[0]->link.device[0].sdev; in nv_adma_slave_config()
740 sdev1 = ap->host->ports[1]->link.device[0].sdev; in nv_adma_slave_config()
913 struct ata_port *ap = host->ports[i]; in nv_adma_interrupt()
1029 struct nv_adma_port_priv *pp = host->ports[0]->private_data; in nv_adma_interrupt()
1031 pp = host->ports[1]->private_data; in nv_adma_interrupt()
1107 pp = ap->host->ports[0]->private_data; in nv_adma_irq_clear()
1109 pp = ap->host->ports[1]->private_data; in nv_adma_irq_clear()
1324 nv_adma_setup_port(host->ports[i]); in nv_adma_host_init()
[all …]
Dsata_via.c475 host->ports[0]->ioaddr.scr_addr = svia_scr_addr(host->iomap[5], 0); in vt6420_prepare_host()
476 host->ports[1]->ioaddr.scr_addr = svia_scr_addr(host->iomap[5], 1); in vt6420_prepare_host()
503 vt6421_init_addrs(host->ports[i]); in vt6421_prepare_host()
534 ata_slave_link_init(host->ports[i]); in vt8251_prepare_host()
Data_piix.c1454 struct ata_link *link0 = &host->ports[0]->link; in piix_init_sidpr()
1467 if (!(host->ports[0]->flags & PIIX_FLAG_SIDPR)) in piix_init_sidpr()
1503 struct ata_port *ap = host->ports[i]; in piix_init_sidpr()
1729 if (host->ports[0]->ops == &piix_sidpr_sata_ops) in piix_init_one()
1749 host->ports[0]->mwdma_mask = 0; in piix_init_one()
1750 host->ports[0]->udma_mask = 0; in piix_init_one()
1751 host->ports[1]->mwdma_mask = 0; in piix_init_one()
1752 host->ports[1]->udma_mask = 0; in piix_init_one()
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/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.
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/qe/
Dpar_io.txt3 This node configures Parallel I/O ports for CPUs with QE support.
5 device that using parallel I/O ports, a child node should be created.
12 - num-ports : number of Parallel I/O ports
20 num-ports = <7>;
/linux-4.4.14/arch/arm/mach-omap2/
Di2c.c113 int ports = 0; in omap_i2c_nr_ports() local
116 ports = 2; in omap_i2c_nr_ports()
118 ports = 3; in omap_i2c_nr_ports()
120 ports = 4; in omap_i2c_nr_ports()
121 return ports; in omap_i2c_nr_ports()
/linux-4.4.14/drivers/media/pci/saa7164/
Dsaa7164-core.c637 porta = &dev->ports[SAA7164_PORT_TS1]; in saa7164_irq()
638 portb = &dev->ports[SAA7164_PORT_TS2]; in saa7164_irq()
639 portc = &dev->ports[SAA7164_PORT_ENC1]; in saa7164_irq()
640 portd = &dev->ports[SAA7164_PORT_ENC2]; in saa7164_irq()
641 porte = &dev->ports[SAA7164_PORT_VBI1]; in saa7164_irq()
642 portf = &dev->ports[SAA7164_PORT_VBI2]; in saa7164_irq()
921 port = &dev->ports[portnr]; in saa7164_port_init()
1358 if (saa7164_dvb_register(&dev->ports[SAA7164_PORT_TS1]) < 0) { in saa7164_initdev()
1366 if (saa7164_dvb_register(&dev->ports[SAA7164_PORT_TS2]) < 0) { in saa7164_initdev()
1374 if (saa7164_encoder_register(&dev->ports[SAA7164_PORT_ENC1]) < 0) { in saa7164_initdev()
[all …]
Dsaa7164-api.c762 p = &dev->ports[SAA7164_PORT_ENC1]; in saa7164_api_initialize_dif()
764 p = &dev->ports[SAA7164_PORT_ENC2]; in saa7164_api_initialize_dif()
769 p = &dev->ports[SAA7164_PORT_ENC1]; in saa7164_api_initialize_dif()
771 p = &dev->ports[SAA7164_PORT_ENC2]; in saa7164_api_initialize_dif()
1085 tsport = &dev->ports[SAA7164_PORT_TS1]; in saa7164_api_dump_subdevs()
1087 tsport = &dev->ports[SAA7164_PORT_TS2]; in saa7164_api_dump_subdevs()
1097 encport = &dev->ports[SAA7164_PORT_ENC1]; in saa7164_api_dump_subdevs()
1099 encport = &dev->ports[SAA7164_PORT_ENC2]; in saa7164_api_dump_subdevs()
1109 vbiport = &dev->ports[SAA7164_PORT_VBI1]; in saa7164_api_dump_subdevs()
1111 vbiport = &dev->ports[SAA7164_PORT_VBI2]; in saa7164_api_dump_subdevs()
[all …]
/linux-4.4.14/include/linux/platform_data/
Dusb-ohci-s3c2410.h31 void (*report_oc)(struct s3c2410_hcd_info *, int ports);
34 static void inline s3c2410_usb_report_oc(struct s3c2410_hcd_info *info, int ports) in s3c2410_usb_report_oc() argument
37 (info->report_oc)(info, ports); in s3c2410_usb_report_oc()
/linux-4.4.14/Documentation/infiniband/
Dsysfs.txt10 In addition, there is a "ports" subdirectory, with one subdirectory
14 /sys/class/infiniband/mthca0/ports/1
15 /sys/class/infiniband/mthca0/ports/2
18 0; no subdirectory is created for normal switch ports)
56 ports/1/pkeys/10 contains the value at index 10 in port 1's P_Key
80 ports/1/
/linux-4.4.14/drivers/net/team/
DKconfig21 Basic mode where packets are transmitted always by all suitable ports.
23 All added ports are setup to have team's device address.
35 All added ports are setup to have team's device address.
47 All added ports are setup to have team's device address.
56 Only one port is active at a time and the rest of ports are used
59 Mac addresses of ports are not modified. Userspace is responsible
/linux-4.4.14/include/net/
Dflow_dissector.h94 __be32 ports; member
152 struct flow_dissector_key_ports ports; member
182 return (keys->ports.ports || keys->tags.flow_label); in flow_keys_have_l4()
Dflow.h47 } ports; member
84 #define fl4_sport uli.ports.sport
85 #define fl4_dport uli.ports.dport
140 #define fl6_sport uli.ports.sport
141 #define fl6_dport uli.ports.dport
160 #define fld_sport uli.ports.sport
161 #define fld_dport uli.ports.dport
Dinet6_hashtables.h37 const u32 ports = (((u32)lport) << 16) | (__force u32)fport; in __inet6_ehashfn() local
38 return jhash_3words(lhash, fhash, ports, initval); in __inet6_ehashfn()
Ddsa.h166 struct net_device *ports[DSA_MAX_PORTS]; member
181 return ds->phys_port_mask & (1 << p) && ds->ports[p]; in dsa_is_port_initialized()
323 unsigned long *ports, unsigned long *untagged);
/linux-4.4.14/Documentation/devicetree/bindings/ata/
Dmarvell.txt7 - nr-ports : Number of SATA ports in use.
21 nr-ports = <2>;
Dahci-platform.txt33 - ports-implemented : Mask that indicates which ports that the HBA supports
/linux-4.4.14/drivers/ssb/
Ddriver_extif.c55 int ssb_extif_serial_init(struct ssb_extif *extif, struct ssb_serial_port *ports) in ssb_extif_serial_init() argument
70 if (serial_exists(uart_regs) && ports) { in ssb_extif_serial_init()
74 ports[i].regs = uart_regs; in ssb_extif_serial_init()
75 ports[i].irq = 2; in ssb_extif_serial_init()
76 ports[i].baud_base = 13500000; in ssb_extif_serial_init()
77 ports[i].reg_shift = 0; in ssb_extif_serial_init()
Ddriver_chipcommon.c602 struct ssb_serial_port *ports) in ssb_chipco_serial_init() argument
689 ports[i].regs = uart_regs; in ssb_chipco_serial_init()
690 ports[i].irq = irq; in ssb_chipco_serial_init()
691 ports[i].baud_base = baud_base; in ssb_chipco_serial_init()
692 ports[i].reg_shift = 0; in ssb_chipco_serial_init()
/linux-4.4.14/arch/arm/boot/dts/
Dhip04.dtsi350 ports {
354 /* replicator output ports */
386 ports {
390 /* replicator output ports */
422 ports {
426 /* replicator output ports */
458 ports {
462 /* replicator output ports */
494 ports {
507 /* funnel input ports */
[all …]
Dr8a7779-marzen.dts76 ports {
108 ports {
141 ports {
Dimx7d.dtsi159 ports {
163 /* replicator output ports */
195 ports {
222 ports {
226 /* funnel input ports */
249 /* the other input ports are not connect to anything */
259 ports {
263 /* funnel input ports */
288 /* the other input ports are not connect to anything */
Darmada-388.dtsi42 * SATA ports. So we can reuse the dtsi of the Armada 385, override the pinctrl
44 * the 2 other ports.
Dat91-ariag25.dts127 * Change to "okay" if you need additional serial ports
161 num-ports = <3>;
Dkirkwood-ns2lite.dts19 nr-ports = <1>;
Dkirkwood-ns2.dts20 nr-ports = <1>;
Dkirkwood-is2.dts20 nr-ports = <1>;
Dkirkwood-sheevaplug-esata.dts20 nr-ports = <2>;
Dkirkwood-ns2max.dts20 nr-ports = <2>;
/linux-4.4.14/Documentation/devicetree/bindings/serial/
Dsamsung_uart.txt9 - "samsung,s3c2410-uart" - compatible with ports present on S3C2410 SoC,
10 - "samsung,s3c2412-uart" - compatible with ports present on S3C2412 SoC,
11 - "samsung,s3c2440-uart" - compatible with ports present on S3C2440 SoC,
12 - "samsung,s3c6400-uart" - compatible with ports present on S3C6400 SoC,
13 - "samsung,s5pv210-uart" - compatible with ports present on S5PV210 SoC.
/linux-4.4.14/arch/cris/arch-v10/kernel/
Ddebugport.c41 struct dbg_port ports[]= variable
107 &ports[0];
109 &ports[1];
111 &ports[2];
113 &ports[3];
120 &ports[0];
122 &ports[1];
124 &ports[2];
126 &ports[3];
384 port = &ports[co->index]; in console_setup()
/linux-4.4.14/Documentation/hwmon/
Dit877 Addresses scanned: from Super I/O config space (8 I/O ports)
11 Addresses scanned: from Super I/O config space (8 I/O ports)
15 Addresses scanned: from Super I/O config space (8 I/O ports)
19 Addresses scanned: from Super I/O config space (8 I/O ports)
23 Addresses scanned: from Super I/O config space (8 I/O ports)
27 Addresses scanned: from Super I/O config space (8 I/O ports)
31 Addresses scanned: from Super I/O config space (8 I/O ports)
35 Addresses scanned: from Super I/O config space (8 I/O ports)
39 Addresses scanned: from Super I/O config space (8 I/O ports)
43 Addresses scanned: from Super I/O config space (8 I/O ports)
[all …]
/linux-4.4.14/drivers/tty/serial/8250/
D8250_acorn.c37 int ports[MAX_PORTS]; member
77 info->ports[i] = serial8250_register_8250_port(&uart); in serial_card_probe()
91 if (info->ports[i] > 0) in serial_card_remove()
92 serial8250_unregister_port(info->ports[i]); in serial_card_remove()
DKconfig11 serial ports. The standard answer is Y. People who might say N
21 non-standard serial ports, since the configuration information will
33 modems and similar devices connecting to the standard serial ports.
116 Note that serial ports on NetMos 9835 Multi-I/O cards are handled
139 int "Maximum number of 8250/16550 serial ports"
143 Set this to the number of serial ports you want the driver
144 to support. This includes any ports discovered via ACPI or
145 PCI enumeration and any ports that may be added at run-time
149 int "Number of 8250/16550 serial ports to register at runtime"
154 Set this to the maximum number of serial ports you want
[all …]
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_dsi.c295 for_each_dsi_port(port, intel_dsi->ports) { in bxt_dsi_device_ready()
342 for_each_dsi_port(port, intel_dsi->ports) { in vlv_dsi_device_ready()
391 for_each_dsi_port(port, intel_dsi->ports) { in intel_dsi_port_enable()
400 if (intel_dsi->ports == ((1 << PORT_A) | (1 << PORT_C))) { in intel_dsi_port_enable()
422 for_each_dsi_port(port, intel_dsi->ports) { in intel_dsi_port_disable()
442 for_each_dsi_port(port, intel_dsi->ports) in intel_dsi_enable()
446 for_each_dsi_port(port, intel_dsi->ports) in intel_dsi_enable()
452 for_each_dsi_port(port, intel_dsi->ports) in intel_dsi_enable()
503 for_each_dsi_port(port, intel_dsi->ports) in intel_dsi_pre_enable()
532 for_each_dsi_port(port, intel_dsi->ports) in intel_dsi_pre_disable()
[all …]
/linux-4.4.14/drivers/usb/gadget/function/
Du_serial.c126 } ports[MAX_U_SERIAL_PORTS]; variable
728 mutex_lock(&ports[port_num].lock); in gs_open()
729 port = ports[port_num].port; in gs_open()
751 mutex_unlock(&ports[port_num].lock); in gs_open()
1032 mutex_lock(&ports[port_num].lock); in gs_port_alloc()
1033 if (ports[port_num].port) { in gs_port_alloc()
1058 ports[port_num].port = port; in gs_port_alloc()
1060 mutex_unlock(&ports[port_num].lock); in gs_port_alloc()
1088 mutex_lock(&ports[port_num].lock); in gserial_free_line()
1089 if (WARN_ON(!ports[port_num].port)) { in gserial_free_line()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/usb/
Dusb3503.txt10 - disabled-ports: Should specify the ports unused.
13 Do not describe this property if all ports have to be enabled.
32 disabled-ports = <2 3>;
Datmel-usb.txt15 - num-ports: Number of ports.
27 num-ports = <2>;
/linux-4.4.14/drivers/tty/
Dpty.c381 struct tty_port *ports[2]; in pty_common_install() local
389 ports[0] = kmalloc(sizeof **ports, GFP_KERNEL); in pty_common_install()
390 ports[1] = kmalloc(sizeof **ports, GFP_KERNEL); in pty_common_install()
391 if (!ports[0] || !ports[1]) in pty_common_install()
431 tty_port_init(ports[0]); in pty_common_install()
432 tty_port_init(ports[1]); in pty_common_install()
433 tty_buffer_set_limit(ports[0], 8192); in pty_common_install()
434 tty_buffer_set_limit(ports[1], 8192); in pty_common_install()
435 o_tty->port = ports[0]; in pty_common_install()
436 tty->port = ports[1]; in pty_common_install()
[all …]
Dmxser.c275 struct mxser_port ports[MXSER_PORTS_PER_BOARD]; member
1012 info = &mxser_boards[line / MXSER_PORTS_PER_BOARD].ports[line % MXSER_PORTS_PER_BOARD]; in mxser_open()
1504 if (mxser_boards[i].ports[j].ioaddr) in mxser_ioctl_special()
1517 ip = &mxser_boards[i].ports[j]; in mxser_ioctl_special()
1564 ip = &mxser_boards[i].ports[j]; in mxser_ioctl_special()
2248 port = &brd->ports[i]; in mxser_interrupt()
2358 brd->vector >= brd->ports[0].ioaddr && in mxser_overlapping_vector()
2359 brd->vector < brd->ports[0].ioaddr + 8 * brd->info->nports; in mxser_overlapping_vector()
2378 release_region(brd->ports[0].ioaddr, 8 * brd->info->nports); in mxser_release_ISA_res()
2390 brd->ports[0].max_baud); in mxser_initbrd()
[all …]
Dmoxa.c112 struct moxa_port *ports; member
321 p = moxa_boards[i].ports; in moxa_ioctl()
350 p = moxa_boards[i].ports; in moxa_ioctl()
676 port = brd->ports; in moxa_load_code()
694 port = brd->ports; in moxa_load_code()
841 brd->ports = kcalloc(MAX_PORTS_PER_BOARD, sizeof(*brd->ports), in moxa_init_board()
843 if (brd->ports == NULL) { in moxa_init_board()
849 for (i = 0, p = brd->ports; i < MAX_PORTS_PER_BOARD; i++, p++) { in moxa_init_board()
893 tty_port_register_device(&brd->ports[i].port, moxaDriver, in moxa_init_board()
899 tty_port_destroy(&brd->ports[i].port); in moxa_init_board()
[all …]
Dmips_ejtag_fdc.c150 struct mips_ejtag_fdc_tty_port ports[NUM_TTY_CHANNELS]; member
427 dport = &priv->ports[chan]; in mips_ejtag_fdc_put_chan()
523 dport = &priv->ports[priv->xmit_next]; in mips_ejtag_fdc_put()
573 dport = &priv->ports[channel]; in mips_ejtag_fdc_handle()
768 tty->driver_data = &priv->ports[tty->index]; in mips_ejtag_fdc_tty_install()
769 return tty_port_install(&priv->ports[tty->index].port, driver, tty); in mips_ejtag_fdc_tty_install()
943 dport = &priv->ports[nport]; in mips_ejtag_fdc_tty_probe()
1044 dport = &priv->ports[nport]; in mips_ejtag_fdc_tty_probe()
/linux-4.4.14/Documentation/devicetree/bindings/
Dgraph.txt14 have multiple specifiable ports, each of which can be linked to one or more
15 ports of other devices.
23 Here the ports describe data interfaces, and the links between them are
27 Organisation of ports and endpoints
66 All 'port' nodes can be grouped under an optional 'ports' node, which
73 ports {
95 containing ports.
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dsdio.h118 a->mpa_tx.ports |= (1<<(a->mpa_tx.pkt_cnt)); \
120 a->mpa_tx.ports |= (1<<(a->mpa_tx.pkt_cnt+1+ \
134 a->mpa_tx.ports = 0; \
153 a->mpa_rx.ports = 0; \
163 u32 ports; member
174 u32 ports; member
661 card->mpa_rx.ports |= (1 << port); in mp_rx_aggr_setup()
664 card->mpa_rx.ports |= 1 << (card->mpa_rx.pkt_cnt); in mp_rx_aggr_setup()
666 card->mpa_rx.ports |= 1 << (card->mpa_rx.pkt_cnt + 1); in mp_rx_aggr_setup()
/linux-4.4.14/Documentation/sound/alsa/
Demu10k1-jack.txt29 This will give you 16 input ports and 16 output ports.
31 The 16 output ports map onto the 16 FX buses (or the first 16 of 64, for the
35 The 16 input ports are connected to the 16 physical inputs. Contrary to
45 the second and third input ports are wired to the center/LFE output. You will
49 ports to FXBUS2 (multitrack recording input) and EXTOUT (physical output)
Dserial-u16550.txt29 Usage example for Roland SoundCanvas with 4 MIDI ports:
58 Out 3, and midiCnD8 to Out 4. Thus midiCnD15 sends the data to all 4 ports.
59 As a special case, midiCnD0 also sends to all ports, since it is not useful
60 to send the data to no ports. M/B mode has extra overhead to select the MIDI
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/
Dfman.txt18 Due to the fact that the FMan is an aggregation of sub-engines (ports, MACs,
151 The Frame Manager (FMan) supports several types of hardware ports:
163 - "fsl,fman-v2-port-oh" for FManV2 OH ports
164 - "fsl,fman-v2-port-rx" for FManV2 RX ports
165 - "fsl,fman-v2-port-tx" for FManV2 TX ports
166 - "fsl,fman-v3-port-oh" for FManV3 OH ports
167 - "fsl,fman-v3-port-rx" for FManV3 RX ports
168 - "fsl,fman-v3-port-tx" for FManV3 TX ports
180 FMan memory map). The first 4 KB in the FMan hardware ports
183 ports.
[all …]
/linux-4.4.14/include/uapi/linux/netfilter/
Dxt_multiport.h18 __u16 ports[XT_MULTI_PORTS]; /* Ports */ member
24 __u16 ports[XT_MULTI_PORTS]; /* Ports */ member
/linux-4.4.14/sound/drivers/
Dmtpav.c150 struct mtpav_port ports[NUMPORTS]; /* all ports including computer, adat and bc */ member
326 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_output_write()
356 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_input_open()
374 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_input_close()
392 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_input_trigger()
420 struct mtpav_port *portp = &chip->ports[p]; in snd_mtpav_output_timer()
445 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_output_open()
461 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_output_close()
477 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_output_trigger()
509 portp = &mcrd->ports[mcrd->inmidiport]; in snd_mtpav_inmidi_process()
[all …]
/linux-4.4.14/drivers/tty/serial/
Drp2.c193 struct rp2_uart_port *ports; member
205 #define RP_CAP(ports, smpte) (((ports) << 8) | ((smpte) << 0)) argument
208 int *ports, int *smpte) in rp2_decode_cap() argument
210 *ports = id->driver_data >> 8; in rp2_decode_cap()
496 rp2_ch_interrupt(&card->ports[ch]); in rp2_asic_interrupt()
666 uart_remove_one_port(&rp2_uart_driver, &card->ports[i].port); in rp2_remove_ports()
685 struct rp2_uart_port *rp = &card->ports[i]; in rp2_fw_cb()
744 struct rp2_uart_port *ports; in rp2_probe() local
780 ports = devm_kzalloc(&pdev->dev, sizeof(*ports) * card->n_ports, in rp2_probe()
782 if (!ports) in rp2_probe()
[all …]
DKconfig147 properly when DMA is enabled. Make sure that ports where
247 provide all of these ports, depending on how the serial port
263 Select the number of available UART ports for the Samsung S3C
281 Allow selection of the S3C24XX on-board serial ports for use as
298 provide all of these ports, depending on how the serial port
320 provide all of these ports, depending on how the serial port
377 for serial ports in newer DECstation systems. These include the
444 can enable its onboard serial ports by enabling this option.
507 This driver supports the built-in serial ports of the Blackfin family
626 This driver supports the Zilog8530 serial ports found on many Sparc
[all …]
Dbcm63xx_uart.c38 static struct uart_port ports[BCM63XX_NR_UARTS]; variable
704 port = &ports[co->index]; in bcm_console_write()
742 port = &ports[co->index]; in bcm_console_setup()
822 port = &ports[pdev->id]; in bcm_uart_probe()
857 ports[pdev->id].membase = NULL; in bcm_uart_probe()
871 ports[pdev->id].membase = NULL; in bcm_uart_remove()
/linux-4.4.14/Documentation/devicetree/bindings/display/imx/
Dfsl-imx-drm.txt9 - ports: Should contain a list of phandles pointing to display interface ports
16 ports = <&ipu_di0>;
35 ports 2 and 3 should correspond to DI0 and DI1, respectively.
/linux-4.4.14/arch/um/drivers/
Dport_kern.c126 static LIST_HEAD(ports);
135 list_for_each(ele, &ports) { in port_work_proc()
167 list_for_each(ele, &ports) { in port_data()
201 list_add(&port->list, &ports); in port_data()
297 list_for_each(ele, &ports) { in free_port()
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Dcoresight.txt35 * port or ports: The representation of the component's port
46 * port or ports: same as above.
100 ports {
104 /* replicator output ports */
136 ports {
149 /* funnel input ports */
/linux-4.4.14/drivers/net/ethernet/cisco/enic/
Denic_clsf.c38 data.u.ipv4.src_port = ntohs(keys->ports.src); in enic_addfltr_5t()
39 data.u.ipv4.dst_port = ntohs(keys->ports.dst); in enic_addfltr_5t()
163 tpos->keys.ports.ports == k->ports.ports && in htbl_key_search()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_ftp.c56 static unsigned short ports[IP_VS_APP_MAX_PORTS] = {21, 0}; variable
57 module_param_array(ports, ushort, &ports_count, 0444);
58 MODULE_PARM_DESC(ports, "Ports to monitor for FTP control commands");
451 if (!ports[i]) in __ip_vs_ftp_init()
453 ret = register_ip_vs_app_inc(ipvs, app, app->protocol, ports[i]); in __ip_vs_ftp_init()
457 app->name, i, ports[i]); in __ip_vs_ftp_init()
Dip_vs_sh.c283 __be16 _ports[2], *ports; in ip_vs_sh_get_port() local
294 ports = skb_header_pointer(skb, iph->len, sizeof(_ports), in ip_vs_sh_get_port()
296 if (unlikely(!ports)) in ip_vs_sh_get_port()
300 return ports[0]; in ip_vs_sh_get_port()
302 return ports[1]; in ip_vs_sh_get_port()
Dip_vs_proto_udp.c39 __be16 _ports[2], *ports = NULL; in udp_conn_schedule() local
45 ports = &uh->source; in udp_conn_schedule()
47 ports = skb_header_pointer( in udp_conn_schedule()
51 if (!ports) { in udp_conn_schedule()
59 &iph->daddr, ports[1]); in udp_conn_schedule()
62 &iph->saddr, ports[0]); in udp_conn_schedule()
Dip_vs_proto_sctp.c20 __be16 _ports[2], *ports = NULL; in sctp_conn_schedule() local
30 ports = &sh->source; in sctp_conn_schedule()
33 ports = skb_header_pointer( in sctp_conn_schedule()
37 if (!ports) { in sctp_conn_schedule()
45 &iph->daddr, ports[1]); in sctp_conn_schedule()
48 &iph->saddr, ports[0]); in sctp_conn_schedule()
Dip_vs_proto_tcp.c42 __be16 _ports[2], *ports = NULL; in tcp_conn_schedule() local
53 ports = &th->source; in tcp_conn_schedule()
56 ports = skb_header_pointer( in tcp_conn_schedule()
60 if (!ports) { in tcp_conn_schedule()
70 &iph->daddr, ports[1]); in tcp_conn_schedule()
73 &iph->saddr, ports[0]); in tcp_conn_schedule()
/linux-4.4.14/Documentation/ABI/testing/
Dconfigfs-usb-gadget-midi11 in_ports - number of MIDI input ports
12 out_ports - number of MIDI output ports
Dsysfs-bus-coresight-devices-funnel5 Description: (RW) Enables the slave ports and defines the hold time of the
6 slave ports.
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_dpi.c200 struct device_node *ports, *port; in of_graph_get_port_by_reg() local
202 ports = of_get_child_by_name(parent, "ports"); in of_graph_get_port_by_reg()
203 if (ports) in of_graph_get_port_by_reg()
204 parent = ports; in of_graph_get_port_by_reg()
208 of_node_put(ports); in of_graph_get_port_by_reg()
/linux-4.4.14/drivers/usb/host/
Dohci-at91.c43 u8 ports; /* number of ports on root hub */ member
204 ohci->num_ports = board->ports; in usb_hcd_at91_probe()
462 u32 ports; in ohci_hcd_at91_drv_probe() local
478 if (!of_property_read_u32(np, "num-ports", &ports)) in ohci_hcd_at91_drv_probe()
479 pdata->ports = ports; in ohci_hcd_at91_drv_probe()
486 if (i >= pdata->ports) { in ohci_hcd_at91_drv_probe()
519 if (i >= pdata->ports) in ohci_hcd_at91_drv_probe()
Dehci-hub.c614 int ports, i, retval = 1; in ehci_hub_status_data() local
620 ports = HCS_N_PORTS (ehci->hcs_params); in ehci_hub_status_data()
621 if (ports > 7) { in ehci_hub_status_data()
652 for (i = 0; i < ports; i++) { in ehci_hub_status_data()
692 int ports = HCS_N_PORTS (ehci->hcs_params); in ehci_hub_descriptor() local
699 desc->bNbrPorts = ports; in ehci_hub_descriptor()
700 temp = 1 + (ports / 8); in ehci_hub_descriptor()
870 int ports = HCS_N_PORTS (ehci->hcs_params); in ehci_hub_control() local
899 if (!wIndex || wIndex > ports) in ehci_hub_control()
987 if (!wIndex || wIndex > ports) in ehci_hub_control()
[all …]
Dxhci-hub.c155 struct usb_hub_descriptor *desc, int ports) in xhci_common_hub_descriptor() argument
162 desc->bNbrPorts = ports; in xhci_common_hub_descriptor()
181 int ports; in xhci_usb2_hub_descriptor() local
187 ports = xhci->num_usb2_ports; in xhci_usb2_hub_descriptor()
189 xhci_common_hub_descriptor(xhci, desc, ports); in xhci_usb2_hub_descriptor()
191 temp = 1 + (ports / 8); in xhci_usb2_hub_descriptor()
198 for (i = 0; i < ports; i++) { in xhci_usb2_hub_descriptor()
225 for (i = 0; i < (ports + 1 + 7) / 8; i++) in xhci_usb2_hub_descriptor()
234 int ports; in xhci_usb3_hub_descriptor() local
239 ports = xhci->num_usb3_ports; in xhci_usb3_hub_descriptor()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/net/
Dhisilicon-hns-nic.txt11 are called debug ports.
15 In NIC mode of DSAF, all 6 PHYs are taken as ethernet ports to the CPU. The
25 In Switch mode of DSAF, all 6 PHYs are taken as physical ports connect to a
Dmarvell-pp2.txt16 The ethernet ports are represented by subnodes. At least one port is
22 - port-id: should be '0' or '1' for ethernet ports, and '2' for the
Dbrcm,bcm7445-switch-v4.0.txt30 - brcm,num-rgmii-ports: specify the maximum number of RGMII interfaces supported
61 brcm,num-rgmii-ports = <2>;
Dcavium-pip.txt5 several interfaces, and each interface may have several ports. These
6 ports might be an individual Ethernet PHY.
/linux-4.4.14/arch/mips/alchemy/common/
Dplatform.c106 struct plat_serial8250_port *ports; in alchemy_setup_uarts() local
118 ports = kzalloc(s * (c + 1), GFP_KERNEL); in alchemy_setup_uarts()
119 if (!ports) { in alchemy_setup_uarts()
123 memcpy(ports, au1x00_uart_data[ctype], s * c); in alchemy_setup_uarts()
124 au1xx0_uart_device.dev.platform_data = ports; in alchemy_setup_uarts()
128 ports[s].uartclk = uartclk; in alchemy_setup_uarts()
/linux-4.4.14/net/ipv6/
Dinet6_hashtables.c61 const __portpair ports = INET_COMBINED_PORTS(sport, hnum); in __inet6_lookup_established() local
75 if (!INET6_MATCH(sk, net, saddr, daddr, ports, dif)) in __inet6_lookup_established()
80 if (unlikely(!INET6_MATCH(sk, net, saddr, daddr, ports, dif))) { in __inet6_lookup_established()
203 const __portpair ports = INET_COMBINED_PORTS(inet->inet_dport, lport); in __inet6_check_established() local
219 if (likely(INET6_MATCH(sk2, net, saddr, daddr, ports, dif))) { in __inet6_check_established()
Dxfrm6_policy.c169 __be16 *ports; in _decode_session6() local
172 ports = (__be16 *)(nh + offset); in _decode_session6()
173 fl6->fl6_sport = ports[!!reverse]; in _decode_session6()
174 fl6->fl6_dport = ports[!reverse]; in _decode_session6()
/linux-4.4.14/Documentation/devicetree/bindings/display/rockchip/
Drockchip-drm.txt10 - ports: Should contain a list of phandles pointing to display interface port
18 ports = <&vopl_out>, <&vopb_out>;
Ddw_hdmi-rockchip.txt11 - ports: contain a port node with endpoint definitions as defined in
32 ports {
/linux-4.4.14/Documentation/devicetree/bindings/display/ti/
Dti,omap-dss.txt28 video ports is described in Documentation/devicetree/bindings/graph.txt,
29 and the properties for the ports and endpoints for each encoder are
32 The video ports are used to describe the connections to external hardware, like
106 ports {
151 ports {
Dti,tfp410.txt21 ports {
Dti,opa362.txt17 ports {
Dti,tpd12s015.txt24 ports {
/linux-4.4.14/sound/usb/
Dmidi.c163 } ports[0x10]; member
175 } ports[0x10]; member
229 struct usbmidi_in_port *port = &ep->ports[portidx]; in snd_usbmidi_input_data()
445 struct usbmidi_in_port *port = &ep->ports[cable]; in snd_usbmidi_maudio_broken_running_status_input()
660 struct usbmidi_out_port *port = &ep->ports[p]; in snd_usbmidi_standard_output()
742 struct snd_rawmidi_substream *substream = ep->ports[0].substream; in snd_usbmidi_akai_output()
744 if (!ep->ports[0].active) in snd_usbmidi_akai_output()
755 ep->ports[0].active = 0; in snd_usbmidi_akai_output()
790 ep->ports[0].active = 0; in snd_usbmidi_akai_output()
823 if (!ep->ports[0].active) in snd_usbmidi_novation_output()
[all …]
/linux-4.4.14/drivers/bcma/
Dscan.c281 u8 ports[2], wrappers[2]; in bcma_get_next_core() local
299 ports[0] = (cib & SCAN_CIB_NMP) >> SCAN_CIB_NMP_SHIFT; in bcma_get_next_core()
300 ports[1] = (cib & SCAN_CIB_NSP) >> SCAN_CIB_NSP_SHIFT; in bcma_get_next_core()
307 (ports[1] == 0)) { in bcma_get_next_core()
347 for (i = 0; i < ports[0]; i++) { in bcma_get_next_core()
372 for (i = 0; i < ports[1]; i++) { in bcma_get_next_core()
407 u8 hack = (ports[1] == 1) ? 0 : 1; in bcma_get_next_core()
Ddriver_chipcommon.c324 struct bcma_serial_port *ports = cc->serial_ports; in bcma_chipco_serial_init() local
355 ports[i].regs = cc->core->io_addr + BCMA_CC_UART0_DATA + in bcma_chipco_serial_init()
357 ports[i].irq = irq; in bcma_chipco_serial_init()
358 ports[i].baud_base = baud_base; in bcma_chipco_serial_init()
359 ports[i].reg_shift = 0; in bcma_chipco_serial_init()
/linux-4.4.14/drivers/usb/core/
Dport.c333 peer = peer_hub->ports[port1 - 1]; in match_location()
350 struct usb_port *port_dev = hub->ports[port1 - 1], *peer; in find_and_link_peer()
381 upstream = parent_hub->ports[hdev->portnum - 1]; in find_and_link_peer()
396 peer = peer_hub->ports[port1 - 1]; in find_and_link_peer()
416 hub->ports[port1 - 1] = port_dev; in usb_hub_create_port_device()
480 struct usb_port *port_dev = hub->ports[port1 - 1]; in usb_hub_remove_port_device()
Dhub.c435 struct usb_port *port_dev = hub->ports[port1 - 1]; in set_port_led()
918 dev_dbg(&hub->ports[port1 - 1]->dev, in hub_usb3_port_disable()
941 dev_warn(&hub->ports[port1 - 1]->dev, in hub_usb3_port_disable()
949 struct usb_port *port_dev = hub->ports[port1 - 1]; in hub_port_disable()
974 dev_dbg(&hub->ports[port1 - 1]->dev, "logical disconnect\n"); in hub_port_logical_disconnect()
1129 struct usb_port *port_dev = hub->ports[port1 - 1]; in hub_activate()
1310 if (hub->ports[i]->child) in hub_quiesce()
1311 usb_disconnect(&hub->ports[i]->child); in hub_quiesce()
1328 pm_runtime_barrier(&hub->ports[i]->dev); in hub_pm_barrier_for_all_ports()
1409 hub->ports = kzalloc(maxchild * sizeof(struct usb_port *), GFP_KERNEL); in hub_configure()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/display/bridge/
Dadi,adv7123.txt17 The ADV7123 has two video ports. Their connections are modeled using the OF
30 ports {
Dthine,thc63lvdm83d.txt17 The THC63LVDM83D has two video ports. Their connections are modeled using the
30 ports {
Dadi,adv7511.txt48 The ADV7511 has two video ports. Their connections are modelled using the OF
70 ports {
Dtda998x.txt17 - video-ports: 24 bits value which defines how the video controller
/linux-4.4.14/Documentation/networking/
Dswitchdev.txt51                              front-panel ports                                
102 useful for dynamically-named ports where the device names its ports based on
104 into 4 10G ports, resulting in 4 port netdevs, the device can give a unique
123 The switch ID is used to locate ports on a switch and to know if aggregated
124 ports belong to the same switch.
141 The port netdevs representing the physical switch ports can be organized into
143 router port, used to offload L3 forwarding. Two or more ports can be bonded
144 together to form a LAG. Two or more ports (or LAGs) can be bridged to bridge
146 tunnels can be built on ports. These constructs are built using standard Linux
262 bridge driver maintains the STP state for ports, and will notify the switch
[all …]
DPLIP.txt14 parallel ports to appear as a IP network interface.
62 share parallel ports between PLIP and other services.
118 bi-directional parallel ports, rather than output-only ``printer''
119 ports. This allows byte-wide transfers and avoids reconstructing
158 bi-directional parallel ports, rather than output-only ``printer''
159 ports. This allows byte-wide transfers, and avoids reconstructing
161 ``printer'' (as opposed to ``parallel'') ports or when the machine
/linux-4.4.14/arch/cris/arch-v32/drivers/
Dsync_serial.c263 static struct sync_port ports[] = { variable
292 #define NBR_PORTS ARRAY_SIZE(ports)
329 struct sync_port *port = &ports[portnbr]; in initialize_port()
442 if (dev < 0 || dev >= NBR_PORTS || !ports[dev].enabled) { in sync_serial_open()
446 port = &ports[dev]; in sync_serial_open()
546 if (dev < 0 || dev >= NBR_PORTS || !ports[dev].enabled) { in sync_serial_release()
550 port = &ports[dev]; in sync_serial_release()
567 port = &ports[dev]; in sync_serial_poll()
613 if (dev < 0 || dev >= NBR_PORTS || !ports[dev].enabled) { in __sync_serial_read()
617 port = &ports[dev]; in __sync_serial_read()
[all …]
/linux-4.4.14/drivers/bus/
Darm-cci.c1633 static struct cci_ace_port *ports; variable
1689 ace_match = ports[i].type == type; in __cci_ace_get_port()
1690 if (ace_match && cci_portn == ports[i].dn) in __cci_ace_get_port()
1755 void __iomem *base = ports[port].base; in cci_port_control()
1939 if (port >= nb_cci_ports || ports[port].type == ACE_INVALID_PORT) in __cci_control_port_by_index()
1947 if (ports[port].type == ACE_PORT) in __cci_control_port_by_index()
1976 ports = kcalloc(nb_cci_ports, sizeof(*ports), GFP_KERNEL); in cci_probe_ports()
1977 if (!ports) in cci_probe_ports()
2004 ports[i].base = ioremap(res.start, resource_size(&res)); in cci_probe_ports()
2005 ports[i].phys = res.start; in cci_probe_ports()
[all …]
/linux-4.4.14/drivers/pinctrl/
Dpinctrl-tb10x.c500 struct tb10x_port ports[TB10X_PORTS]; member
509 if (state->ports[port].count) in tb10x_pinctrl_set_config()
512 state->ports[port].mode = mode; in tb10x_pinctrl_set_config()
651 } else if (state->ports[port].count in tb10x_gpio_request_enable()
652 && (state->ports[port].mode == mode)) { in tb10x_gpio_request_enable()
716 if (state->ports[grp->port].count in tb10x_pctl_set_mux()
717 && (state->ports[grp->port].mode != grp->mode)) { in tb10x_pctl_set_mux()
734 state->ports[grp->port].count++; in tb10x_pctl_set_mux()
796 state->ports[i].mode = tb10x_pinctrl_get_config(state, i); in tb10x_pinctrl_probe()
Dpinctrl-coh901.c71 struct u300_gpio_port ports[U300_GPIO_NUM_PORTS]; member
433 struct u300_gpio_port *port = &gpio->ports[d->hwirq >> 3]; in u300_gpio_irq_type()
470 struct u300_gpio_port *port = &gpio->ports[d->hwirq >> 3]; in u300_gpio_irq_enable()
510 struct u300_gpio_port *port = &gpio->ports[irq - chip->base]; in u300_gpio_irq_handler()
705 struct u300_gpio_port *port = &gpio->ports[portno]; in u300_gpio_probe()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_dp_mst_topology.c379 repmsg->u.link_addr.ports[i].input_port = 1; in drm_dp_sideband_parse_link_address()
381 repmsg->u.link_addr.ports[i].peer_device_type = (raw->msg[idx] >> 4) & 0x7; in drm_dp_sideband_parse_link_address()
382 repmsg->u.link_addr.ports[i].port_number = (raw->msg[idx] & 0xf); in drm_dp_sideband_parse_link_address()
387 repmsg->u.link_addr.ports[i].mcs = (raw->msg[idx] >> 7) & 0x1; in drm_dp_sideband_parse_link_address()
388 repmsg->u.link_addr.ports[i].ddps = (raw->msg[idx] >> 6) & 0x1; in drm_dp_sideband_parse_link_address()
389 if (repmsg->u.link_addr.ports[i].input_port == 0) in drm_dp_sideband_parse_link_address()
390 repmsg->u.link_addr.ports[i].legacy_device_plug_status = (raw->msg[idx] >> 5) & 0x1; in drm_dp_sideband_parse_link_address()
394 if (repmsg->u.link_addr.ports[i].input_port == 0) { in drm_dp_sideband_parse_link_address()
395 repmsg->u.link_addr.ports[i].dpcd_revision = (raw->msg[idx]); in drm_dp_sideband_parse_link_address()
399 memcpy(repmsg->u.link_addr.ports[i].peer_guid, &raw->msg[idx], 16); in drm_dp_sideband_parse_link_address()
[all …]
/linux-4.4.14/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c221 csk->cdev->ports[csk->port_id], in send_act_open_req()
246 csk->cdev->ports[csk->port_id], in send_act_open_req()
267 cxgb4_l2t_send(csk->cdev->ports[csk->port_id], skb, csk->l2t); in send_act_open_req()
319 csk->cdev->ports[csk->port_id], in send_act_open_req6()
342 csk->cdev->ports[csk->port_id], in send_act_open_req6()
354 cxgb4_l2t_send(csk->cdev->ports[csk->port_id], skb, csk->l2t); in send_act_open_req6()
388 cxgb4_ofld_send(csk->cdev->ports[csk->port_id], skb); in abort_arp_failure()
423 cxgb4_l2t_send(csk->cdev->ports[csk->port_id], skb, csk->l2t); in send_abort_req()
440 cxgb4_ofld_send(csk->cdev->ports[csk->port_id], skb); in send_abort_rpl()
470 cxgb4_ofld_send(csk->cdev->ports[csk->port_id], skb); in send_rx_credits()
[all …]
/linux-4.4.14/drivers/staging/speakup/
DTODO12 ports. Currently, we communicate directly with the hardware
13 ports. This however conflicts with the standard serial port drivers,
15 such as PCI-based serial ports. Also, there is not a way we can
/linux-4.4.14/drivers/rapidio/
DKconfig20 for Input ports and Output ports should be disabled. When
22 ports for Input/Output direction to allow other traffic
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dport.c549 max_port_p_one = find_first_bit(actv_ports.ports, dev->caps.num_ports) + in mlx4_get_slave_num_gids()
550 bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1; in mlx4_get_slave_num_gids()
555 bitmap_zero(exclusive_ports.ports, dev->caps.num_ports); in mlx4_get_slave_num_gids()
556 set_bit(i - 1, exclusive_ports.ports); in mlx4_get_slave_num_gids()
586 max_port_p_one = find_first_bit(actv_ports.ports, dev->caps.num_ports) + in mlx4_get_base_gid_ix()
587 bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1; in mlx4_get_base_gid_ix()
592 bitmap_zero(exclusive_ports.ports, dev->caps.num_ports); in mlx4_get_base_gid_ix()
593 set_bit(i - 1, exclusive_ports.ports); in mlx4_get_base_gid_ix()
659 if (test_bit(i, actv_ports.ports)) { in mlx4_reset_roce_gids()
675 if (test_bit(i, actv_ports.ports)) { in mlx4_reset_roce_gids()
[all …]
/linux-4.4.14/Documentation/arm/Samsung-S3C24XX/
DUSB-Host.txt44 register, so if both ports are to be used for the host, then it is
60 The ports are numbered 0 and 1.
76 an port. The ports argument is a bitmask of 1 bit per port,
/linux-4.4.14/net/dsa/
Dtag_trailer.c85 if (source_port >= DSA_MAX_PORTS || ds->ports[source_port] == NULL) in trailer_rcv()
90 skb->dev = ds->ports[source_port]; in trailer_rcv()
Dtag_brcm.c130 if (source_port >= DSA_MAX_PORTS || ds->ports[source_port] == NULL) in brcm_tag_rcv()
143 skb->dev = ds->ports[source_port]; in brcm_tag_rcv()
Dtag_dsa.c113 if (source_port >= DSA_MAX_PORTS || ds->ports[source_port] == NULL) in dsa_rcv()
162 skb->dev = ds->ports[source_port]; in dsa_rcv()
Dtag_edsa.c126 if (source_port >= DSA_MAX_PORTS || ds->ports[source_port] == NULL) in edsa_rcv()
181 skb->dev = ds->ports[source_port]; in edsa_rcv()
/linux-4.4.14/net/hsr/
Dhsr_main.h158 struct list_head ports; member
170 list_for_each_entry_rcu((port), &(hsr)->ports, port_list)
/linux-4.4.14/Documentation/devicetree/bindings/media/xilinx/
Dxlnx,video.txt22 - ports: Video port, using the DT bindings defined in ../video-interfaces.txt.
36 ports {
Dxlnx,v-tpg.txt34 synthesized with two ports and forbidden when synthesized with one port.
46 ports {
/linux-4.4.14/Documentation/devicetree/bindings/media/
Dsamsung-fimc.txt38 ports A and B into high impedance state, especially the CAMCLK clock output
93 'parallel-ports' node
97 input ports. It includes camera A and camera B inputs. 'reg' property in the
109 I2C0) nodes and linked to a port node in the csis or the parallel-ports node,
173 /* parallel camera ports */
174 parallel-ports {
/linux-4.4.14/arch/ia64/sn/kernel/sn2/
Dsn_hwperf.c277 sz = op->ports * sizeof(struct sn_hwperf_port_info); in sn_hwperf_get_nearest_node_objdata()
288 for (router=NULL, j=0; j < op->ports; j++) { in sn_hwperf_get_nearest_node_objdata()
311 sz = router->ports * sizeof(struct sn_hwperf_port_info); in sn_hwperf_get_nearest_node_objdata()
320 for (j=0; j < router->ports; j++) { in sn_hwperf_get_nearest_node_objdata()
492 if (obj->ports) { in sn_topology_show()
496 sz = obj->ports * sizeof(struct sn_hwperf_port_info); in sn_topology_show()
506 ordinal += p->ports; in sn_topology_show()
508 for (pt = 0; pt < obj->ports; pt++) { in sn_topology_show()
/linux-4.4.14/Documentation/devicetree/bindings/mfd/
Domap-usb-host.txt11 - num-ports: number of USB ports. Usually this is automatically detected
13 this property. A maximum of 3 ports are supported at the moment.
/linux-4.4.14/drivers/net/ethernet/sfc/
Drx.c846 const __be16 *ports; in efx_filter_rfs() local
895 ports = (const __be16 *)(skb->data + nhoff + 4 * ip->ihl); in efx_filter_rfs()
905 ports = (const __be16 *)(ip6 + 1); in efx_filter_rfs()
908 spec.rem_port = ports[0]; in efx_filter_rfs()
909 spec.loc_port = ports[1]; in efx_filter_rfs()
924 spec.rem_host, ntohs(ports[0]), spec.loc_host, in efx_filter_rfs()
925 ntohs(ports[1]), rxq_index, flow_id, rc); in efx_filter_rfs()
930 spec.rem_host, ntohs(ports[0]), spec.loc_host, in efx_filter_rfs()
931 ntohs(ports[1]), rxq_index, flow_id, rc); in efx_filter_rfs()
/linux-4.4.14/Documentation/
Dbt8xxgpio.txt16 The bt8xx chip does have 24 digital GPIO ports.
17 These ports are accessible via 24 pins on the SMD chip package.
/linux-4.4.14/Documentation/usb/
Dpower-management.txt558 capability to disable power to ports under some conditions. Power is
567 VBUS may be maintained in the case where a hub gangs multiple ports into
568 a shared power well causing power to remain until all ports in the gang
569 are turned off. VBUS may also be maintained by hub ports configured for
609 hub interface driver is unbound, control of its child ports is lost and all
632 In addition to these files some ports may have a 'peer' link to a port on
633 another hub. The expectation is that all superspeed ports have a
639 Distinct from 'companion ports', or 'ehci/xhci shared switchover ports'
640 peer ports are simply the hi-speed and superspeed interface pins that
641 are combined into a single usb3 connector. Peer ports share the same
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/display/exynos/
Dexynos-mic.txt18 - ports: contains a port which is connected to decon node and dsi node.
33 ports {
Dexynos5433-decon.txt22 - ports: contains a port which is connected to mic node. address-cells and
48 ports {
/linux-4.4.14/drivers/parport/
DKconfig21 create a mini network by connecting the parallel ports of two local
48 parallel ports. PA-RISC owners should only say Y here if they
61 serial ports. You should say Y or M here. If you say M, the module
86 tristate "Support for PCMCIA management for PC-style ports"
90 ports. If unsure, say N.
DTODO-parport18 4. A better PLIP (make use of bidirectional/ECP/EPP ports).
/linux-4.4.14/Documentation/cris/
DREADME43 * four serial-ports (up to 6 Mbit/s)
44 * two synchronous serial-ports for multimedia codec's etc.
48 * two parallel-ports
49 * two generic 8-bit ports
62 including multiple high speed serial ports and an integrated USB 1.1 PHY.
/linux-4.4.14/arch/arm/plat-pxa/
DKconfig6 Enable support for PXA2xx SSP ports
/linux-4.4.14/drivers/ide/
Dide-cs.c145 hwif = host->ports[0]; in idecs_register()
240 'a' + host->ports[0]->index * 2, in ide_config()
258 ide_hwif_t *hwif = host->ports[0]; in ide_release()
Dali14xx.c55 static const int ports[ALI_NUM_PORTS] __initconst = variable
157 basePort = ports[i]; in findPort()
/linux-4.4.14/Documentation/serial/
Dn_gsm.txt63 4- create the devices corresponding to the "virtual" serial ports (take care,
73 5- use these devices as plain serial ports.
78 6- first close all virtual ports before closing the physical port.
Drocket.txt11 high-speed serial ports or modems. This driver supports up to a combination
26 The RocketPort ISA board requires I/O ports to be configured by the DIP
57 The RocketPort/RocketModem serial ports installed by this driver are assigned
60 installed in the system, the mapping of port names to serial ports is displayed
68 In order to use the ports, their device names (nodes) must be created with mknod.
/linux-4.4.14/arch/cris/arch-v32/mach-a3/
DKconfig57 LED's at the general ports, these bits are used for all kinds of
77 LED's at the general ports, these bits are used for all kinds of
97 LED's at the general ports, these bits are used for all kinds of
/linux-4.4.14/drivers/pci/host/
Dpci-mvebu.c125 struct mvebu_pcie_port *ports; member
765 struct mvebu_pcie_port *port = &pcie->ports[i]; in mvebu_pcie_find_port()
862 struct mvebu_pcie_port *port = &pcie->ports[i]; in mvebu_pcie_setup()
1013 struct mvebu_pcie_port *port = pcie->ports + i; in mvebu_pcie_suspend()
1027 struct mvebu_pcie_port *port = pcie->ports + i; in mvebu_pcie_resume()
1233 pcie->ports = devm_kcalloc(&pdev->dev, num, sizeof(*pcie->ports), in mvebu_pcie_probe()
1235 if (!pcie->ports) in mvebu_pcie_probe()
1240 struct mvebu_pcie_port *port = &pcie->ports[i]; in mvebu_pcie_probe()
1256 struct mvebu_pcie_port *port = &pcie->ports[i]; in mvebu_pcie_probe()
/linux-4.4.14/net/ipv4/
Dxfrm4_policy.c130 __be16 *ports; in _decode_session4() local
133 ports = (__be16 *)xprth; in _decode_session4()
135 fl4->fl4_sport = ports[!!reverse]; in _decode_session4()
136 fl4->fl4_dport = ports[!reverse]; in _decode_session4()
Dinet_hashtables.c290 const __portpair ports = INET_COMBINED_PORTS(sport, hnum); in __inet_lookup_established() local
306 saddr, daddr, ports, dif))) { in __inet_lookup_established()
310 saddr, daddr, ports, dif))) { in __inet_lookup_established()
343 const __portpair ports = INET_COMBINED_PORTS(inet->inet_dport, lport); in __inet_check_established() local
360 saddr, daddr, ports, dif))) { in __inet_check_established()
/linux-4.4.14/Documentation/arm/SA1100/
Dserial_UART16 > 204 char Low-density serial ports
21 > 205 char Low-density serial ports (alternate device)
/linux-4.4.14/arch/cris/arch-v32/mach-fs/
DKconfig95 LED's at the general ports, these bits are used for all kinds of
117 LED's at the general ports, these bits are used for all kinds of
139 LED's at the general ports, these bits are used for all kinds of
161 LED's at the general ports, these bits are used for all kinds of
183 LED's at the general ports, these bits are used for all kinds of
/linux-4.4.14/net/sched/
Dcls_flow.c97 if (flow->ports.ports) in flow_get_proto_src()
98 return ntohs(flow->ports.src); in flow_get_proto_src()
105 if (flow->ports.ports) in flow_get_proto_dst()
106 return ntohs(flow->ports.dst); in flow_get_proto_dst()
/linux-4.4.14/Documentation/m68k/
DREADME.buddha80 IDE ports to the Zorro bus. This mechanism
98 The IDE ports issue an INT2. You can read the level of the
99 IRQ-lines of the IDE-ports by reading from the three (two
107 The IDE ports are fed by the address lines A2 to A4, just as
108 the Amiga 1200 and Amiga 4000 IDE ports are. This way
116 If you're using the mirrored registers of the IDE-ports with
/linux-4.4.14/include/linux/ssb/
Dssb_driver_extif.h189 struct ssb_serial_port *ports);
252 struct ssb_serial_port *ports) in ssb_extif_serial_init() argument
/linux-4.4.14/Documentation/devicetree/bindings/pci/
Dxilinx-pcie.txt4 - #address-cells: Address representation for root ports, set to <3>
5 - #size-cells: Size representation for root ports, set to <2>
Dnvidia,tegra20-pcie.txt21 - #address-cells: Address representation for root ports (must be 3)
28 - #size-cells: Size representation for root ports (must be 2)
29 - ranges: Describes the translation of addresses for root ports and standard
110 Root ports are defined as subnodes of the PCIe controller node.
123 - Both root ports use 2 lanes.
/linux-4.4.14/drivers/scsi/isci/
Dport_config.c134 struct isci_port *iport = &ihost->ports[i]; in sci_port_configuration_agent_find_port()
257 phy_mask = ihost->oem_parameters.ports[port_index].phy_mask; in sci_mpc_agent_validate_phy_configuration()
310 sci_port_add_phy(&ihost->ports[port_index], in sci_mpc_agent_validate_phy_configuration()
510 iport = &ihost->ports[port_index]; in sci_apc_agent_configure_ports()
/linux-4.4.14/include/xen/interface/
Dsched.h61 GUEST_HANDLE(evtchn_port_t) ports;
/linux-4.4.14/arch/cris/arch-v32/
DKconfig110 LED's at the general ports, these bits are used for all kinds of
132 LED's at the general ports, these bits are used for all kinds of
154 LED's at the general ports, these bits are used for all kinds of
176 LED's at the general ports, these bits are used for all kinds of
198 LED's at the general ports, these bits are used for all kinds of
/linux-4.4.14/Documentation/devicetree/bindings/gpio/
Dgpio-stericsson-coh901.txt7 - interrupts: the 0...n interrupts assigned to the different GPIO ports/banks.
/linux-4.4.14/Documentation/networking/dsa/
Ddsa.txt24 An Ethernet switch is typically comprised of multiple front-panel ports, and one
35 ports are referred to as "dsa" ports in DSA terminology and code. A collection
45 Ethernet frames it received to/from specific ports to help the management
50 - how to send CPU originated traffic to specific ports
57 "dsa" ports because:
149 to/from specific switch ports
214 various properties of its ports: names/labels, and finally a routing table
251 Limits on the number of devices and ports
255 (DSA_MAX_SWITCHES), and the number of ports per switch to 12 (DSA_MAX_PORTS).
262 DSA does not currently create slave network devices for the CPU or DSA ports, as
[all …]
/linux-4.4.14/drivers/net/plip/
DKconfig18 ports (the connectors at the computers with 25 holes) are connected
21 bidirectional parallel ports only, which can transmit 8 bits at a
/linux-4.4.14/Documentation/sound/oss/
DPSS-updates7 ability to enable both the builtin CDROM and joystick ports.
44 value will only attempt to configure the CDROM and joystick ports. This
58 sharing resources (io ports, IRQ's, DMA's) between different ISA cards. This
82 # System using the PSS sound card just for its CDROM and joystick ports.
/linux-4.4.14/net/ipv4/netfilter/
Dipt_CLUSTERIP.c252 const u_int16_t *ports; in clusterip_hashfn() local
255 ports = skb_header_pointer(skb, iph->ihl * 4 + poff, 4, _ports); in clusterip_hashfn()
256 if (ports) { in clusterip_hashfn()
257 sport = ports[0]; in clusterip_hashfn()
258 dport = ports[1]; in clusterip_hashfn()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Dprovider.c304 memcpy(&(gid->raw[0]), dev->rdev.lldi.ports[port-1]->dev_addr, 6); in c4iw_query_gid()
321 memcpy(&props->sys_image_guid, dev->rdev.lldi.ports[0]->dev_addr, 6); in c4iw_query_device()
357 netdev = dev->rdev.lldi.ports[port-1]; in c4iw_query_port()
431 struct net_device *lldev = c4iw_dev->rdev.lldi.ports[0]; in show_hca()
499 BUG_ON(!dev->rdev.lldi.ports[0]); in c4iw_register_device()
502 memcpy(&dev->ibdev.node_guid, dev->rdev.lldi.ports[0]->dev_addr, 6); in c4iw_register_device()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
Dswitchx2.c61 struct mlxsw_sx_port **ports; member
1067 mlxsw_sx->ports[local_port] = mlxsw_sx_port; in mlxsw_sx_port_create()
1089 struct mlxsw_sx_port *mlxsw_sx_port = mlxsw_sx->ports[local_port]; in mlxsw_sx_port_remove()
1105 kfree(mlxsw_sx->ports); in mlxsw_sx_ports_remove()
1115 mlxsw_sx->ports = kzalloc(alloc_size, GFP_KERNEL); in mlxsw_sx_ports_create()
1116 if (!mlxsw_sx->ports) in mlxsw_sx_ports_create()
1129 kfree(mlxsw_sx->ports); in mlxsw_sx_ports_create()
1142 mlxsw_sx_port = mlxsw_sx->ports[local_port]; in mlxsw_sx_pude_event_func()
1209 struct mlxsw_sx_port *mlxsw_sx_port = mlxsw_sx->ports[local_port]; in mlxsw_sx_rx_listener_func()
/linux-4.4.14/Documentation/input/
Djoystick-parport.txt18 that, PCs usually lack the right ports to connect these devices to. Parallel
45 The main problem with PC parallel ports is that they don't have +5V power
60 ports that can't give much current through the data pins. If this is your
139 for joystick ports. They were all digital, and all used D-Cannon 9 pin
307 since this doesn't work reliably on all parallel ports, the turbografx.c driver
461 Should you want to use more than one of parallel ports at once, you can use
463 more parallel ports.
481 Caveat here: This driver only works on bidirectional parallel ports. If
483 Old parallel ports may not have this feature.
513 interface ports 1-7 have. For a standard multisystem joystick, this is 1.
/linux-4.4.14/drivers/staging/octeon/
DKconfig7 This driver supports the builtin ethernet ports on Cavium
/linux-4.4.14/include/uapi/linux/
Dif_bonding.h113 __u16 ports; member
/linux-4.4.14/arch/tile/kernel/
Dpci_gx.c220 if (!pcie_ports[trio_index].ports[mac].allow_rc && in tile_pcie_open()
221 !pcie_ports[trio_index].ports[mac].allow_ep) in tile_pcie_open()
242 pcie_ports[trio_index].ports[mac].allow_ep = 1; in tile_pcie_open()
468 pcie_ports[i].ports[j].allow_rc) { in tile_pci_init()
469 if (!pcie_ports[i].ports[j].allow_ep || in tile_pci_init()
472 } else if (pcie_ports[i].ports[j].allow_rc && in tile_pci_init()
753 if (pcie_ports[trio_index].ports[mac].removable) { in pcibios_init()
/linux-4.4.14/samples/bpf/
Dsockex2_kern.c21 __be32 ports; member
178 flow->ports = load_word(skb, nhoff); in flow_dissector()
Dsockex3_user.c13 __be32 ports; member
/linux-4.4.14/drivers/media/platform/xilinx/
Dxilinx-tpg.c715 struct device_node *ports; in xtpg_parse_of() local
720 ports = of_get_child_by_name(node, "ports"); in xtpg_parse_of()
721 if (ports == NULL) in xtpg_parse_of()
722 ports = node; in xtpg_parse_of()
724 for_each_child_of_node(ports, port) { in xtpg_parse_of()
Dxilinx-vipp.c467 struct device_node *ports; in xvip_graph_dma_init() local
471 ports = of_get_child_by_name(xdev->dev->of_node, "ports"); in xvip_graph_dma_init()
472 if (ports == NULL) { in xvip_graph_dma_init()
477 for_each_child_of_node(ports, port) { in xvip_graph_dma_init()
/linux-4.4.14/drivers/scsi/cxgbi/
Dlibcxgbi.c140 cdev->ports = (struct net_device **)(cdev + 1); in cxgbi_device_register()
141 cdev->hbas = (struct cxgbi_hba **)(((char*)cdev->ports) + nports * in cxgbi_device_register()
166 cdev, cdev->nports, cdev->nports ? cdev->ports[0]->name : ""); in cxgbi_device_unregister()
233 if (ndev == cdev->ports[i]) { in cxgbi_device_find_by_netdev()
265 if (ndev == cdev->ports[i]) { in cxgbi_device_find_by_netdev_rcu()
299 if (!memcmp(ndev->dev_addr, cdev->ports[i]->dev_addr, in cxgbi_device_find_by_mac()
351 cdev, i, cdev->ports[i]->name); in cxgbi_hbas_add()
364 chba->ndev = cdev->ports[i]; in cxgbi_hbas_add()
369 cdev, i, cdev->ports[i]->name, chba); in cxgbi_hbas_add()
375 cdev, i, cdev->ports[i]->name); in cxgbi_hbas_add()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/display/
Drenesas,du.txt38 The connections to the DU output video ports are modeled using the OF graph
72 ports {

1234