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