Home
last modified time | relevance | path

Searched refs:index (Results 5726 - 5750 of 22913) sorted by relevance

1...<<221222223224225226227228229230>>...917

/kernel/linux/linux-6.6/drivers/sbus/char/
H A Dbbc_i2c.c70 struct platform_device *bbc_i2c_getdev(struct bbc_i2c_bus *bp, int index) in bbc_i2c_getdev() argument
78 if (curidx == index) in bbc_i2c_getdev()
85 if (curidx == index) in bbc_i2c_getdev()
295 static struct bbc_i2c_bus * attach_one_i2c(struct platform_device *op, int index) in attach_one_i2c() argument
324 bp->index = index; in attach_one_i2c()
346 bp->index, bp->i2c_control_regs, entry, bp->own, bp->clock); in attach_one_i2c()
367 int err, index = 0; in bbc_i2c_probe() local
369 bp = attach_one_i2c(op, index); in bbc_i2c_probe()
/kernel/linux/linux-6.6/drivers/platform/x86/dell/
H A Ddcdbas.c381 u8 index; in host_control_smi() local
391 for (index = PE1300_CMOS_CMD_STRUCT_PTR; in host_control_smi()
392 index < (PE1300_CMOS_CMD_STRUCT_PTR + 4); in host_control_smi()
393 index++, data++) { in host_control_smi()
394 outb(index, in host_control_smi()
422 for (index = PE1400_CMOS_CMD_STRUCT_PTR; in host_control_smi()
423 index < (PE1400_CMOS_CMD_STRUCT_PTR + 4); in host_control_smi()
424 index++, data++) { in host_control_smi()
425 outb(index, (CMOS_BASE_PORT + CMOS_PAGE1_INDEX_PORT)); in host_control_smi()
435 /* restore RTC index pointe in host_control_smi()
[all...]
/kernel/linux/linux-6.6/drivers/tty/ipwireless/
H A Dtty.c48 int index; member
74 static struct ipw_tty *get_tty(int index) in get_tty() argument
81 if (!ipwireless_loopback && index >= in get_tty()
85 return ttys[index]; in get_tty()
90 struct ipw_tty *tty = get_tty(linux_tty->index); in ipw_open()
261 ss->line = tty->index; in ipwireless_get_serial_info()
443 ttys[j]->index = j; in add_tty()
515 struct ipw_network *network = ttys[tty->index]->network; in ipwireless_tty_free()
517 for (j = tty->index; j < IPWIRELESS_PCMCIA_MINORS; in ipwireless_tty_free()
/kernel/linux/linux-6.6/drivers/video/fbdev/via/
H A Ddvi.c11 static void tmds_register_write(int index, u8 data);
12 static int tmds_register_read(int index);
13 static int tmds_register_read_bytes(int index, u8 *buff, int buff_len);
135 static void tmds_register_write(int index, u8 data) in tmds_register_write() argument
139 index, data); in tmds_register_write()
142 static int tmds_register_read(int index) in tmds_register_read() argument
148 (u8) index, &data); in tmds_register_read()
152 static int tmds_register_read_bytes(int index, u8 *buff, int buff_len) in tmds_register_read_bytes() argument
156 (u8) index, buff, buff_len); in tmds_register_read_bytes()
/kernel/linux/linux-6.6/drivers/clk/meson/
H A Dclk-pll.c138 static int meson_clk_get_pll_table_index(unsigned int index, in meson_clk_get_pll_table_index() argument
143 if (!pll->table[index].n) in meson_clk_get_pll_table_index()
146 *m = pll->table[index].m; in meson_clk_get_pll_table_index()
147 *n = pll->table[index].n; in meson_clk_get_pll_table_index()
167 unsigned int index, in meson_clk_get_pll_range_index()
172 *n = index + 1; in meson_clk_get_pll_range_index()
200 unsigned int index, in meson_clk_get_pll_get_index()
207 index, m, n, pll); in meson_clk_get_pll_get_index()
209 return meson_clk_get_pll_table_index(index, m, n, pll); in meson_clk_get_pll_get_index()
165 meson_clk_get_pll_range_index(unsigned long rate, unsigned long parent_rate, unsigned int index, unsigned int *m, unsigned int *n, struct meson_clk_pll_data *pll) meson_clk_get_pll_range_index() argument
198 meson_clk_get_pll_get_index(unsigned long rate, unsigned long parent_rate, unsigned int index, unsigned int *m, unsigned int *n, struct meson_clk_pll_data *pll) meson_clk_get_pll_get_index() argument
/kernel/linux/linux-6.6/kernel/module/
H A Dkallsyms.c50 if (sym->st_shndx == SHN_ABS || sym->st_shndx == info->index.pcpu) in elf_type()
115 Elf_Shdr *symsect = info->sechdrs + info->index.sym; in layout_symtab()
116 Elf_Shdr *strsect = info->sechdrs + info->index.str; in layout_symtab()
125 symsect, info->index.sym); in layout_symtab()
135 info->index.pcpu)) { in layout_symtab()
152 strsect, info->index.str); in layout_symtab()
176 Elf_Shdr *symsec = &info->sechdrs[info->index.sym]; in add_kallsyms()
191 (void *)info->sechdrs[info->index.str].sh_addr; in add_kallsyms()
207 info->index.pcpu)) { in add_kallsyms()
/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/
H A Dmtk_wed_mcu.c223 int index; in mtk_wed_get_memory_region() local
225 index = of_property_match_string(wo->hw->node, "memory-region-names", in mtk_wed_get_memory_region()
227 if (index < 0) in mtk_wed_get_memory_region()
228 return index; in mtk_wed_get_memory_region()
230 np = of_parse_phandle(wo->hw->node, "memory-region", index); in mtk_wed_get_memory_region()
326 wo->hw->index + 1); in mtk_wed_mcu_load_firmware()
332 fw_name = wo->hw->index ? MT7986_FIRMWARE_WO1 : MT7986_FIRMWARE_WO0; in mtk_wed_mcu_load_firmware()
353 boot_cr = wo->hw->index ? MTK_WO_MCU_CFG_LS_WA_BOOT_ADDR_ADDR in mtk_wed_mcu_load_firmware()
360 val |= wo->hw->index ? MTK_WO_MCU_CFG_LS_WF_WM_WA_WA_CPU_RSTB_MASK in mtk_wed_mcu_load_firmware()
/kernel/linux/linux-6.6/drivers/media/platform/amphion/
H A Dvpu_rpc.h32 u32 index; member
57 u32 regs_base, void __iomem *regs, u32 index);
58 void (*set_stream_cfg)(struct vpu_shared_addr *shared, u32 index);
66 int (*pack_cmd)(struct vpu_rpc_event *pkt, u32 index, u32 id, void *data);
74 u32 index,
281 u32 index, u32 id, void *data) in vpu_iface_pack_cmd()
287 return ops->pack_cmd(pkt, index, id, data); in vpu_iface_pack_cmd()
329 u32 index, in vpu_iface_config_memory_resource()
339 type, index, buf); in vpu_iface_config_memory_resource()
279 vpu_iface_pack_cmd(struct vpu_core *core, struct vpu_rpc_event *pkt, u32 index, u32 id, void *data) vpu_iface_pack_cmd() argument
327 vpu_iface_config_memory_resource(struct vpu_inst *inst, u32 type, u32 index, struct vpu_buffer *buf) vpu_iface_config_memory_resource() argument
/kernel/linux/linux-6.6/drivers/nvmem/
H A Dimx-ocotp.c164 u32 index, num_bytes; in imx_ocotp_read() local
166 index = offset >> 2; in imx_ocotp_read()
170 if (count > (priv->params->nregs - index)) in imx_ocotp_read()
171 count = priv->params->nregs - index; in imx_ocotp_read()
195 for (i = index; i < (index + count); i++) { in imx_ocotp_read()
211 index = offset % 4; in imx_ocotp_read()
212 memcpy(val, &p[index], bytes); in imx_ocotp_read()
223 static int imx_ocotp_cell_pp(void *context, const char *id, int index, in imx_ocotp_cell_pp() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/ast/
H A Dast_drv.h312 static inline u8 ast_get_index_reg(struct ast_device *ast, u32 base, u8 index) in ast_get_index_reg() argument
314 ast_io_write8(ast, base, index); in ast_get_index_reg()
319 static inline u8 ast_get_index_reg_mask(struct ast_device *ast, u32 base, u8 index, in ast_get_index_reg_mask() argument
322 u8 val = ast_get_index_reg(ast, base, index); in ast_get_index_reg_mask()
327 static inline void ast_set_index_reg(struct ast_device *ast, u32 base, u8 index, u8 val) in ast_set_index_reg() argument
329 ast_io_write8(ast, base, index); in ast_set_index_reg()
334 static inline void ast_set_index_reg_mask(struct ast_device *ast, u32 base, u8 index, in ast_set_index_reg_mask() argument
337 u8 tmp = ast_get_index_reg_mask(ast, base, index, preserve_mask); in ast_set_index_reg_mask()
340 ast_set_index_reg(ast, base, index, tmp); in ast_set_index_reg_mask()
472 * CRE2[7:0]: video format index (
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/
H A Dintel_bios.c23 int index = 0; in find_section() local
28 index += bdb->header_size; in find_section()
32 while (index < total) { in find_section()
33 current_id = *(base + index); in find_section()
34 index++; in find_section()
35 current_size = *((u16 *)(base + index)); in find_section()
36 index += 2; in find_section()
38 return base + index; in find_section()
39 index += current_size; in find_section()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dthmc50.c166 int nr = to_sensor_dev_attr(attr)->index; in temp_show()
174 int nr = to_sensor_dev_attr(attr)->index; in temp_min_show()
183 int nr = to_sensor_dev_attr(attr)->index; in temp_min_store()
204 int nr = to_sensor_dev_attr(attr)->index; in temp_max_show()
213 int nr = to_sensor_dev_attr(attr)->index; in temp_max_store()
234 int nr = to_sensor_dev_attr(attr)->index; in temp_critical_show()
242 int index = to_sensor_dev_attr(attr)->index; in alarm_show() local
245 return sprintf(buf, "%u\n", (data->alarms >> index) & 1); in alarm_show()
/kernel/linux/linux-6.6/drivers/iio/accel/
H A Dstk8312.c73 #define STK8312_ACCEL_CHANNEL(index, reg, axis) { \
81 .scan_index = index, \
383 int index = -1; in stk8312_write_raw() local
392 index = i + 1; in stk8312_write_raw()
395 if (index < 0) in stk8312_write_raw()
399 ret = stk8312_set_range(data, index); in stk8312_write_raw()
407 index = i; in stk8312_write_raw()
410 if (index < 0) in stk8312_write_raw()
413 ret = stk8312_set_sample_rate(data, index); in stk8312_write_raw()
/kernel/linux/linux-6.6/net/sched/
H A Dact_mirred.c106 u32 index; in tcf_mirred_init() local
121 index = parm->index; in tcf_mirred_init()
122 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mirred_init()
139 tcf_idr_cleanup(tn, index); in tcf_mirred_init()
146 tcf_idr_cleanup(tn, index); in tcf_mirred_init()
150 ret = tcf_idr_create_from_flags(tn, index, est, a, in tcf_mirred_init()
153 tcf_idr_cleanup(tn, index); in tcf_mirred_init()
362 .index = m->tcf_index, in tcf_mirred_dump()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dstrobemeta.h320 /* valid module index is always positive */ in calc_location()
466 static int read_var_callback(__u64 index, struct read_var_ctx *ctx) in read_var_callback() argument
471 ctx->payload_off ^= index; in read_var_callback()
473 ctx->payload_off ^= index; in read_var_callback()
476 if (index >= STROBE_MAX_INTS) in read_var_callback()
478 read_int_var(ctx->cfg, index, ctx->tls_base, ctx->value, ctx->data); in read_var_callback()
481 if (index >= STROBE_MAX_MAPS) in read_var_callback()
485 ctx->payload_off = read_map_var(ctx->cfg, index, ctx->tls_base, in read_var_callback()
489 if (index >= STROBE_MAX_STRS) in read_var_callback()
493 ctx->payload_off = read_str_var(ctx->cfg, index, ct in read_var_callback()
[all...]
/kernel/linux/linux-6.6/lib/
H A Didr.c50 *nextid = iter.index + base; in idr_alloc_u32()
204 unsigned long id = iter.index + base; in idr_for_each()
249 *nextid = iter.index + base; in idr_get_next_ul()
338 * and indexing by bit number, but the XArray can't allow a single multi-index
340 * for the IDA. So instead we divide the index by the number of bits in the
558 extern void xa_dump_index(unsigned long index, unsigned int shift);
561 static void ida_dump_entry(void *entry, unsigned long index) in ida_dump_entry() argument
573 xa_dump_index(index * IDA_BITMAP_BITS, shift); in ida_dump_entry()
577 index | (i << node->shift)); in ida_dump_entry()
579 xa_dump_index(index * IDA_BITMAP_BIT in ida_dump_entry()
[all...]
/third_party/alsa-utils/alsactl/
H A Ddaemon.c40 int index; member
93 int i, index, findex; in add_card() local
96 index = snd_card_get_index(cardname); in add_card()
97 if (index < 0) in add_card()
103 if ((*cards)[i]->index == index) in add_card()
110 card->index = index; in add_card()
111 sprintf(device, "hw:%i", index); in add_card()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DPluralFormat.java442 * @param partIndex the index of the first PluralFormat argument style part.
447 * @return the sub-message start part index.
648 int index = part.getIndex(); in format()
651 return pattern.substring(prevIndex, index); in format()
653 return result.append(pattern, prevIndex, index).toString(); in format()
661 result.append(pattern, prevIndex, index); in format()
670 result.append(pattern, prevIndex, index); in format()
671 prevIndex = index; in format()
673 index = msgPattern.getPart(partIndex).getLimit(); in format()
674 MessagePattern.appendReducedApostrophes(pattern, prevIndex, index, resul in format()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DPluralFormat.java427 * @param partIndex the index of the first PluralFormat argument style part.
432 * @return the sub-message start part index.
631 int index = part.getIndex(); in format()
634 return pattern.substring(prevIndex, index); in format()
636 return result.append(pattern, prevIndex, index).toString(); in format()
644 result.append(pattern, prevIndex, index); in format()
653 result.append(pattern, prevIndex, index); in format()
654 prevIndex = index; in format()
656 index = msgPattern.getPart(partIndex).getLimit(); in format()
657 MessagePattern.appendReducedApostrophes(pattern, prevIndex, index, resul in format()
[all...]
/third_party/lzma/CPP/7zip/Common/
H A DCreateCoder.cpp55 static HRESULT ReadNumberOfStreams(ICompressCodecsInfo *codecsInfo, UInt32 index, PROPID propID, UInt32 &res) in ReadNumberOfStreams() argument
58 RINOK(codecsInfo->GetProperty(index, propID, &prop)) in ReadNumberOfStreams()
68 static HRESULT ReadIsAssignedProp(ICompressCodecsInfo *codecsInfo, UInt32 index, PROPID propID, bool &res) in ReadIsAssignedProp() argument
71 RINOK(codecsInfo->GetProperty(index, propID, &prop)) in ReadIsAssignedProp()
426 unsigned index, bool encode, in CreateCoder_Index()
432 index, encode, in CreateCoder_Index()
453 const int index = FindMethod_Index(EXTERNAL_CODECS_LOC_VARS methodId, encode); in CreateCoder_Id() local
454 if (index < 0) in CreateCoder_Id()
456 return CreateCoder_Index(EXTERNAL_CODECS_LOC_VARS (unsigned)index, encode, filter, cod); in CreateCoder_Id()
424 CreateCoder_Index( DECL_EXTERNAL_CODECS_LOC_VARS unsigned index, bool encode, CCreatedCoder &cod) CreateCoder_Index() argument
/third_party/lzma/CPP/7zip/UI/Common/
H A DPropIDUtils.cpp416 const int index = FindPairIndex(sid_32_Names, Z7_ARRAY_SIZE(sid_32_Names), v1); in ParseSid() local
417 if (index >= 0) in ParseSid()
419 s += sid_32_Names[(unsigned)index].sz; in ParseSid()
426 const int index = FindPairIndex(sid_21_Names, Z7_ARRAY_SIZE(sid_21_Names), v4); in ParseSid() local
427 if (index >= 0) in ParseSid()
429 s += sid_21_Names[(unsigned)index].sz; in ParseSid()
704 const int index = FindPairIndex(k_ReparseTags, Z7_ARRAY_SIZE(k_ReparseTags), tag); in ConvertNtReparseToString() local
705 if (index >= 0) in ConvertNtReparseToString()
706 s += k_ReparseTags[(unsigned)index].sz; in ConvertNtReparseToString()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_shader_gs.cpp60 auto index = nir_src_as_const_value(instr->src[1]); in process_store_output() local
61 assert(index); in process_store_output()
63 auto driver_location = nir_intrinsic_base(instr) + index->u32; in process_store_output()
118 auto index = nir_src_as_const_value(instr->src[1]); in process_load_input() local
119 assert(index); in process_load_input()
121 auto driver_location = nir_intrinsic_base(instr) + index->u32; in process_load_input()
252 auto index = nir_src_as_const_value(instr->src[1]);
253 assert(index);
254 auto driver_location = nir_intrinsic_base(instr) + index->u32;
/third_party/node/lib/internal/test_runner/
H A Drunner.js502 shard = { __proto__: null, index: shard.index, total: shard.total };
505 validateInteger(shard.index, 'options.shard.index');
507 if (shard.index <= 0 || shard.total < shard.index) {
508 throw new ERR_OUT_OF_RANGE('options.shard.index', `>= 1 && <= ${shard.total} ("options.shard.total")`, shard.index);
539 testFiles = ArrayPrototypeFilter(testFiles, (_, index) => index
[all...]
/third_party/mesa3d/src/mesa/program/
H A Dprog_parameter.c268 * \return index of new parameter in the list, or -1 if error (out of mem)
376 * \return index/position of the new parameter in the parameter list.
430 GLint index; in _mesa_add_sized_state_reference() local
433 for (index = 0; index < (GLint) paramList->NumParameters; index++) { in _mesa_add_sized_state_reference()
434 if (!memcmp(paramList->Parameters[index].StateIndexes, in _mesa_add_sized_state_reference()
436 sizeof(paramList->Parameters[index].StateIndexes))) { in _mesa_add_sized_state_reference()
437 return index; in _mesa_add_sized_state_reference()
442 index in _mesa_add_sized_state_reference()
[all...]
/third_party/node/deps/v8/src/ast/
H A Dmodules.cc182 int index = 0; in SerializeRegularExports() local
197 data[index + SourceTextModuleInfo::kRegularExportLocalNameOffset] = in SerializeRegularExports()
199 data[index + SourceTextModuleInfo::kRegularExportCellIndexOffset] = in SerializeRegularExports()
201 data[index + SourceTextModuleInfo::kRegularExportExportNamesOffset] = in SerializeRegularExports()
203 index += SourceTextModuleInfo::kRegularExportLength; in SerializeRegularExports()
215 DCHECK_LE(index, static_cast<int>(data.size())); in SerializeRegularExports()
216 data.resize(index); in SerializeRegularExports()
221 isolate->factory()->NewFixedArray(index, AllocationType::kOld); in SerializeRegularExports()
222 for (int i = 0; i < index; ++i) { in SerializeRegularExports()
276 // same index t in AssignCellIndices()
[all...]

Completed in 30 milliseconds

1...<<221222223224225226227228229230>>...917