Home
last modified time | relevance | path

Searched refs:props (Results 1 – 24 of 24) sorted by relevance

/drivers/sdhc/
A Dsdhc_max32.c66 struct sdhc_host_props props; member
87 sdhc_data->props.f_max = SDHC_CLOCK; in sdhc_max32_init_props()
88 sdhc_data->props.is_spi = 0; in sdhc_max32_init_props()
89 sdhc_data->props.max_current_180 = 0; in sdhc_max32_init_props()
90 sdhc_data->props.max_current_300 = 0; in sdhc_max32_init_props()
91 sdhc_data->props.max_current_330 = 0; in sdhc_max32_init_props()
108 sdhc_data->props.host_caps.slot_type = 00; in sdhc_max32_init_props()
118 sdhc_data->props.host_caps.retuning_mode = 0; in sdhc_max32_init_props()
259 memcpy(props, &sdhc_data->props, sizeof(struct sdhc_host_props)); in sdhc_max32_get_host_props()
267 struct sdhc_host_props *props = &data->props; in sdhc_max32_set_io() local
[all …]
A Dsdhc_stm32.c478 struct sdhc_host_props *props = &data->props; in sdhc_stm32_set_io() local
486 if ((ios->clock > props->f_max) || (ios->clock < props->f_min)) { in sdhc_stm32_set_io()
488 props->f_min, props->f_max); in sdhc_stm32_set_io()
503 k_msleep(data->props.power_delay); in sdhc_stm32_set_io()
506 k_msleep(data->props.power_delay); in sdhc_stm32_set_io()
536 struct sdhc_host_props *props = &data->props; in sdhc_stm32_init_props() local
540 props->f_min = sdhc_config->min_freq; in sdhc_stm32_init_props()
541 props->f_max = sdhc_config->max_freq; in sdhc_stm32_init_props()
553 memcpy(props, &data->props, sizeof(struct sdhc_host_props)); in sdhc_stm32_get_host_props()
607 k_msleep(data->props.power_delay); in sdhc_stm32_reset()
[all …]
A Difx_cat1_sdio.c206 static int ifx_cat1_sdio_get_host_props(const struct device *dev, struct sdhc_host_props *props) in ifx_cat1_sdio_get_host_props() argument
208 memset(props, 0, sizeof(*props)); in ifx_cat1_sdio_get_host_props()
209 props->f_max = IFX_CAT1_SDIO_F_MAX; in ifx_cat1_sdio_get_host_props()
210 props->f_min = IFX_CAT1_SDIO_F_MIN; in ifx_cat1_sdio_get_host_props()
211 props->host_caps.bus_4_bit_support = true; in ifx_cat1_sdio_get_host_props()
212 props->host_caps.high_spd_support = true; in ifx_cat1_sdio_get_host_props()
213 props->host_caps.sdr50_support = true; in ifx_cat1_sdio_get_host_props()
214 props->host_caps.sdio_async_interrupt_support = true; in ifx_cat1_sdio_get_host_props()
215 props->host_caps.vol_330_support = true; in ifx_cat1_sdio_get_host_props()
A Dimx_usdhc.c85 struct sdhc_host_props props; member
236 struct sdhc_host_props *props = &data->props; in imx_usdhc_init_host_props() local
239 memset(props, 0, sizeof(struct sdhc_host_props)); in imx_usdhc_init_host_props()
240 props->f_max = cfg->max_bus_freq; in imx_usdhc_init_host_props()
241 props->f_min = cfg->min_bus_freq; in imx_usdhc_init_host_props()
242 props->max_current_330 = cfg->max_current_330; in imx_usdhc_init_host_props()
243 props->max_current_180 = cfg->max_current_180; in imx_usdhc_init_host_props()
244 props->power_delay = cfg->power_delay_ms; in imx_usdhc_init_host_props()
248 props->host_caps.vol_180_support = false; in imx_usdhc_init_host_props()
313 if (ios->clock && (ios->clock > data->props.f_max || ios->clock < data->props.f_min)) { in imx_usdhc_set_io()
[all …]
A Dsdhc_ambiq.c159 memset(props, 0, sizeof(*props)); in ambiq_sdio_get_host_props()
160 props->f_max = config->max_bus_freq; in ambiq_sdio_get_host_props()
161 props->f_min = config->min_bus_freq; in ambiq_sdio_get_host_props()
164 props->host_caps.adma_2_support = true; in ambiq_sdio_get_host_props()
170 props->host_caps.sdr50_support = true; in ambiq_sdio_get_host_props()
172 props->host_caps.ddr50_support = true; in ambiq_sdio_get_host_props()
173 props->host_caps.hs200_support = true; in ambiq_sdio_get_host_props()
174 props->max_current_330 = 1020; in ambiq_sdio_get_host_props()
175 props->max_current_300 = 1020; in ambiq_sdio_get_host_props()
176 props->max_current_180 = 1020; in ambiq_sdio_get_host_props()
[all …]
A Dxlnx_sdhc.c25 ((((struct sd_data *)dev->data)->props.host_caps.slot_type != 0) ? \
50 struct sdhc_host_props props; member
559 props->f_max = SD_CLOCK_208MHZ; in xlnx_sdhc_host_props()
560 props->f_min = SDMMC_CLOCK_400KHZ; in xlnx_sdhc_host_props()
562 props->power_delay = config->powerdelay; in xlnx_sdhc_host_props()
578 props->host_caps.adma_2_support = XLNX_SDHC_GET_HOST_PROP_BIT(cap, in xlnx_sdhc_host_props()
583 props->host_caps.sdr104_support = XLNX_SDHC_GET_HOST_PROP_BIT(cap, in xlnx_sdhc_host_props()
594 props->host_caps.hs400_support = (uint8_t)config->hs400_mode; in xlnx_sdhc_host_props()
597 props->host_caps.hs200_support = (uint8_t)config->hs200_mode; in xlnx_sdhc_host_props()
599 dev_data->props = *props; in xlnx_sdhc_host_props()
[all …]
A Dmcux_sdif.c112 struct sdhc_host_props *props) in mcux_sdif_get_host_props() argument
114 memset(props, 0, sizeof(*props)); in mcux_sdif_get_host_props()
115 props->f_max = MCUX_SDIF_F_MAX; in mcux_sdif_get_host_props()
116 props->f_min = MCUX_SDIF_F_MIN; in mcux_sdif_get_host_props()
117 props->power_delay = 500; in mcux_sdif_get_host_props()
118 props->host_caps.high_spd_support = true; in mcux_sdif_get_host_props()
119 props->host_caps.suspend_res_support = true; in mcux_sdif_get_host_props()
120 props->host_caps.vol_330_support = true; in mcux_sdif_get_host_props()
121 props->host_caps.bus_8_bit_support = true; in mcux_sdif_get_host_props()
122 props->max_current_330 = 1024; in mcux_sdif_get_host_props()
A Dsdhc_cdns.c117 struct sdhc_host_props *props) in sdhc_cdns_get_host_props() argument
121 memset(props, 0, sizeof(struct sdhc_host_props)); in sdhc_cdns_get_host_props()
122 props->f_min = SDMMC_CLOCK_400KHZ; in sdhc_cdns_get_host_props()
127 props->f_max = SD_CLOCK_25MHZ; in sdhc_cdns_get_host_props()
128 props->power_delay = sdhc_config->power_delay_ms; in sdhc_cdns_get_host_props()
129 props->host_caps.vol_330_support = true; in sdhc_cdns_get_host_props()
130 props->is_spi = false; in sdhc_cdns_get_host_props()
A Dintel_emmc_host.c54 struct sdhc_host_props props; member
1018 if (ios->clock && (ios->clock > emmc->props.f_max || ios->clock < emmc->props.f_min)) { in emmc_set_io()
1020 emmc->props.f_max, emmc->props.f_min); in emmc_set_io()
1153 memset(props, 0, sizeof(struct sdhc_host_props)); in emmc_get_host_props()
1154 props->f_max = config->max_bus_freq; in emmc_get_host_props()
1155 props->f_min = config->min_bus_freq; in emmc_get_host_props()
1156 props->power_delay = config->power_delay_ms; in emmc_get_host_props()
1161 props->host_caps.suspend_res_support = false; in emmc_get_host_props()
1170 props->host_caps.bus_8_bit_support = true; in emmc_get_host_props()
1171 props->host_caps.bus_4_bit_support = true; in emmc_get_host_props()
[all …]
A Drcar_mmc.c45 struct sdhc_host_props props; member
1108 if (ios->clock > data->props.f_max || ios->clock < data->props.f_min) { in rcar_mmc_set_clk_rate()
1110 data->props.f_min, data->props.f_max); in rcar_mmc_set_clk_rate()
1871 if (!props || !dev || !dev->data) { in rcar_mmc_get_host_props()
1876 memcpy(props, &data->props, sizeof(*props)); in rcar_mmc_get_host_props()
1928 struct sdhc_host_props *props = &data->props; in rcar_mmc_init_host_props() local
1931 memset(props, 0, sizeof(*props)); in rcar_mmc_init_host_props()
1935 props->f_max = cfg->max_frequency; in rcar_mmc_init_host_props()
1942 props->power_delay = 100; /* ms */ in rcar_mmc_init_host_props()
1944 props->is_spi = 0; in rcar_mmc_init_host_props()
[all …]
A Dsam_hsmci.c100 static int sam_hsmci_get_host_props(const struct device *dev, struct sdhc_host_props *props) in sam_hsmci_get_host_props() argument
102 memset(props, 0, sizeof(*props)); in sam_hsmci_get_host_props()
104 props->f_max = _HSMCI_MAX_FREQ; in sam_hsmci_get_host_props()
105 props->f_min = _HSMCI_MIN_FREQ; in sam_hsmci_get_host_props()
107 props->host_caps.high_spd_support = false; in sam_hsmci_get_host_props()
108 props->power_delay = 500; in sam_hsmci_get_host_props()
109 props->is_spi = false; in sam_hsmci_get_host_props()
110 props->max_current_330 = 4; in sam_hsmci_get_host_props()
A Dsdhc_spi.c777 struct sdhc_host_props *props) in sdhc_spi_get_host_props() argument
781 memset(props, 0, sizeof(struct sdhc_host_props)); in sdhc_spi_get_host_props()
783 props->f_min = SDMMC_CLOCK_400KHZ; in sdhc_spi_get_host_props()
784 props->f_max = cfg->spi_max_freq; in sdhc_spi_get_host_props()
785 props->power_delay = cfg->power_delay_ms; in sdhc_spi_get_host_props()
786 props->host_caps.vol_330_support = true; in sdhc_spi_get_host_props()
787 props->is_spi = true; in sdhc_spi_get_host_props()
A Dsdhc_renesas_ra.c64 struct sdhc_host_props props; member
483 if (ios->clock > priv->props.f_max || ios->clock < priv->props.f_min) { in sdhc_ra_set_io()
524 static int sdhc_ra_get_host_props(const struct device *dev, struct sdhc_host_props *props) in sdhc_ra_get_host_props() argument
528 memcpy(props, &priv->props, sizeof(struct sdhc_host_props)); in sdhc_ra_get_host_props()
697 .props = {.is_spi = false, \
A Dsdhc_esp32.c75 struct sdhc_host_props props; member
973 if (ios->clock > cfg->props.f_max || ios->clock < cfg->props.f_min) { in sdhc_esp32_set_io()
1230 static int sdhc_esp32_get_host_props(const struct device *dev, struct sdhc_host_props *props) in sdhc_esp32_get_host_props() argument
1234 memcpy(props, &cfg->props, sizeof(struct sdhc_host_props)); in sdhc_esp32_get_host_props()
1429 .props = {.is_spi = false, \
/drivers/gpio/
A Dgpio_mchp_mec5.c87 struct mec_gpio_props props[8]; in gpio_mec5_configure() local
120 props[idx].prop = MEC_GPIO_DIR_PROP_ID; in gpio_mec5_configure()
121 props[idx].val = MEC_GPIO_PROP_DIR_OUT; in gpio_mec5_configure()
132 props[idx].val = 0u; in gpio_mec5_configure()
134 props[idx].val = 1u; in gpio_mec5_configure()
136 props[idx].val = 0u; in gpio_mec5_configure()
144 props[idx].prop = MEC_GPIO_DIR_PROP_ID; in gpio_mec5_configure()
145 props[idx].val = MEC_GPIO_PROP_DIR_IN; in gpio_mec5_configure()
151 props[idx].prop = MEC_GPIO_PUD_PROP_ID; in gpio_mec5_configure()
155 props[idx].val = MEC_GPIO_PROP_PULL_UP; in gpio_mec5_configure()
[all …]
/drivers/fuel_gauge/
A Dfuel_gauge_syscall_handlers.c30 const fuel_gauge_prop_t *props, in z_vrfy_fuel_gauge_get_props() argument
39 K_OOPS(k_usermode_from_copy(k_props, props, len * sizeof(fuel_gauge_prop_t))); in z_vrfy_fuel_gauge_get_props()
63 const fuel_gauge_prop_t *props, in z_vrfy_fuel_gauge_set_props() argument
72 K_OOPS(k_usermode_from_copy(k_props, props, len * sizeof(fuel_gauge_prop_t))); in z_vrfy_fuel_gauge_set_props()
/drivers/adc/
A Dadc_ad7124.c251 struct ad7124_config_props props; member
422 new_cfg->props.refsel = ref_source; in adc_ad7124_create_new_cfg()
454 new_cfg->props.pga_bits = gain; in adc_ad7124_create_new_cfg()
462 new_cfg->props.filter_type = AD7124_FILTER_SINC3; in adc_ad7124_create_new_cfg()
464 new_cfg->props.filter_type = AD7124_FILTER_SINC4; in adc_ad7124_create_new_cfg()
467 new_cfg->props.odr_sel_bits = adc_ad7124_odr_to_fs(dev, odr); in adc_ad7124_create_new_cfg()
509 if (memcmp(&cfg->props, &data->channel_setup_cfg[i].props, in adc_ad7124_find_similar_configuration()
714 if (cfg->props.bipolar) { in adc_ad7124_setup_cfg()
718 if (cfg->props.inbuf_enable) { in adc_ad7124_setup_cfg()
722 if (cfg->props.refbuf_enable) { in adc_ad7124_setup_cfg()
[all …]
A Dadc_ad4130.c215 struct ad4130_config_props props; member
404 ret = adc_ad4130_set_ref(dev, cfg->props.ref_sel, cfg->cfg_slot); in adc_ad4130_setup_cfg()
409 ret = adc_ad4130_set_gain(dev, cfg->props.gain, cfg->cfg_slot); in adc_ad4130_setup_cfg()
429 if (memcmp(&cfg->props, &data->channel_setup_cfg[i].props, in adc_ad4130_find_similar_configuration()
482 new_cfg->props.ref_sel = ref_source; in adc_ad4130_create_new_cfg()
514 new_cfg->props.gain = gain; in adc_ad4130_create_new_cfg()
/drivers/dai/intel/hda/
A Dhda.h27 struct dai_properties props; member
A Dhda.c86 struct dai_properties *prop = &hda->props; in dai_hda_get_properties()
/drivers/dai/intel/alh/
A Dalh.h104 struct dai_properties props; member
A Dalh.c145 struct dai_properties *prop = &alh->props; in dai_alh_get_properties()
/drivers/dai/intel/ssp/
A Dssp.h162 struct dai_properties props; member
A Dssp.c2527 struct dai_properties *prop = &ssp->props; in dai_ssp_get_properties()

Completed in 721 milliseconds