Searched refs:ncfg (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/mtd/nand/raw/ |
H A D | lpc32xx_mlc.c | 182 struct lpc32xx_nand_cfg_mlc *ncfg; member 258 tmp |= MLCTIMEREG_TCEA_DELAY(clkrate / host->ncfg->tcea_delay + 1); in lpc32xx_nand_setup() 259 tmp |= MLCTIMEREG_BUSY_DELAY(clkrate / host->ncfg->busy_delay + 1); in lpc32xx_nand_setup() 260 tmp |= MLCTIMEREG_NAND_TA(clkrate / host->ncfg->nand_ta + 1); in lpc32xx_nand_setup() 261 tmp |= MLCTIMEREG_RD_HIGH(clkrate / host->ncfg->rd_high + 1); in lpc32xx_nand_setup() 262 tmp |= MLCTIMEREG_RD_LOW(clkrate / host->ncfg->rd_low); in lpc32xx_nand_setup() 263 tmp |= MLCTIMEREG_WR_HIGH(clkrate / host->ncfg->wr_high + 1); in lpc32xx_nand_setup() 264 tmp |= MLCTIMEREG_WR_LOW(clkrate / host->ncfg->wr_low); in lpc32xx_nand_setup() 622 struct lpc32xx_nand_cfg_mlc *ncfg; in lpc32xx_parse_dt() local 625 ncfg = devm_kzalloc(dev, sizeof(*ncfg), GFP_KERNEL); in lpc32xx_parse_dt() [all …]
|
H A D | lpc32xx_slc.c | 220 struct lpc32xx_nand_cfg_slc *ncfg; member 256 tmp = SLCTAC_WDR(host->ncfg->wdr_clks) | in lpc32xx_nand_setup() 257 SLCTAC_WWIDTH(clkrate, host->ncfg->wwidth) | in lpc32xx_nand_setup() 258 SLCTAC_WHOLD(clkrate, host->ncfg->whold) | in lpc32xx_nand_setup() 259 SLCTAC_WSETUP(clkrate, host->ncfg->wsetup) | in lpc32xx_nand_setup() 260 SLCTAC_RDR(host->ncfg->rdr_clks) | in lpc32xx_nand_setup() 261 SLCTAC_RWIDTH(clkrate, host->ncfg->rwidth) | in lpc32xx_nand_setup() 262 SLCTAC_RHOLD(clkrate, host->ncfg->rhold) | in lpc32xx_nand_setup() 263 SLCTAC_RSETUP(clkrate, host->ncfg->rsetup); in lpc32xx_nand_setup() 747 struct lpc32xx_nand_cfg_slc *ncfg; in lpc32xx_parse_dt() local [all …]
|
/linux/drivers/pinctrl/ |
H A D | pinconf-generic.c | 211 unsigned int *ncfg) in parse_dt_cfg() argument 231 cfg[*ncfg] = pinconf_to_config_packed(par->param, val); in parse_dt_cfg() 232 (*ncfg)++; in parse_dt_cfg() 251 unsigned int max_cfg, ncfg = 0; in pinconf_generic_parse_dt_config() local 265 parse_dt_cfg(np, dt_params, ARRAY_SIZE(dt_params), cfg, &ncfg); in pinconf_generic_parse_dt_config() 269 pctldev->desc->num_custom_params, cfg, &ncfg); in pinconf_generic_parse_dt_config() 274 if (ncfg == 0) { in pinconf_generic_parse_dt_config() 284 *configs = kmemdup(cfg, ncfg * sizeof(unsigned long), GFP_KERNEL); in pinconf_generic_parse_dt_config() 290 *nconfigs = ncfg; in pinconf_generic_parse_dt_config()
|
/linux/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx-scmi.c | 67 uint32_t ncfg; in pinctrl_scmi_imx_dt_node_to_map() local 106 ncfg = IMX_SCMI_NUM_CFG; in pinctrl_scmi_imx_dt_node_to_map() 121 ncfg--; in pinctrl_scmi_imx_dt_node_to_map() 126 ncfg -= 2; in pinctrl_scmi_imx_dt_node_to_map() 133 configs = kmemdup_array(cfg, ncfg, sizeof(unsigned long), GFP_KERNEL); in pinctrl_scmi_imx_dt_node_to_map() 138 new_map[i].data.configs.num_configs = ncfg; in pinctrl_scmi_imx_dt_node_to_map()
|
/linux/drivers/pwm/ |
H A D | pwm-sti.c | 161 unsigned int ncfg, value, prescale = 0; in sti_pwm_config() local 167 ncfg = hweight_long(pc->configured); in sti_pwm_config() 168 if (ncfg) in sti_pwm_config() 183 if (!ncfg || in sti_pwm_config() 184 ((ncfg == 1) && (pwm->hwpwm == cur->hwpwm)) || in sti_pwm_config() 185 ((ncfg == 1) && (pwm->hwpwm != cur->hwpwm) && period_same) || in sti_pwm_config() 186 ((ncfg > 1) && period_same)) { in sti_pwm_config()
|
/linux/drivers/pinctrl/ti/ |
H A D | pinctrl-ti-iodelay.c | 131 int ncfg; member 549 g->ncfg = i; in ti_iodelay_dt_node_to_map() 635 for (i = 0; i < group->ncfg; i++) { in ti_iodelay_pinconf_group_set() 713 for (i = 0; i < group->ncfg; i++) { in ti_iodelay_pinconf_group_dbg_show()
|