Searched refs:device_width (Results 1 – 4 of 4) sorted by relevance
28 .device_width = GPMC_DEVWIDTH_16BIT,40 .device_width = GPMC_DEVWIDTH_16BIT,
149 u32 device_width; /* device bus width (8 or 16 bit) */ member
1831 if ((!p->device_width) || (p->device_width > GPMC_DEVWIDTH_16BIT)) { in gpmc_cs_program_settings()1832 pr_err("%s: invalid width %d!", __func__, p->device_width); in gpmc_cs_program_settings()1868 config1 = GPMC_CONFIG1_DEVICESIZE((p->device_width - 1)); in gpmc_cs_program_settings()1924 of_property_read_u32(np, "gpmc,device-width", &p->device_width); in gpmc_read_settings_dt()2141 gpmc_s.device_width = GPMC_DEVWIDTH_8BIT; in gpmc_probe_generic_child()2144 gpmc_s.device_width = GPMC_DEVWIDTH_16BIT; in gpmc_probe_generic_child()2158 &gpmc_s.device_width); in gpmc_probe_generic_child()2159 if (ret < 0 && !gpmc_s.device_width) { in gpmc_probe_generic_child()
215 unsigned int device_width; member2142 (!!(cfg->device_width == 16) << CFG_BUS_WIDTH_SHIFT) | in brcmnand_set_cfg()2179 cfg->spare_area_size, cfg->device_width); in brcmnand_print_cfg()2235 cfg->device_width = (chip->options & NAND_BUSWIDTH_16) ? 16 : 8; in brcmnand_setup_dev()