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()
149 u32 device_width; /* device bus width (8 or 16 bit) */ member
1825 if ((!p->device_width) || (p->device_width > GPMC_DEVWIDTH_16BIT)) { in gpmc_cs_program_settings()1826 pr_err("%s: invalid width %d!", __func__, p->device_width); in gpmc_cs_program_settings()1862 config1 = GPMC_CONFIG1_DEVICESIZE((p->device_width - 1)); in gpmc_cs_program_settings()1966 of_property_read_u32(np, "gpmc,device-width", &p->device_width); in gpmc_read_settings_dt()2183 gpmc_s.device_width = GPMC_DEVWIDTH_8BIT; in gpmc_probe_generic_child()2186 gpmc_s.device_width = GPMC_DEVWIDTH_16BIT; in gpmc_probe_generic_child()2200 &gpmc_s.device_width); in gpmc_probe_generic_child()2201 if (ret < 0 && !gpmc_s.device_width) { in gpmc_probe_generic_child()
291 unsigned int device_width; member2547 (!!(cfg->device_width == 16) << CFG_BUS_WIDTH_SHIFT) | in brcmnand_set_cfg()2586 cfg->spare_area_size, cfg->device_width); in brcmnand_print_cfg()2644 cfg->device_width = (chip->options & NAND_BUSWIDTH_16) ? 16 : 8; in brcmnand_setup_dev()