/kernel/linux/linux-6.6/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-v4l2.c | 46 /* Map contiguous ordinal value to input id */ 203 We could just copy out the current value for the in pvr2_enum_input() 583 vc->value = val; in pvr2_g_ctrl() 594 vc->value); in pvr2_s_ctrl() 626 /* Ensure that if read as a 64 bit value, the user in pvr2_g_ext_ctrls() 627 will still get a hopefully sane value */ in pvr2_g_ext_ctrls() 629 ctrl->value = val; in pvr2_g_ext_ctrls() 648 ctrl->value); in pvr2_s_ext_ctrls()
|
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/ |
H A D | ispresizer.c | 260 * The new luminance value is computed as: 303 * resizer_set_ratio - Setup horizontal and vertical resizing value 346 * The value must be EVEN. 554 unsigned int value; in resizer_adjust_bandwidth() local 576 * don't want SBL overflows, so round the value up. in resizer_adjust_bandwidth() 584 * rate equal or higher than the requested value, so round the value in resizer_adjust_bandwidth() 597 value = max(minimum, maximum); in resizer_adjust_bandwidth() 599 dev_dbg(isp->dev, "%s: cycles per request = %u\n", __func__, value); in resizer_adjust_bandwidth() 602 value << ISPSBL_SDR_REQ_RSZ_EXP_SHIF in resizer_adjust_bandwidth() [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | imx415.c | 372 * registers that have to be set to another value than default. 478 static int imx415_write(struct imx415 *sensor, u32 addr, u32 value) in imx415_write() argument 480 u8 data[3] = { value & 0xff, (value >> 8) & 0xff, value >> 16 }; in imx415_write() 554 /* clamp the exposure value to VMAX. */ in imx415_s_ctrl() 641 * The pixel rate used here is a virtual value and can be used for in imx415_ctrls_init()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | vport.c | 875 int value; in mlx5_nic_vport_query_local_lb() local 886 value = MLX5_GET(query_nic_vport_context_out, out, in mlx5_nic_vport_query_local_lb() 889 value |= MLX5_GET(query_nic_vport_context_out, out, in mlx5_nic_vport_query_local_lb() 892 *status = !value; in mlx5_nic_vport_query_local_lb()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | action.c | 50 /* Leave MPLS TC as a default value of 0 if not explicitly set. */ in nfp_fl_push_mpls() 507 static void nfp_fl_set_helper32(u32 value, u32 mask, u8 *p_exact, u8 *p_mask) in nfp_fl_set_helper32() argument 512 value &= mask; in nfp_fl_set_helper32() 513 value |= oldvalue & ~mask; in nfp_fl_set_helper32() 516 put_unaligned(value, (u32 *)p_exact); in nfp_fl_set_helper32() 566 /* We are expecting tcf_pedit to return a big endian value */ in nfp_fl_set_ip4() 707 /* We are expecting tcf_pedit to return a big endian value */ in nfp_fl_set_ip6()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_sysfs.c | 1265 unsigned int temperature = 0, value = 0; in qlcnic_hwmon_show_temp() local 1268 value = QLCRDX(adapter->ahw, QLC_83XX_ASIC_TEMP); in qlcnic_hwmon_show_temp() 1270 value = QLC_SHARED_REG_RD32(adapter, QLCNIC_ASIC_TEMP); in qlcnic_hwmon_show_temp() 1272 temperature = qlcnic_get_temp_val(value); in qlcnic_hwmon_show_temp()
|
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | lock_dlm.c | 39 * the abs value of the @delta and add 1/4 of that to the running in gfs2_update_stats() 44 * smoothed mean value, and the variance is always in the following in gfs2_update_stats() 243 static void gfs2_reverse_hex(char *c, u64 value) in gfs2_reverse_hex() argument 246 while (value) { in gfs2_reverse_hex() 247 *c-- = hex_asc[value & 0x0f]; in gfs2_reverse_hex() 248 value >>= 4; in gfs2_reverse_hex() 906 /* special value to force mount attempts to fail */ in control_mount()
|
/kernel/linux/linux-6.6/include/linux/mlx4/ |
H A D | device.h | 57 * greater then this value when 811 /* Counters should be saturate once they reach their maximum value */ 812 #define ASSIGN_32BIT_COUNTER(counter, value) do { \ 813 if ((value) > U32_MAX) \ 816 counter = cpu_to_be32(value); \ 1427 const u32 offset[], u32 value[], 1495 /* or a value < 0 in case of an error. If a slave has 2 ports, the identity */
|
/kernel/linux/linux-6.6/drivers/staging/media/rkvdec/ |
H A D | rkvdec-h264.c | 619 static void set_ps_field(u32 *buf, struct rkvdec_ps_field field, u32 value) in set_ps_field() argument 623 u64 val = ((u64)value << bit) & mask; in set_ps_field() 656 #define WRITE_PPS(value, field) set_ps_field(hw_ps->info, field, value) in assemble_hw_pps()
|
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | zs.c | 153 static void write_zsreg(struct zs_port *zport, int reg, u8 value) in write_zsreg() argument 161 writeb(value, control); in write_zsreg() 178 static void write_zsdata(struct zs_port *zport, u8 value) in write_zsdata() argument 183 writeb(value, data); in write_zsdata() 713 * the status value itself must be read from the A in zs_interrupt()
|
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/include/ |
H A D | hal_com_reg.h | 15 /* 8188E PKT_BUFF_ACCESS_CTRL value */ 391 /* The NAV upper value is very important to WiFi 11n 5.2.3 NAV test. The default value is */ 393 /* CTS in the air. We must update this value greater than 25, 000 microseconds to pass the item. */ 970 #define GET_RX_PAGE_SIZE(value) ((value) & 0xF) 971 #define GET_TX_PAGE_SIZE(value) (((value) & 0xF0) >> 4)
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-ds1685.c | 40 * ds1685_read - read a value from an rtc register. 52 * ds1685_write - write a value to an rtc register. 55 * @value: value to write to the register. 58 ds1685_write(struct ds1685_priv *rtc, int reg, u8 value) in ds1685_write() argument 60 writeb(value, ((u8 __iomem *)rtc->regs + in ds1685_write() 71 * ds1685_indirect_read - read a value from an rtc register. 83 * ds1685_indirect_write - write a value to an rtc register. 86 * @value: value t 89 ds1685_indirect_write(struct ds1685_priv *rtc, int reg, u8 value) ds1685_indirect_write() argument [all...] |
/kernel/linux/linux-6.6/drivers/target/iscsi/ |
H A D | iscsi_target_login.c | 150 sessiontype = (strncmp(sessiontype_param->value, NORMAL, 6)) ? 1 : 0; in iscsi_check_for_session_reinstatement() 167 initiatorname_param->value) && in iscsi_check_for_session_reinstatement() 383 if (param && !strstr(param->value, NONE)) { in iscsi_login_zero_tsih_s2() 430 rc = kstrtoul(param->value, 0, &mrdsl); in iscsi_login_zero_tsih_s2()
|
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | palmas-regulator.c | 409 unsigned int value) in palmas_smps_write() 415 return regmap_write(palmas->regmap[REGULATOR_SLAVE], addr, value); in palmas_smps_write() 429 unsigned int value) in palmas_ldo_write() 435 return regmap_write(palmas->regmap[REGULATOR_SLAVE], addr, value); in palmas_ldo_write() 475 /* Switch the enable value to ensure this is used for enable */ in palmas_set_mode_smps() 1258 /* set_mode overrides this value */ in palmas_smps_registration() 1363 /* set_mode overrides this value */ in tps65917_smps_registration() 1513 /* use default value, when no value is specified */ in palmas_dt_to_pdata() 408 palmas_smps_write(struct palmas *palmas, unsigned int reg, unsigned int value) palmas_smps_write() argument 428 palmas_ldo_write(struct palmas *palmas, unsigned int reg, unsigned int value) palmas_ldo_write() argument
|
H A D | qcom_smd-regulator.c | 36 __le32 value; member 52 req[reqlen].value = cpu_to_le32(vreg->is_enabled); in rpm_reg_write_active() 59 req[reqlen].value = cpu_to_le32(vreg->uV); in rpm_reg_write_active() 66 req[reqlen].value = cpu_to_le32(vreg->load / 1000); in rpm_reg_write_active()
|
/kernel/linux/linux-6.6/drivers/usb/storage/ |
H A D | isd200.c | 478 void* pointer, int value ) in isd200_action() 502 isd200_set_srb(info, DMA_FROM_DEVICE, pointer, value); in isd200_action() 506 usb_stor_dbg(us, " isd200_action(ENUM,0x%02x)\n", value); in isd200_action() 511 ata.write.DeviceHeadByte = value; in isd200_action()
|
/kernel/linux/linux-6.6/drivers/char/ |
H A D | random.c | 77 * its value (from empty->early->ready). 193 * into the given buffer or as a return value. This is equivalent to 288 * key value, at index 4, so the state should always be zeroed out 754 * void add_input_randomness(unsigned int type, unsigned int code, unsigned int value); 1124 * value "num" is also added to the pool; it should somehow describe 1193 void add_input_randomness(unsigned int type, unsigned int code, unsigned int value) in add_input_randomness() argument 1199 if (value == last_value) in add_input_randomness() 1202 last_value = value; in add_input_randomness() 1204 (type << 4) ^ code ^ (code >> 4) ^ value); in add_input_randomness() 1589 * - urandom_min_reseed_secs - fixed to the value CRNG_RESEED_INTERVA [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu.h | 545 u32 sh_num, u32 reg_offset, u32 *value); 1132 void amdgpu_mm_wreg8(struct amdgpu_device *adev, uint32_t offset, uint8_t value); 1231 #define REG_GET_FIELD(value, reg, field) \ 1232 (((value) & REG_FIELD_MASK(reg, field)) >> REG_FIELD_SHIFT(reg, field))
|
H A D | amdgpu_amdkfd_gfx_v9.c | 620 uint32_t value; in kgd_gfx_v9_get_atc_vmid_pasid_mapping_info() local 622 value = RREG32(SOC15_REG_OFFSET(ATHUB, 0, mmATC_VMID0_PASID_MAPPING) in kgd_gfx_v9_get_atc_vmid_pasid_mapping_info() 624 *p_pasid = value & ATC_VMID0_PASID_MAPPING__PASID_MASK; in kgd_gfx_v9_get_atc_vmid_pasid_mapping_info() 626 return !!(value & ATC_VMID0_PASID_MAPPING__VALID_MASK); in kgd_gfx_v9_get_atc_vmid_pasid_mapping_info()
|
H A D | amdgpu_virt.c | 534 /* correct too large or too little interval value */ in amdgpu_virt_read_pf2vf_data() 1021 * SCRATCH_REG0 = read/write value in amdgpu_virt_rlcg_reg_rw() 1065 u32 offset, u32 value, in amdgpu_sriov_wreg() 1072 amdgpu_virt_rlcg_reg_rw(adev, offset, value, rlcg_flag, xcc_id); in amdgpu_sriov_wreg() 1077 WREG32_NO_KIQ(offset, value); in amdgpu_sriov_wreg() 1079 WREG32(offset, value); in amdgpu_sriov_wreg() 1064 amdgpu_sriov_wreg(struct amdgpu_device *adev, u32 offset, u32 value, u32 acc_flags, u32 hwip, u32 xcc_id) amdgpu_sriov_wreg() argument
|
H A D | sdma_v2_4.c | 532 * value to memory. (VI). 583 * @timeout: timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT 678 * @value: dst addr to write into pe 685 uint64_t value, unsigned count, in sdma_v2_4_vm_write_pte() 696 ib->ptr[ib->length_dw++] = lower_32_bits(value); in sdma_v2_4_vm_write_pte() 697 ib->ptr[ib->length_dw++] = upper_32_bits(value); in sdma_v2_4_vm_write_pte() 698 value += incr; in sdma_v2_4_vm_write_pte() 724 ib->ptr[ib->length_dw++] = lower_32_bits(addr); /* value */ in sdma_v2_4_vm_set_pte_pde() 1213 * @src_data: value to write to buffer 684 sdma_v2_4_vm_write_pte(struct amdgpu_ib *ib, uint64_t pe, uint64_t value, unsigned count, uint32_t incr) sdma_v2_4_vm_write_pte() argument
|
/kernel/linux/linux-6.6/drivers/clk/qcom/ |
H A D | clk-smd-rpm.c | 195 .value = cpu_to_le32(r->branch ? 1 : INT_MAX), in clk_smd_rpm_handoff() 218 .value = cpu_to_le32(DIV_ROUND_UP(rate, 1000)), /* to kHz */ in clk_smd_rpm_set_rate_active() 232 .value = cpu_to_le32(DIV_ROUND_UP(rate, 1000)), /* to kHz */ in clk_smd_rpm_set_rate_sleep() 408 .value = cpu_to_le32(1), in clk_smd_rpm_enable_scaling()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce120/ |
H A D | dce120_resource.c | 1046 uint32_t value = dm_read_reg_soc15(ctx, mmCC_DC_PIPE_DIS, 0); in read_pipe_fuses() local 1048 value = value & 0x3f; in read_pipe_fuses() 1049 return value; in read_pipe_fuses()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_resource.c | 1285 uint32_t value = dm_read_reg_soc15(ctx, mmCC_DC_PIPE_DIS, 0); in read_pipe_fuses() local 1287 value = value & 0xf; in read_pipe_fuses() 1288 return value; in read_pipe_fuses() 1629 * the value may be changed in dcn10_resource_construct()
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | emu10k1.h | 82 /* value should be set to zero. */ 130 /* to the CN value written will be cleared. */ 400 // - The value is multiplied by CVCF_CURRENTVOL. 401 // - The value goes through a filter with cutoff CVCF_CURRENTFILTER; 403 // - The value is added by so-called `sends` to 4 (EMU10K1) / 8 (EMU10K2) 512 #define ENVVOL_MASK 0x0000ffff /* Current value of volume envelope state variable */ 530 #define LFOVAL1 0x13 /* Modulation LFO value */ 531 #define LFOVAL_MASK 0x0000ffff /* Current value of modulation LFO state variable */ 535 #define ENVVAL_MASK 0x0000ffff /* Current value of modulation envelope state variable */ 551 #define LFOVAL2_MASK 0x0000ffff /* Current value o 1558 int value[32]; global() member [all...] |