Lines Matching defs:width
170 * Get bus width used by EMIF. Note that this may be different from the
171 * bus width of the DDR devices used. For instance two 16-bit DDR devices
172 * may be connected to a given CS of EMIF. In this case bus width as far
173 * as EMIF is concerned is 32, where as the DDR bus width is 16 bits.
177 u32 width;
180 width = (readl(base + EMIF_SDRAM_CONFIG) & NARROW_MODE_MASK)
182 width = width == 0 ? 32 : 16;
184 return width;
906 of_property_read_u32(np_ddr, "io-width", &io_width);