/kernel/linux/linux-6.6/drivers/crypto/aspeed/ |
H A D | aspeed-hace-hash.c | 80 unsigned int index, padlen; in aspeed_ahash_fill_padding() local 90 index = rctx->bufcnt & 0x3f; in aspeed_ahash_fill_padding() 91 padlen = (index < 56) ? (56 - index) : ((64 + 56) - index); in aspeed_ahash_fill_padding() 101 index = rctx->bufcnt & 0x7f; in aspeed_ahash_fill_padding() 102 padlen = (index < 112) ? (112 - index) : ((128 + 112) - index); in aspeed_ahash_fill_padding()
|
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos4-is/ |
H A D | media-dev.c | 400 int index = fmd->num_sensors; in fimc_md_parse_one_endpoint() local 401 struct fimc_source_info *pd = &fmd->sensor[index].pdata; in fimc_md_parse_one_endpoint() 413 if (WARN_ON(endpoint.base.port == 0) || index >= FIMC_MAX_SENSORS) { in fimc_md_parse_one_endpoint() 461 if (WARN_ON(index >= ARRAY_SIZE(fmd->sensor))) { in fimc_md_parse_one_endpoint() 475 fmd->sensor[index].asd = asd; in fimc_md_parse_one_endpoint() 586 if (WARN_ON(fimc_lite->index >= FIMC_LITE_MAX_DEVS || in register_fimc_lite_entity() 587 fmd->fimc_lite[fimc_lite->index])) in register_fimc_lite_entity() 601 fmd->fimc_lite[fimc_lite->index] = fimc_lite; in register_fimc_lite_entity() 604 fimc_lite->index); in register_fimc_lite_entity() 812 * @pad: the source entity pad index [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/amphion/ |
H A D | vpu_windsor.c | 682 int vpu_windsor_pack_cmd(struct vpu_rpc_event *pkt, u32 index, u32 id, void *data) in vpu_windsor_pack_cmd() argument 691 pkt->hdr.index = index; in vpu_windsor_pack_cmd() 813 u32 index, in vpu_windsor_config_memory_resource() 826 if (index >= ARRAY_SIZE(pool->enc_frames)) in vpu_windsor_config_memory_resource() 828 res = &pool->enc_frames[index]; in vpu_windsor_config_memory_resource() 831 if (index >= ARRAY_SIZE(pool->ref_frames)) in vpu_windsor_config_memory_resource() 833 res = &pool->ref_frames[index]; in vpu_windsor_config_memory_resource() 836 if (index) in vpu_windsor_config_memory_resource() 810 vpu_windsor_config_memory_resource(struct vpu_shared_addr *shared, u32 instance, u32 type, u32 index, struct vpu_buffer *buf) vpu_windsor_config_memory_resource() argument
|
/kernel/linux/linux-6.6/drivers/media/pci/saa7134/ |
H A D | saa7134-core.c | 114 u32 index, bitval; in saa7134_set_gpio() local 116 index = 1 << bit_no; in saa7134_set_gpio() 122 if (index & 0x00c00000) in saa7134_set_gpio() 125 bitval = index; in saa7134_set_gpio() 128 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, index, index); in saa7134_set_gpio() 129 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, index, bitval); in saa7134_set_gpio() 133 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, index, 0); in saa7134_set_gpio() 202 * buf->vb2.vb2_buf.index; in saa7134_buffer_startpage()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/ |
H A D | main.c | 352 u8 index; in ath6kl_install_static_wep_keys() local 355 for (index = 0; index <= WMI_MAX_KEY_INDEX; index++) { in ath6kl_install_static_wep_keys() 356 if (vif->wep_key_list[index].key_len) { in ath6kl_install_static_wep_keys() 358 if (index == vif->def_txkey_index) in ath6kl_install_static_wep_keys() 362 index, in ath6kl_install_static_wep_keys() 365 vif->wep_key_list[index].key_len, in ath6kl_install_static_wep_keys() 367 vif->wep_key_list[index].key, in ath6kl_install_static_wep_keys()
|
/kernel/linux/linux-6.6/drivers/net/wireless/rsi/ |
H A D | rsi_91x_hal.c | 755 u32 temp_content_size, num_flash, index; in auto_fw_upgrade() local 796 for (index = 0; index <= num_flash; index++) { in auto_fw_upgrade() 797 rsi_dbg(INFO_ZONE, "flash index: %d\n", index); in auto_fw_upgrade() 798 if (index != num_flash) { in auto_fw_upgrade() 814 if (index % 2) in auto_fw_upgrade() 823 __func__, index); in auto_fw_upgrade() 829 __func__, index); in auto_fw_upgrade() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_trace.h | 745 __field( enum dpu_sspp, index ) 750 __entry->index = pipe->sspp->idx; 754 TP_printk("index:%d layout:{%ux%u @ [%u/%u, %u/%u, %u/%u, %u/%u]} " 755 "multirect_index:%d", __entry->index, __entry->layout.width, 824 TP_PROTO(enum dpu_vbif index, u32 xin_id), 825 TP_ARGS(index, xin_id), 827 __field( enum dpu_vbif, index ) 831 __entry->index = index; 834 TP_printk("index [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/ |
H A D | nouveau_connector.c | 1276 int index = dcbe->connector; in nouveau_connector_create() local 1283 if (nv_connector->index == index) { in nouveau_connector_create() 1295 nv_connector->index = index; in nouveau_connector_create() 1299 nv_connector->dcb = olddcb_conn(dev, index); in nouveau_connector_create() 1338 if (dcbt->entry[i].connector == nv_connector->index) in nouveau_connector_create() 1410 if (nv_connector->dcb && (disp->disp.conn_mask & BIT(nv_connector->index))) { in nouveau_connector_create() 1411 ret = nvif_conn_ctor(&disp->disp, nv_connector->base.name, nv_connector->index, in nouveau_connector_create()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | nct6775-platform.c | 754 int nr = to_sensor_dev_attr(attr)->index - INTRUSION_ALARM_BASE; in clear_caseopen() 801 struct attribute *attr, int index) in nct6775_other_is_visible() 806 if (index == 0 && !data->have_vid) in nct6775_other_is_visible() 809 if (index == 1 || index == 2) { in nct6775_other_is_visible() 810 if (data->ALARM_BITS[INTRUSION_ALARM_BASE + index - 1] < 0) in nct6775_other_is_visible() 814 if (index == 3 || index == 4) { in nct6775_other_is_visible() 815 if (data->BEEP_BITS[INTRUSION_ALARM_BASE + index - 3] < 0) in nct6775_other_is_visible() 823 * nct6775_other_is_visible uses the index int 800 nct6775_other_is_visible(struct kobject *kobj, struct attribute *attr, int index) nct6775_other_is_visible() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_binding.c | 378 * vmw_binding_add_uav_index - Add UAV index for tracking. 380 * @slot: UAV type to which bind this index. 381 * @index: The splice index to track. 384 uint32 index) in vmw_binding_add_uav_index() 386 cbs->ua_views[slot].index = index; in vmw_binding_add_uav_index() 530 to->ua_views[0].index = from->ua_views[0].index; in vmw_binding_state_commit() 531 to->ua_views[1].index in vmw_binding_state_commit() 383 vmw_binding_add_uav_index(struct vmw_ctx_binding_state *cbs, uint32 slot, uint32 index) vmw_binding_add_uav_index() argument [all...] |
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-xiic.c | 374 unsigned int index = 0; in xiic_setclk() local 389 index = REG_VALUES_1MHZ; in xiic_setclk() 392 index = REG_VALUES_400KHZ; in xiic_setclk() 395 index = REG_VALUES_100KHZ; in xiic_setclk() 420 reg_val = (timing_reg_values[index].tsusta * clk_in_mhz) / 1000; in xiic_setclk() 424 reg_val = (timing_reg_values[index].tsusto * clk_in_mhz) / 1000; in xiic_setclk() 428 reg_val = (timing_reg_values[index].thdsta * clk_in_mhz) / 1000; in xiic_setclk() 432 reg_val = (timing_reg_values[index].tsudat * clk_in_mhz) / 1000; in xiic_setclk() 436 reg_val = (timing_reg_values[index].tbuf * clk_in_mhz) / 1000; in xiic_setclk()
|
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | sur40.c | 256 u8 command, u16 index, void *buffer, u16 size) in sur40_command() 261 0x00, index, buffer, size, 1000); in sur40_command() 268 u8 index = 0x96; // 0xae for permanent write in sur40_poke() local 272 0x32, index, NULL, 0, 1000); in sur40_poke() 951 if (i->index != 0) in sur40_vidioc_enum_input() 1056 if (f->index >= ARRAY_SIZE(sur40_pix_format)) in sur40_vidioc_enum_fmt() 1059 f->pixelformat = sur40_pix_format[f->index].pixelformat; in sur40_vidioc_enum_fmt() 1069 if ((f->index != 0) || ((f->pixel_format != V4L2_TCH_FMT_TU08) in sur40_vidioc_enum_framesizes() 1084 if ((f->index > 0) || ((f->pixel_format != V4L2_TCH_FMT_TU08) in sur40_vidioc_enum_frameintervals() 255 sur40_command(struct sur40_state *dev, u8 command, u16 index, void *buffer, u16 size) sur40_command() argument
|
/kernel/linux/linux-6.6/net/devlink/ |
H A D | port.c | 189 if (nla_put_u32(msg, DEVLINK_ATTR_PORT_INDEX, devlink_port->index)) in devlink_nl_port_handle_fill() 453 if (nla_put_u32(msg, DEVLINK_ATTR_PORT_INDEX, devlink_port->index)) in devlink_nl_port_fill() 486 devlink_port->linecard->index)) in devlink_nl_port_fill() 508 if (!xa_get_mark(&devlinks, devlink->index, DEVLINK_REGISTERED)) in devlink_port_notify() 858 /* Port index of the new port being created by driver. */ in devlink_nl_cmd_port_new_doit() 996 * Register devlink port with provided port index. User can use 1015 devlink_port->index = port_index; in devl_port_register_with_ops() 1040 * Register devlink port with provided port index. User can use 1075 xa_erase(&devlink_port->devlink->ports, devlink_port->index); in devl_port_unregister() 1185 devlink_port->index); in devlink_port_type_eth_set() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | opus_silk.c | 228 int index = nlsf[k] >> 8; in silk_lsf2lpc() local 233 lsp[k2] = ff_silk_cosine[index] * 256; in silk_lsf2lpc() 234 lsp[k2] += (ff_silk_cosine[index + 1] - ff_silk_cosine[index]) * offset; in silk_lsf2lpc() 321 int index = s->wb ? ff_silk_lsf_s2_model_sel_wb [lsf_i1][i] : in silk_decode_lpc() local 323 lsf_i2[i] = ff_opus_rc_dec_cdf(rc, ff_silk_model_lsf_s2[index]) - 4; in silk_decode_lpc() 646 int index, j; in silk_decode_frame() local 654 index = ff_opus_rc_dec_cdf(rc, filter_sel[ltpfilter]); in silk_decode_frame() 656 sf[i].ltptaps[j] = filter_taps[ltpfilter][index][j] / 128.0f; in silk_decode_frame()
|
/third_party/glslang/glslang/MachineIndependent/ |
H A D | localintermediate.h | 122 // An IO range is a 3-D rectangle; the set of (location, component, index) triples all lying 123 // within the same location range, component range, and index value. Locations don't alias unless 126 TIoRange(TRange location, TRange component, TBasicType basicType, int index) 127 : location(location), component(component), basicType(basicType), index(index) { } 130 return location.overlap(rhs.location) && component.overlap(rhs.component) && index == rhs.index; 135 int index; 519 TIntermTyped* addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, const TSourceLoc&); 574 TIntermTyped* foldDereference(TIntermTyped* node, int index, cons [all...] |
/third_party/backends/backend/ |
H A D | u12-image.c | 235 static void u12image_SetupScanStateVariables( U12_Device *dev, u_long index ) in u12image_SetupScanStateVariables() 239 DBG( _DBG_INFO, "u12image_SetupScanStateVariables(%lu)\n", index ); in u12image_SetupScanStateVariables() 240 dev->scan.dpiIdx = index; in u12image_SetupScanStateVariables() 244 dev->shade.wExposure = nmlScan[index].exposureTime; in u12image_SetupScanStateVariables() 245 dev->shade.wXStep = nmlScan[index].xStepTime; in u12image_SetupScanStateVariables() 253 dev->shade.wExposure = posScan[index].exposureTime; in u12image_SetupScanStateVariables() 254 dev->shade.wXStep = posScan[index].xStepTime; in u12image_SetupScanStateVariables() 256 dev->shade.wExposure = dev->scan.negScan[index].exposureTime; in u12image_SetupScanStateVariables() 257 dev->shade.wXStep = dev->scan.negScan[index].xStepTime; in u12image_SetupScanStateVariables()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | MessageFormat.java | 96 * <p>Each argument is matched with one of the input values by array index or map key 558 * Returns the part index of the next ARG_START after partIndex, or -1 if there is none more. 559 * @param partIndex Part index of the previous ARG_START (initially 0). 603 * If an argument index is used for more than one format element 605 * for all such format elements. If an argument index is not used 699 * index. 700 * The argument index is part of the format element definition and 701 * represents an index into the <code>arguments</code> array passed 705 * If the argument index is used for more than one format element 707 * format elements. If the argument index i [all...] |
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
H A D | RuleBasedCollator.java | 1502 index = -1; in reset() 1511 if(index >= 0) { in nextCodePoint() 1512 if(index == decomp.length()) { in nextCodePoint() 1513 index = -1; in nextCodePoint() 1515 int c = Character.codePointAt(decomp, index); in nextCodePoint() 1516 index += Character.charCount(c); in nextCodePoint() 1529 if(index >= 0) { return c; } in nextDecomposedCodePoint() 1533 index = Character.charCount(c); in nextDecomposedCodePoint() 1544 private int index; field in RuleBasedCollator.NFDIterator
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | MessageFormat.java | 97 * <p>Each argument is matched with one of the input values by array index or map key 547 * Returns the part index of the next ARG_START after partIndex, or -1 if there is none more. 548 * @param partIndex Part index of the previous ARG_START (initially 0). 592 * If an argument index is used for more than one format element 594 * for all such format elements. If an argument index is not used 685 * index. 686 * The argument index is part of the format element definition and 687 * represents an index into the <code>arguments</code> array passed 691 * If the argument index is used for more than one format element 693 * format elements. If the argument index i [all...] |
H A D | RuleBasedCollator.java | 1463 index = -1; in reset() 1472 if(index >= 0) { in nextCodePoint() 1473 if(index == decomp.length()) { in nextCodePoint() 1474 index = -1; in nextCodePoint() 1476 int c = Character.codePointAt(decomp, index); in nextCodePoint() 1477 index += Character.charCount(c); in nextCodePoint() 1490 if(index >= 0) { return c; } in nextDecomposedCodePoint() 1494 index = Character.charCount(c); in nextDecomposedCodePoint() 1505 private int index; field in RuleBasedCollator.NFDIterator
|
/third_party/icu/icu4c/source/i18n/ |
H A D | tzgnames.cpp | 135 UTimeZoneGenericNameType getGenericNameType(int32_t index) const; 136 int32_t getMatchLength(int32_t index) const; 137 UnicodeString& getTimeZoneID(int32_t index, UnicodeString& tzID) const; 162 TimeZoneGenericNameMatchInfo::getGenericNameType(int32_t index) const { in getGenericNameType() 163 GMatchInfo *minfo = (GMatchInfo *)fMatches->elementAt(index); in getGenericNameType() 171 TimeZoneGenericNameMatchInfo::getMatchLength(int32_t index) const { in getMatchLength() 172 ZMatchInfo *minfo = (ZMatchInfo *)fMatches->elementAt(index); in getMatchLength() 180 TimeZoneGenericNameMatchInfo::getTimeZoneID(int32_t index, UnicodeString& tzID) const { in getTimeZoneID() argument 181 GMatchInfo *minfo = (GMatchInfo *)fMatches->elementAt(index); in getTimeZoneID()
|
H A D | collationfastlatin.cpp | 861 int32_t index = NUM_FAST_CHARS + (ce & INDEX_MASK); in nextPair() local 862 return ((uint32_t)table[index + 1] << 16) | table[index]; in nextPair() 870 int32_t index = NUM_FAST_CHARS + (ce & INDEX_MASK); in nextPair() local 919 int32_t i = index; in nextPair() 928 index = i; in nextPair() 933 int32_t length = table[index] >> CONTR_LENGTH_SHIFT; in nextPair() 937 ce = table[index + 1]; in nextPair() 941 return ((uint32_t)table[index + 2] << 16) | ce; in nextPair()
|
/third_party/libsnd/src/ |
H A D | caf.c | 908 { uint32_t index ; member 916 if (buf->index + strlen (key) + strlen (value) + 2 > sizeof (buf->s)) in put_key_value() 919 written = snprintf (buf->s + buf->index, sizeof (buf->s) - buf->index, "%s%c%s%c", key, 0, value, 0) ; in put_key_value() 921 if (buf->index + written >= sizeof (buf->s)) in put_key_value() 924 buf->index += written ; in put_key_value() 983 if (string_count == 0 || buf.index == 0) in caf_write_strings() 986 psf_binheader_writef (psf, "Em84b", BHWm (info_MARKER), BHW8 (buf.index + 4), BHW4 (string_count), BHWv (buf.s), BHWz (buf.index)) ; in caf_write_strings()
|
/third_party/node/test/fixtures/postject-copy/node_modules/commander/lib/ |
H A D | command.js | 1136 this._args.forEach((declaredArg, index) => { 1140 if (index < this.args.length) { 1141 value = this.args.slice(index); 1150 } else if (index < this.args.length) { 1151 value = this.args[index]; 1156 processedArgs[index] = value; 1488 const index = arg.indexOf('='); 1489 const option = this._findOption(arg.slice(0, index)); 1491 this.emit(`option:${option.name()}`, arg.slice(index + 1));
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | collationfastlatin.cpp | 861 int32_t index = NUM_FAST_CHARS + (ce & INDEX_MASK); in nextPair() local 862 return ((uint32_t)table[index + 1] << 16) | table[index]; in nextPair() 870 int32_t index = NUM_FAST_CHARS + (ce & INDEX_MASK); in nextPair() local 919 int32_t i = index; in nextPair() 928 index = i; in nextPair() 933 int32_t length = table[index] >> CONTR_LENGTH_SHIFT; in nextPair() 937 ce = table[index + 1]; in nextPair() 941 return ((uint32_t)table[index + 2] << 16) | ce; in nextPair()
|