Searched refs:device_width (Results 1 – 5 of 5) sorted by relevance
28 .device_width = GPMC_DEVWIDTH_16BIT,40 .device_width = GPMC_DEVWIDTH_16BIT,
316 enum dmc520_dev_width device_width; in dmc520_get_dtype() local321 device_width = FIELD_GET(REG_FIELD_DEVICE_WIDTH, reg_val); in dmc520_get_dtype()323 switch (device_width) { in dmc520_get_dtype()
156 u32 device_width; /* device bus width (8 or 16 bit) */ member
1868 if ((!p->device_width) || (p->device_width > GPMC_DEVWIDTH_16BIT)) { in gpmc_cs_program_settings()1869 pr_err("%s: invalid width %d!", __func__, p->device_width); in gpmc_cs_program_settings()1906 config1 = GPMC_CONFIG1_DEVICESIZE((p->device_width - 1)); in gpmc_cs_program_settings()2021 of_property_read_u32(np, "gpmc,device-width", &p->device_width); in gpmc_read_settings_dt()2235 gpmc_s.device_width = GPMC_DEVWIDTH_8BIT; in gpmc_probe_generic_child()2238 gpmc_s.device_width = GPMC_DEVWIDTH_16BIT; in gpmc_probe_generic_child()2252 &gpmc_s.device_width); in gpmc_probe_generic_child()2253 if (ret < 0 && !gpmc_s.device_width) { in gpmc_probe_generic_child()
292 unsigned int device_width; member2614 (!!(cfg->device_width == 16) << CFG_BUS_WIDTH_SHIFT) | in brcmnand_set_cfg()2653 cfg->spare_area_size, cfg->device_width); in brcmnand_print_cfg()2732 cfg->device_width = (chip->options & NAND_BUSWIDTH_16) ? 16 : 8; in brcmnand_setup_dev()