/kernel/linux/linux-5.10/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 | 74 * struct clk_si544_muldiv - Multiplier/divider settings 126 struct clk_si544_muldiv *settings) in si544_get_muldiv() argument 135 settings->ls_div_bits = (reg[1] >> 4) & 0x07; in si544_get_muldiv() 136 settings->hs_div = (reg[1] & 0x07) << 8 | reg[0]; in si544_get_muldiv() 142 settings->fb_div_int = reg[4] | (reg[5] & 0x07) << 8; in si544_get_muldiv() 143 settings->fb_div_frac = reg[0] | reg[1] << 8 | reg[2] << 16 | in si544_get_muldiv() 151 settings->delta_m = reg[0] << 8 | reg[1] << 16 | reg[2] << 24; in si544_get_muldiv() 152 settings->delta_m >>= 8; in si544_get_muldiv() 170 struct clk_si544_muldiv *settings) in si544_set_muldiv() argument 175 reg[0] = settings->hs_div; in si544_set_muldiv() [all …]
|
/kernel/linux/linux-5.10/drivers/spi/ |
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() 49 settings |= len << SPI_XCOMM_SETTINGS_LEN_OFFSET; in spi_xcomm_sync_config() 52 put_unaligned_be16(settings, &buf[1]); in spi_xcomm_sync_config() 73 struct spi_device *spi, struct spi_transfer *t, unsigned int *settings) in spi_xcomm_setup_transfer() argument 83 *settings |= SPI_XCOMM_SETTINGS_CLOCK_DIV_64; in spi_xcomm_setup_transfer() 85 *settings |= SPI_XCOMM_SETTINGS_CLOCK_DIV_16; in spi_xcomm_setup_transfer() 87 *settings |= SPI_XCOMM_SETTINGS_CLOCK_DIV_4; in spi_xcomm_setup_transfer() 93 *settings |= SPI_XCOMM_SETTINGS_CPOL; in spi_xcomm_setup_transfer() [all …]
|
/kernel/linux/linux-5.10/drivers/iio/imu/st_lsm6dsx/ |
D | st_lsm6dsx_shub.c | 182 hub_settings = &hw->settings->shub_settings; in st_lsm6dsx_shub_read_output() 259 hub_settings = &hw->settings->shub_settings; in st_lsm6dsx_shub_master_enable() 294 hub_settings = &hw->settings->shub_settings; in st_lsm6dsx_shub_read() 296 aux_sens = &hw->settings->shub_settings.aux_sens; in st_lsm6dsx_shub_read() 345 hub_settings = &hw->settings->shub_settings; in st_lsm6dsx_shub_write() 407 const struct st_lsm6dsx_ext_dev_settings *settings; in st_lsm6dsx_shub_get_odr_val() local 410 settings = sensor->ext_info.settings; in st_lsm6dsx_shub_get_odr_val() 411 for (i = 0; i < settings->odr_table.odr_len; i++) { in st_lsm6dsx_shub_get_odr_val() 412 if (settings->odr_table.odr_avl[i].milli_hz == odr) in st_lsm6dsx_shub_get_odr_val() 416 if (i == settings->odr_table.odr_len) in st_lsm6dsx_shub_get_odr_val() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/staging/media/zoran/ |
D | zoran_card.c | 660 struct zoran_jpg_settings *settings, int try) in zoran_check_jpg_settings() argument 665 __func__, settings->decimation, settings->hor_dcm, in zoran_check_jpg_settings() 666 settings->ver_dcm, settings->tmp_dcm); in zoran_check_jpg_settings() 668 settings->img_x, settings->img_y, in zoran_check_jpg_settings() 669 settings->img_width, settings->img_height); in zoran_check_jpg_settings() 671 switch (settings->decimation) { in zoran_check_jpg_settings() 674 settings->hor_dcm = 1; in zoran_check_jpg_settings() 675 settings->ver_dcm = 1; in zoran_check_jpg_settings() 676 settings->tmp_dcm = 1; in zoran_check_jpg_settings() 677 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() 351 struct zoran_jpg_settings settings; in zoran_try_fmt_vid_out() local 357 settings = zr->jpg_settings; in zoran_try_fmt_vid_out() 361 settings.tmp_dcm = 1; in zoran_try_fmt_vid_out() 363 settings.tmp_dcm = 2; in zoran_try_fmt_vid_out() 364 settings.decimation = 0; in zoran_try_fmt_vid_out() 366 settings.ver_dcm = 2; in zoran_try_fmt_vid_out() 368 settings.ver_dcm = 1; in zoran_try_fmt_vid_out() 370 settings.hor_dcm = 4; in zoran_try_fmt_vid_out() [all …]
|
/kernel/linux/linux-5.10/drivers/hid/ |
D | hid-roccat-kone.c | 95 static void kone_set_settings_checksum(struct kone_settings *settings) in kone_set_settings_checksum() argument 98 unsigned char *address = (unsigned char *)settings; in kone_set_settings_checksum() 103 settings->checksum = cpu_to_le16(checksum); in kone_set_settings_checksum() 144 * Reads settings from mouse and stores it in @buf 156 * Writes settings from @buf to mouse 161 struct kone_settings const *settings) in kone_set_settings() argument 166 settings, sizeof(struct kone_settings)); in kone_set_settings() 279 memcpy(buf, ((char const *)&kone->settings) + off, count); in kone_sysfs_read_settings() 286 * Writing settings automatically activates startup_profile. 297 struct kone_settings *settings = (struct kone_settings *)buf; in kone_sysfs_write_settings() local [all …]
|
D | hid-roccat-pyra.c | 79 struct pyra_settings const *settings) in pyra_set_settings() argument 82 PYRA_COMMAND_SETTINGS, settings, in pyra_set_settings() 249 struct pyra_settings const *settings; in pyra_sysfs_write_settings() local 254 settings = (struct pyra_settings const *)buf; in pyra_sysfs_write_settings() 255 if (settings->startup_profile >= ARRAY_SIZE(pyra->profile_settings)) in pyra_sysfs_write_settings() 260 retval = pyra_set_settings(usb_dev, settings); in pyra_sysfs_write_settings() 266 profile_activated(pyra, settings->startup_profile); in pyra_sysfs_write_settings() 269 roccat_report.value = settings->startup_profile + 1; in pyra_sysfs_write_settings() 278 PYRA_SYSFS_R(settings, SETTINGS); 280 __BIN_ATTR(settings, (S_IWUSR | S_IRUGO), [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/sc/sc_1.0/ |
D | ia_css_sc.host.c | 124 struct ia_css_shading_settings *settings) in sh_css_get_shading_settings() argument 126 if (!settings) in sh_css_get_shading_settings() 131 "ia_css_get_shading_settings() enter: settings=%p\n", settings); in sh_css_get_shading_settings() 133 *settings = params->shading_settings; in sh_css_get_shading_settings() 136 "ia_css_get_shading_settings() leave: settings.enable_shading_table_conversion=%d\n", in sh_css_get_shading_settings() 137 settings->enable_shading_table_conversion); in sh_css_get_shading_settings() 142 const struct ia_css_shading_settings *settings) in sh_css_set_shading_settings() argument 144 if (!settings) in sh_css_set_shading_settings() 149 "ia_css_set_shading_settings() enter: settings.enable_shading_table_conversion=%d\n", in sh_css_set_shading_settings() 150 settings->enable_shading_table_conversion); in sh_css_set_shading_settings() [all …]
|
/kernel/linux/linux-5.10/drivers/iio/light/ |
D | tsl2772.c | 173 struct tsl2772_settings settings; member 475 lux = (lux * chip->settings.als_gain_trim) / 1000; in tsl2772_get_lux() 561 chip->settings.prox_power = tsl2772_led_currents[i][1]; in tsl2772_read_prox_led_current() 628 /* If Operational settings defined elsewhere.. */ in tsl2772_defaults() 630 memcpy(&chip->settings, chip->pdata->platform_default_settings, in tsl2772_defaults() 633 memcpy(&chip->settings, &tsl2772_default_settings, in tsl2772_defaults() 691 ret = (chip->settings.als_cal_target * chip->settings.als_gain_trim) / in tsl2772_als_calibrate() 696 chip->settings.als_gain_trim = ret; in tsl2772_als_calibrate() 715 chip->tsl2772_config[TSL2772_ALS_TIME] = chip->settings.als_time; in tsl2772_chip_on() 716 chip->tsl2772_config[TSL2772_PRX_TIME] = chip->settings.prox_time; in tsl2772_chip_on() [all …]
|
/kernel/linux/linux-5.10/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 238 * advertisement settings. [all …]
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
D | sa1100-cpufreq.c | 115 struct sa1100_dram_regs *settings = sa1100_dram_settings; in sa1100_update_dram_timings() local 118 while (settings->speed != 0) { in sa1100_update_dram_timings() 119 if (new_speed == settings->speed) in sa1100_update_dram_timings() 122 settings++; in sa1100_update_dram_timings() 125 if (settings->speed == 0) { in sa1100_update_dram_timings() 142 MDCAS2 = settings->mdcas2; in sa1100_update_dram_timings() 143 MDCAS1 = settings->mdcas1; in sa1100_update_dram_timings() 144 MDCAS0 = settings->mdcas0; in sa1100_update_dram_timings() 145 MDCNFG = settings->mdcnfg; in sa1100_update_dram_timings() 148 * frequency and then tighten the memory settings. in sa1100_update_dram_timings() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/pinctrl/mvebu/ |
D | pinctrl-mvebu.c | 40 struct mvebu_mpp_ctrl_setting *settings; member 112 if (config == grp->settings[n].val) { in mvebu_pinctrl_find_setting_by_val() 114 grp->settings[n].variant)) in mvebu_pinctrl_find_setting_by_val() 115 return &grp->settings[n]; in mvebu_pinctrl_find_setting_by_val() 127 if (strcmp(name, grp->settings[n].name) == 0) { in mvebu_pinctrl_find_setting_by_name() 129 grp->settings[n].variant)) in mvebu_pinctrl_find_setting_by_name() 130 return &grp->settings[n]; in mvebu_pinctrl_find_setting_by_name() 141 if (grp->settings[n].flags & in mvebu_pinctrl_find_gpio_setting() 144 grp->settings[n].variant)) in mvebu_pinctrl_find_gpio_setting() 145 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[]){ \
|
/kernel/linux/linux-5.10/tools/testing/selftests/kselftest/ |
D | runner.sh | 10 # Defaults for "settings" file fields: 50 # Reset any "settings"-file variables. 52 # Load per-test-directory kselftest "settings" file. 53 settings="$BASE_DIR/$DIR/settings" 54 if [ -r "$settings" ] ; then 63 done < "$settings"
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
D | khugepaged.c | 85 struct settings { struct 94 static struct settings default_settings = { argument 107 static struct settings saved_settings; 263 static void write_settings(struct settings *settings) in write_settings() argument 265 struct khugepaged_settings *khugepaged = &settings->khugepaged; in write_settings() 267 write_string("enabled", thp_enabled_strings[settings->thp_enabled]); in write_settings() 268 write_string("defrag", thp_defrag_strings[settings->thp_defrag]); in write_settings() 270 shmem_enabled_strings[settings->shmem_enabled]); in write_settings() 271 write_num("debug_cow", settings->debug_cow); in write_settings() 272 write_num("use_zero_page", settings->use_zero_page); in write_settings() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | common.c | 399 struct brcmf_mp_device *settings; in brcmf_get_module_param() local 406 settings = kzalloc(sizeof(*settings), GFP_ATOMIC); in brcmf_get_module_param() 407 if (!settings) in brcmf_get_module_param() 411 settings->p2p_enable = !!brcmf_p2p_enable; in brcmf_get_module_param() 412 settings->feature_disable = brcmf_feature_disable; in brcmf_get_module_param() 413 settings->fcmode = brcmf_fcmode; in brcmf_get_module_param() 414 settings->roamoff = !!brcmf_roamoff; in brcmf_get_module_param() 415 settings->iapp = !!brcmf_iapp_enable; in brcmf_get_module_param() 417 settings->ignore_probe_fail = !!brcmf_ignore_probe_fail; in brcmf_get_module_param() 421 settings->bus.sdio.txglomsz = brcmf_sdiod_txglomsz; in brcmf_get_module_param() [all …]
|
/kernel/linux/linux-5.10/drivers/iio/common/st_sensors/ |
D | st_sensors_spi.c | 57 * @settings: sensor specific settings reference. 62 struct st_sensor_settings *settings) in st_sensors_configure_spi_3_wire() argument 64 if (settings->sim.addr) { in st_sensors_configure_spi_3_wire() 66 settings->sim.addr, in st_sensors_configure_spi_3_wire() 67 settings->sim.value in st_sensors_configure_spi_3_wire()
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | ide-proc.c | 12 * Drive/Driver settings can be retrieved by reading the drive's 13 * "settings" files. e.g. "cat /proc/ide0/hda/settings" 15 * echo "name:val" >/proc/ide/ide0/hda/settings 167 * to the driver to change settings, and then wait on a sema for completion. 226 printk_once(KERN_WARNING "Warning: /proc/ide/hd?/settings interface is " in proc_ide_settings_warn() 241 d = drive->settings; in ide_settings_proc_show() 245 /* read settings in the alphabetical order */ in ide_settings_proc_show() 321 * then do another to actually write the new settings. in ide_settings_proc_write() 358 /* generic settings first, then driver specific ones */ in ide_settings_proc_write() 361 if (drive->settings) in ide_settings_proc_write() [all …]
|
/kernel/linux/linux-5.10/drivers/net/phy/ |
D | phy-core.c | 19 "and the PHY settings array.\n"); in phy_speed_to_str() 77 /* A mapping of all SUPPORTED settings to speed/duplex. This table 84 static const struct phy_setting settings[] = { variable 188 * Search the settings array for a setting that matches the speed and 204 for (i = 0, p = settings; i < ARRAY_SIZE(settings); i++, p++) { in phy_lookup_setting() 236 for (i = 0, count = 0; i < ARRAY_SIZE(settings) && count < size; i++) in phy_speeds() 237 if (settings[i].bit < __ETHTOOL_LINK_MODE_MASK_NBITS && in phy_speeds() 238 test_bit(settings[i].bit, mask) && in phy_speeds() 239 (count == 0 || speeds[count - 1] != settings[i].speed)) in phy_speeds() 240 speeds[count++] = settings[i].speed; in phy_speeds() [all …]
|
/kernel/linux/linux-5.10/include/linux/soc/samsung/ |
D | s3c-cpu-freq.h | 44 * @old: The old clock settings. 45 * @new: The new clock settings. 77 * Divisor settings for the core clocks. 101 * @auto_io: Set if the IO timing settings should be generated from the 107 * is left at zero will use the CPU's settings. 109 * This contains the board specific settings that affect how the CPU 110 * drivers chose settings. These include the memory refresh and IO
|
/kernel/linux/linux-5.10/drivers/media/rc/ |
D | nuvoton-cir.h | 71 /* hardware I/O settings */ 91 /* CIR settings */ 117 /* CIR IRCON settings */ 134 /* CIR IRSTS settings */ 144 /* CIR IREN settings */ 154 /* CIR FIFOCON settings */ 177 /* CIR IRFIFOSTS settings */ 206 /* CIR WAKE UP IRCON settings */ 233 /* CIR WAKE FIFOCON settings */ 245 /* CIR WAKE SRXFSTS settings */
|