HomeSort by relevance Sort by last modified time
    Searched refs:port_id (Results 1 - 25 of 59) sorted by null

1 2 3

  /external/autotest/client/cros/chameleon/
chameleon_audio_ids.py 146 def get_host(port_id):
147 """Parses given port_id to get host name.
149 @param port_id: A string, that is, id in ChameleonIds, CrosIds, or
154 @raises: ValueError if port_id is invalid.
157 host = port_id.split()[0]
159 raise ValueError('Not a valid port id: %r' % port_id)
163 def get_interface(port_id):
164 """Parses given port_id to get interface name.
166 @param port_id: A string, that is, id in ChameleonIds, CrosIds, or
171 @raises: ValueError if port_id is invalid
    [all...]
usb_controller.py 42 def set_capture_configs(self, port_id, capture_data_foramt):
chameleon_audio_helper.py 25 port_id: The port id defined in chameleon_audio_ids.
35 def __init__(self, port_id):
38 @param port_id: A port id string defined in chameleon_audio_ids.
41 logging.debug('Creating AudioPort with port_id: %s', port_id)
42 self.port_id = port_id
43 self.host = ids.get_host(port_id)
44 self.interface = ids.get_interface(port_id)
45 self.role = ids.get_role(port_id)
    [all...]
chameleon.py 415 A Chameleond RPC proxy and an port_id are passed to the construction.
416 The port_id is the unique identity to the port.
419 def __init__(self, chameleond_proxy, port_id):
423 @param port_id: The ID of the input port.
426 self.port_id = port_id
434 return self.port_id
442 return self.chameleond_proxy.GetConnectorType(self.port_id)
450 return self.chameleond_proxy.HasAudioSupport(self.port_id)
458 return self.chameleond_proxy.HasVideoSupport(self.port_id)
    [all...]
audio_board.py 120 def _get_endpoint_name(self, port_id):
123 @param port_id: A string, that is, id in ChameleonIds, CrosIds, or
129 return self._PORT_ID_AUDIO_BUS_ENDPOINT_MAP[port_id]
158 def connect(self, port_id):
161 @param port_id: A string, that is, id in ChameleonIds, CrosIds, or
165 endpoint = self._get_endpoint_name(port_id)
169 def disconnect(self, port_id):
172 @param port_id: A string, that is, id in ChameleonIds, CrosIds, or
176 endpoint = self._get_endpoint_name(port_id)
audio_widget_link.py 135 def _check_widget_id(self, port_id, widget):
138 @param port_id: An id defined in chameleon_audio_ids.
143 if widget.audio_port.port_id != port_id:
146 self.name, port_id, widget.audio_port.port_id))
207 self._audio_bus.connect(widget.audio_port.port_id)
223 self._audio_bus.disconnect(widget.audio_port.port_id)
239 self._audio_bus.connect(widget.audio_port.port_id)
255 self._audio_bus.disconnect(widget.audio_port.port_id)
    [all...]
audio_level.py 88 source_level = _SOURCE_LEVEL_TABLE[self._source.port_id]
89 sink_level = _SINK_LEVEL_TABLE[self._sink.port_id]
  /external/tensorflow/tensorflow/core/grappler/
