Home
last modified time | relevance | path

Searched refs:port_idx (Results 1 – 6 of 6) sorted by relevance

/external/autotest/client/common_lib/cros/
Dpower_cycle_usb_util.py111 bus_idx, port_idx = get_port_number_from_vidpid(dut, vid, pid)
112 if port_idx is None:
114 logging.info('found device bus {} port {}'.format(bus_idx, port_idx))
117 port_id = [usb_port_manager.PortId(bus=bus_idx, port_number=port_idx)]
298 (bus_idx, port_idx) = get_all_port_number_from_vidpid(dut, vid, pid)
299 if port_idx is None:
302 for bus, port in zip(bus_idx, port_idx):
/external/u-boot/drivers/serial/
Dmcfuart.c27 static int mcf_serial_init_common(uart_t *uart, int port_idx, int baudrate) in mcf_serial_init_common() argument
31 uart_port_conf(port_idx); in mcf_serial_init_common()
86 int port_idx; in mcf_serial_init() local
89 port_idx = CONFIG_SYS_UART_PORT; in mcf_serial_init()
91 return mcf_serial_init_common(uart_base, port_idx, gd->baudrate); in mcf_serial_init()
/external/iproute2/rdma/
Dlink.c260 mnl_attr_put_u32(rd->nlh, RDMA_NLDEV_ATTR_PORT_INDEX, rd->port_idx); in link_no_args()
295 rd->port_idx = port; in link_show()
312 rd->port_idx = port ? : 1; in link_show()
313 for (; rd->port_idx < dev_map->num_ports + 1; rd->port_idx++) { in link_show()
Drdma.h46 uint32_t port_idx; member
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.cc446 for (int port_idx = 0; port_idx < output.size(); ++port_idx) { in MaterializeShapes() local
447 const DataType type = output[port_idx].dtype(); in MaterializeShapes()
449 const PartialTensorShape shape(input[port_idx].shape()); in MaterializeShapes()
469 if (node_name == shape_n_node->name() && port == port_idx) { in MaterializeShapes()
472 *shape_n_node, strings::StrCat("-matshapes-", port_idx)); in MaterializeShapes()
493 if (node_name == shape_n_node->name() && port != port_idx) { in MaterializeShapes()
/external/u-boot/drivers/ata/
Dahci.c60 unsigned int port_idx) in ahci_setup_port() argument
62 base = ahci_port_base(base, port_idx); in ahci_setup_port()