Home
last modified time | relevance | path

Searched refs:reg_list (Results 1 – 25 of 65) sorted by relevance

123

/linux-6.12.1/tools/testing/selftests/kvm/
Dget-reg-list.c31 static struct kvm_reg_list *reg_list; variable
38 for ((i) = 0; (i) < reg_list->n; ++(i))
42 if (!filter_reg(reg_list->reg[i]))
46 if (!find_reg(reg_list->reg, reg_list->n, blessed_reg[i])) \
51 if (!find_reg(blessed_reg, blessed_n, reg_list->reg[i]))
55 if (find_reg(blessed_reg, blessed_n, reg_list->reg[i]))
178 reg_list = vcpu_get_reg_list(vcpu); in run_test()
183 __u64 id = reg_list->reg[i]; in run_test()
218 .id = reg_list->reg[i], in run_test()
224 ret = __vcpu_get_reg(vcpu, reg_list->reg[i], &addr); in run_test()
[all …]
/linux-6.12.1/drivers/media/i2c/
Dimx355.c91 struct imx355_reg_list reg_list; member
897 .reg_list = {
909 .reg_list = {
921 .reg_list = {
933 .reg_list = {
945 .reg_list = {
957 .reg_list = {
969 .reg_list = {
981 .reg_list = {
993 .reg_list = {
[all …]
Dov8856.c127 const struct ov8856_reg_list reg_list; member
150 const struct ov8856_reg_list reg_list; member
1463 .reg_list = {
1470 .reg_list = {
1482 .reg_list = {
1497 .reg_list = {
1514 .reg_list = {
1521 .reg_list = {
1533 .reg_list = {
1548 .reg_list = {
[all …]
Dimx319.c105 struct imx319_reg_list reg_list; member
1672 .reg_list = {
1684 .reg_list = {
1696 .reg_list = {
1708 .reg_list = {
1720 .reg_list = {
1732 .reg_list = {
1744 .reg_list = {
1756 .reg_list = {
2116 const struct imx319_reg_list *reg_list; in imx319_start_streaming() local
[all …]
Dov13858.c101 struct ov13858_reg_list reg_list; member
118 struct ov13858_reg_list reg_list; member
968 .reg_list = {
975 .reg_list = {
989 .reg_list = {
1000 .reg_list = {
1011 .reg_list = {
1022 .reg_list = {
1412 const struct ov13858_reg_list *reg_list; in ov13858_start_streaming() local
1426 reg_list = &link_freq_configs[link_freq_index].reg_list; in ov13858_start_streaming()
[all …]
Dimx258.c139 struct imx258_reg_list reg_list; member
170 struct imx258_reg_list reg_list; member
540 .reg_list = REGS(mipi_1267mbps_19_2mhz_2l),
544 .reg_list = REGS(mipi_1267mbps_19_2mhz_4l),
553 .reg_list = REGS(mipi_640mbps_19_2mhz_2l),
557 .reg_list = REGS(mipi_640mbps_19_2mhz_4l),
569 .reg_list = REGS(mipi_1272mbps_24mhz_2l),
573 .reg_list = REGS(mipi_1272mbps_24mhz_4l),
582 .reg_list = REGS(mipi_642mbps_24mhz_2l),
586 .reg_list = REGS(mipi_642mbps_24mhz_4l),
[all …]
Dimx208.c90 struct imx208_reg_list reg_list; member
107 struct imx208_reg_list reg_list; member
230 .reg_list = {
237 .reg_list = {
251 .reg_list = {
262 .reg_list = {
653 const struct imx208_reg_list *reg_list; in imx208_start_streaming() local
662 reg_list = &link_freq_configs[link_freq_index].reg_list; in imx208_start_streaming()
663 ret = imx208_write_regs(imx208, reg_list->regs, reg_list->num_of_regs); in imx208_start_streaming()
670 reg_list = &imx208->cur_mode->reg_list; in imx208_start_streaming()
[all …]
Dov13b10.c101 struct ov13b10_reg_list reg_list; member
118 struct ov13b10_reg_list reg_list; member
553 .reg_list = {
567 .reg_list = {
578 .reg_list = {
589 .reg_list = {
600 .reg_list = {
611 .reg_list = {
623 .reg_list = {
1159 const struct ov13b10_reg_list *reg_list; in ov13b10_start_streaming() local
[all …]
Dov5670.c101 const struct ov5670_reg_list reg_list; member
132 const struct ov5670_reg_list reg_list; member
1764 .reg_list = {
1788 .reg_list = {
1800 .reg_list = {
1812 .reg_list = {
1824 .reg_list = {
1837 .reg_list = {
1849 .reg_list = {
2393 const struct ov5670_reg_list *reg_list; in ov5670_start_streaming() local
[all …]
Dhi556.c92 const struct hi556_reg_list reg_list; member
118 const struct hi556_reg_list reg_list; member
545 .reg_list = {
565 .reg_list = {
583 .reg_list = {
601 .reg_list = {
619 .reg_list = {
994 const struct hi556_reg_list *reg_list; in hi556_start_streaming() local
1002 reg_list = &link_freq_configs[link_freq_index].reg_list; in hi556_start_streaming()
1003 ret = hi556_write_reg_list(hi556, reg_list); in hi556_start_streaming()
[all …]
Dov08d10.c81 const struct ov08d10_reg_list reg_list; member
104 const struct ov08d10_reg_list reg_list; member
558 .reg_list = {
565 .reg_list = {
577 .reg_list = {
590 .reg_list = {
603 .reg_list = {
1018 const struct ov08d10_reg_list *reg_list; in ov08d10_start_streaming() local
1022 reg_list = in ov08d10_start_streaming()
1023 &ov08d10->priv_lane->link_freq_configs[link_freq_index].reg_list; in ov08d10_start_streaming()
[all …]
Dhi847.c96 const struct hi847_reg_list reg_list; member
119 const struct hi847_reg_list reg_list; member
2128 .reg_list = {
2134 .reg_list = {
2148 .reg_list = {
2160 .reg_list = {
2561 const struct hi847_reg_list *reg_list; in hi847_start_streaming() local
2565 reg_list = &link_freq_configs[link_freq_index].reg_list; in hi847_start_streaming()
2566 ret = hi847_write_reg_list(hi847, reg_list); in hi847_start_streaming()
2572 reg_list = &hi847->cur_mode->reg_list; in hi847_start_streaming()
[all …]
Dov01a10.c90 const struct ov01a10_reg_list reg_list; member
101 const struct ov01a10_reg_list reg_list; member
255 .reg_list = {
269 .reg_list = {
622 const struct ov01a10_reg_list *reg_list; in ov01a10_start_streaming() local
627 reg_list = &link_freq_configs[link_freq_index].reg_list; in ov01a10_start_streaming()
628 ret = ov01a10_write_reg_list(ov01a10, reg_list); in ov01a10_start_streaming()
634 reg_list = &ov01a10->cur_mode->reg_list; in ov01a10_start_streaming()
635 ret = ov01a10_write_reg_list(ov01a10, reg_list); in ov01a10_start_streaming()
Dov9734.c84 const struct ov9734_reg_list reg_list; member
107 const struct ov9734_reg_list reg_list; member
301 .reg_list = {
315 .reg_list = {
614 const struct ov9734_reg_list *reg_list; in ov9734_start_streaming() local
618 reg_list = &link_freq_configs[link_freq_index].reg_list; in ov9734_start_streaming()
619 ret = ov9734_write_reg_list(ov9734, reg_list); in ov9734_start_streaming()
625 reg_list = &ov9734->cur_mode->reg_list; in ov9734_start_streaming()
626 ret = ov9734_write_reg_list(ov9734, reg_list); in ov9734_start_streaming()
Dov2740.c101 const struct ov2740_reg_list reg_list; member
127 const struct ov2740_reg_list reg_list; member
469 .reg_list = {
475 .reg_list = {
490 .reg_list = {
506 .reg_list = {
926 const struct ov2740_reg_list *reg_list; in ov2740_start_streaming() local
947 reg_list = &link_freq_configs[link_freq_index].reg_list; in ov2740_start_streaming()
948 ret = ov2740_write_reg_list(ov2740, reg_list); in ov2740_start_streaming()
954 reg_list = &ov2740->cur_mode->reg_list; in ov2740_start_streaming()
[all …]
Dov08x40.c122 struct ov08x40_reg_list reg_list; member
143 struct ov08x40_reg_list reg_list; member
1241 .reg_list = {
1257 .reg_list = {
1272 .reg_list = {
1787 const struct ov08x40_reg_list *reg_list; in ov08x40_start_streaming() local
1800 reg_list = &link_freq_configs[link_freq_index].reg_list; in ov08x40_start_streaming()
1802 ret = ov08x40_write_reg_list(ov08x, reg_list); in ov08x40_start_streaming()
1809 reg_list = &ov08x->cur_mode->reg_list; in ov08x40_start_streaming()
1810 ret = ov08x40_write_reg_list(ov08x, reg_list); in ov08x40_start_streaming()
Dov5675.c106 const struct ov5675_reg_list reg_list; member
129 const struct ov5675_reg_list reg_list; member
461 .reg_list = {
475 .reg_list = {
487 .reg_list = {
898 const struct ov5675_reg_list *reg_list; in ov5675_start_streaming() local
906 reg_list = &link_freq_configs[link_freq_index].reg_list; in ov5675_start_streaming()
907 ret = ov5675_write_reg_list(ov5675, reg_list); in ov5675_start_streaming()
913 reg_list = &ov5675->cur_mode->reg_list; in ov5675_start_streaming()
914 ret = ov5675_write_reg_list(ov5675, reg_list); in ov5675_start_streaming()
Dog01a1b.c90 const struct og01a1b_reg_list reg_list; member
113 const struct og01a1b_reg_list reg_list; member
401 .reg_list = {
415 .reg_list = {
692 const struct og01a1b_reg_list *reg_list; in og01a1b_start_streaming() local
696 reg_list = &link_freq_configs[link_freq_index].reg_list; in og01a1b_start_streaming()
698 ret = og01a1b_write_reg_list(og01a1b, reg_list); in og01a1b_start_streaming()
704 reg_list = &og01a1b->cur_mode->reg_list; in og01a1b_start_streaming()
705 ret = og01a1b_write_reg_list(og01a1b, reg_list); in og01a1b_start_streaming()
Dimx335.c168 struct imx335_reg_list reg_list; member
418 .reg_list = {
848 const struct imx335_reg_list *reg_list; in imx335_start_streaming() local
852 reg_list = &link_freq_reglist[__ffs(imx335->link_freq_bitmap)]; in imx335_start_streaming()
853 ret = cci_multi_reg_write(imx335->cci, reg_list->regs, in imx335_start_streaming()
854 reg_list->num_of_regs, NULL); in imx335_start_streaming()
861 reg_list = &imx335->cur_mode->reg_list; in imx335_start_streaming()
862 ret = cci_multi_reg_write(imx335->cci, reg_list->regs, in imx335_start_streaming()
863 reg_list->num_of_regs, NULL); in imx335_start_streaming()
Dimx412.c102 struct imx412_reg_list reg_list; member
403 .reg_list = {
798 const struct imx412_reg_list *reg_list; in imx412_start_streaming() local
802 reg_list = &imx412->cur_mode->reg_list; in imx412_start_streaming()
803 ret = imx412_write_regs(imx412, reg_list->regs, in imx412_start_streaming()
804 reg_list->num_of_regs); in imx412_start_streaming()
Dimx334.c118 struct imx334_reg_list reg_list; member
491 .reg_list = {
504 .reg_list = {
989 const struct imx334_reg_list *reg_list; in imx334_start_streaming() local
993 reg_list = &imx334->cur_mode->reg_list; in imx334_start_streaming()
994 ret = imx334_write_regs(imx334, reg_list->regs, in imx334_start_streaming()
995 reg_list->num_of_regs); in imx334_start_streaming()
Dov9282.c145 struct ov9282_reg_list reg_list; member
387 .reg_list = {
410 .reg_list = {
429 .reg_list = {
967 const struct ov9282_reg_list *reg_list; in ov9282_start_streaming() local
987 reg_list = &ov9282->cur_mode->reg_list; in ov9282_start_streaming()
988 ret = ov9282_write_regs(ov9282, reg_list->regs, reg_list->num_of_regs); in ov9282_start_streaming()
Dov5695.c92 const struct regval *reg_list; member
650 .reg_list = ov5695_2592x1944_regs,
659 .reg_list = ov5695_1920x1080_regs,
668 .reg_list = ov5695_1296x972_regs,
677 .reg_list = ov5695_1280x720_regs,
686 .reg_list = ov5695_640x480_regs,
911 ret = ov5695_write_array(ov5695->client, ov5695->cur_mode->reg_list); in __ov5695_start_stream()
/linux-6.12.1/drivers/net/ethernet/cavium/liquidio/
Dcn66xx_device.c609 struct octeon_reg_list *reg_list) in lio_cn6xxx_setup_reg_address() argument
614 reg_list->pci_win_wr_addr_hi = in lio_cn6xxx_setup_reg_address()
616 reg_list->pci_win_wr_addr_lo = in lio_cn6xxx_setup_reg_address()
618 reg_list->pci_win_wr_addr = in lio_cn6xxx_setup_reg_address()
621 reg_list->pci_win_rd_addr_hi = in lio_cn6xxx_setup_reg_address()
623 reg_list->pci_win_rd_addr_lo = in lio_cn6xxx_setup_reg_address()
625 reg_list->pci_win_rd_addr = in lio_cn6xxx_setup_reg_address()
628 reg_list->pci_win_wr_data_hi = in lio_cn6xxx_setup_reg_address()
630 reg_list->pci_win_wr_data_lo = in lio_cn6xxx_setup_reg_address()
632 reg_list->pci_win_wr_data = in lio_cn6xxx_setup_reg_address()
[all …]
/linux-6.12.1/arch/riscv/kvm/
Dvcpu.c279 struct kvm_reg_list reg_list; in kvm_arch_vcpu_ioctl() local
283 if (copy_from_user(&reg_list, user_list, sizeof(reg_list))) in kvm_arch_vcpu_ioctl()
285 n = reg_list.n; in kvm_arch_vcpu_ioctl()
286 reg_list.n = kvm_riscv_vcpu_num_regs(vcpu); in kvm_arch_vcpu_ioctl()
287 if (copy_to_user(user_list, &reg_list, sizeof(reg_list))) in kvm_arch_vcpu_ioctl()
290 if (n < reg_list.n) in kvm_arch_vcpu_ioctl()

123