/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | cam.h | 15 static inline void FWCMD_SET_ADDR_IDX(void *cmd, u32 value) in FWCMD_SET_ADDR_IDX() argument 17 le32p_replace_bits((__le32 *)(cmd) + 1, value, GENMASK(7, 0)); in FWCMD_SET_ADDR_IDX() 20 static inline void FWCMD_SET_ADDR_OFFSET(void *cmd, u32 value) in FWCMD_SET_ADDR_OFFSET() argument 25 static inline void FWCMD_SET_ADDR_LEN(void *cmd, u32 value) in FWCMD_SET_ADDR_LEN() argument 30 static inline void FWCMD_SET_ADDR_VALID(void *cmd, u32 value) in FWCMD_SET_ADDR_VALID() argument 32 le32p_replace_bits((__le32 *)(cmd) + 2, value, BIT(0)); in FWCMD_SET_ADDR_VALID() 52 le32p_replace_bits((__le32 *)(cmd) + 2, value, BIT(7)); in FWCMD_SET_ADDR_BB_SEL() 157 le32p_replace_bits((__le32 *)(cmd) + 8, value, BIT(14)); in FWCMD_SET_ADDR_TF_TRS() 162 le32p_replace_bits((__le32 *)(cmd) + 8, value, BIT(15)); in FWCMD_SET_ADDR_LSIG_TXOP() 192 le32p_replace_bits((__le32 *)(cmd) + 9, value, BIT(12)); in FWCMD_SET_ADDR_WOL_PATTERN() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | fw.h | 423 #define CHSW_INFO_SET_CH(pkt, value) \ argument 427 #define CHSW_INFO_SET_BW(pkt, value) \ argument 429 #define CHSW_INFO_SET_TIMEOUT(pkt, value) \ argument 436 #define CH_INFO_SET_CH(pkt, value) \ argument 440 #define CH_INFO_SET_BW(pkt, value) \ argument 442 #define CH_INFO_SET_TIMEOUT(pkt, value) \ argument 447 u8p_replace_bits((u8 *)(pkt) + 0x03, value, BIT(7)) 449 #define EXTRA_CH_INFO_SET_ID(pkt, value) \ argument 452 u8p_replace_bits((u8 *)(pkt) + 0x04, value, BIT(7)) 605 #define SET_SCAN_START(h2c_pkt, value) \ argument [all …]
|
/openbmc/u-boot/arch/arm/mach-tegra/tegra210/ |
H A D | xusb-padctl.c | 98 u32 value; in tegra_xusb_padctl_enable() local 124 u32 value; in tegra_xusb_padctl_disable() local 219 u32 value; in pcie_phy_enable() local 234 value |= XUSB_PADCTL_UPHY_PLL_P0_CTL1_PWR_OVRD; in pcie_phy_enable() 238 value |= XUSB_PADCTL_UPHY_PLL_P0_CTL2_CAL_OVRD; in pcie_phy_enable() 259 value &= ~XUSB_PADCTL_UPHY_PLL_P0_CTL1_IDDQ; in pcie_phy_enable() 273 value |= XUSB_PADCTL_UPHY_PLL_P0_CTL2_CAL_EN; in pcie_phy_enable() 292 value &= ~XUSB_PADCTL_UPHY_PLL_P0_CTL2_CAL_EN; in pcie_phy_enable() 311 value |= XUSB_PADCTL_UPHY_PLL_P0_CTL1_ENABLE; in pcie_phy_enable() 330 value |= XUSB_PADCTL_UPHY_PLL_P0_CTL8_RCAL_EN; in pcie_phy_enable() [all …]
|
/openbmc/linux/drivers/media/pci/cx25821/ |
H A D | cx25821-medusa-video.c | 24 u32 value = 0; in medusa_enable_bluefield_output() local 135 value = setBitAtPos(value, 14); in medusa_initialize_ntsc() 136 value = clearBitAtPos(value, 15); in medusa_initialize_ntsc() 143 value = clearBitAtPos(value, 29); in medusa_initialize_ntsc() 303 value = setBitAtPos(value, 14); in medusa_initialize_pal() 304 value = clearBitAtPos(value, 15); in medusa_initialize_pal() 311 value = clearBitAtPos(value, 29); in medusa_initialize_pal() 395 value = setBitAtPos(value, 4); in medusa_set_videostandard() 400 value = setBitAtPos(value, 4); in medusa_set_videostandard() 563 value = convert_to_twos(value, 8); in medusa_set_brightness() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/ |
H A D | evmcs.h | 283 *value = current_evmcs->guest_rip; in evmcs_vmread() 286 *value = current_evmcs->guest_rsp; in evmcs_vmread() 298 *value = current_evmcs->host_cr0; in evmcs_vmread() 301 *value = current_evmcs->host_cr3; in evmcs_vmread() 304 *value = current_evmcs->host_cr4; in evmcs_vmread() 313 *value = current_evmcs->host_rip; in evmcs_vmread() 433 *value = current_evmcs->host_rsp; in evmcs_vmread() 702 current_evmcs->host_cr0 = value; in evmcs_vmwrite() 706 current_evmcs->host_cr3 = value; in evmcs_vmwrite() 710 current_evmcs->host_cr4 = value; in evmcs_vmwrite() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_opp_csc_v.c | 131 value, in program_color_matrix_v() 137 value, in program_color_matrix_v() 149 value, in program_color_matrix_v() 155 value, in program_color_matrix_v() 167 value, in program_color_matrix_v() 173 value, in program_color_matrix_v() 185 value, in program_color_matrix_v() 369 value, in configure_graphics_mode_v() 450 value, in configure_graphics_mode_v() 498 value, in set_Denormalization() [all …]
|
H A D | dce110_opp_regamma_v.c | 43 value, in power_on_lut() 49 value, in power_on_lut() 56 value, in power_on_lut() 62 value, in power_on_lut() 92 value, in set_bypass_input_gamma() 138 value, in regamma_config_regions_and_segments() 144 value, in regamma_config_regions_and_segments() 155 value, in regamma_config_regions_and_segments() 166 value, in regamma_config_regions_and_segments() 177 value, in regamma_config_regions_and_segments() [all …]
|
H A D | dce110_timing_generator.c | 135 value, in dce110_timing_generator_enable_crtc() 160 value, in dce110_timing_generator_program_blank_color() 165 value, in dce110_timing_generator_program_blank_color() 170 value, in dce110_timing_generator_program_blank_color() 201 value, 206 value, 621 value, in dce110_timing_generator_program_blanking() 630 value, in dce110_timing_generator_program_blanking() 642 value, in dce110_timing_generator_program_blanking() 651 value, in dce110_timing_generator_program_blanking() [all …]
|
H A D | dce110_mem_input_v.c | 56 value); in set_flip_control() 77 value); in program_pri_addr_c() 91 value); in program_pri_addr_c() 113 value); in program_pri_addr_l() 127 value); in program_pri_addr_l() 162 value); in enable() 205 value); in program_tiling() 227 value); in program_tiling() 258 value); in program_size_and_rotation() 266 value); in program_size_and_rotation() [all …]
|
H A D | dce110_timing_generator_v.c | 105 value, in dce110_timing_generator_v_blank_crtc() 111 value, in dce110_timing_generator_v_blank_crtc() 125 value, in dce110_timing_generator_v_unblank_crtc() 131 value, in dce110_timing_generator_v_unblank_crtc() 261 value, in dce110_timing_generator_v_program_blanking() 270 value, in dce110_timing_generator_v_program_blanking() 283 value, in dce110_timing_generator_v_program_blanking() 292 value, in dce110_timing_generator_v_program_blanking() 305 value, in dce110_timing_generator_v_program_blanking() 314 value, in dce110_timing_generator_v_program_blanking() [all …]
|
/openbmc/linux/drivers/video/fbdev/riva/ |
H A D | nvreg.h | 34 #define SetBF(mask,value) ((value) << (0?mask)) argument 56 #define PDAC_Write(reg,value) DEVICE_WRITE(PDAC,reg,value) argument 59 #define PDAC_Def(mask,value) DEVICE_DEF(PDAC,mask,value) argument 63 #define PFB_Write(reg,value) DEVICE_WRITE(PFB,reg,value) argument 66 #define PFB_Def(mask,value) DEVICE_DEF(PFB,mask,value) argument 67 #define PFB_Val(mask,value) DEVICE_VALUE(PFB,mask,value) argument 70 #define PRM_Write(reg,value) DEVICE_WRITE(PRM,reg,value) argument 73 #define PRM_Def(mask,value) DEVICE_DEF(PRM,mask,value) argument 74 #define PRM_Val(mask,value) DEVICE_VALUE(PRM,mask,value) argument 87 #define PDMA_Def(mask,value) DEVICE_DEF(PDMA,mask,value) argument [all …]
|
/openbmc/linux/drivers/phy/tegra/ |
H A D | xusb-tegra210.c | 468 u32 value; in tegra210_pex_uphy_enable() local 685 u32 value; in tegra210_pex_uphy_disable() local 708 u32 value; in tegra210_sata_uphy_enable() local 944 u32 value; in tegra210_sata_uphy_disable() local 963 u32 value; in tegra210_aux_mux_lp0_clamp_disable() local 984 u32 value; in tegra210_aux_mux_lp0_clamp_enable() local 1036 u32 value; in tegra210_hsic_set_idle() local 1064 u32 value; in tegra210_usb3_enable_phy_sleepwalk() local 1095 u32 value; in tegra210_usb3_disable_phy_sleepwalk() local 2011 value |= in tegra210_usb2_phy_power_on() [all …]
|
/openbmc/linux/tools/power/x86/intel-speed-select/ |
H A D | isst-display.c | 209 snprintf(value, sizeof(value), "%d", in _isst_pbf_display_information() 219 printcpulist(sizeof(value), value, in _isst_pbf_display_information() 225 snprintf(value, sizeof(value), "%d", in _isst_pbf_display_information() 282 snprintf(value, sizeof(value), "%d", in _isst_fact_display_information() 294 snprintf(value, sizeof(value), "%d", in _isst_fact_display_information() 313 snprintf(value, sizeof(value), "%d", in _isst_fact_display_information() 378 printcpumask(sizeof(value), value, in isst_ctdp_display_information() 384 printcpulist(sizeof(value), value, in isst_ctdp_display_information() 398 snprintf(value, sizeof(value), "%d", in isst_ctdp_display_information() 404 snprintf(value, sizeof(value), "%d", in isst_ctdp_display_information() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/include/ |
H A D | fixed31_32.h | 109 res.value = -arg.value; in dc_fixpt_neg() 137 return arg1.value < arg2.value; in dc_fixpt_lt() 146 return arg1.value <= arg2.value; in dc_fixpt_le() 164 if (arg1.value <= arg2.value) in dc_fixpt_min() 176 if (arg1.value <= arg2.value) in dc_fixpt_max() 229 arg.value = -arg.value; in dc_fixpt_shr() 232 arg.value = -arg.value; in dc_fixpt_shr() 252 res.value = arg1.value + arg2.value; in dc_fixpt_add() 277 res.value = arg1.value - arg2.value; in dc_fixpt_sub() 527 arg.value = -arg.value; in dc_fixpt_truncate() [all …]
|
/openbmc/pldm/libpldmresponder/ |
H A D | pdr_numeric_effecter.hpp | 34 auto entries = json.value("entries", emptyList); in generateNumericEffecterPDR() 71 pdr->entity_type = e.value("type", 0); in generateNumericEffecterPDR() 85 pdr->entity_type = e.value("type", 0); in generateNumericEffecterPDR() 93 pdr->base_unit = e.value("base_unit", 0); in generateNumericEffecterPDR() 95 pdr->rate_unit = e.value("rate_unit", 0); in generateNumericEffecterPDR() 97 pdr->aux_unit = e.value("aux_unit", 0); in generateNumericEffecterPDR() 101 pdr->is_linear = e.value("is_linear", true); in generateNumericEffecterPDR() 105 pdr->offset = e.value("offset", 0.00); in generateNumericEffecterPDR() 106 pdr->accuracy = e.value("accuracy", 0); in generateNumericEffecterPDR() 110 e.value("state_transition_interval", 0.00); in generateNumericEffecterPDR() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_scl_filters.c | 1343 if (ratio.value < dc_fixpt_one.value) in get_filter_3tap_16p() 1345 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) in get_filter_3tap_16p() 1347 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) in get_filter_3tap_16p() 1355 if (ratio.value < dc_fixpt_one.value) in get_filter_3tap_64p() 1357 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) in get_filter_3tap_64p() 1367 if (ratio.value < dc_fixpt_one.value) in get_filter_4tap_16p() 1379 if (ratio.value < dc_fixpt_one.value) in get_filter_4tap_64p() 1391 if (ratio.value < dc_fixpt_one.value) in get_filter_5tap_64p() 1403 if (ratio.value < dc_fixpt_one.value) in get_filter_6tap_64p() 1415 if (ratio.value < dc_fixpt_one.value) in get_filter_7tap_64p() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_getparam.c | 22 int value = 0; in i915_getparam_ioctl() local 79 if (!value) in i915_getparam_ioctl() 84 if (!value) in i915_getparam_ioctl() 91 value = 2; in i915_getparam_ioctl() 94 value = 0; in i915_getparam_ioctl() 108 if (value < 0) in i915_getparam_ioctl() 109 return value; in i915_getparam_ioctl() 156 value = 1; in i915_getparam_ioctl() 167 if (!value) in i915_getparam_ioctl() 177 if (!value) in i915_getparam_ioctl() [all …]
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | stream.hpp | 28 return bswap_64(value); in htonll() 39 return bswap_64(value); in ntohll() 89 read(&value, 1); in operator >>() 101 read(&value, 1); in operator >>() 114 value = htons(value); in operator >>() 127 value = htonl(value); in operator >>() 140 value = detail::htonll(value); in operator >>() 156 read(value.data(), value.size()); in operator >>() 173 read(value.data(), value.size()); in operator >>() 253 write(value.data(), value.size()); in operator <<() [all …]
|
/openbmc/openpower-hw-diags/attn/pel/ |
H A D | stream.hpp | 28 return bswap_64(value); in htonll() 39 return bswap_64(value); in ntohll() 89 read(&value, 1); in operator >>() 101 read(&value, 1); in operator >>() 114 value = htons(value); in operator >>() 127 value = htonl(value); in operator >>() 140 value = detail::htonll(value); in operator >>() 156 read(value.data(), value.size()); in operator >>() 173 read(value.data(), value.size()); in operator >>() 253 write(value.data(), value.size()); in operator <<() [all …]
|
/openbmc/u-boot/arch/arm/mach-tegra/tegra124/ |
H A D | xusb-padctl.c | 110 u32 value; in tegra_xusb_padctl_enable() local 136 u32 value; in tegra_xusb_padctl_disable() local 180 u32 value; in pcie_phy_enable() local 193 value |= XUSB_PADCTL_IOPHY_PLL_P0_CTL1_PLL_RST; in pcie_phy_enable() 212 u32 value; in pcie_phy_disable() local 215 value &= ~XUSB_PADCTL_IOPHY_PLL_P0_CTL1_PLL_RST; in pcie_phy_disable() 226 u32 value; in sata_phy_enable() local 243 value |= XUSB_PADCTL_IOPHY_PLL_S0_CTL1_PLL_RST; in sata_phy_enable() 262 u32 value; in sata_phy_disable() local 265 value &= ~XUSB_PADCTL_IOPHY_PLL_S0_CTL1_PLL_RST; in sata_phy_disable() [all …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwxgmac2_dma.c | 28 value |= XGMAC_AAL; in dwxgmac2_dma_init() 31 value |= XGMAC_EAME; in dwxgmac2_dma_init() 43 value |= XGMAC_PBLx8; in dwxgmac2_dma_init_chan() 55 u32 value; in dwxgmac2_dma_init_rx_chan() local 72 u32 value; in dwxgmac2_dma_init_tx_chan() local 77 value |= XGMAC_OSP; in dwxgmac2_dma_init_tx_chan() 286 u32 value; in dwxgmac2_dma_start_tx() local 300 u32 value; in dwxgmac2_dma_stop_tx() local 314 u32 value; in dwxgmac2_dma_start_rx() local 328 u32 value; in dwxgmac2_dma_stop_rx() local [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | types.py | 36 def choice(value, choices): argument 45 value = value.lower() 50 return value 96 if not value: 108 def boolean(value): argument 114 if value is None: 118 return value 123 value = value.lower() 152 value = os.path.join(relativeto, value) 155 value = os.path.normpath(value) [all …]
|
/openbmc/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | hw_counters.c | 211 stats->value[BNXT_RE_MISSING_RESP] = in bnxt_re_copy_err_stats() 229 stats->value[BNXT_RE_DUP_REQ] = in bnxt_re_copy_err_stats() 265 stats->value[BNXT_RE_RES_SRQ_ERR] = in bnxt_re_copy_err_stats() 267 stats->value[BNXT_RE_RES_CMP_ERR] = in bnxt_re_copy_err_stats() 293 stats->value[BNXT_RE_DB_FIFO_REG] = in bnxt_re_copy_db_pacing_stats() 336 stats->value[BNXT_RE_TX_ERRORS] = in bnxt_re_ib_get_hw_stats() 338 stats->value[BNXT_RE_RX_ERRORS] = in bnxt_re_ib_get_hw_stats() 342 stats->value[BNXT_RE_RX_PKTS] = in bnxt_re_ib_get_hw_stats() 344 stats->value[BNXT_RE_RX_BYTES] = in bnxt_re_ib_get_hw_stats() 346 stats->value[BNXT_RE_TX_PKTS] = in bnxt_re_ib_get_hw_stats() [all …]
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | unaligned-emul.h | 764 #define LoadHWUE(addr, value, res) _LoadHWU(addr, value, res, user) argument 765 #define LoadWU(addr, value, res) _LoadWU(addr, value, res, kernel) argument 766 #define LoadWUE(addr, value, res) _LoadWU(addr, value, res, user) argument 767 #define LoadHW(addr, value, res) _LoadHW(addr, value, res, kernel) argument 768 #define LoadHWE(addr, value, res) _LoadHW(addr, value, res, user) argument 769 #define LoadW(addr, value, res) _LoadW(addr, value, res, kernel) argument 770 #define LoadWE(addr, value, res) _LoadW(addr, value, res, user) argument 771 #define LoadDW(addr, value, res) _LoadDW(addr, value, res) argument 775 #define StoreW(addr, value, res) _StoreW(addr, value, res, kernel) argument 776 #define StoreWE(addr, value, res) _StoreW(addr, value, res, user) argument [all …]
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-fau.h | 62 int64_t value:63; member 72 int32_t value:31; member 82 int16_t value:15; member 92 int8_t value:7; member 153 int64_t value) in __cvmx_fau_atomic_address() argument 365 int64_t value) in cvmx_fau_async_fetch_and_add64() argument 385 int32_t value) in cvmx_fau_async_fetch_and_add32() argument 404 int16_t value) in cvmx_fau_async_fetch_and_add16() argument 422 int8_t value) in cvmx_fau_async_fetch_and_add8() argument 445 int64_t value) in cvmx_fau_async_tagwait_fetch_and_add64() argument [all …]
|