/openbmc/linux/drivers/clk/ |
H A D | clk-si514.c | 124 if (settings->m_int < 65 || in si514_set_muldiv() 125 (settings->m_int == 65 && settings->m_frac <= 139575831)) in si514_set_muldiv() 129 (settings->m_int == 67 && settings->m_frac <= 461581994)) in si514_set_muldiv() 133 (settings->m_int == 72 && settings->m_frac <= 503383578)) in si514_set_muldiv() 137 (settings->m_int == 75 && settings->m_frac <= 452724474)) in si514_set_muldiv() 146 reg[0] = settings->m_frac; in si514_set_muldiv() 149 reg[3] = settings->m_frac >> 24 | settings->m_int << 5; in si514_set_muldiv() 151 reg[5] = settings->hs_div; in si514_set_muldiv() 152 reg[6] = (settings->hs_div >> 8) | (settings->ls_div_bits << 4); in si514_set_muldiv() 208 u64 m = settings->m_frac | ((u64)settings->m_int << 29); in si514_calc_rate() [all …]
|
H A D | clk-si544.c | 152 settings->delta_m >>= 8; in si544_get_muldiv() 175 reg[0] = settings->hs_div; in si544_set_muldiv() 176 reg[1] = settings->hs_div >> 8 | settings->ls_div_bits << 4; in si544_set_muldiv() 230 settings->ls_div_bits = 0; in si544_calc_muldiv() 233 settings->ls_div_bits = 0; in si544_calc_muldiv() 250 settings->hs_div = vco; in si544_calc_muldiv() 254 (settings->hs_div > HS_DIV_MAX_ODD || settings->ls_div_bits)) in si544_calc_muldiv() 255 ++settings->hs_div; in si544_calc_muldiv() 271 settings->delta_m = 0; in si544_calc_muldiv() 280 u32 d = settings->hs_div * BIT(settings->ls_div_bits); in si544_calc_center_rate() [all …]
|
/openbmc/u-boot/board/siemens/draco/ |
H A D | board.c | 75 settings.ddr3 = ddr3_default; in set_default_ddr3_timings() 82 printf("device:\t\t%s\n", settings.ddr3.manu_name); in print_ddr3_timings() 83 printf("marking:\t%s\n", settings.ddr3.manu_marking); in print_ddr3_timings() 112 printf("device: \t'%s'\n", settings.chip.sdevname); in print_chip_data() 113 printf("hw version: \t'%s'\n", settings.chip.shwver); in print_chip_data() 172 (uchar *)&settings.chip, sizeof(settings.chip))) in read_eeprom() 175 if (ddr3_default.magic == settings.ddr3.magic && in read_eeprom() 179 if (ddr3_default.magic != settings.ddr3.magic) in read_eeprom() 181 if (ddr3_default.version != settings.ddr3.version) in read_eeprom() 188 if (MAGIC_CHIP == settings.chip.magic) in read_eeprom() [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-xcomm.c | 35 uint16_t settings; member 45 uint16_t settings; in spi_xcomm_sync_config() local 48 settings = spi_xcomm->settings; in spi_xcomm_sync_config() 52 put_unaligned_be16(settings, &buf[1]); in spi_xcomm_sync_config() 93 *settings |= SPI_XCOMM_SETTINGS_CPOL; in spi_xcomm_setup_transfer() 139 unsigned int settings = spi_xcomm->settings; in spi_xcomm_transfer_one() local 164 settings |= BIT(5); in spi_xcomm_transfer_one() 166 settings &= ~BIT(5); in spi_xcomm_transfer_one() 169 spi_xcomm->settings = settings; in spi_xcomm_transfer_one() 173 } else if (settings != spi_xcomm->settings || is_first) { in spi_xcomm_transfer_one() [all …]
|
/openbmc/linux/drivers/media/pci/zoran/ |
H A D | zoran_card.c | 726 __func__, settings->decimation, settings->hor_dcm, in zoran_check_jpg_settings() 727 settings->ver_dcm, settings->tmp_dcm); in zoran_check_jpg_settings() 729 settings->img_x, settings->img_y, in zoran_check_jpg_settings() 730 settings->img_width, settings->img_height); in zoran_check_jpg_settings() 782 settings->hor_dcm = clamp(settings->hor_dcm, 1, 2); in zoran_check_jpg_settings() 786 settings->ver_dcm = clamp(settings->ver_dcm, 1, 2); in zoran_check_jpg_settings() 790 settings->tmp_dcm = clamp(settings->tmp_dcm, 1, 2); in zoran_check_jpg_settings() 823 settings->img_width -= settings->img_width % (16 * settings->hor_dcm); in zoran_check_jpg_settings() 825 settings->img_width = 16 * settings->hor_dcm; in zoran_check_jpg_settings() 829 settings->img_height -= settings->img_height % (8 * settings->ver_dcm); in zoran_check_jpg_settings() [all …]
|
H A D | zoran_driver.c | 146 __u8 div = settings->ver_dcm * settings->hor_dcm * settings->tmp_dcm; in zoran_v4l2_calc_bufsize() 345 settings.tmp_dcm = 1; in zoran_try_fmt_vid_out() 347 settings.tmp_dcm = 2; in zoran_try_fmt_vid_out() 350 settings.ver_dcm = 2; in zoran_try_fmt_vid_out() 352 settings.ver_dcm = 1; in zoran_try_fmt_vid_out() 368 settings.img_x = 0; in zoran_try_fmt_vid_out() 378 fmt->fmt.pix.width = settings.img_width / settings.hor_dcm; in zoran_try_fmt_vid_out() 380 (settings.tmp_dcm * settings.ver_dcm); in zoran_try_fmt_vid_out() 475 settings.img_x = 0; in zoran_s_fmt_vid_out() 495 fmt->fmt.pix.width = settings.img_width / settings.hor_dcm; in zoran_s_fmt_vid_out() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/ |
H A D | jquery.treetable.js | 14 function Node(row, tree, settings) { argument 19 this.settings = settings; 30 this.treeCell = $(this.row.children(this.settings.columnElType)[this.settings.column]); 138 settings = this.settings, 211 var settings = this.settings; 215 if (settings.expandable === true && settings.initialState === "collapsed") { 245 this.settings = settings; 415 var settings; 417 settings = $.extend({ 502 var settings = this.data("treetable").settings, [all …]
|
/openbmc/linux/drivers/iio/imu/st_lsm6dsx/ |
H A D | st_lsm6dsx_shub.c | 408 settings = sensor->ext_info.settings; in st_lsm6dsx_shub_get_odr_val() 432 settings = sensor->ext_info.settings; in st_lsm6dsx_shub_set_odr() 465 settings = cur_sensor->ext_info.settings; in st_lsm6dsx_shub_config_channels() 487 settings = sensor->ext_info.settings; in st_lsm6dsx_shub_set_enable() 675 settings = sensor->ext_info.settings; in st_lsm6dsx_shub_sampling_freq_avail() 695 settings = sensor->ext_info.settings; in st_lsm6dsx_shub_scale_avail() 791 settings = sensor->ext_info.settings; in st_lsm6dsx_shub_init_device() 792 if (settings->bdu.addr) { in st_lsm6dsx_shub_init_device() 802 settings->temp_comp.addr, in st_lsm6dsx_shub_init_device() 810 settings->off_canc.addr, in st_lsm6dsx_shub_init_device() [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | tlv320aic32x4-clk.c | 87 settings->r = val & AIC32X4_PLL_R_MASK; in clk_aic32x4_pll_get_muldiv() 93 settings->j = val; in clk_aic32x4_pll_get_muldiv() 98 settings->d = val << 8; in clk_aic32x4_pll_get_muldiv() 103 settings->d |= val; in clk_aic32x4_pll_get_muldiv() 115 AIC32X4_PLL_R_MASK, settings->r); in clk_aic32x4_pll_set_muldiv() 121 settings->p << AIC32X4_PLL_P_SHIFT); in clk_aic32x4_pll_set_muldiv() 149 ((settings->j * 10000) + settings->d); in clk_aic32x4_pll_calc_rate() 160 if (settings->p > 8) in clk_aic32x4_pll_calc_muldiv() 176 if (settings->r > 4) in clk_aic32x4_pll_calc_muldiv() 178 do_div(multiplier, settings->r); in clk_aic32x4_pll_calc_muldiv() [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/settings/ |
H A D | phosphor-settings-read-settings-mrw-native.bb | 1 # Generates MRW settings override yaml for phosphor-settings-manager 2 # The default YAML file, mrw-override-settings.yaml, is empty, therefore no 3 # settings will be overwritten. To override, modify mrw-override-settings.yaml. 4 SUMMARY = "Generates MRW settings override YAML for phosphor-settings-manager." 10 SRC_URI += "file://mrw-override-settings.yaml" 14 inherit phosphor-settings-manager 20 install -D mrw-override-settings.yaml ${DEST}/mrw-override-settings.yaml 27 -s ${DEST}/mrw-override-settings.yaml \ 28 -o ${SETTINGS}/mrw-settings.override.yaml \
|
/openbmc/openbmc/poky/meta/recipes-sato/settings-daemon/files/ |
H A D | addsoundkeys.patch | 3 Index: settings-daemon/settings-daemon.c 5 --- settings-daemon.orig/settings-daemon.c 2009-05-22 14:57:05.000000000 +0100 6 +++ settings-daemon/settings-daemon.c 2009-05-22 14:58:22.000000000 +0100 18 Index: settings-daemon/settings-daemon.schemas 20 --- settings-daemon.orig/settings-daemon.schemas 2009-05-22 15:49:17.000000000 +0100 21 +++ settings-daemon/settings-daemon.schemas 2009-05-22 15:51:31.000000000 +0100
|
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/sc/sc_1.0/ |
H A D | ia_css_sc.host.c | 56 struct ia_css_shading_settings *settings) in sh_css_get_shading_settings() argument 58 if (!settings) in sh_css_get_shading_settings() 63 "ia_css_get_shading_settings() enter: settings=%p\n", settings); in sh_css_get_shading_settings() 65 *settings = params->shading_settings; in sh_css_get_shading_settings() 69 settings->enable_shading_table_conversion); in sh_css_get_shading_settings() 74 const struct ia_css_shading_settings *settings) in sh_css_set_shading_settings() argument 76 if (!settings) in sh_css_set_shading_settings() 82 settings->enable_shading_table_conversion); in sh_css_set_shading_settings() 84 params->shading_settings = *settings; in sh_css_set_shading_settings()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | of.c | 17 struct brcmf_mp_device *settings) in brcmf_of_get_country_codes() argument 30 settings->trivial_ccode_map = in brcmf_of_get_country_codes() 63 settings->country_codes = cc; in brcmf_of_get_country_codes() 69 struct brcmf_mp_device *settings) in brcmf_of_probe() argument 84 settings->board_type = prop; in brcmf_of_probe() 87 settings->antenna_sku = prop; in brcmf_of_probe() 93 if (prop && settings->cal_size) in brcmf_of_probe() 94 settings->cal_blob = prop; in brcmf_of_probe() 111 settings->board_type = board_type; in brcmf_of_probe() 119 err = brcmf_of_get_country_codes(dev, settings); in brcmf_of_probe() [all …]
|
H A D | common.c | 252 struct brcmf_mp_device *settings = drvr->settings; in brcmf_c_process_cal_blob() local 257 if (!settings->cal_blob || !settings->cal_size) in brcmf_c_process_cal_blob() 261 err = brcmf_c_download_blob(ifp, settings->cal_blob, settings->cal_size, in brcmf_c_process_cal_blob() 510 struct brcmf_mp_device *settings; in brcmf_get_module_param() local 517 settings = kzalloc(sizeof(*settings), GFP_ATOMIC); in brcmf_get_module_param() 518 if (!settings) in brcmf_get_module_param() 524 settings->fcmode = brcmf_fcmode; in brcmf_get_module_param() 525 settings->roamoff = !!brcmf_roamoff; in brcmf_get_module_param() 544 settings->country_codes = in brcmf_get_module_param() 547 memcpy(&settings->bus.sdio, in brcmf_get_module_param() [all …]
|
/openbmc/u-boot/tools/buildman/ |
H A D | bsettings.py | 15 global settings 18 settings = ConfigParser.SafeConfigParser() 28 settings.read(config_fname) 31 settings.readfp(StringIO.StringIO(data)) 43 return settings.items(section) 51 global settings 54 settings.set(section, tag, value) 57 settings.write(fd)
|
/openbmc/linux/drivers/iio/light/ |
H A D | tsl2772.c | 175 struct tsl2772_settings settings; member 687 ret = (chip->settings.als_cal_target * chip->settings.als_gain_trim) / in tsl2772_als_calibrate() 715 chip->settings.als_prox_config; in tsl2772_chip_on() 1297 chip->settings.als_gain = 0; in tsl2772_write_raw() 1300 chip->settings.als_gain = 1; in tsl2772_write_raw() 1303 chip->settings.als_gain = 2; in tsl2772_write_raw() 1306 chip->settings.als_gain = 3; in tsl2772_write_raw() 1314 chip->settings.prox_gain = 0; in tsl2772_write_raw() 1317 chip->settings.prox_gain = 1; in tsl2772_write_raw() 1320 chip->settings.prox_gain = 2; in tsl2772_write_raw() [all …]
|
/openbmc/phosphor-time-manager/ |
H A D | manager.cpp | 28 Manager::Manager(sdbusplus::bus_t& bus) : bus(bus), settings(bus) in Manager() 35 bus, propertiesChanged(settings.timeSyncMethod, settings::timeSyncIntf), in Manager() 39 auto mode = getSetting(settings.timeSyncMethod.c_str(), in Manager() 40 settings::timeSyncIntf, propertyTimeMode); in Manager() 50 bool newNtpMode = (settings::ntpSync == value); in onPropertyChanged() 109 newNtpMode ? settings::ntpSync : settings::manualSync; in onTimedateChanged() 111 bus, settings.timeSyncMethod.c_str(), settings::timeSyncIntf); in onTimedateChanged() 112 utils::setProperty(bus, settingManager, settings.timeSyncMethod, in onTimedateChanged() 113 settings::timeSyncIntf, propertyTimeMode, in onTimedateChanged()
|
/openbmc/linux/drivers/hid/ |
H A D | hid-roccat-kone.c | 100 settings->checksum = cpu_to_le16(checksum); in kone_set_settings_checksum() 158 struct kone_settings const *settings) in kone_set_settings() argument 163 settings, sizeof(struct kone_settings)); in kone_set_settings() 301 difference = memcmp(settings, &kone->settings, in kone_sysfs_write_settings() 304 if (settings->startup_profile < 1 || in kone_sysfs_write_settings() 305 settings->startup_profile > 5) { in kone_sysfs_write_settings() 314 old_profile = kone->settings.startup_profile; in kone_sysfs_write_settings() 315 memcpy(&kone->settings, settings, sizeof(struct kone_settings)); in kone_sysfs_write_settings() 522 if (kone->settings.tcu != state) { in kone_sysfs_set_tcu() 523 kone->settings.tcu = state; in kone_sysfs_set_tcu() [all …]
|
/openbmc/linux/drivers/iio/imu/st_lsm9ds0/ |
H A D | st_lsm9ds0_core.c | 23 const struct st_sensor_settings *settings; in st_lsm9ds0_probe_accel() local 27 settings = st_accel_get_settings(lsm9ds0->name); in st_lsm9ds0_probe_accel() 28 if (!settings) { in st_lsm9ds0_probe_accel() 40 data->sensor_settings = (struct st_sensor_settings *)settings; in st_lsm9ds0_probe_accel() 49 const struct st_sensor_settings *settings; in st_lsm9ds0_probe_magn() local 53 settings = st_magn_get_settings(lsm9ds0->name); in st_lsm9ds0_probe_magn() 54 if (!settings) { in st_lsm9ds0_probe_magn() 66 data->sensor_settings = (struct st_sensor_settings *)settings; in st_lsm9ds0_probe_magn()
|
/openbmc/qemu/audio/ |
H A D | spiceaudio.c | 96 struct audsettings settings; in line_out_init() local 101 settings.freq = SPICE_INTERFACE_PLAYBACK_FREQ; in line_out_init() 104 settings.fmt = AUDIO_FORMAT_S16; in line_out_init() 105 settings.endianness = AUDIO_HOST_ENDIANNESS; in line_out_init() 107 audio_pcm_init_info (&hw->info, &settings); in line_out_init() 212 struct audsettings settings; in line_in_init() local 217 settings.freq = SPICE_INTERFACE_RECORD_FREQ; in line_in_init() 219 settings.nchannels = SPICE_INTERFACE_RECORD_CHAN; in line_in_init() 220 settings.fmt = AUDIO_FORMAT_S16; in line_in_init() 221 settings.endianness = AUDIO_HOST_ENDIANNESS; in line_in_init() [all …]
|
/openbmc/openbmc-test-automation/gui/gui_test/gui_header/ |
H A D | test_profile_settings_sub_menu.robot | 3 Documentation Test OpenBMC GUI "Profile settings" menu. 24 [Documentation] Verify navigation to profile settings page. 27 Page Should Contain Profile settings 31 [Documentation] Verify existence of all sections in profile settings page. 40 [Documentation] Verify existence of all buttons and input boxes in profile settings page. 43 # Input Boxes in profile settings page. 47 # Buttons in profile settings page. 52 [Documentation] Verify logged in username in profile settings page. 85 # Navigate to https://xx.xx.xx.xx/#/profile-settings profile-settings page. 91 Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain profile-settings
|
/openbmc/phosphor-pid-control/dbus/ |
H A D | dbuspassive.cpp | 63 SensorProperties settings; in createDbusPassive() local 70 helper->getProperties(service, path, &settings); in createDbusPassive() 81 settings.min = 0; in createDbusPassive() 82 settings.max = 0; in createDbusPassive() 85 settings.unavailableAsFailed = info->unavailableAsFailed; in createDbusPassive() 101 _scale = settings.scale; in DbusPassive() 102 _min = settings.min * std::pow(10.0, _scale); in DbusPassive() 103 _max = settings.max * std::pow(10.0, _scale); in DbusPassive() 104 _available = settings.available; in DbusPassive() 105 _unavailableAsFailed = settings.unavailableAsFailed; in DbusPassive() [all …]
|
/openbmc/phosphor-settingsd/ |
H A D | README-settings-manager.md | 5 The settings manager has the following design goals: 9 - The above makes it possible to not even create settings objects that do not 13 hosts to not only have different values for certain settings, but have 14 different applicable settings as well. 16 - It should be possible to specify default settings for a system at build-time, 17 based on which the settings manager should at run-time create appropriate 23 in YAML. Based on this policy file, the settings manager code is generated to be 24 able to create only relevant settings D-Bus objects along with specifying their
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/hwss/ |
H A D | link_hwss_hpo_fixed_vs_pe_retimer_dp.c | 39 (hw_lane_settings[0].FFE_PRESET.settings.no_deemphasis != 0 ? 0x0F : 0xFF) in dp_hpo_fixed_vs_pe_retimer_set_tx_ffe() 40 & (hw_lane_settings[0].FFE_PRESET.settings.no_preshoot != 0 ? 0xF1 : 0xFF), in dp_hpo_fixed_vs_pe_retimer_set_tx_ffe() 41 (hw_lane_settings[1].FFE_PRESET.settings.no_deemphasis != 0 ? 0x0F : 0xFF) in dp_hpo_fixed_vs_pe_retimer_set_tx_ffe() 42 & (hw_lane_settings[1].FFE_PRESET.settings.no_preshoot != 0 ? 0xF1 : 0xFF), in dp_hpo_fixed_vs_pe_retimer_set_tx_ffe() 43 (hw_lane_settings[2].FFE_PRESET.settings.no_deemphasis != 0 ? 0x0F : 0xFF) in dp_hpo_fixed_vs_pe_retimer_set_tx_ffe() 44 & (hw_lane_settings[2].FFE_PRESET.settings.no_preshoot != 0 ? 0xF1 : 0xFF), in dp_hpo_fixed_vs_pe_retimer_set_tx_ffe() 45 (hw_lane_settings[3].FFE_PRESET.settings.no_deemphasis != 0 ? 0x0F : 0xFF) in dp_hpo_fixed_vs_pe_retimer_set_tx_ffe() 46 & (hw_lane_settings[3].FFE_PRESET.settings.no_preshoot != 0 ? 0xF1 : 0xFF)}; in dp_hpo_fixed_vs_pe_retimer_set_tx_ffe() 49 vendor_ffe_preset_table[hw_lane_settings[0].FFE_PRESET.settings.level] & ffe_mask[0], in dp_hpo_fixed_vs_pe_retimer_set_tx_ffe() 50 vendor_ffe_preset_table[hw_lane_settings[1].FFE_PRESET.settings.level] & ffe_mask[1], in dp_hpo_fixed_vs_pe_retimer_set_tx_ffe() [all …]
|
/openbmc/phosphor-state-manager/ |
H A D | discover_system_state.cpp | 74 using namespace settings; in main() 75 HostObjects settings(bus, hostId); in main() local 112 settings.service(settings.powerRestorePolicy, powerRestoreIntf).c_str(), in main() 113 settings.powerRestorePolicyOneTime.c_str(), in main() 118 settings.service(settings.powerRestorePolicy, powerRestoreIntf).c_str(), in main() 119 settings.powerRestorePolicy.c_str(), "org.freedesktop.DBus.Properties", in main() 146 bus, settings.powerRestorePolicyOneTime, powerRestoreIntf, in main() 152 settings.service(settings.powerRestorePolicy, powerRestoreIntf) in main() 154 settings.powerRestorePolicy.c_str(), in main()
|