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/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/selinux/libsemanage/tests/
Dtest_port.c171 void add_local_port(int port_idx) in add_local_port() argument
176 CU_ASSERT_FATAL(port_idx != I_NULL); in add_local_port()
178 port = get_port_nth(port_idx); in add_local_port()
186 void delete_local_port(int port_idx) in delete_local_port() argument
190 CU_ASSERT_FATAL(port_idx != I_NULL); in delete_local_port()
192 key = get_port_key_nth(port_idx); in delete_local_port()
/external/u-boot/drivers/serial/
Dmcfuart.c30 static int mcf_serial_init_common(uart_t *uart, int port_idx, int baudrate) in mcf_serial_init_common() argument
34 uart_port_conf(port_idx); in mcf_serial_init_common()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.cc476 for (int port_idx = 0; port_idx < output.size(); ++port_idx) { in MaterializeShapes() local
477 const DataType type = output[port_idx].dtype(); in MaterializeShapes()
479 const PartialTensorShape shape(input[port_idx].shape()); in MaterializeShapes()
499 if (node_name == shape_n_node->name() && port == port_idx) { in MaterializeShapes()
502 *shape_n_node, strings::StrCat("-matshapes-", port_idx)); in MaterializeShapes()
523 if (node_name == shape_n_node->name() && port != port_idx) { in MaterializeShapes()