[go: nahoru, domu]

Searched defs:num_ports (Results 1 - 25 of 49) 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/net/dsa/
H A Dbcm_sf2.h34 u8 num_ports; member in struct:bcm_sf2_hw_params
/drivers/usb/serial/
H A Dvisor.c171 .num_ports = 2,
191 .num_ports = 2,
211 .num_ports = 1,
323 int num_ports = 0; local
345 num_ports = le16_to_cpu(connection_info->num_ports);
346 for (i = 0; i < num_ports; ++i) {
376 if (num_ports == 0 || num_ports > 2) {
379 num_ports
471 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.h167 int num_ports; member in struct:keyspan_device_details
210 .num_ports = 1,
227 .num_ports = 1,
244 .num_ports = 1,
261 .num_ports = 1,
278 .num_ports = 1,
295 .num_ports = 1,
312 .num_ports = 1,
329 .num_ports = 2,
346 .num_ports
[all...]
H A Dquatech2.c81 int num_ports; member in struct:qt2_device_detail
86 .num_ports = (ports)
255 return d.num_ports;
588 if (newport > serial->num_ports) {
H A Dsierra.c90 int num_ports = 0; local
98 num_ports = 0;
100 num_ports = 1;
102 num_ports = (numendpoints-1)/2;
103 return num_ports;
343 if (serial->num_ports == 1) {
916 if (serial->num_ports == 1) {
961 for (i = 0; i < serial->num_ports; ++i) {
1038 for (i = 0; i < serial->num_ports; i++) {
H A Dusb-serial.c88 static int allocate_minors(struct usb_serial *serial, int num_ports) argument
94 dev_dbg(&serial->interface->dev, "%s %d\n", __func__, num_ports);
97 for (i = 0; i < num_ports; ++i) {
121 for (i = 0; i < serial->num_ports; ++i)
470 seq_printf(m, " num_ports:%d", serial->num_ports);
719 int num_ports = 0; local
846 num_ports = num_bulk_out;
847 if (num_ports == 0) {
857 if (!num_ports) {
[all...]
/drivers/infiniband/hw/mlx5/
H A Duser.h82 __u16 num_ports; member in struct:mlx5_ib_alloc_ucontext_resp
/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/hsi/controllers/
H A Domap_ssi.c373 sizeof(struct omap_ssi_port *) * ssi->num_ports, GFP_KERNEL);
481 int num_ports; local
488 num_ports = ssi_of_get_available_ports_count(np);
490 ssi = hsi_alloc_controller(num_ports, GFP_KERNEL);
527 ssi->id, num_ports);
/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.c3103 int i, num_ports, cur_port; local
3109 num_ports = 1;
3112 num_ports = device->phys_port_cnt;
3115 for (i = 0; i < num_ports; i++, cur_port++) {
/drivers/staging/octeon/
H A Dethernet.c647 int num_ports = cvmx_helper_ports_on_interface(interface); local
651 port < cvmx_helper_get_ipd_port(interface, num_ports);
711 int num_ports = cvmx_helper_ports_on_interface(interface); local
717 port < cvmx_helper_get_ipd_port(interface, num_ports);
/drivers/gpio/
H A Dgpio-ml-ioh.c104 static const int num_ports[] = {6, 12, 16, 16, 15, 16, 16, 12}; variable
140 ((1 << num_ports[chip->ch]) - 1);
164 ((1 << num_ports[chip->ch]) - 1);
373 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],
472 ioh_gpio_alloc_generic_chip(chip, irq_base, num_ports[j]);
493 irq_free_descs(chip->irq_base, num_ports[j]);
530 irq_free_descs(chip->irq_base, num_ports[i]);
/drivers/infiniband/hw/ehca/
H A Dehca_main.c316 shca->num_ports = 1;
318 shca->num_ports = (u8)rblock->num_ports;
320 ehca_gen_dbg(" ... found %x ports", rblock->num_ports);
465 shca->ib_device.phys_port_cnt = shca->num_ports;
660 if ((strcmp(#name, "num_ports") == 0) && (ehca_nr_ports == 1)) \
668 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/ide/
H A Dsgiioc4.c314 int num_ports = sizeof(struct ioc4_dma_regs); local
319 if (request_mem_region(dma_base, num_ports, hwif->name) == NULL) {
322 dma_base, dma_base + num_ports - 1);
351 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
/drivers/net/ethernet/mellanox/mlx4/
H A Dfw.h67 int num_ports; member in struct:mlx4_dev_cap
126 u8 num_ports; member in struct:mlx4_func_cap
/drivers/staging/comedi/drivers/
H A Dni_65xx.c304 unsigned int num_ports = ni_65xx_num_ports(dev); local
308 for (i = 0; i < num_ports; ++i)
321 unsigned int num_ports = ni_65xx_num_ports(dev); local
324 if (base_chan >= NI_65XX_PORT_TO_CHAN(num_ports))
327 for (port = NI_65XX_CHAN_TO_PORT(base_chan); port < num_ports; port++) {
/drivers/bus/
H A Darm-ccn.c268 int num_ports; member in struct:arm_ccn_pmu_event
287 .num_ports = CCN_NUM_XP_PORTS, .num_vcs = CCN_NUM_VCS, \
292 .event = CCN_EVENT_WATCHPOINT, .num_ports = CCN_NUM_XP_PORTS, \
297 .event = CCN_EVENT_WATCHPOINT, .num_ports = CCN_NUM_XP_PORTS, \
305 .num_ports = CCN_NUM_XP_PORTS, .num_vcs = CCN_NUM_VCS, }
684 if (e->num_ports && port >= e->num_ports) {

Completed in 707 milliseconds

12