/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbevf/ |
H A D | vf.c | 250 static s32 ixgbevf_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr) in ixgbevf_set_uc_addr_vf() argument 257 /* If index is one then this is the start of a new list and needs in ixgbevf_set_uc_addr_vf() 262 msgbuf[0] |= index << IXGBE_VT_MSGINFO_SHIFT; in ixgbevf_set_uc_addr_vf() 281 static s32 ixgbevf_hv_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr) in ixgbevf_hv_set_uc_addr_vf() argument 428 * @index: Receive address register to write 432 static s32 ixgbevf_set_rar_vf(struct ixgbe_hw *hw, u32 index, u8 *addr, in ixgbevf_set_rar_vf() argument 460 * @index: Receive address register to write 468 static s32 ixgbevf_hv_set_rar_vf(struct ixgbe_hw *hw, u32 index, u8 *addr, in ixgbevf_hv_set_rar_vf() argument
|
/kernel/linux/linux-6.6/drivers/net/wireguard/ |
H A D | receive.c | 297 unsigned long index, index_current, top, i; in counter_validate() local 312 index = their_counter >> ilog2(BITS_PER_LONG); in counter_validate() 316 top = min_t(unsigned long, index - index_current, in counter_validate() 324 index &= (COUNTER_BITS_TOTAL / BITS_PER_LONG) - 1; in counter_validate() 326 &counter->backtrack[index]); in counter_validate()
|
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | stv0299.c | 167 u8 index; in stv0299_get_fec() local 171 index = stv0299_readreg (state, 0x1b); in stv0299_get_fec() 172 index &= 0x7; in stv0299_get_fec() 174 if (index > 4) in stv0299_get_fec() 177 return fec_tab [index]; in stv0299_get_fec()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
H A D | trx.c | 458 u32 index; in _rtl_tx_desc_checksum() local 462 for (index = 0; index < 16; index++) in _rtl_tx_desc_checksum() 463 checksum = checksum ^ le16_to_cpu(*(ptr + index)); in _rtl_tx_desc_checksum()
|
/kernel/linux/linux-6.6/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx1-core.c | 465 u32 index) in imx1_pinctrl_parse_groups() 471 dev_dbg(info->dev, "group(%d): %pOFn\n", index, np); in imx1_pinctrl_parse_groups() 509 u32 index) in imx1_pinctrl_parse_functions() 518 dev_dbg(info->dev, "parse function(%d): %pOFn\n", index, np); in imx1_pinctrl_parse_functions() 520 func = &info->functions[index]; in imx1_pinctrl_parse_functions() 462 imx1_pinctrl_parse_groups(struct device_node *np, struct imx1_pin_group *grp, struct imx1_pinctrl_soc_info *info, u32 index) imx1_pinctrl_parse_groups() argument 507 imx1_pinctrl_parse_functions(struct device_node *np, struct imx1_pinctrl_soc_info *info, u32 index) imx1_pinctrl_parse_functions() argument
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/ |
H A D | wow.c | 120 /* Current firmware and driver don't report pattern index in rtw89_wow_show_wakeup_reason() 127 /* Current firmware and driver don't report ssid index. in rtw89_wow_show_wakeup_reason() 171 int index; in __rtw89_cal_crc16() local 173 for (index = 0; index < 8; index++) { in __rtw89_cal_crc16() 175 data_bit = data & BIT(index) ? 1 : 0; in __rtw89_cal_crc16()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw88/ |
H A D | wow.c | 41 /* Current firmware and driver don't report pattern index in rtw_wow_show_wakeup_reason() 48 /* Current firmware and driver don't report ssid index. in rtw_wow_show_wakeup_reason() 117 int index; in __rtw_cal_crc16() local 119 for (index = 0; index < 8; index++) { in __rtw_cal_crc16() 121 data_bit = (data & (BIT(0) << index) ? 1 : 0); in __rtw_cal_crc16()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_ioctl.c | 179 * Searches for the client with the specified index and copies its information 841 unsigned int index = nr - DRM_COMMAND_BASE; in drm_ioctl() local 843 if (index >= dev->driver->num_ioctls) in drm_ioctl() 845 index = array_index_nospec(index, dev->driver->num_ioctls); in drm_ioctl() 846 ioctl = &dev->driver->ioctls[index]; in drm_ioctl()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | uvmm.c | 309 u8 type, index, nr; in nvkm_uvmm_mthd_page() local 315 if ((index = args->v0.index) >= nr) in nvkm_uvmm_mthd_page() 317 type = page[index].type; in nvkm_uvmm_mthd_page() 318 args->v0.shift = page[index].shift; in nvkm_uvmm_mthd_page()
|
/kernel/linux/linux-6.6/drivers/hte/ |
H A D | hte.c | 508 int index, in hte_of_get_dev() 526 index, &desc->attr.name); in hte_of_get_dev() 540 index, args); in hte_of_get_dev() 556 * has device tree node, index is used to parse the line id and other details. 561 * @index: The index will be used as an index to parse line_id from the 567 int hte_ts_get(struct device *dev, struct hte_ts_desc *desc, int index) in hte_ts_get() argument 583 gdev = hte_of_get_dev(dev, desc, index, &args, &free_name); in hte_ts_get() 506 hte_of_get_dev(struct device *dev, struct hte_ts_desc *desc, int index, struct of_phandle_args *args, bool *free_name) hte_of_get_dev() argument
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | abituguru3.c | 820 * sensor_device_attribute_2->index: index into the data->sensors array 836 sensor = &data->sensors[attr->index]; in show_value() 868 port = data->sensors[attr->index].port; in show_alarm() 889 if (data->settings[data->sensors[attr->index].port][0] & attr->nr) in show_mask() 901 return sprintf(buf, "%s\n", data->sensors[attr->index].name); in show_label() 1022 data->sysfs_attr[sysfs_attr_i].index = i; in abituguru3_probe()
|
/kernel/linux/linux-6.6/drivers/iio/dac/ |
H A D | ad5770r.c | 411 int min, int max, int index) in ad5770r_store_output_range() 416 if (ad5770r_rng_tbl[i].ch != index) in ad5770r_store_output_range() 421 st->output_mode[index].out_range_mode = ad5770r_rng_tbl[i].mode; in ad5770r_store_output_range() 490 #define AD5770R_IDAC_CHANNEL(index, reg) { \ 494 .channel = index, \ 410 ad5770r_store_output_range(struct ad5770r_state *st, int min, int max, int index) ad5770r_store_output_range() argument
|
/kernel/linux/linux-6.6/drivers/input/mouse/ |
H A D | cypress_ps2.c | 561 int index = psmouse->pktcnt - 1; in cypress_validate_byte() local 565 if (index < 0 || index > cytp->pkt_size) in cypress_validate_byte() 568 if (index == 0 && (packet[0] & 0xfc) == 0) { in cypress_validate_byte() 578 if (index != 0) in cypress_validate_byte()
|
/kernel/liteos_a/fs/proc/os_adapt/ |
H A D | process_proc.c | 668 for (int index = 0; index < (sizeof(g_procProcess) / sizeof(struct ProcProcess)); index++) { in ProcCreateProcessDir() 669 struct ProcProcess *procProcess = &g_procProcess[index]; in ProcCreateProcessDir() 675 if (index == 0) { in ProcCreateProcessDir()
|
/kernel/linux/linux-6.6/sound/pci/ |
H A D | ak4531_codec.c | 47 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 54 .name = xname, .index = xindex, \ 114 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 121 .name = xname, .index = xindex, \ 199 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \
|
/kernel/liteos_m/kernel/src/ |
H A D | los_swtmr.c | 386 UINT16 index;
in OsSwtmrInit() local 407 for (index = 1; index < LOSCFG_BASE_CORE_SWTMR_LIMIT; index++, swtmr++) {
in OsSwtmrInit() 408 swtmr->usTimerID = index;
in OsSwtmrInit()
|
/kernel/linux/linux-6.6/drivers/scsi/elx/efct/ |
H A D | efct_hw_queues.c | 513 rqindex, bufindex, rq_hdr->index); in efct_hw_rqpair_get() 525 u32 index; in efct_hw_rqpair_process_rq() local 534 &rq_id, &index); in efct_hw_rqpair_process_rq() 549 seq = efct_hw_rqpair_get(hw, rqindex, index); in efct_hw_rqpair_process_rq() 584 seq = efct_hw_rqpair_get(hw, rqindex, index); in efct_hw_rqpair_process_rq()
|
/kernel/linux/linux-6.6/net/dsa/ |
H A D | tag_sja1105.c | 334 SJA1110_TX_TRAILER_SWITCHID(dp->ds->index) | in sja1110_xmit() 335 SJA1110_TX_TRAILER_DESTPORTS(BIT(dp->index))); in sja1110_xmit() 582 ds = dsa_switch_find(cpu_dp->dst->index, switch_id); in sja1110_rcv_meta() 759 ds->dst->index, ds->index); in sja1105_connect()
|
/kernel/linux/linux-6.6/net/ethtool/ |
H A D | bitset.c | 83 * Return: true if there is non-zero bit with index @start <= i < @end, 153 static bool ethnl_bitmap32_test_bit(const u32 *map, unsigned int index) in ethnl_bitmap32_test_bit() argument 155 return map[index / 32] & (1U << (index % 32)); in ethnl_bitmap32_test_bit() 196 /* index */ in ethnl_bitset32_size() 352 * ethnl_name_to_idx() - look up string index for a name 357 * Return: index of the string if found, -ENOENT if not found 377 static int ethnl_parse_bit(unsigned int *index, bool *val, unsigned int nbits, in ethnl_parse_bit() argument 397 "bit index too high"); in ethnl_parse_bit() 405 "bit index an in ethnl_parse_bit() [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | gro.c | 272 static void __napi_gro_flush_chain(struct napi_struct *napi, u32 index, in __napi_gro_flush_chain() argument 275 struct list_head *head = &napi->gro_hash[index].list; in __napi_gro_flush_chain() 283 napi->gro_hash[index].count--; in __napi_gro_flush_chain() 286 if (!napi->gro_hash[index].count) in __napi_gro_flush_chain() 287 __clear_bit(index, &napi->gro_bitmask); in __napi_gro_flush_chain()
|
/kernel/linux/linux-6.6/sound/soc/sof/amd/ |
H A D | acp.c | 143 unsigned int desc_count, index; in configure_and_run_dma() local 160 for (index = 0; index < desc_count; index++) in configure_and_run_dma() 161 memset(&adata->dscr_info[index], 0x00, sizeof(struct dma_descriptor)); in configure_and_run_dma()
|
/third_party/ffmpeg/libavcodec/ |
H A D | h264_parser.c | 193 int index; in scan_mmco_reset() local 194 for (index = 0; ; index++) { in scan_mmco_reset() 207 if (index >= ref_count[list]) { in scan_mmco_reset() 209 "reference count %d overflow\n", index); in scan_mmco_reset()
|
H A D | argo.c | 81 int index = bytestream2_get_byteu(gb); in decode_avcf() local 82 const uint8_t *block = map + index * 4; in decode_avcf() 117 int index; in decode_alcd() local 125 index = bytestream2_get_byte(gb); in decode_alcd() 126 block = map + index * 4; in decode_alcd()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_gblur_vulkan.c | 53 C(0, void gblur(const ivec2 pos, const int index) ) 55 C(1, vec4 sum = texture(input_images[index], pos) * kernel[0]; ) 58 C(2, sum += texture(input_images[index], pos + OFFSET) * kernel[i]; ) 59 C(2, sum += texture(input_images[index], pos - OFFSET) * kernel[i]; ) 62 C(1, imageStore(output_images[index], pos, sum); )
|
/third_party/ffmpeg/libavformat/ |
H A D | hdsenc.c | 168 snprintf(filename, sizeof(filename), "%s/index.f4m", s->url); in write_manifest() 169 snprintf(temp_filename, sizeof(temp_filename), "%s/index.f4m.tmp", s->url); in write_manifest() 224 int index = s->streams[os->first_stream]->id; in write_abst() local 235 "%s/stream%d.abst", s->url, index); in write_abst() 237 "%s/stream%d.abst.tmp", s->url, index); in write_abst() 454 int index = s->streams[os->first_stream]->id; in hds_flush() local 464 "%s/stream%dSeg1-Frag%d", s->url, index, os->fragment_index); in hds_flush() 538 snprintf(filename, sizeof(filename), "%s/index.f4m", s->url); in hds_write_trailer()
|