/kernel/linux/linux-5.10/sound/isa/opti9xx/ |
H A D | miro.c | 40 static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ variable 55 module_param(index, int, 0444); 56 MODULE_PARM_DESC(index, "Index value for miro soundcard."); 233 static int aci_getvalue(struct snd_miro_aci *aci, unsigned char index) in aci_getvalue() argument 235 return snd_aci_cmd(aci, ACI_STATUS, index, -1); in aci_getvalue() 238 static int aci_setvalue(struct snd_miro_aci *aci, unsigned char index, in aci_setvalue() argument 241 return snd_aci_cmd(aci, index, value, -1); in aci_setvalue() 393 .index = ctl_index, \ 614 .index = 1, 624 .index [all...] |
/kernel/linux/linux-5.10/drivers/media/tuners/ |
H A D | xc5000.c | 354 unsigned int len, pos, index; in xc_load_i2c_sequence() local 357 index = 0; in xc_load_i2c_sequence() 358 while ((i2c_sequence[index] != 0xFF) || in xc_load_i2c_sequence() 359 (i2c_sequence[index + 1] != 0xFF)) { in xc_load_i2c_sequence() 360 len = i2c_sequence[index] * 256 + i2c_sequence[index+1]; in xc_load_i2c_sequence() 364 index += 2; in xc_load_i2c_sequence() 370 index += 2; in xc_load_i2c_sequence() 375 index += 2; in xc_load_i2c_sequence() 376 buf[0] = i2c_sequence[index]; in xc_load_i2c_sequence() [all...] |
/kernel/linux/linux-6.6/drivers/media/tuners/ |
H A D | xc5000.c | 354 unsigned int len, pos, index; in xc_load_i2c_sequence() local 357 index = 0; in xc_load_i2c_sequence() 358 while ((i2c_sequence[index] != 0xFF) || in xc_load_i2c_sequence() 359 (i2c_sequence[index + 1] != 0xFF)) { in xc_load_i2c_sequence() 360 len = i2c_sequence[index] * 256 + i2c_sequence[index+1]; in xc_load_i2c_sequence() 364 index += 2; in xc_load_i2c_sequence() 370 index += 2; in xc_load_i2c_sequence() 375 index += 2; in xc_load_i2c_sequence() 376 buf[0] = i2c_sequence[index]; in xc_load_i2c_sequence() [all...] |
/kernel/linux/linux-6.6/drivers/net/can/usb/ |
H A D | esd_usb.c | 290 int index; member 740 msg->filter.net = priv->index; in esd_usb_start() 853 msg->tx.net = priv->index; in esd_usb_start_xmit() 963 msg->filter.net = priv->index; in esd_usb_close() 973 msg->setbaud.net = priv->index; in esd_usb_close() 1051 msg->setbaud.net = priv->index; in esd_usb_2_set_bittiming() 1144 baud_x->net = priv->index; in esd_usb_3_set_bittiming() 1154 priv->index, le16_to_cpu(baud_x->mode), flags); in esd_usb_3_set_bittiming() 1187 static int esd_usb_probe_one_net(struct usb_interface *intf, int index) in esd_usb_probe_one_net() argument 1212 priv->index in esd_usb_probe_one_net() [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/8250/ |
H A D | 8250_core.c | 491 static struct uart_8250_port *serial8250_setup_port(int index) in serial8250_setup_port() argument 495 if (index >= UART_NR) in serial8250_setup_port() 498 up = &serial8250_ports[index]; in serial8250_setup_port() 499 up->port.line = index; in serial8250_setup_port() 500 up->port.port_id = index; in serial8250_setup_port() 598 struct uart_8250_port *up = &serial8250_ports[co->index]; in univ8250_console_write() 614 if (co->index >= UART_NR) in univ8250_console_setup() 615 co->index = 0; in univ8250_console_setup() 619 * co->index as needed and increment nr_uarts accordingly. in univ8250_console_setup() 621 for (i = nr_uarts; i <= co->index; in univ8250_console_setup() [all...] |
/kernel/linux/linux-6.6/drivers/staging/sm750fb/ |
H A D | sm750.c | 508 /* defaulty crtc->channel go with par->index */ in lynxfb_ops_check_var() 630 if (par->index == 0) { in sm750fb_set_drv() 644 if (par->index == 0) { in sm750fb_set_drv() 679 static int lynxfb_set_fbinfo(struct fb_info *info, int index) in lynxfb_set_fbinfo() argument 713 /* set index */ in lynxfb_set_fbinfo() 714 par->index = index; in lynxfb_set_fbinfo() 748 if (!g_fbmode[index]) { in lynxfb_set_fbinfo() 749 g_fbmode[index] = g_def_fbmode; in lynxfb_set_fbinfo() 750 if (index) in lynxfb_set_fbinfo() [all...] |
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | tb.h | 221 * @index: Index of the group (aka Group_ID). Valid values %1-%7 231 int index; member 317 * @index: Retimer index facing the router USB4 port 328 u8 index; member 344 * @in_counter_index: Used counter index (not used in the driver 360 * in_counter_index is the index of a counter (in TB_CFG_COUNTERS) on the in 1266 int usb4_port_retimer_set_inbound_sbtx(struct tb_port *port, u8 index); 1267 int usb4_port_retimer_unset_inbound_sbtx(struct tb_port *port, u8 index); 1268 int usb4_port_retimer_read(struct tb_port *port, u8 index, u [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/pt1/ |
H A D | pt1.c | 92 int index; member 422 static void pt1_set_stream(struct pt1 *pt1, int index, int enabled) in pt1_set_stream() argument 424 pt1_write_reg(pt1, 2, 1 << (index + 8) | enabled << index); in pt1_set_stream() 438 int index; in pt1_filter() local 449 index = (upacket >> 29) - 1; in pt1_filter() 450 if (index < 0 || index >= PT1_NR_ADAPS) in pt1_filter() 453 adap = pt1->adaps[index]; in pt1_filter() 465 index); in pt1_filter() [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | max9286.c | 384 unsigned int index = to_index(priv, source); in max9286_i2c_mux_init() local 386 ret = i2c_mux_add_adapter(priv->mux, 0, index, 0); in max9286_i2c_mux_init() 667 unsigned int index = to_index(priv, source); in max9286_notify_bound() local 680 priv->bound_sources |= BIT(index); in max9286_notify_bound() 685 &priv->sd.entity, index, in max9286_notify_bound() 691 source->sd->name, src_pad, priv->sd.name, index); in max9286_notify_bound() 695 dev_dbg(&priv->client->dev, "Bound %s pad: %u on index %u\n", in max9286_notify_bound() 696 subdev->name, src_pad, index); in max9286_notify_bound() 729 unsigned int index = to_index(priv, source); in max9286_notify_unbind() local 732 priv->bound_sources &= ~BIT(index); in max9286_notify_unbind() 1590 unsigned int index = to_index(priv, source); max9286_get_poc_supplies() local [all...] |
H A D | ov7740.c | 713 if (code->pad || code->index >= N_OV7740_FMTS) in ov7740_enum_mbus_code() 716 code->code = ov7740_formats[code->index].mbus_code; in ov7740_enum_mbus_code() 728 if (fie->index >= 1) in ov7740_enum_frame_interval() 747 if (fse->index > 0) in ov7740_enum_frame_size() 763 int index, i; in ov7740_try_fmt_internal() local 765 for (index = 0; index < N_OV7740_FMTS; index++) { in ov7740_try_fmt_internal() 766 if (ov7740_formats[index].mbus_code == fmt->code) in ov7740_try_fmt_internal() 769 if (index > in ov7740_try_fmt_internal() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt76x0/ |
H A D | phy.c | 577 int index, u8 tx_rate) in mt76x0_phy_get_rf_pa_mode() 581 reg = (index == 1) ? MT_RF_PA_MODE_CFG1 : MT_RF_PA_MODE_CFG0; in mt76x0_phy_get_rf_pa_mode() 602 u8 index; in mt76x0_phy_get_target_power() local 608 index = 0; in mt76x0_phy_get_target_power() 611 index = 1; in mt76x0_phy_get_target_power() 614 index = 2; in mt76x0_phy_get_target_power() 617 index = 3; in mt76x0_phy_get_target_power() 620 index = 4; in mt76x0_phy_get_target_power() 623 index = 5; in mt76x0_phy_get_target_power() 626 index in mt76x0_phy_get_target_power() 576 mt76x0_phy_get_rf_pa_mode(struct mt76x02_dev *dev, int index, u8 tx_rate) mt76x0_phy_get_rf_pa_mode() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_main.c | 585 int index) in pvrdma_add_gid_at_index() 601 cmd_bind->index = index; in pvrdma_add_gid_at_index() 610 memcpy(&dev->sgid_tbl[index], gid, sizeof(*gid)); in pvrdma_add_gid_at_index() 620 attr->index); in pvrdma_add_gid() 623 static int pvrdma_del_gid_at_index(struct pvrdma_dev *dev, int index) in pvrdma_del_gid_at_index() argument 637 memcpy(cmd_dest->dest_gid, &dev->sgid_tbl[index], 16); in pvrdma_del_gid_at_index() 638 cmd_dest->index = index; in pvrdma_del_gid_at_index() 646 memset(&dev->sgid_tbl[index], in pvrdma_del_gid_at_index() 582 pvrdma_add_gid_at_index(struct pvrdma_dev *dev, const union ib_gid *gid, u8 gid_type, int index) pvrdma_add_gid_at_index() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/common/videobuf2/ |
H A D | videobuf2-v4l2.c | 381 if (b->index >= q->num_buffers) { in vb2_queue_or_prepare_buf() 382 dprintk(q, 1, "%s: buffer index out of range\n", opname); in vb2_queue_or_prepare_buf() 386 if (q->bufs[b->index] == NULL) { in vb2_queue_or_prepare_buf() 397 vb = q->bufs[b->index]; in vb2_queue_or_prepare_buf() 500 b->index = vb->index; in __fill_v4l2_buffer() 663 if (b->index >= q->num_buffers) { in vb2_querybuf() 664 dprintk(q, 1, "buffer index out of range\n"); in vb2_querybuf() 667 vb = q->bufs[b->index]; in vb2_querybuf() 670 vb2_core_querybuf(q, b->index, in vb2_querybuf() [all...] |
/kernel/linux/linux-6.6/sound/isa/opti9xx/ |
H A D | miro.c | 37 static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ variable 52 module_param(index, int, 0444); 53 MODULE_PARM_DESC(index, "Index value for miro soundcard."); 230 static int aci_getvalue(struct snd_miro_aci *aci, unsigned char index) in aci_getvalue() argument 232 return snd_aci_cmd(aci, ACI_STATUS, index, -1); in aci_getvalue() 235 static int aci_setvalue(struct snd_miro_aci *aci, unsigned char index, in aci_setvalue() argument 238 return snd_aci_cmd(aci, index, value, -1); in aci_setvalue() 390 .index = ctl_index, \ 611 .index = 1, 621 .index [all...] |
/third_party/glfw/src/ |
H A D | input.c | 88 if (e->type == _GLFW_JOYSTICK_HATBIT && (e->index >> 4) >= js->hatCount) in isValidElementForJoystick() 90 else if (e->type == _GLFW_JOYSTICK_BUTTON && e->index >= js->buttonCount) in isValidElementForJoystick() 92 else if (e->type == _GLFW_JOYSTICK_AXIS && e->index >= js->axisCount) in isValidElementForJoystick() 223 e->index = (uint8_t) ((hat << 4) | bit); in parseMapping() 226 e->index = (uint8_t) strtoul(c + 1, (char**) &c, 10); in parseMapping() 1428 const float value = js->axes[e->index] * e->axisScale + e->axisOffset; in glfwGetGamepadState() 1444 const unsigned int hat = e->index >> 4; in glfwGetGamepadState() 1445 const unsigned int bit = e->index & 0xf; in glfwGetGamepadState() 1450 state->buttons[i] = js->buttons[e->index]; in glfwGetGamepadState() 1458 const float value = js->axes[e->index] * in glfwGetGamepadState() [all...] |
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | ArchiveCommandLine.cpp | 380 static NRecursedType::EEnum GetRecursedTypeFromIndex(int index)
in GetRecursedTypeFromIndex() argument 382 switch (index)
in GetRecursedTypeFromIndex() 403 int index = FindCharPosInString(g_Commands, (char)s[0]);
in ParseArchiveCommand() local 404 if (index < 0)
in ParseArchiveCommand() 406 command.CommandType = (NCommandType::EEnum)index;
in ParseArchiveCommand() 711 int index = -1;
in AddSwitchWildcardsToCensor() local 713 index = FindCharPosInString(kRecursedPostCharSet, (char)c);
in AddSwitchWildcardsToCensor() 714 nop2.RecursedType = GetRecursedTypeFromIndex(index);
in AddSwitchWildcardsToCensor() 715 if (index >= 0)
in AddSwitchWildcardsToCensor() 964 int index in SetMethodOptions() local [all...] |
/third_party/jerryscript/jerry-debugger/ |
H A D | jerry_client_main.py | 180 self.index = -1 246 del items[items.index(value)] 366 return "Error: Breakpoint index expected" 371 return "Error: Positive breakpoint index expected" 376 return "Error: Positive breakpoint index expected: %s" % (val_errno) 389 result += " %d: %s (pending)\n" % (breakpoint.index, breakpoint) 398 return "Error: Breakpoint index expected\n" \ 495 def eval_at(self, code, index): 496 self._send_string(JERRY_DEBUGGER_EVAL_EVAL + code, JERRY_DEBUGGER_EVAL, index) 538 index [all...] |
/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/ |
H A D | parser.js | 312 index: token[_tokenize.FIELDS.START_POS] 331 index: token[_tokenize.FIELDS.START_POS] 357 index: token[_tokenize.FIELDS.START_POS] 600 index: this.currToken[_tokenize.FIELDS.START_POS] 723 index: _this4.nextToken[_tokenize.FIELDS.START_POS] 805 var index = indices[i + 1] || word.length; 806 var value = word.slice(ind, index); 813 var source = getSource(current[1], current[2] + ind, current[3], current[2] + (index - 1)); 915 _proto.expected = function expected(description, index, found) { 923 index [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | escape-analysis.cc | 522 Maybe<int> OffsetOfElementAt(ElementAccess const& access, int index) { in OffsetOfElementAt() argument 527 DCHECK_GE(index, 0); in OffsetOfElementAt() 530 (index << ElementSizeLog2Of(representation))); in OffsetOfElementAt() 540 int index = static_cast<int>(min); in OffsetOfElementsAccess() local 541 if (index < 0 || index != min || index != max) return Nothing<int>(); in OffsetOfElementsAccess() 542 return OffsetOfElementAt(ElementAccessOf(op), index); in OffsetOfElementsAccess() 606 Node* index = current->ValueInput(1); in ReduceNode() local 612 OffsetOfElementsAccess(op, index) in ReduceNode() 638 Node* index = current->ValueInput(1); ReduceNode() local [all...] |
H A D | graph-assembler.h | 153 Node* PhiAt(size_t index); 156 TNode<T> PhiAt(size_t index) { in PhiAt() argument 158 // DCHECK(IsMachineRepresentationOf<T>(representations_[index])); in PhiAt() 159 return TNode<T>::UncheckedCast(PhiAt(index)); in PhiAt() 250 Node* Projection(int index, Node* value); 253 Node* Parameter(int index); 551 Node* GraphAssemblerLabel<VarCount>::PhiAt(size_t index) { in PhiAt() argument 553 DCHECK_LT(index, VarCount); in PhiAt() 554 return bindings_[index]; in PhiAt() 836 Node* LoadElement(ElementAccess const&, Node* object, Node* index); 838 LoadElement(ElementAccess const& access, TNode<HeapObject> object, TNode<Number> index) LoadElement() argument [all...] |
/third_party/node/deps/v8/src/snapshot/ |
H A D | serializer.cc | 187 // Encode a reference to a hot object by its index in the working set. in SerializeHotObject() 188 int index = hot_objects_.Find(obj); in SerializeHotObject() local 189 if (index == HotObjectsList::kNotFound) return false; in SerializeHotObject() 190 DCHECK(index >= 0 && index < kHotObjectCount); in SerializeHotObject() 192 PrintF(" Encoding hot object %d:", index); in SerializeHotObject() 196 sink_.Put(HotObject::Encode(index), "HotObject"); in SerializeHotObject() 323 sink_.PutInt(forward_reference_id, "with this index"); in ResolvePendingForwardReference() 373 for (int index : *refs) { in ResolvePendingObject() 374 ResolvePendingForwardReference(index); in ResolvePendingObject() 1081 uint32_t index = ptr >> kExternalPointerIndexShift; VisitExternalPointer() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/ |
H A D | vktRayQueryOpacityMicromapTests.cpp | 109 deUint32 mode; // Special index value if useSpecialIndex, 2 or 4 for number of states otherwise 242 << " while (index < " << numRays << ") {\n" in initPrograms() 244 << " const vec3 origin = origins.values[index].xyz;\n" in initPrograms() 259 << " modes.values[index] = outputVal;\n" in initPrograms() 260 << " index += " << kNumThreadsAtOnce << ";\n" in initPrograms() 269 << " uint index = gl_VertexIndex.x;\n" in initPrograms() 285 << " uint index = gl_LaunchIDEXT.x;\n" in initPrograms() 302 << " uint index = gl_LocalInvocationID.x;\n" in initPrograms() 321 tcu::Vec2 calcSubtriangleCentroid(const deUint32 index, const deUint32 subdivisionLevel) in calcSubtriangleCentroid() argument 327 deUint32 d = index; in calcSubtriangleCentroid() [all...] |
/third_party/python/PC/ |
H A D | winreg.c | 776 int index = 0; in Reg2Py() local 790 for (index = 0; index < s; index++) in Reg2Py() 792 size_t slen = wcsnlen(str[index], len); in Reg2Py() 793 PyObject *uni = PyUnicode_FromWideChar(str[index], slen); in Reg2Py() 799 PyList_SET_ITEM(obData, index, uni); in Reg2Py() 1096 index: int 1097 An integer that identifies the index of the key to retrieve. 1108 winreg_EnumKey_impl(PyObject *module, HKEY key, int index) in winreg_EnumKey_impl() argument 1163 winreg_EnumValue_impl(PyObject *module, HKEY key, int index) winreg_EnumValue_impl() argument [all...] |
/third_party/skia/gm/ |
H A D | gradients.cpp | 685 for (int index = 0; index < (int) SK_ARRAY_COUNT(fShader); ++index) { 686 pts[1].fX = 500.f + index * kWidthBump; 688 pos[inner] = unitPos[inner] / (kMinWidth + index * kWidthBump); 690 fShader[index] = SkGradientShader::MakeLinear(pts, colors, pos, 699 for (int index = 0; index < (int) SK_ARRAY_COUNT(fShader); ++index) { 700 paint.setShader(fShader[index]); [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/ |
H A D | vktRayQueryOpacityMicromapTests.cpp | 109 deUint32 mode; // Special index value if useSpecialIndex, 2 or 4 for number of states otherwise 238 << " while (index < " << numRays << ") {\n" in initPrograms() 240 << " const vec3 origin = origins.values[index].xyz;\n" in initPrograms() 255 << " modes.values[index] = outputVal;\n" in initPrograms() 256 << " index += " << kNumThreadsAtOnce << ";\n" in initPrograms() 265 << " uint index = gl_VertexIndex.x;\n" in initPrograms() 280 << " uint index = gl_LaunchIDEXT.x;\n" in initPrograms() 297 << " uint index = gl_LocalInvocationID.x;\n" in initPrograms() 316 tcu::Vec2 calcSubtriangleCentroid(const deUint32 index, const deUint32 subdivisionLevel) in calcSubtriangleCentroid() argument 322 deUint32 d = index; in calcSubtriangleCentroid() [all...] |