Home
last modified time | relevance | path

Searched refs:index (Results 6851 - 6875 of 13381) sorted by relevance

1...<<271272273274275276277278279280>>...536

/kernel/linux/linux-5.10/drivers/pinctrl/ti/
H A Dpinctrl-ti-iodelay.c392 * ti_iodelay_offset_to_pin() - get a pin index based on the register offset
400 unsigned int index; in ti_iodelay_offset_to_pin() local
408 index = (offset - r->reg_start_offset) / r->regmap_config->reg_stride; in ti_iodelay_offset_to_pin()
409 index /= r->reg_nr_per_pin; in ti_iodelay_offset_to_pin()
411 return index; in ti_iodelay_offset_to_pin()
420 * @pin_index: Pin index in the pin array
634 * ti_iodelay_pin_to_offset() - get pin register offset based on the pin index
636 * @selector: Pin index
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
H A Dhantro_v4l2.c119 if (fsize->index != 0) { in vidioc_enum_framesizes()
120 vpu_debug(0, "invalid frame size index (expected 0, got %d)\n", in vidioc_enum_framesizes()
121 fsize->index); in vidioc_enum_framesizes()
169 if (j == f->index) { in vidioc_enum_fmt()
186 if (j == f->index) { in vidioc_enum_fmt()
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-sun6i.c180 static int sun6i_rtc_osc_set_parent(struct clk_hw *hw, u8 index) in sun6i_rtc_osc_set_parent() argument
186 if (index > 1) in sun6i_rtc_osc_set_parent()
193 val |= index ? SUN6I_LOSC_CTRL_EXT_OSC : 0; in sun6i_rtc_osc_set_parent()
196 val |= index ? SUN6I_LOSC_CTRL_EXT_LOSC_EN : 0; in sun6i_rtc_osc_set_parent()
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_cmd.h591 __le16 index; member
713 __le32 index; member
748 __le32 index; member
755 __le16 index; member
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_bloom_filter.c286 u8 index = ((crc >> 2) ^ c) & 0xff; in mlxsw_sp4_acl_bf_crc10_byte() local
288 return ((crc << 8) ^ mlxsw_sp4_acl_bf_crc10_tab[index]) & 0x3ff; in mlxsw_sp4_acl_bf_crc10_byte()
293 u8 index = (crc ^ c) & 0xff; in mlxsw_sp4_acl_bf_crc6_byte() local
295 return ((crc << 6) ^ (mlxsw_sp4_acl_bf_crc6_tab[index] << 2)) & 0xfc; in mlxsw_sp4_acl_bf_crc6_byte()
/kernel/linux/linux-6.6/drivers/accel/ivpu/
H A Divpu_drv.c120 switch (args->index) { in ivpu_get_capabilities()
172 if (args->index < VPU_FW_API_VER_NUM) { in ivpu_get_param_ioctl()
176 args->value = fw_hdr->api_version[args->index]; in ivpu_get_param_ioctl()
182 ret = ivpu_jsm_get_heartbeat(vdev, args->index, &args->value); in ivpu_get_param_ioctl()
/kernel/linux/linux-6.6/fs/ext4/
H A Ddir.c191 pgoff_t index = map.m_pblk >> in ext4_readdir() local
193 if (!ra_has_index(&file->f_ra, index)) in ext4_readdir()
197 index, 1); in ext4_readdir()
198 file->f_ra.prev_pos = (loff_t)index << PAGE_SHIFT; in ext4_readdir()
/kernel/linux/linux-6.6/fs/ocfs2/
H A Docfs2.h828 * Find the 1st page index which covers the given clusters.
834 pgoff_t index = clusters; in ocfs2_align_clusters_to_page_index() local
837 index = (pgoff_t)clusters >> (PAGE_SHIFT - cbits); in ocfs2_align_clusters_to_page_index()
839 index = (pgoff_t)clusters << (cbits - PAGE_SHIFT); in ocfs2_align_clusters_to_page_index()
842 return index; in ocfs2_align_clusters_to_page_index()
/kernel/linux/linux-6.6/fs/ufs/
H A Dutil.h277 pgoff_t index);
292 unsigned int index; in get_usb_offset() local
294 index = offset >> uspi->s_fshift; in get_usb_offset()
296 return uspi->s_ubh.bh[index]->b_data + offset; in get_usb_offset()
/kernel/linux/linux-6.6/drivers/watchdog/
H A Ds3c2410_wdt.c588 /* Choose Exynos850/ExynosAutov9 driver data w.r.t. cluster index */ in s3c2410_get_wdt_drv_data()
591 u32 index; in s3c2410_get_wdt_drv_data() local
595 "samsung,cluster-index", &index); in s3c2410_get_wdt_drv_data()
597 return dev_err_probe(dev, -EINVAL, "failed to get cluster index\n"); in s3c2410_get_wdt_drv_data()
599 switch (index) { in s3c2410_get_wdt_drv_data()
608 return dev_err_probe(dev, -EINVAL, "wrong cluster index: %u\n", index); in s3c2410_get_wdt_drv_data()
/kernel/linux/linux-6.6/include/linux/
H A Di2c.h1042 int index,
1061 struct fwnode_handle *fwnode, int index, in i2c_acpi_new_device_by_fwnode()
1077 int index, in i2c_acpi_new_device()
1080 return i2c_acpi_new_device_by_fwnode(dev_fwnode(dev), index, info); in i2c_acpi_new_device()
1060 i2c_acpi_new_device_by_fwnode( struct fwnode_handle *fwnode, int index, struct i2c_board_info *info) i2c_acpi_new_device_by_fwnode() argument
1076 i2c_acpi_new_device(struct device *dev, int index, struct i2c_board_info *info) i2c_acpi_new_device() argument
/kernel/linux/linux-6.6/drivers/tty/serdev/
H A Dcore.c573 int index; member
612 if (lookup->index != -1 && lookup->n++ != lookup->index) in acpi_serdev_parse_resource()
660 lookup.index = -1; // we only care for the last device in acpi_serdev_check_resources()
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-sun6i.c190 static int sun6i_rtc_osc_set_parent(struct clk_hw *hw, u8 index) in sun6i_rtc_osc_set_parent() argument
196 if (index > 1) in sun6i_rtc_osc_set_parent()
203 val |= index ? SUN6I_LOSC_CTRL_EXT_OSC : 0; in sun6i_rtc_osc_set_parent()
206 val |= index ? SUN6I_LOSC_CTRL_EXT_LOSC_EN : 0; in sun6i_rtc_osc_set_parent()
/kernel/linux/linux-6.6/drivers/pinctrl/ti/
H A Dpinctrl-ti-iodelay.c394 * ti_iodelay_offset_to_pin() - get a pin index based on the register offset
402 unsigned int index; in ti_iodelay_offset_to_pin() local
410 index = (offset - r->reg_start_offset) / r->regmap_config->reg_stride; in ti_iodelay_offset_to_pin()
411 index /= r->reg_nr_per_pin; in ti_iodelay_offset_to_pin()
413 return index; in ti_iodelay_offset_to_pin()
422 * @pin_index: Pin index in the pin array
638 * ti_iodelay_pin_to_offset() - get pin register offset based on the pin index
640 * @selector: Pin index
/kernel/linux/linux-6.6/drivers/platform/mellanox/
H A Dmlxreg-hotplug.c210 int index = to_sensor_dev_attr_2(attr)->index; in mlxreg_hotplug_attr_show() local
219 data = item->data + index; in mlxreg_hotplug_attr_show()
319 PRIV_DEV_ATTR(id).index = k; in mlxreg_hotplug_attr_init()
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/aspeed-vhub/
H A Ddev.c65 hmsk = VHUB_IRQ_DEVICE1 << d->index; in ast_vhub_dev_enable()
97 hmsk = VHUB_IRQ_DEVICE1 << d->index; in ast_vhub_dev_disable()
324 ast_vhub_device_connect(d->vhub, d->index, on); in ast_vhub_udc_pullup()
549 d->index = idx; in ast_vhub_init_dev()
/kernel/linux/linux-6.6/drivers/power/supply/
H A Dltc4162-l-charger.c513 unsigned int index; in charge_status_show() local
521 for (mask = 32, index = 0; mask != 0; mask >>= 1, ++index) { in charge_status_show()
523 result = ltc4162l_charge_status_name[index]; in charge_status_show()
/kernel/linux/linux-6.6/drivers/char/tpm/
H A Dtpm2-cmd.c48 * tpm2_ordinal_duration_index() - returns an index to the chip duration table
51 * The function returns an index to the chip duration table
130 unsigned int index; in tpm2_calc_ordinal_duration() local
132 index = tpm2_ordinal_duration_index(ordinal); in tpm2_calc_ordinal_duration()
134 if (index != TPM_UNDEFINED) in tpm2_calc_ordinal_duration()
135 return chip->duration[index]; in tpm2_calc_ordinal_duration()
155 * @pcr_idx: index of the PCR to read.
230 * @pcr_idx: index of the PCR.
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_fence.c337 * @ring: ring index the fence is associated with
368 * @ring: ring index the fence is associated with
477 uint64_t index; in amdgpu_fence_driver_start_ring() local
484 index = ALIGN(adev->uvd.fw->size, 8); in amdgpu_fence_driver_start_ring()
485 ring->fence_drv.cpu_addr = adev->uvd.inst[ring->me].cpu_addr + index; in amdgpu_fence_driver_start_ring()
486 ring->fence_drv.gpu_addr = adev->uvd.inst[ring->me].gpu_addr + index; in amdgpu_fence_driver_start_ring()
H A Datombios_dp.c66 int index = GetIndexIntoMasterTable(COMMAND, ProcessAuxChannelTransaction); in amdgpu_atombios_dp_process_aux_ch() local
86 amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); in amdgpu_atombios_dp_process_aux_ch()
295 int index = GetIndexIntoMasterTable(COMMAND, DPEncoderService); in amdgpu_atombios_dp_encoder_service() local
304 amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); in amdgpu_atombios_dp_encoder_service()
/kernel/linux/linux-6.6/drivers/firmware/
H A Dedd.c48 unsigned int index; member
76 return edev->index < min_t(unsigned char, edd.mbr_signature_nr, EDD_MBR_SIG_MAX); in edd_has_mbr_signature()
82 return edev->index < min_t(unsigned char, edd.edd_info_nr, EDDMAXNR); in edd_has_edd_info()
94 edev->index = i; in edd_dev_set_info()
/kernel/linux/linux-6.6/io_uring/
H A Dkbuf.c171 int index = head / IO_BUFFER_LIST_BUF_PER_PAGE; in io_ring_buffer_select() local
172 buf = page_address(bl->buf_pages[index]); in io_ring_buffer_select()
307 unsigned long index; in io_destroy_buffers() local
316 xa_for_each(&ctx->io_bl_xa, index, bl) { in io_destroy_buffers()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4_en.h257 u32 index; member
280 int index,
322 u16 sp_cqn; /* index of port CQ associated with this ring */
337 u16 cqn; /* index of port CQ associated with this ring */
744 int index, u64 timestamp,
748 int index, u64 timestamp,
/kernel/linux/linux-6.6/drivers/net/hippi/
H A Drrunner.h359 u16 index; member
365 u16 index;
460 u16 index; member
466 u16 index;
/kernel/linux/linux-6.6/drivers/net/slip/
H A Dslhc.c125 * don't accept any packets with implicit index until we get in slhc_init()
126 * one with an explicit index. Otherwise the uncompress code in slhc_init()
511 /* Make sure the state index is in range, then grab the state. in slhc_uncompress()
512 * If we have a good state index, clear the 'discard' flag. in slhc_uncompress()
514 x = *cp++; /* Read conn index */ in slhc_uncompress()
525 /* this packet has an implicit state index. If we've in slhc_uncompress()
527 * explicit state index, we have to toss the packet. */ in slhc_uncompress()
649 unsigned char index; in slhc_remember() local
663 index = icp[9]; in slhc_remember()
671 if(index > com in slhc_remember()
[all...]

Completed in 36 milliseconds

1...<<271272273274275276277278279280>>...536