graph_view.cc 26 int port_id) {
28 if (port_id < 0) {
30 } else if (port_id == 0) {
48 } else if (port_id < n) {
51 port_id -= n;
58 int OpOutputPortIdToArgId(const NodeDef& node, const OpDef& op, int port_id) {
59 return OpPortIdToArgId(node, op.output_arg(), port_id);
62 int OpInputPortIdToArgId(const NodeDef& node, const OpDef& op, int port_id) {
63 return OpPortIdToArgId(node, op.input_arg(), port_id);
graph_view.h 36 // Map a node/op's input/output port_id to arg_id.
38 // The port_id refers to the n-th tensor of the node, while the arg_id refers to
42 // We return -1 for any invalid port_id (i.e., no corresponding arg_id).
43 int OpOutputPortIdToArgId(const NodeDef& node, const OpDef& op, int port_id);
44 int OpInputPortIdToArgId(const NodeDef& node, const OpDef& op, int port_id);
72 Port() : node(nullptr), port_id(0) {}
73 Port(NodeDefT* n, int port) : node(n), port_id(port) {}
76 return node == other.node && port_id == other.port_id;
81 return H::combine(std::move(h), p.node, p.port_id);
85 int port_id; member in struct:tensorflow::grappler::internal::GraphViewInternal::Port
    [all...]
graph_view_test.cc 89 for (int port_id = 0; port_id <= num_splits * 3; ++port_id) {
91 if (port_id < num_splits * 3) {
92 arg_id = port_id / num_splits;
94 EXPECT_EQ(OpOutputPortIdToArgId(b_node_def, *b_op_def, port_id), arg_id);
135 EXPECT_EQ(input.port_id, 0);
138 EXPECT_EQ(fanin.port_id, 0);
142 EXPECT_EQ(input.port_id, 1);
145 EXPECT_EQ(fanin.port_id, 0)
    [all...]
mutable_graph_view.cc 56 return port.port_id == Graph::kControlSlot;
136 port.port_id = i;
143 fanout.node->set_input(fanout.port_id, input);
332 absl::StrCat(fanin.node->name(), "_", fanin.port_id),
369 std::max(max_regular_output_port()[output.node], output.port_id);
392 if (!fanin_fanouts.empty() || max_port != fanin.port_id) {
396 for (int i = fanin.port_id - 1; i >= 0; --i) {
411 if (max_regular_output_port()[fanin.node] < fanin.port_id) {
412 max_regular_output_port()[fanin.node] = fanin.port_id;
419 port.port_id));
    [all...]
  /external/u-boot/drivers/net/fm/
fm.c 197 static u32 fm_assign_risc(int port_id)
200 risc_sel = (port_id & 0x1) ? FMFPPRC_RISC2 : FMFPPRC_RISC1;
201 val = (port_id << FMFPPRC_PORTID_SHIFT) & FMFPPRC_PORTID_MASK;
209 int i, port_id; local
219 port_id = OH_PORT_ID_BASE + i;
220 val = fm_assign_risc(port_id);
225 port_id = RX_PORT_1G_BASE + i;
226 val = fm_assign_risc(port_id);
231 port_id = TX_PORT_1G_BASE + i;
232 val = fm_assign_risc(port_id);
259 int blk, i, port_id; local
    [all...]
  /bionic/libc/kernel/uapi/scsi/
scsi_bsg_fc.h 34 uint8_t port_id[3]; member in struct:fc_bsg_host_add_rport
38 uint8_t port_id[3]; member in struct:fc_bsg_host_del_rport
42 uint8_t port_id[3]; member in struct:fc_bsg_host_els
61 uint8_t port_id[3]; member in struct:fc_bsg_host_ct
  /external/iproute2/tipc/
nametable.c 29 char port_id[PORTID_STR_LEN]; local
54 snprintf(port_id, sizeof(port_id), "<%u.%u.%u:%u>",
64 port_id,
  /external/kernel-headers/original/uapi/scsi/
scsi_bsg_fc.h 64 * (aka port_id), the value is effectively in big-endian
87 uint8_t port_id[3]; member in struct:fc_bsg_host_add_rport
108 uint8_t port_id[3]; member in struct:fc_bsg_host_del_rport
132 uint8_t port_id[3]; member in struct:fc_bsg_host_els
195 uint8_t port_id[3]; member in struct:fc_bsg_host_ct
  /external/mesa3d/src/gallium/state_trackers/xvmc/tests/
testlib.h 46 * port_id: OUT Your port's ID
59 XvPortID *port_id,
testlib.c 51 XvPortID *port_id,
94 *port_id = adaptor_info[i].base_id + l;
  /external/autotest/client/common_lib/cros/cfm/usb/
usb_port_manager.py 43 def _get_gpio_index(board, port_id):
44 return _PORT_ID_TO_GPIO_INDEX_DICT[board][port_id]
69 for port_id in port_ids:
70 gpio_index = _get_gpio_index(self._get_board(), port_id)
  /external/tensorflow/tensorflow/core/grappler/optimizers/
pin_to_host_optimizer.cc 91 const NodeDef& node, int port_id,
107 if (port_id >= output_properties.size()) {
108 LOG(WARNING) << "port_id=" << port_id
114 if (!IsTensorSmall(output_properties[port_id])) {
124 graph, properties, *fanin.node, fanin.port_id, &fanin_candidate));
147 // Map the port_id to output_arg_id.
148 const int output_arg_id = OpOutputPortIdToArgId(node, *op, port_id);
150 LOG(WARNING) << "Invalid port: " << port_id << "!\n"
178 bool IsNodeInputPortHostFriendly(const NodeDef& node, int port_id) {
    [all...]
  /frameworks/av/services/mediaanalytics/
statsd_audiotrack.cpp 109 int32_t port_id = -1; local
110 if (item->getInt32("android.media.audiotrack.portId", &port_id)) {
111 metrics_proto.set_port_id(port_id);
statsd_audiorecord.cpp 112 int32_t port_id = -1; local
113 if (item->getInt32("android.media.audiorecord.portId", &port_id)) {
  /external/u-boot/drivers/serial/
serial_s5p.c 33 u8 port_id; /* uart port number */ member in struct:s5p_serial_platdata
104 uclk = get_uart_clk(plat->port_id);
189 plat->port_id = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev),
  /bionic/libc/kernel/uapi/linux/
fpga-dfl.h 69 __u32 port_id; member in struct:dfl_fpga_fme_port_pr
  /external/kernel-headers/original/uapi/linux/
fpga-dfl.h 172 __u32 port_id; member in struct:dfl_fpga_fme_port_pr
  /frameworks/av/media/libaudioclient/include/media/
IAudioPolicyServiceClient.h 38 audio_port_handle_t port_id; member in struct:android::record_client_info

Completed in 709 milliseconds

1 2 3