ncfg 183 drivers/mtd/nand/raw/lpc32xx_mlc.c struct lpc32xx_nand_cfg_mlc *ncfg; ncfg 259 drivers/mtd/nand/raw/lpc32xx_mlc.c tmp |= MLCTIMEREG_TCEA_DELAY(clkrate / host->ncfg->tcea_delay + 1); ncfg 260 drivers/mtd/nand/raw/lpc32xx_mlc.c tmp |= MLCTIMEREG_BUSY_DELAY(clkrate / host->ncfg->busy_delay + 1); ncfg 261 drivers/mtd/nand/raw/lpc32xx_mlc.c tmp |= MLCTIMEREG_NAND_TA(clkrate / host->ncfg->nand_ta + 1); ncfg 262 drivers/mtd/nand/raw/lpc32xx_mlc.c tmp |= MLCTIMEREG_RD_HIGH(clkrate / host->ncfg->rd_high + 1); ncfg 263 drivers/mtd/nand/raw/lpc32xx_mlc.c tmp |= MLCTIMEREG_RD_LOW(clkrate / host->ncfg->rd_low); ncfg 264 drivers/mtd/nand/raw/lpc32xx_mlc.c tmp |= MLCTIMEREG_WR_HIGH(clkrate / host->ncfg->wr_high + 1); ncfg 265 drivers/mtd/nand/raw/lpc32xx_mlc.c tmp |= MLCTIMEREG_WR_LOW(clkrate / host->ncfg->wr_low); ncfg 374 drivers/mtd/nand/raw/lpc32xx_mlc.c if (gpio_is_valid(host->ncfg->wp_gpio)) ncfg 375 drivers/mtd/nand/raw/lpc32xx_mlc.c gpio_set_value(host->ncfg->wp_gpio, 0); ncfg 383 drivers/mtd/nand/raw/lpc32xx_mlc.c if (gpio_is_valid(host->ncfg->wp_gpio)) ncfg 384 drivers/mtd/nand/raw/lpc32xx_mlc.c gpio_set_value(host->ncfg->wp_gpio, 1); ncfg 618 drivers/mtd/nand/raw/lpc32xx_mlc.c struct lpc32xx_nand_cfg_mlc *ncfg; ncfg 621 drivers/mtd/nand/raw/lpc32xx_mlc.c ncfg = devm_kzalloc(dev, sizeof(*ncfg), GFP_KERNEL); ncfg 622 drivers/mtd/nand/raw/lpc32xx_mlc.c if (!ncfg) ncfg 625 drivers/mtd/nand/raw/lpc32xx_mlc.c of_property_read_u32(np, "nxp,tcea-delay", &ncfg->tcea_delay); ncfg 626 drivers/mtd/nand/raw/lpc32xx_mlc.c of_property_read_u32(np, "nxp,busy-delay", &ncfg->busy_delay); ncfg 627 drivers/mtd/nand/raw/lpc32xx_mlc.c of_property_read_u32(np, "nxp,nand-ta", &ncfg->nand_ta); ncfg 628 drivers/mtd/nand/raw/lpc32xx_mlc.c of_property_read_u32(np, "nxp,rd-high", &ncfg->rd_high); ncfg 629 drivers/mtd/nand/raw/lpc32xx_mlc.c of_property_read_u32(np, "nxp,rd-low", &ncfg->rd_low); ncfg 630 drivers/mtd/nand/raw/lpc32xx_mlc.c of_property_read_u32(np, "nxp,wr-high", &ncfg->wr_high); ncfg 631 drivers/mtd/nand/raw/lpc32xx_mlc.c of_property_read_u32(np, "nxp,wr-low", &ncfg->wr_low); ncfg 633 drivers/mtd/nand/raw/lpc32xx_mlc.c if (!ncfg->tcea_delay || !ncfg->busy_delay || !ncfg->nand_ta || ncfg 634 drivers/mtd/nand/raw/lpc32xx_mlc.c !ncfg->rd_high || !ncfg->rd_low || !ncfg->wr_high || ncfg 635 drivers/mtd/nand/raw/lpc32xx_mlc.c !ncfg->wr_low) { ncfg 640 drivers/mtd/nand/raw/lpc32xx_mlc.c ncfg->wp_gpio = of_get_named_gpio(np, "gpios", 0); ncfg 642 drivers/mtd/nand/raw/lpc32xx_mlc.c return ncfg; ncfg 699 drivers/mtd/nand/raw/lpc32xx_mlc.c host->ncfg = lpc32xx_parse_dt(&pdev->dev); ncfg 700 drivers/mtd/nand/raw/lpc32xx_mlc.c if (!host->ncfg) { ncfg 705 drivers/mtd/nand/raw/lpc32xx_mlc.c if (host->ncfg->wp_gpio == -EPROBE_DEFER) ncfg 707 drivers/mtd/nand/raw/lpc32xx_mlc.c if (gpio_is_valid(host->ncfg->wp_gpio) && ncfg 708 drivers/mtd/nand/raw/lpc32xx_mlc.c gpio_request(host->ncfg->wp_gpio, "NAND WP")) { ncfg 799 drivers/mtd/nand/raw/lpc32xx_mlc.c res = mtd_device_register(mtd, host->ncfg->parts, ncfg 800 drivers/mtd/nand/raw/lpc32xx_mlc.c host->ncfg->num_parts); ncfg 819 drivers/mtd/nand/raw/lpc32xx_mlc.c gpio_free(host->ncfg->wp_gpio); ncfg 840 drivers/mtd/nand/raw/lpc32xx_mlc.c gpio_free(host->ncfg->wp_gpio); ncfg 222 drivers/mtd/nand/raw/lpc32xx_slc.c struct lpc32xx_nand_cfg_slc *ncfg; ncfg 258 drivers/mtd/nand/raw/lpc32xx_slc.c tmp = SLCTAC_WDR(host->ncfg->wdr_clks) | ncfg 259 drivers/mtd/nand/raw/lpc32xx_slc.c SLCTAC_WWIDTH(clkrate, host->ncfg->wwidth) | ncfg 260 drivers/mtd/nand/raw/lpc32xx_slc.c SLCTAC_WHOLD(clkrate, host->ncfg->whold) | ncfg 261 drivers/mtd/nand/raw/lpc32xx_slc.c SLCTAC_WSETUP(clkrate, host->ncfg->wsetup) | ncfg 262 drivers/mtd/nand/raw/lpc32xx_slc.c SLCTAC_RDR(host->ncfg->rdr_clks) | ncfg 263 drivers/mtd/nand/raw/lpc32xx_slc.c SLCTAC_RWIDTH(clkrate, host->ncfg->rwidth) | ncfg 264 drivers/mtd/nand/raw/lpc32xx_slc.c SLCTAC_RHOLD(clkrate, host->ncfg->rhold) | ncfg 265 drivers/mtd/nand/raw/lpc32xx_slc.c SLCTAC_RSETUP(clkrate, host->ncfg->rsetup); ncfg 313 drivers/mtd/nand/raw/lpc32xx_slc.c if (gpio_is_valid(host->ncfg->wp_gpio)) ncfg 314 drivers/mtd/nand/raw/lpc32xx_slc.c gpio_set_value(host->ncfg->wp_gpio, 0); ncfg 322 drivers/mtd/nand/raw/lpc32xx_slc.c if (gpio_is_valid(host->ncfg->wp_gpio)) ncfg 323 drivers/mtd/nand/raw/lpc32xx_slc.c gpio_set_value(host->ncfg->wp_gpio, 1); ncfg 745 drivers/mtd/nand/raw/lpc32xx_slc.c struct lpc32xx_nand_cfg_slc *ncfg; ncfg 748 drivers/mtd/nand/raw/lpc32xx_slc.c ncfg = devm_kzalloc(dev, sizeof(*ncfg), GFP_KERNEL); ncfg 749 drivers/mtd/nand/raw/lpc32xx_slc.c if (!ncfg) ncfg 752 drivers/mtd/nand/raw/lpc32xx_slc.c of_property_read_u32(np, "nxp,wdr-clks", &ncfg->wdr_clks); ncfg 753 drivers/mtd/nand/raw/lpc32xx_slc.c of_property_read_u32(np, "nxp,wwidth", &ncfg->wwidth); ncfg 754 drivers/mtd/nand/raw/lpc32xx_slc.c of_property_read_u32(np, "nxp,whold", &ncfg->whold); ncfg 755 drivers/mtd/nand/raw/lpc32xx_slc.c of_property_read_u32(np, "nxp,wsetup", &ncfg->wsetup); ncfg 756 drivers/mtd/nand/raw/lpc32xx_slc.c of_property_read_u32(np, "nxp,rdr-clks", &ncfg->rdr_clks); ncfg 757 drivers/mtd/nand/raw/lpc32xx_slc.c of_property_read_u32(np, "nxp,rwidth", &ncfg->rwidth); ncfg 758 drivers/mtd/nand/raw/lpc32xx_slc.c of_property_read_u32(np, "nxp,rhold", &ncfg->rhold); ncfg 759 drivers/mtd/nand/raw/lpc32xx_slc.c of_property_read_u32(np, "nxp,rsetup", &ncfg->rsetup); ncfg 761 drivers/mtd/nand/raw/lpc32xx_slc.c if (!ncfg->wdr_clks || !ncfg->wwidth || !ncfg->whold || ncfg 762 drivers/mtd/nand/raw/lpc32xx_slc.c !ncfg->wsetup || !ncfg->rdr_clks || !ncfg->rwidth || ncfg 763 drivers/mtd/nand/raw/lpc32xx_slc.c !ncfg->rhold || !ncfg->rsetup) { ncfg 768 drivers/mtd/nand/raw/lpc32xx_slc.c ncfg->wp_gpio = of_get_named_gpio(np, "gpios", 0); ncfg 770 drivers/mtd/nand/raw/lpc32xx_slc.c return ncfg; ncfg 836 drivers/mtd/nand/raw/lpc32xx_slc.c host->ncfg = lpc32xx_parse_dt(&pdev->dev); ncfg 837 drivers/mtd/nand/raw/lpc32xx_slc.c if (!host->ncfg) { ncfg 842 drivers/mtd/nand/raw/lpc32xx_slc.c if (host->ncfg->wp_gpio == -EPROBE_DEFER) ncfg 844 drivers/mtd/nand/raw/lpc32xx_slc.c if (gpio_is_valid(host->ncfg->wp_gpio) && devm_gpio_request(&pdev->dev, ncfg 845 drivers/mtd/nand/raw/lpc32xx_slc.c host->ncfg->wp_gpio, "NAND WP")) { ncfg 924 drivers/mtd/nand/raw/lpc32xx_slc.c res = mtd_device_register(mtd, host->ncfg->parts, ncfg 925 drivers/mtd/nand/raw/lpc32xx_slc.c host->ncfg->num_parts); ncfg 205 drivers/pinctrl/pinconf-generic.c unsigned int *ncfg) ncfg 225 drivers/pinctrl/pinconf-generic.c cfg[*ncfg] = pinconf_to_config_packed(par->param, val); ncfg 226 drivers/pinctrl/pinconf-generic.c (*ncfg)++; ncfg 244 drivers/pinctrl/pinconf-generic.c unsigned int max_cfg, ncfg = 0; ncfg 258 drivers/pinctrl/pinconf-generic.c parse_dt_cfg(np, dt_params, ARRAY_SIZE(dt_params), cfg, &ncfg); ncfg 262 drivers/pinctrl/pinconf-generic.c pctldev->desc->num_custom_params, cfg, &ncfg); ncfg 267 drivers/pinctrl/pinconf-generic.c if (ncfg == 0) { ncfg 277 drivers/pinctrl/pinconf-generic.c *configs = kmemdup(cfg, ncfg * sizeof(unsigned long), GFP_KERNEL); ncfg 283 drivers/pinctrl/pinconf-generic.c *nconfigs = ncfg; ncfg 128 drivers/pinctrl/ti/pinctrl-ti-iodelay.c int ncfg; ncfg 538 drivers/pinctrl/ti/pinctrl-ti-iodelay.c g->ncfg = i; ncfg 624 drivers/pinctrl/ti/pinctrl-ti-iodelay.c for (i = 0; i < group->ncfg; i++) { ncfg 702 drivers/pinctrl/ti/pinctrl-ti-iodelay.c for (i = 0; i < group->ncfg; i++) { ncfg 168 drivers/pwm/pwm-sti.c unsigned int ncfg, value, prescale = 0; ncfg 174 drivers/pwm/pwm-sti.c ncfg = hweight_long(pc->configured); ncfg 175 drivers/pwm/pwm-sti.c if (ncfg) ncfg 190 drivers/pwm/pwm-sti.c if (!ncfg || ncfg 191 drivers/pwm/pwm-sti.c ((ncfg == 1) && (pwm->hwpwm == cur->hwpwm)) || ncfg 192 drivers/pwm/pwm-sti.c ((ncfg == 1) && (pwm->hwpwm != cur->hwpwm) && period_same) || ncfg 193 drivers/pwm/pwm-sti.c ((ncfg > 1) && period_same)) { ncfg 868 drivers/usb/core/config.c int ncfg = dev->descriptor.bNumConfigurations; ncfg 874 drivers/usb/core/config.c if (ncfg > USB_MAXCONFIG) { ncfg 876 drivers/usb/core/config.c "using maximum allowed: %d\n", ncfg, USB_MAXCONFIG); ncfg 877 drivers/usb/core/config.c dev->descriptor.bNumConfigurations = ncfg = USB_MAXCONFIG; ncfg 880 drivers/usb/core/config.c if (ncfg < 1) { ncfg 885 drivers/usb/core/config.c length = ncfg * sizeof(struct usb_host_config); ncfg 890 drivers/usb/core/config.c length = ncfg * sizeof(char *); ncfg 899 drivers/usb/core/config.c for (cfgno = 0; cfgno < ncfg; cfgno++) {