Home
last modified time | relevance | path

Searched +defs:val +defs:encoding (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.14.4/drivers/gpu/drm/sun4i/
Dsun8i_csc.c112 enum drm_color_encoding encoding, in sun8i_csc_set_coefficients()
145 enum drm_color_encoding encoding, in sun8i_de3_ccsc_set_coefficients()
183 u32 val; in sun8i_csc_enable() local
195 u32 val, mask; in sun8i_de3_ccsc_enable() local
210 enum drm_color_encoding encoding, in sun8i_csc_set_ccsc_coefficients()
/linux-6.14.4/drivers/pci/pcie/
Daspm.c351 u32 val = enable ? PCI_EXP_LNKCTL_CLKREQ_EN : 0; in pcie_set_clkpm_nocheck() local
478 u32 encoding = FIELD_GET(PCI_EXP_LNKCAP_L0SEL, lnkcap); in calc_l0s_latency() local
486 static u32 calc_l0s_acceptable(u32 encoding) in calc_l0s_acceptable()
496 u32 encoding = FIELD_GET(PCI_EXP_LNKCAP_L1EL, lnkcap); in calc_l1_latency() local
504 static u32 calc_l1_acceptable(u32 encoding) in calc_l1_acceptable()
512 static u32 calc_l12_pwron(struct pci_dev *pdev, u32 scale, u32 val) in calc_l12_pwron()
568 u32 latency, encoding, lnkcap_up, lnkcap_dw; in pcie_aspm_check_latency() local
887 u32 val; in pcie_config_aspm_l1ss() local
921 static void pcie_config_aspm_dev(struct pci_dev *pdev, u32 val) in pcie_config_aspm_dev()
1509 static int pcie_aspm_set_policy(const char *val, in pcie_aspm_set_policy()
/linux-6.14.4/tools/testing/selftests/kvm/arm64/
Dset_id_regs.c346 uint64_t val, new_val, ftr; in test_reg_set_success() local
369 uint64_t val, old_val, ftr; in test_reg_set_fail() local
392 #define encoding_to_range_idx(encoding) \ argument
452 uint64_t val; in test_user_set_mpam_reg() local
614 u64 val; in test_vcpu_ftr_id_regs() local
627 static void test_assert_id_reg_unchanged(struct kvm_vcpu *vcpu, uint32_t encoding) in test_assert_id_reg_unchanged()
659 uint64_t val, el0; in main() local
/linux-6.14.4/tools/testing/selftests/bpf/
Dtest_btf.h15 #define BTF_INT_ENC(encoding, bits_offset, nr_bits) \ argument
17 #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz) \ argument
43 #define BTF_ENUM_ENC(name, val) (name), (val) argument
/linux-6.14.4/arch/arm64/kvm/
Demulate-nested.c483 u64 val = __vcpu_sys_reg(vcpu, CNTHCTL_EL2); in get_sanitized_cnthctl() local
509 u64 val; in is_nested_nv2_guest() local
535 u64 val = __vcpu_sys_reg(vcpu, CPTR_EL2); in check_cptr_tta() local
605 u64 val; member
619 const u32 encoding; member
2014 static u32 encoding_next(u32 encoding) in encoding_next()
2130 u32 encoding; in populate_sysreg_config() local
2162 u64 val; in get_behaviour() local
2219 u64 val, const union trap_config tc) in check_fgt_bit()
2276 u64 esr, val; in triage_sysreg_trap() local
Dsys_regs.c153 u64 val = 0x8badf00d8badf00d; in vcpu_read_sys_reg() local
213 void vcpu_write_sys_reg(struct kvm_vcpu *vcpu, u64 val, int reg) in vcpu_write_sys_reg()
332 static int set_ccsidr(struct kvm_vcpu *vcpu, u32 csselr, u32 val) in set_ccsidr()
435 u64 val, mask, shift; in access_vm_reg() local
592 u64 val) in set_oslsr_el1()
638 u64 mask, shift, val; in reg_to_dbg() local
696 u64 val) in set_dbg_wb_reg()
708 u64 *val) in get_dbg_wb_reg()
870 u64 val; in access_pmcr() local
935 u64 pmcr, val; in pmu_counter_idx_valid() local
[all …]
/linux-6.14.4/crypto/asymmetric_keys/
Dpublic_key.c68 const char *encoding, const char *hash_algo, in software_key_determine_akcipher()
154 static u8 *pkey_pack_u32(u8 *dst, u32 val) in pkey_pack_u32()
/linux-6.14.4/tools/bpf/bpftool/
Dbtf.c63 static const char *btf_int_enc_str(__u8 encoding) in btf_int_enc_str()
228 const char *encoding; in dump_btf_type() local
266 const char *encoding; in dump_btf_type() local
281 __u64 val = ((__u64)v->val_hi32 << 32) | v->val_lo32; in dump_btf_type() local
661 static __u64 hasher(__u64 hash, __u64 val) in hasher()
/linux-6.14.4/drivers/input/misc/
Drotary_encoder.c42 enum rotary_encoder_encoding encoding; member
62 int val = gpiod_get_value_cansleep(encoder->gpios->desc[i]); in rotary_encoder_get_state() local
/linux-6.14.4/drivers/media/platform/nxp/imx8-isi/
Dimx8-isi-hw.c21 static inline void mxc_isi_write(struct mxc_isi_pipe *pipe, u32 reg, u32 val) in mxc_isi_write()
42 int val; in mxc_isi_channel_set_outbuf() local
85 u32 val; in mxc_isi_channel_m2m_start() local
119 enum mxc_isi_encoding encoding, in mxc_isi_channel_set_scaling()
126 u32 val; in mxc_isi_channel_set_scaling() local
173 u32 val, val0, val1; in mxc_isi_channel_set_crop() local
219 u32 val; in mxc_isi_channel_set_csc() local
259 u32 val; in mxc_isi_channel_set_alpha() local
270 u32 val; in mxc_isi_channel_set_flip() local
286 u32 val; in mxc_isi_channel_set_panic_threshold() local
[all …]
/linux-6.14.4/drivers/gpu/drm/
Ddrm_color_mgmt.c138 s64 val; in drm_color_ctm_s31_32_to_qm_n() local
490 const char *drm_get_color_encoding_name(enum drm_color_encoding encoding) in drm_get_color_encoding_name()
/linux-6.14.4/tools/testing/selftests/kvm/include/x86/
Dvmx.h450 static inline int vmread(uint64_t encoding, uint64_t *value) in vmread()
471 static inline uint64_t vmreadz(uint64_t encoding) in vmreadz()
478 static inline int vmwrite(uint64_t encoding, uint64_t value) in vmwrite()
533 u64 val; member
549 u64 val; member
/linux-6.14.4/arch/sh/kernel/
Ddwarf.c130 u32 val = get_unaligned(src); in dwarf_read_addr() local
223 static int dwarf_read_encoded_value(char *addr, unsigned long *val, in dwarf_read_encoded_value()
224 char encoding) in dwarf_read_encoded_value()
/linux-6.14.4/drivers/net/wan/
Dfsl_ucc_hdlc.c838 static int ucc_hdlc_attach(struct net_device *dev, unsigned short encoding, in ucc_hdlc_attach()
1127 u32 val; in ucc_hdlc_probe() local
Dixp4xx_hss.c366 u32 *val = (u32 *)msg; in hss_npe_send() local
1061 int val; in hss_hdlc_dcd_irq() local
1074 int val; in hss_hdlc_open() local
1209 static int hss_hdlc_attach(struct net_device *dev, unsigned short encoding, in hss_hdlc_attach()
1398 u32 val; in ixp4xx_hss_probe() local
/linux-6.14.4/tools/perf/util/
Dunwind-libunwind-local.c112 static int __dw_read_encoded_value(u8 **p, u8 *end, u64 *val, in __dw_read_encoded_value()
113 u8 encoding) in __dw_read_encoded_value()
511 unw_fpreg_t __maybe_unused *val, in access_fpreg()
623 u64 val; in access_reg() local
738 u64 val; in get_entries() local
/linux-6.14.4/arch/sparc/kernel/
Dperf_event.c124 u16 encoding; member
137 static u8 perf_event_get_msk(unsigned long val) in perf_event_get_msk()
142 static u64 perf_event_get_enc(unsigned long val) in perf_event_get_enc()
182 u64 val; in sparc_default_read_pmc() local
191 static void sparc_default_write_pmc(int idx, u64 val) in sparc_default_write_pmc()
733 u64 val = pcr_ops->read_pic(idx); in sparc_vt_read_pmc() local
738 static void sparc_vt_write_pmc(int idx, u64 val) in sparc_vt_write_pmc()
829 u64 enc, val, mask = mask_for_index(idx); in sparc_pmu_enable_event() local
850 u64 val; in sparc_pmu_disable_event() local
1059 u64 val = cpuc->pcr[i]; in sparc_pmu_disable() local
[all …]
/linux-6.14.4/drivers/gpu/drm/tidss/
Dtidss_dispc.c414 static void dispc_write(struct dispc_device *dispc, u16 reg, u32 val) in dispc_write()
425 void dispc_vid_write(struct dispc_device *dispc, u32 hw_plane, u16 reg, u32 val) in dispc_vid_write()
440 u16 reg, u32 val) in dispc_ovr_write()
455 u16 reg, u32 val) in dispc_vp_write()
479 static u32 FLD_VAL(u32 val, u32 start, u32 end) in FLD_VAL()
484 static u32 FLD_GET(u32 val, u32 start, u32 end) in FLD_GET()
489 static u32 FLD_MOD(u32 orig, u32 val, u32 start, u32 end) in FLD_MOD()
499 static void REG_FLD_MOD(struct dispc_device *dispc, u32 idx, u32 val, in REG_FLD_MOD()
513 u32 val, u32 start, u32 end) in VID_REG_FLD_MOD()
526 static void VP_REG_FLD_MOD(struct dispc_device *dispc, u32 vp, u32 idx, u32 val, in VP_REG_FLD_MOD()
[all …]
/linux-6.14.4/drivers/block/drbd/
Ddrbd_protocol.h374 u32 val; member
412 u8 encoding; member
/linux-6.14.4/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c3143 qlcnic_idc_debug_info(struct qlcnic_adapter *adapter, u8 encoding) in qlcnic_idc_debug_info()
3145 u32 val; in qlcnic_idc_debug_info() local
3158 u32 val; in qlcnic_set_drv_state() local
3183 u32 val; in qlcnic_clr_drv_state() local
3199 u32 val; in qlcnic_clr_all_drv_state() local
3253 u32 val = QLC_SHARED_REG_RD32(adapter, QLCNIC_CRB_DRV_IDC_VER); in qlcnic_check_idc_ver() local
3266 u32 val, prev_state; in qlcnic_can_start_firmware() local
3355 u32 val; in qlcnic_fwinit_work() local
3746 int val = pdev->devfn; in qlcnic_is_first_func() local
/linux-6.14.4/drivers/media/platform/nuvoton/
Dnpcm-video.c201 __be32 encoding = cpu_to_be32(5); /* Hextile encoding */ in npcm_video_ece_prepend_rect_header() local
214 unsigned int size, gap, val; in npcm_video_ece_get_ed_size() local
784 unsigned int val; in npcm_video_start_frame() local
/linux-6.14.4/drivers/tty/
Dsynclink_gt.c1344 static int hdlcdev_attach(struct net_device *dev, unsigned short encoding, in hdlcdev_attach()
2203 unsigned short val = rd_reg16(info, TCR); in isr_txeom() local
2685 unsigned short val = rd_reg16(info, SCR); in wait_mgsl_event() local
2772 unsigned short val; in set_interface() local
3849 unsigned short val; in rx_stop() local
3869 unsigned short val; in rx_start() local
3956 unsigned short val; in tx_stop() local
4002 unsigned short val; in async_mode() local
4143 unsigned short val; in sync_mode() local
4368 unsigned char val; in tx_set_idle() local
[all …]
/linux-6.14.4/tools/lib/bpf/
Dbtf_dump.c1096 __u64 val; in btf_dump_emit_enum64_val() local
1869 __u8 encoding = btf_int_encoding(t); in btf_dump_int_data() local
2164 __u64 val; in btf_dump_get_enum_value() local
/linux-6.14.4/arch/x86/kvm/vmx/
Dnested.c53 u16 encoding; member
1013 u64 val = vmx->msr_autostore.guest.val[i].value; in nested_vmx_get_vmexit_msr_value() local
1598 unsigned long val; in copy_shadow_to_vmcs12() local
1633 unsigned long val; in copy_vmcs12_to_shadow() local
6240 unsigned long val; in nested_vmx_exit_handled_cr() local
/linux-6.14.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_tcam.c585 u16 encoding; in mlxsw_sp_acl_tcam_region_alloc() local
1514 u32 val = ctx->val.vu32; in mlxsw_sp_acl_tcam_region_rehash_intrvl_set() local

12