Searched defs:num_ports (Results 1 - 25 of 39) sorted by relevance

12

/drivers/tty/serial/8250/
H A D8250_acorn.c29 unsigned int num_ports; member in struct:serial_card_type
36 unsigned int num_ports; member in struct:serial_card_info
54 info->num_ports = type->num_ports;
73 for (i = 0; i < info->num_ports; i ++) {
90 for (i = 0; i < info->num_ports; i++)
98 .num_ports = 3,
105 .num_ports = 2,
H A D8250_hp300.c60 static unsigned int num_ports; variable
201 num_ports++;
229 if (!num_ports)
279 num_ports++;
284 if (!num_ports)
/drivers/firewire/
H A Dinit_ohci1394_dma.c120 int num_ports, i; local
169 num_ports = get_phy_reg(ohci, 2) & 0xf;
170 for (i = 0; i < num_ports; i++) {
/drivers/parport/
H A Ddaisy.c97 int num_ports; local
109 ((num_ports = num_mux_ports(port)) == 2 || num_ports == 4)) {
114 port->name, num_ports);
115 for (i = 1; i < num_ports; i++) {
128 extra->name, i + 1, th[i + 1], num_ports,
/drivers/staging/octeon/
H A Dethernet.c628 int num_ports = cvmx_helper_ports_on_interface(interface); local
632 port < cvmx_helper_get_ipd_port(interface, num_ports);
690 int num_ports = cvmx_helper_ports_on_interface(interface); local
694 port < cvmx_helper_get_ipd_port(interface, num_ports);
/drivers/usb/serial/
H A Dvisor.c187 .num_ports = 2,
207 .num_ports = 2,
227 .num_ports = 1,
349 int num_ports = 0; local
376 num_ports = le16_to_cpu(connection_info->num_ports);
377 for (i = 0; i < num_ports; ++i) {
407 if (num_ports == 0 || num_ports > 2) {
410 num_ports
510 int num_ports = (int)(long)(usb_get_serial_data(serial)); local
[all...]
H A Dvisor.h105 __le16 num_ports; member in struct:visor_connection_info
133 * @num_ports: maximum number of functions/connections in use
149 __u8 num_ports; member in struct:palm_ext_connection_info
H A Dkeyspan.h161 int num_ports; member in struct:keyspan_device_details
203 .num_ports = 1,
220 .num_ports = 1,
237 .num_ports = 1,
254 .num_ports = 1,
271 .num_ports = 1,
288 .num_ports = 1,
305 .num_ports = 1,
322 .num_ports = 2,
339 .num_ports
[all...]
H A Dsierra.c96 int num_ports = 0; local
106 num_ports = 0;
108 num_ports = 1;
110 num_ports = (numendpoints-1)/2;
111 return num_ports;
361 if (serial->num_ports == 1) {
932 for (i = 0; i < serial->num_ports; i++) {
950 if (serial->num_ports == 1) {
986 for (i = 0; i < serial->num_ports; ++i) {
1005 for (i = 0; i < serial->num_ports;
[all...]
H A Dusb-serial.c96 int num_ports, unsigned int *minor)
101 dbg("%s %d", __func__, num_ports);
110 for (j = 1; j <= num_ports-1; ++j)
122 for (i = *minor; (i < (*minor + num_ports)) && (i < SERIAL_TTY_MINORS); ++i) {
140 for (i = 0; i < serial->num_ports; ++i)
475 seq_printf(m, " num_ports:%d", serial->num_ports);
737 int num_ports = 0; local
853 num_ports = num_bulk_out;
854 if (num_ports
95 get_free_serial(struct usb_serial *serial, int num_ports, unsigned int *minor) argument
[all...]
/drivers/infiniband/core/
H A Ddevice.c228 int num_ports, ret = -ENOMEM; local
235 num_ports = end_port(device) - start_port(device) + 1;
237 device->pkey_tbl_len = kmalloc(sizeof *device->pkey_tbl_len * num_ports,
239 device->gid_tbl_len = kmalloc(sizeof *device->gid_tbl_len * num_ports,
244 for (port_index = 0; port_index < num_ports; ++port_index) {
H A Dmad.c3006 int i, num_ports, cur_port; local
3012 num_ports = 1;
3015 num_ports = device->phys_port_cnt;
3018 for (i = 0; i < num_ports; i++, cur_port++) {
/drivers/gpio/
H A Dgpio-ml-ioh.c106 static const int num_ports[] = {6, 12, 16, 16, 15, 16, 16, 12}; variable
140 ((1 << num_ports[chip->ch]) - 1);
163 ((1 << num_ports[chip->ch]) - 1);
372 for (j = 0; j < num_ports[i]; j++) {
452 ioh_gpio_setup(chip, num_ports[i]);
462 irq_base = irq_alloc_descs(-1, IOH_IRQ_BASE, num_ports[j],
471 ioh_gpio_alloc_generic_chip(chip, irq_base, num_ports[j]);
492 irq_free_descs(chip->irq_base, num_ports[j]);
532 irq_free_descs(chip->irq_base, num_ports[i]);
/drivers/infiniband/hw/ehca/
H A Dehca_main.c315 shca->num_ports = 1;
317 shca->num_ports = (u8)rblock->num_ports;
319 ehca_gen_dbg(" ... found %x ports", rblock->num_ports);
464 shca->ib_device.phys_port_cnt = shca->num_ports;
659 if ((strcmp(#name, "num_ports") == 0) && (ehca_nr_ports == 1)) \
667 EHCA_RESOURCE_ATTR(num_ports); variable
822 if ((ehca_open_aqp1 == 1) && (shca->num_ports == 2)) {
892 for (i = 0; i < shca->num_ports; i++) {
H A Dehca_classes.h116 u8 num_ports; member in struct:ehca_shca
/drivers/infiniband/hw/ipath/
H A Dipath_mad.c73 u8 num_ports; member in struct:nodeinfo
99 * XXX The num_ports value will need a layer function to get
103 nip->num_ports = ibdev->phys_port_cnt;
/drivers/infiniband/hw/mlx4/
H A Dmain.c1082 int num_ports = 0; local
1095 num_ports++;
1098 if (num_ports == 0)
1127 ibdev->num_ports = num_ports;
1128 ibdev->ib_dev.phys_port_cnt = ibdev->num_ports;
1218 for (i = 0; i < ibdev->num_ports; ++i) {
1295 for (p = 0; p < ibdev->num_ports; ++p)
1312 if (port > ibdev->num_ports)
H A Dmlx4_ib.h190 int num_ports; member in struct:mlx4_ib_dev
/drivers/ide/
H A Dsgiioc4.c315 int num_ports = sizeof(struct ioc4_dma_regs); local
320 if (request_mem_region(dma_base, num_ports, hwif->name) == NULL) {
323 dma_base, dma_base + num_ports - 1);
352 release_mem_region(dma_base, num_ports);
/drivers/infiniband/hw/mthca/
H A Dmthca_cmd.h146 int num_ports; member in struct:mthca_dev_lim
H A Dmthca_dev.h136 int num_ports; member in struct:mthca_limits
/drivers/infiniband/hw/qib/
H A Dqib_mad.h46 u8 num_ports; member in struct:ib_node_info
/drivers/net/ethernet/mellanox/mlx4/
H A Dfw.h67 int num_ports; member in struct:mlx4_dev_cap
122 u8 num_ports; member in struct:mlx4_func_cap
/drivers/staging/comedi/drivers/
H A Dpcmuio.c155 const int num_ports; member in struct:pcmuio_board
162 .num_ports = 6,
167 .num_ports = 12,
/drivers/net/ethernet/ibm/ehea/
H A Dehea_phyp.h176 u32 num_ports; /* 24 */ member in struct:hcp_query_ehea

Completed in 490 milliseconds

12