/linux-6.12.1/drivers/clk/ |
D | clk-si514.c | 53 /* Multiplier/divider settings */ 97 struct clk_si514_muldiv *settings) in si514_get_muldiv() argument 107 settings->m_frac = reg[0] | reg[1] << 8 | reg[2] << 16 | in si514_get_muldiv() 109 settings->m_int = (reg[4] & 0x3f) << 3 | reg[3] >> 5; in si514_get_muldiv() 110 settings->ls_div_bits = (reg[6] >> 4) & 0x07; in si514_get_muldiv() 111 settings->hs_div = (reg[6] & 0x03) << 8 | reg[5]; in si514_get_muldiv() 116 struct clk_si514_muldiv *settings) in si514_set_muldiv() argument 124 if (settings->m_int < 65 || in si514_set_muldiv() 125 (settings->m_int == 65 && settings->m_frac <= 139575831)) in si514_set_muldiv() 128 else if (settings->m_int < 67 || in si514_set_muldiv() [all …]
|
D | clk-si544.c | 68 * struct clk_si544_muldiv - Multiplier/divider settings 120 struct clk_si544_muldiv *settings) in si544_get_muldiv() argument 129 settings->ls_div_bits = (reg[1] >> 4) & 0x07; in si544_get_muldiv() 130 settings->hs_div = (reg[1] & 0x07) << 8 | reg[0]; in si544_get_muldiv() 136 settings->fb_div_int = reg[4] | (reg[5] & 0x07) << 8; in si544_get_muldiv() 137 settings->fb_div_frac = reg[0] | reg[1] << 8 | reg[2] << 16 | in si544_get_muldiv() 145 settings->delta_m = reg[0] << 8 | reg[1] << 16 | reg[2] << 24; in si544_get_muldiv() 146 settings->delta_m >>= 8; in si544_get_muldiv() 164 struct clk_si544_muldiv *settings) in si544_set_muldiv() argument 169 reg[0] = settings->hs_div; in si544_set_muldiv() [all …]
|
/linux-6.12.1/drivers/spi/ |
D | spi-xcomm.c | 39 u16 settings; member 85 u16 settings; in spi_xcomm_sync_config() local 88 settings = spi_xcomm->settings; in spi_xcomm_sync_config() 89 settings |= len << SPI_XCOMM_SETTINGS_LEN_OFFSET; in spi_xcomm_sync_config() 92 put_unaligned_be16(settings, &buf[1]); in spi_xcomm_sync_config() 114 unsigned int *settings) in spi_xcomm_setup_transfer() argument 124 *settings |= SPI_XCOMM_SETTINGS_CLOCK_DIV_64; in spi_xcomm_setup_transfer() 126 *settings |= SPI_XCOMM_SETTINGS_CLOCK_DIV_16; in spi_xcomm_setup_transfer() 128 *settings |= SPI_XCOMM_SETTINGS_CLOCK_DIV_4; in spi_xcomm_setup_transfer() 134 *settings |= SPI_XCOMM_SETTINGS_CPOL; in spi_xcomm_setup_transfer() [all …]
|
/linux-6.12.1/drivers/iio/imu/st_lsm6dsx/ |
D | st_lsm6dsx_shub.c | 180 hub_settings = &hw->settings->shub_settings; in st_lsm6dsx_shub_read_output() 257 hub_settings = &hw->settings->shub_settings; in st_lsm6dsx_shub_master_enable() 292 hub_settings = &hw->settings->shub_settings; in st_lsm6dsx_shub_read() 294 aux_sens = &hw->settings->shub_settings.aux_sens; in st_lsm6dsx_shub_read() 343 hub_settings = &hw->settings->shub_settings; in st_lsm6dsx_shub_write() 405 const struct st_lsm6dsx_ext_dev_settings *settings; in st_lsm6dsx_shub_get_odr_val() local 408 settings = sensor->ext_info.settings; in st_lsm6dsx_shub_get_odr_val() 409 for (i = 0; i < settings->odr_table.odr_len; i++) { in st_lsm6dsx_shub_get_odr_val() 410 if (settings->odr_table.odr_avl[i].milli_hz == odr) in st_lsm6dsx_shub_get_odr_val() 414 if (i == settings->odr_table.odr_len) in st_lsm6dsx_shub_get_odr_val() [all …]
|
/linux-6.12.1/sound/soc/codecs/ |
D | tlv320aic32x4-clk.c | 26 * struct clk_aic32x4_pll_muldiv - Multiplier/divider settings 78 struct clk_aic32x4_pll_muldiv *settings) in clk_aic32x4_pll_get_muldiv() argument 87 settings->r = val & AIC32X4_PLL_R_MASK; in clk_aic32x4_pll_get_muldiv() 88 settings->p = (val & AIC32X4_PLL_P_MASK) >> AIC32X4_PLL_P_SHIFT; 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() 109 struct clk_aic32x4_pll_muldiv *settings) in clk_aic32x4_pll_set_muldiv() argument 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() [all …]
|
/linux-6.12.1/drivers/media/pci/zoran/ |
D | zoran_card.c | 721 struct zoran_jpg_settings *settings, int try) in zoran_check_jpg_settings() argument 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() 732 switch (settings->decimation) { in zoran_check_jpg_settings() 735 settings->hor_dcm = 1; in zoran_check_jpg_settings() 736 settings->ver_dcm = 1; in zoran_check_jpg_settings() 737 settings->tmp_dcm = 1; in zoran_check_jpg_settings() 738 settings->field_per_buff = 2; in zoran_check_jpg_settings() [all …]
|
D | zoran_driver.c | 144 static __u32 zoran_v4l2_calc_bufsize(struct zoran_jpg_settings *settings) in zoran_v4l2_calc_bufsize() argument 146 __u8 div = settings->ver_dcm * settings->hor_dcm * settings->tmp_dcm; in zoran_v4l2_calc_bufsize() 335 struct zoran_jpg_settings settings; in zoran_try_fmt_vid_out() local 341 settings = zr->jpg_settings; in zoran_try_fmt_vid_out() 345 settings.tmp_dcm = 1; in zoran_try_fmt_vid_out() 347 settings.tmp_dcm = 2; in zoran_try_fmt_vid_out() 348 settings.decimation = 0; 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() 354 settings.hor_dcm = 4; in zoran_try_fmt_vid_out() [all …]
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/isp/kernels/sc/sc_1.0/ |
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() 68 "ia_css_get_shading_settings() leave: settings.enable_shading_table_conversion=%d\n", 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() 81 "ia_css_set_shading_settings() enter: settings.enable_shading_table_conversion=%d\n", in sh_css_set_shading_settings() 82 settings->enable_shading_table_conversion); in sh_css_set_shading_settings() [all …]
|
/linux-6.12.1/tools/testing/selftests/mm/ |
D | thp_settings.c | 201 void thp_read_settings(struct thp_settings *settings) in thp_read_settings() argument 208 *settings = (struct thp_settings) { in thp_read_settings() 215 settings->khugepaged = (struct khugepaged_settings) { in thp_read_settings() 227 settings->read_ahead_kb = read_num(dev_queue_read_ahead_path); in thp_read_settings() 231 settings->hugepages[i].enabled = THP_NEVER; in thp_read_settings() 236 settings->hugepages[i].enabled = in thp_read_settings() 242 settings->shmem_hugepages[i].enabled = SHMEM_NEVER; in thp_read_settings() 247 settings->shmem_hugepages[i].enabled = in thp_read_settings() 252 void thp_write_settings(struct thp_settings *settings) in thp_write_settings() argument 254 struct khugepaged_settings *khugepaged = &settings->khugepaged; in thp_write_settings() [all …]
|
/linux-6.12.1/drivers/hid/ |
D | hid-roccat-kone.c | 92 static void kone_set_settings_checksum(struct kone_settings *settings) in kone_set_settings_checksum() argument 95 unsigned char *address = (unsigned char *)settings; in kone_set_settings_checksum() 100 settings->checksum = cpu_to_le16(checksum); in kone_set_settings_checksum() 141 * Reads settings from mouse and stores it in @buf 153 * Writes settings from @buf to mouse 158 struct kone_settings const *settings) in kone_set_settings() argument 163 settings, sizeof(struct kone_settings)); in kone_set_settings() 276 memcpy(buf, ((char const *)&kone->settings) + off, count); in kone_sysfs_read_settings() 283 * Writing settings automatically activates startup_profile. 294 struct kone_settings *settings = (struct kone_settings *)buf; in kone_sysfs_write_settings() local [all …]
|
D | hid-roccat-pyra.c | 76 struct pyra_settings const *settings) in pyra_set_settings() argument 79 PYRA_COMMAND_SETTINGS, settings, in pyra_set_settings() 246 struct pyra_settings const *settings; in pyra_sysfs_write_settings() local 251 settings = (struct pyra_settings const *)buf; in pyra_sysfs_write_settings() 252 if (settings->startup_profile >= ARRAY_SIZE(pyra->profile_settings)) in pyra_sysfs_write_settings() 257 retval = pyra_set_settings(usb_dev, settings); in pyra_sysfs_write_settings() 263 profile_activated(pyra, settings->startup_profile); in pyra_sysfs_write_settings() 266 roccat_report.value = settings->startup_profile + 1; in pyra_sysfs_write_settings() 275 PYRA_SYSFS_R(settings, SETTINGS); 277 __BIN_ATTR(settings, (S_IWUSR | S_IRUGO), [all …]
|
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
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 71 struct brcmfmac_sdio_pd *sdio = &settings->bus.sdio; in brcmf_of_probe() 85 settings->board_type = prop; in brcmf_of_probe() 88 settings->antenna_sku = prop; in brcmf_of_probe() 93 prop = of_get_property(np, "brcm,cal-blob", &settings->cal_size); in brcmf_of_probe() 94 if (prop && settings->cal_size) in brcmf_of_probe() 95 settings->cal_blob = prop; in brcmf_of_probe() [all …]
|
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() 516 struct brcmf_mp_device *settings; in brcmf_get_module_param() local 523 settings = kzalloc(sizeof(*settings), GFP_ATOMIC); in brcmf_get_module_param() 524 if (!settings) in brcmf_get_module_param() 528 settings->p2p_enable = !!brcmf_p2p_enable; in brcmf_get_module_param() 529 settings->feature_disable = brcmf_feature_disable; in brcmf_get_module_param() 530 settings->fcmode = brcmf_fcmode; in brcmf_get_module_param() 531 settings->roamoff = !!brcmf_roamoff; in brcmf_get_module_param() [all …]
|
D | common.h | 14 /* Definitions for the module global and device specific settings are defined 18 * (module) initiliazation takes place. The device specific settings is part 76 void brcmf_dmi_probe(struct brcmf_mp_device *settings, u32 chip, u32 chiprev); 79 brcmf_dmi_probe(struct brcmf_mp_device *settings, u32 chip, u32 chiprev) {} in brcmf_dmi_probe() argument 84 struct brcmf_mp_device *settings); 88 struct brcmf_mp_device *settings) {} in brcmf_acpi_probe() argument
|
/linux-6.12.1/drivers/iio/light/ |
D | tsl2772.c | 175 struct tsl2772_settings settings; member 477 lux = (lux * chip->settings.als_gain_trim) / 1000; in tsl2772_get_lux() 563 chip->settings.prox_power = tsl2772_led_currents[i][1]; in tsl2772_read_prox_led_current() 604 chip->settings.prox_diode = prox_diode_mask; in tsl2772_read_prox_diodes() 624 /* If Operational settings defined elsewhere.. */ in tsl2772_defaults() 626 memcpy(&chip->settings, chip->pdata->platform_default_settings, in tsl2772_defaults() 629 memcpy(&chip->settings, &tsl2772_default_settings, in tsl2772_defaults() 687 ret = (chip->settings.als_cal_target * chip->settings.als_gain_trim) / in tsl2772_als_calibrate() 692 chip->settings.als_gain_trim = ret; in tsl2772_als_calibrate() 711 chip->tsl2772_config[TSL2772_ALS_TIME] = chip->settings.als_time; in tsl2772_chip_on() [all …]
|
/linux-6.12.1/include/linux/ |
D | mii.h | 109 * @ethadv: the ethtool advertisement settings 112 * settings to phy autonegotiation advertisements for the 137 * @advertising: the linkmode advertisement settings 140 * settings to phy autonegotiation advertisements for the 168 * to ethtool advertisement settings. 192 * @ethadv: the ethtool advertisement settings 195 * settings to phy autonegotiation advertisements for the 212 * @advertising: the linkmode advertisement settings 215 * settings to phy autonegotiation advertisements for the 239 * advertisement settings. [all …]
|
D | mdio.h | 177 * mdio45_ethtool_gset - get settings for ETHTOOL_GSET 193 * mdio45_ethtool_ksettings_get - get settings for ETHTOOL_GLINKSETTINGS 217 * to ethtool supported settings. 245 * settings. 269 * @adv: the ethtool advertisement settings 271 * A small helper function that translates ethtool advertisement settings 297 * @advertising: the linkmode advertisement settings 300 * settings to phy autonegotiation advertisements for the C45 322 * @advertising: target the linkmode advertisement settings 326 * to linkmode advertisement settings. Other bits in advertising aren't changed. [all …]
|
/linux-6.12.1/drivers/media/dvb-frontends/ |
D | drxk_hard.h | 247 struct s_cfg_agc m_vsb_rf_agc_cfg; /* settings for VSB RF-AGC */ 248 struct s_cfg_agc m_vsb_if_agc_cfg; /* settings for VSB IF-AGC */ 249 u16 m_vsb_pga_cfg; /* settings for VSB PGA */ 250 struct s_cfg_pre_saw m_vsb_pre_saw_cfg; /* settings for pre SAW sense */ 293 struct s_cfg_agc m_atv_rf_agc_cfg; /* settings for ATV RF-AGC */ 294 struct s_cfg_agc m_atv_if_agc_cfg; /* settings for ATV IF-AGC */ 295 struct s_cfg_pre_saw m_atv_pre_saw_cfg; /* settings for ATV pre SAW sense */ 305 struct s_cfg_agc m_qam_rf_agc_cfg; /* settings for QAM RF-AGC */ 306 struct s_cfg_agc m_qam_if_agc_cfg; /* settings for QAM IF-AGC */ 307 u16 m_qam_pga_cfg; /* settings for QAM PGA */ [all …]
|
/linux-6.12.1/drivers/iio/imu/st_lsm9ds0/ |
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() 39 data->sensor_settings = (struct st_sensor_settings *)settings; in st_lsm9ds0_probe_accel() 48 const struct st_sensor_settings *settings; in st_lsm9ds0_probe_magn() local 52 settings = st_magn_get_settings(lsm9ds0->name); in st_lsm9ds0_probe_magn() 53 if (!settings) in st_lsm9ds0_probe_magn() 64 data->sensor_settings = (struct st_sensor_settings *)settings; in st_lsm9ds0_probe_magn()
|
/linux-6.12.1/drivers/pinctrl/mvebu/ |
D | pinctrl-mvebu.c | 40 struct mvebu_mpp_ctrl_setting *settings; member 115 if (config == grp->settings[n].val) { in mvebu_pinctrl_find_setting_by_val() 117 grp->settings[n].variant)) in mvebu_pinctrl_find_setting_by_val() 118 return &grp->settings[n]; in mvebu_pinctrl_find_setting_by_val() 132 if (strcmp(name, grp->settings[n].name) == 0) { in mvebu_pinctrl_find_setting_by_name() 134 grp->settings[n].variant)) in mvebu_pinctrl_find_setting_by_name() 135 return &grp->settings[n]; in mvebu_pinctrl_find_setting_by_name() 148 if (grp->settings[n].flags & in mvebu_pinctrl_find_gpio_setting() 151 grp->settings[n].variant)) in mvebu_pinctrl_find_gpio_setting() 152 return &grp->settings[n]; in mvebu_pinctrl_find_gpio_setting() [all …]
|
D | pinctrl-mvebu.h | 40 * between two or more different settings, e.g. assign mpp pin 13 to 45 * to allow pin settings with varying gpio pins. 72 * mpp_get/_set function may use val to distinguish between different settings. 95 * struct mvebu_mpp_mode - link ctrl and settings 97 * @settings: list of settings available for this mode 99 * A mode connects all available settings with the corresponding mpp_ctrl 104 struct mvebu_mpp_ctrl_setting *settings; member 180 .settings = (struct mvebu_mpp_ctrl_setting[]){ \
|
/linux-6.12.1/drivers/net/ |
D | Space.c | 34 * This structure holds boot-time configured netdevice settings. They 46 * Device Boot-time Settings Routines 56 * @map: configured settings for the device 81 * netdev_boot_setup_check - check boot time settings 84 * Check boot time settings for the device. 85 * The found settings are set for the device to be used 87 * Returns 0 if no settings found, 1 if they are. 109 * netdev_boot_base - get address from boot time settings 113 * Check boot time settings for the base address of device. 114 * The found settings are set for the device to be used [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/soc/xilinx/ |
D | xlnx,vcu-settings.yaml | 4 $id: http://devicetree.org/schemas/soc/xilinx/xlnx,vcu-settings.yaml# 7 title: Xilinx VCU Settings 13 The Xilinx VCU Settings provides information about the configuration of the 19 - const: xlnx,vcu-settings 38 compatible = "xlnx,vcu-settings", "syscon";
|
/linux-6.12.1/Documentation/ABI/obsolete/ |
D | sysfs-driver-hid-roccat-pyra | 28 Please use binary attribute "settings" which provides this information. 55 press of a button. A profile is split in settings and buttons. 70 press of a button. A profile is split in settings and buttons. 82 press of a button. A profile is split in settings and buttons. 86 settings back to the mouse. The data has to be 13 bytes long. 98 press of a button. A profile is split in settings and buttons. 101 When read, these files return the respective profile settings. 107 …onfig num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/settings 110 Description: When read, this file returns the settings stored in the mouse. 113 When written, this file lets write settings back to the mouse. [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/hwss/ |
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 …]
|