/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | radeon_atombios.h | 37 bool radeon_atom_get_tv_timings(struct radeon_device *rdev, int index,
|
/kernel/linux/linux-6.6/kernel/printk/ |
H A D | Makefile | 5 obj-$(CONFIG_PRINTK_INDEX) += index.o
|
/kernel/linux/linux-5.10/drivers/crypto/ccree/ |
H A D | cc_buffer_mgr.c | 240 unsigned int index = sgl_data->num_of_buffers; in cc_add_sg_entry() local 242 dev_dbg(dev, "index=%u nents=%u sgl=%pK data_len=0x%08X is_last=%d\n", in cc_add_sg_entry() 243 index, nents, sgl, data_len, is_last_table); in cc_add_sg_entry() 244 sgl_data->nents[index] = nents; in cc_add_sg_entry() 245 sgl_data->entry[index].sgl = sgl; in cc_add_sg_entry() 246 sgl_data->offset[index] = data_offset; in cc_add_sg_entry() 247 sgl_data->total_data_len[index] = data_len; in cc_add_sg_entry() 248 sgl_data->is_last[index] = is_last_table; in cc_add_sg_entry() 249 sgl_data->mlli_nents[index] = mlli_nents; in cc_add_sg_entry() 250 if (sgl_data->mlli_nents[index]) in cc_add_sg_entry() [all...] |
/kernel/linux/linux-5.10/arch/mips/kvm/ |
H A D | mips.c | 616 u64 index; in kvm_mips_copy_reg_indices() local 631 index = KVM_REG_MIPS_FPR_32(i); in kvm_mips_copy_reg_indices() 632 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() 640 index = KVM_REG_MIPS_FPR_64(i); in kvm_mips_copy_reg_indices() 641 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() 654 index = KVM_REG_MIPS_VEC_128(i); in kvm_mips_copy_reg_indices() 655 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() [all...] |
/kernel/linux/linux-5.10/drivers/block/ |
H A D | swim3.c | 203 int index; member 208 #define swim3_err(fmt, arg...) dev_err(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 209 #define swim3_warn(fmt, arg...) dev_warn(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 210 #define swim3_info(fmt, arg...) dev_info(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 213 #define swim3_dbg(fmt, arg...) dev_dbg(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 825 struct request_queue *q = disks[fs->index]->queue; in release_drive() 1084 static int swim3_add_device(struct macio_dev *mdev, int index) in swim3_add_device() argument 1087 struct floppy_state *fs = &floppy_states[index]; in swim3_add_device() 1091 fs->index = index; in swim3_add_device() [all...] |
/kernel/linux/linux-6.6/arch/mips/kvm/ |
H A D | mips.c | 601 u64 index; in kvm_mips_copy_reg_indices() local 616 index = KVM_REG_MIPS_FPR_32(i); in kvm_mips_copy_reg_indices() 617 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() 625 index = KVM_REG_MIPS_FPR_64(i); in kvm_mips_copy_reg_indices() 626 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() 639 index = KVM_REG_MIPS_VEC_128(i); in kvm_mips_copy_reg_indices() 640 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | iommu.c | 660 unsigned long index, tceval, tcecount = 0; in iommu_table_clear() local 663 for (index = 0; index < tbl->it_size; index++) { in iommu_table_clear() 664 tceval = tbl->it_ops->get(tbl, index + tbl->it_offset); in iommu_table_clear() 669 __set_bit(index, tbl->it_map); in iommu_table_clear() 678 for (index = tbl->it_size - KDUMP_MIN_TCE_ENTRIES; in iommu_table_clear() 679 index < tbl->it_size; index++) in iommu_table_clear() 680 __clear_bit(index, tb in iommu_table_clear() [all...] |
/kernel/linux/linux-5.10/drivers/hid/i2c-hid/ |
H A D | i2c-hid-core.c | 343 int index = 0; in i2c_hid_set_or_send_report() local 361 args[index++] = reportID; in i2c_hid_set_or_send_report() 370 args[index++] = dataRegister & 0xFF; in i2c_hid_set_or_send_report() 371 args[index++] = dataRegister >> 8; in i2c_hid_set_or_send_report() 374 args[index++] = outputRegister & 0xFF; in i2c_hid_set_or_send_report() 375 args[index++] = outputRegister >> 8; in i2c_hid_set_or_send_report() 379 args[index++] = size & 0xFF; in i2c_hid_set_or_send_report() 380 args[index++] = size >> 8; in i2c_hid_set_or_send_report() 383 args[index++] = reportID; in i2c_hid_set_or_send_report() 385 memcpy(&args[index], bu in i2c_hid_set_or_send_report() [all...] |
/kernel/linux/linux-5.10/drivers/iommu/ |
H A D | tegra-smmu.c | 483 unsigned int index = 0; in tegra_smmu_attach_dev() local 486 while (!of_parse_phandle_with_args(np, "iommus", "#iommu-cells", index, in tegra_smmu_attach_dev() 502 index++; in tegra_smmu_attach_dev() 505 if (index == 0) in tegra_smmu_attach_dev() 517 unsigned int index = 0; in tegra_smmu_detach_dev() local 519 while (!of_parse_phandle_with_args(np, "iommus", "#iommu-cells", index, in tegra_smmu_detach_dev() 532 index++; in tegra_smmu_detach_dev() 845 unsigned int index = 0; in tegra_smmu_probe_device() local 848 while (of_parse_phandle_with_args(np, "iommus", "#iommu-cells", index, in tegra_smmu_probe_device() 869 index in tegra_smmu_probe_device() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/ |
H A D | mtk_vcodec_enc.c | 120 if (f->index >= num_formats) in vidioc_enum_fmt() 123 f->pixelformat = formats[f->index].fourcc; in vidioc_enum_fmt() 155 if (fsize->index != 0) in vidioc_enum_framesizes() 780 vb2_v4l2->vb2_buf.index, in vb2ops_venc_buf_queue() 936 dst_buf->vb2_buf.index, bs_buf.va, in mtk_venc_encode_header() 984 vb2_v4l2->vb2_buf.index, in mtk_venc_param_change() 995 vb2_v4l2->vb2_buf.index, in mtk_venc_param_change() 1012 vb2_v4l2->vb2_buf.index, in mtk_venc_param_change() 1106 src_buf->vb2_buf.index, dst_buf->vb2_buf.index, re in mtk_venc_worker() [all...] |
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | au1xmmc.c | 106 int index; member 247 host->pio.index = 0; in au1xmmc_finish_request() 390 sg = &data->sg[host->pio.index]; in au1xmmc_send_pio() 394 sg_len = data->sg[host->pio.index].length - host->pio.offset; in au1xmmc_send_pio() 418 host->pio.index++; in au1xmmc_send_pio() 447 if (host->pio.index < host->dma.len) { in au1xmmc_receive_pio() 448 sg = &data->sg[host->pio.index]; in au1xmmc_receive_pio() 452 sg_len = sg_dma_len(&data->sg[host->pio.index]) - host->pio.offset; in au1xmmc_receive_pio() 497 host->pio.index++; in au1xmmc_receive_pio() 654 host->pio.index in au1xmmc_prepare_data() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp6000_pcie.c | 125 * @index: index of the BAR 136 int index; member 183 return pci_resource_len(bar->nfp->pdev, (bar->index / 8) * 2) / 8; in nfp_bar_resource_len() 188 return pci_resource_start(bar->nfp->pdev, (bar->index / 8) * 2) in nfp_bar_resource_start() 189 + nfp_bar_resource_len(bar) * (bar->index & 7); in nfp_bar_resource_start() 275 base = bar->index >> 3; in nfp6000_bar_write() 276 slot = bar->index & 7; in nfp6000_bar_write() 519 return a->index - b->index; in bar_cmp() [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | asb100.c | 238 int nr = to_sensor_dev_attr(attr)->index; \ 251 int nr = to_sensor_dev_attr(attr)->index; \ 289 int nr = to_sensor_dev_attr(attr)->index; in show_fan() 298 int nr = to_sensor_dev_attr(attr)->index; in show_fan_min() 307 int nr = to_sensor_dev_attr(attr)->index; in show_fan_div() 315 int nr = to_sensor_dev_attr(attr)->index; in set_fan_min() 341 int nr = to_sensor_dev_attr(attr)->index; in set_fan_div() 420 int nr = to_sensor_dev_attr(attr)->index; \ 433 int nr = to_sensor_dev_attr(attr)->index; \ 522 int bitnr = to_sensor_dev_attr(attr)->index; in show_alarm() [all...] |
/kernel/linux/linux-5.10/drivers/net/wan/ |
H A D | ixp4xx_hss.c | 273 u8 cmd, unused, hss_port, index; member 280 u8 index, hss_port, unused, cmd; 382 msg.index = HSS_CONFIG_TX_LUT + ((ch / 4) & ~3); in hss_config_set_lut() 385 msg.index += HSS_CONFIG_RX_LUT - HSS_CONFIG_TX_LUT; in hss_config_set_lut() 398 msg.index = HSS_CONFIG_TX_PCR; in hss_config() 405 msg.index = HSS_CONFIG_RX_PCR; in hss_config() 412 msg.index = HSS_CONFIG_CORE_CR; in hss_config() 420 msg.index = HSS_CONFIG_CLOCK_CR; in hss_config() 427 msg.index = HSS_CONFIG_TX_FCR; in hss_config() 435 msg.index in hss_config() [all...] |
/kernel/linux/linux-5.10/drivers/phy/st/ |
H A D | phy-miphy28lp.c | 836 int index; in miphy28lp_get_resource_byname() local 838 index = of_property_match_string(child, "reg-names", rname); in miphy28lp_get_resource_byname() 839 if (index < 0) in miphy28lp_get_resource_byname() 842 return of_address_to_resource(child, index, res); in miphy28lp_get_resource_byname() 1082 int ret, index = 0; in miphy28lp_xlate() local 1089 for (index = 0; index < miphy_dev->nphys; index++) in miphy28lp_xlate() 1090 if (phynode == miphy_dev->phys[index]->phy->dev.of_node) { in miphy28lp_xlate() 1091 miphy_phy = miphy_dev->phys[index]; in miphy28lp_xlate() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/ |
H A D | ql4_83xx.c | 1047 int index; in qla4_83xx_poll_read_list() local 1071 index = ha->reset_tmplt.array_index; in qla4_83xx_poll_read_list() 1074 ha->reset_tmplt.array[index++] = value; in qla4_83xx_poll_read_list() 1076 if (index == QLA83XX_MAX_RESET_SEQ_ENTRIES) in qla4_83xx_poll_read_list() 1118 int index, entries; in qla4_83xx_process_reset_template() local 1125 index = ha->reset_tmplt.seq_index; in qla4_83xx_process_reset_template() 1127 for (; (!ha->reset_tmplt.seq_end) && (index < entries); index++) { in qla4_83xx_process_reset_template() 1162 __func__, p_hdr->cmd, index); in qla4_83xx_process_reset_template() 1170 ha->reset_tmplt.seq_index = index; in qla4_83xx_process_reset_template() [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/cpm_uart/ |
H A D | cpm_uart_core.c | 1264 struct uart_cpm_port *pinfo = &cpm_uart_ports[co->index]; in cpm_uart_console_write() 1292 if (co->index >= UART_NR) { in cpm_uart_console_setup() 1293 printk(KERN_ERR "cpm_uart: console index %d too high\n", in cpm_uart_console_setup() 1294 co->index); in cpm_uart_console_setup() 1305 if (i++ == co->index) in cpm_uart_console_setup() 1312 pinfo = &cpm_uart_ports[co->index]; in cpm_uart_console_setup() 1366 .index = -1, 1398 int index = probe_index++; in cpm_uart_probe() local 1399 struct uart_cpm_port *pinfo = &cpm_uart_ports[index]; in cpm_uart_probe() 1402 pinfo->port.line = index; in cpm_uart_probe() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | usb.h | 754 extern int usb_acpi_set_power_state(struct usb_device *hdev, int index, 756 extern bool usb_acpi_power_manageable(struct usb_device *hdev, int index); 757 extern int usb_acpi_port_lpm_incapable(struct usb_device *hdev, int index); 759 static inline int usb_acpi_set_power_state(struct usb_device *hdev, int index, in usb_acpi_set_power_state() argument 761 static inline bool usb_acpi_power_manageable(struct usb_device *hdev, int index) in usb_acpi_power_manageable() argument 763 static inline int usb_acpi_port_lpm_incapable(struct usb_device *hdev, int index) in usb_acpi_port_lpm_incapable() argument 1803 __u8 request, __u8 requesttype, __u16 value, __u16 index, 1813 __u8 requesttype, __u16 value, __u16 index, 1817 __u8 requesttype, __u16 value, __u16 index, 1838 extern int usb_string(struct usb_device *dev, int index, [all...] |
/kernel/linux/linux-5.10/sound/isa/cs423x/ |
H A D | cs4236_lib.c | 381 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 387 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 446 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 492 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 499 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 579 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 586 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 648 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 692 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 926 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index [all...] |
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | sta350.c | 311 int index = kcontrol->private_value & 0xffff; in sta350_coefficient_get() local 326 regmap_write(sta350->regmap, STA350_CFADDR2, index); in sta350_coefficient_get() 353 int index = kcontrol->private_value & 0xffff; in sta350_coefficient_put() local 366 regmap_write(sta350->regmap, STA350_CFADDR2, index); in sta350_coefficient_put() 367 for (i = 0; i < numcoef && (index + i < STA350_COEF_COUNT); i++) in sta350_coefficient_put() 368 sta350->coef_shadow[index + i] = in sta350_coefficient_put() 428 #define SINGLE_COEF(xname, index) \ 433 .private_value = index | (1 << 16) } 435 #define BIQUAD_COEFS(xname, index) \ 440 .private_value = index | ( [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_g2d.c | 1026 int index; in g2d_check_reg_offset() local 1035 index = cmdlist->last - 2 * (i + 1); in g2d_check_reg_offset() 1037 reg_offset = cmdlist->data[index] & ~0xfffff000; in g2d_check_reg_offset() 1056 if ((cmdlist->data[index] & ~0x7fffffff) >> 31) { in g2d_check_reg_offset() 1058 cmdlist->data[index] &= ~G2D_BUF_USERPTR; in g2d_check_reg_offset() 1070 buf_desc->stride = cmdlist->data[index + 1]; in g2d_check_reg_offset() 1080 value = cmdlist->data[index + 1]; in g2d_check_reg_offset() 1092 value = cmdlist->data[index + 1]; in g2d_check_reg_offset() 1105 value = cmdlist->data[index + 1]; in g2d_check_reg_offset() 1120 dev_err(g2d->dev, "Bad register offset: 0x%lx\n", cmdlist->data[index]); in g2d_check_reg_offset() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | gk104.c | 116 gk104_fifo_class_get(struct nvkm_fifo *base, int index, in gk104_fifo_class_get() argument 122 if (fifo->func->user.ctor && c++ == index) { in gk104_fifo_class_get() 128 if (fifo->func->chan.ctor && c++ == index) { in gk104_fifo_class_get() 425 mmui = nvkm_top_fault_id(device, engine->subdev.index); in gk104_fifo_recover_engn() 429 if (en->data2 == engine->subdev.index) { in gk104_fifo_recover_engn() 891 *data |= BIT_ULL(engine->subdev.index); in gk104_fifo_info() 1045 int index, int nr, struct nvkm_fifo **pfifo) in gk104_fifo_new_() 1055 return nvkm_fifo_ctor(&gk104_fifo_, device, index, nr, &fifo->base); in gk104_fifo_new_() 1194 gk104_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) in gk104_fifo_new() argument 1196 return gk104_fifo_new_(&gk104_fifo, device, index, 409 in gk104_fifo_new() 1044 gk104_fifo_new_(const struct gk104_fifo_func *func, struct nvkm_device *device, int index, int nr, struct nvkm_fifo **pfifo) gk104_fifo_new_() argument [all...] |
/kernel/linux/linux-5.10/drivers/pwm/ |
H A D | core.c | 388 * @pwm: global PWM device index 426 * @index: per-chip index of the PWM to request 429 * Returns: A pointer to the PWM device at the given index of the given PWM 430 * chip. A negative error code is returned if the index is not valid for the 434 unsigned int index, in pwm_request_from_chip() 440 if (!chip || index >= chip->npwm) in pwm_request_from_chip() 444 pwm = &chip->pwms[index]; in pwm_request_from_chip() 791 * Returns the PWM device parsed from the phandle and index specified in the 798 * lookup of the PWM index 433 pwm_request_from_chip(struct pwm_chip *chip, unsigned int index, const char *label) pwm_request_from_chip() argument 812 int index = 0; of_pwm_get() local [all...] |
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
H A D | vivid-kthread-cap.c | 239 bool blank = dev->must_blank[vid_cap_buf->vb.vb2_buf.index]; in vivid_copy_buffer() 448 tpg_s_perc_fill_blank(tpg, dev->must_blank[buf->vb.vb2_buf.index]); in vivid_fillbuff() 471 dev->must_blank[buf->vb.vb2_buf.index] = false; in vivid_fillbuff() 729 vid_cap_buf->vb.vb2_buf.index); in vivid_thread_vid_cap_tick() 741 vid_cap_buf->vb.vb2_buf.index); in vivid_thread_vid_cap_tick() 762 vbi_cap_buf->vb.vb2_buf.index); in vivid_thread_vid_cap_tick() 779 meta_cap_buf->vb.vb2_buf.index); in vivid_thread_vid_cap_tick() 965 buf->vb.vb2_buf.index); in vivid_stop_generating_vid_cap() 980 buf->vb.vb2_buf.index); in vivid_stop_generating_vid_cap() 995 buf->vb.vb2_buf.index); in vivid_stop_generating_vid_cap() [all...] |
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | au1xmmc.c | 106 int index; member 247 host->pio.index = 0; in au1xmmc_finish_request() 390 sg = &data->sg[host->pio.index]; in au1xmmc_send_pio() 394 sg_len = data->sg[host->pio.index].length - host->pio.offset; in au1xmmc_send_pio() 418 host->pio.index++; in au1xmmc_send_pio() 447 if (host->pio.index < host->dma.len) { in au1xmmc_receive_pio() 448 sg = &data->sg[host->pio.index]; in au1xmmc_receive_pio() 452 sg_len = sg_dma_len(&data->sg[host->pio.index]) - host->pio.offset; in au1xmmc_receive_pio() 497 host->pio.index++; in au1xmmc_receive_pio() 654 host->pio.index in au1xmmc_prepare_data() [all...] |