Lines Matching refs:width
26 uint16_t width; member
40 const size_t mods_per_row = config->width / config->module_width; in pixel_index()
91 __ASSERT(desc->width <= desc->pitch, "Pitch is smaller than width"); in check_descriptor()
92 __ASSERT(desc->pitch <= config->width, "Pitch in descriptor is larger than screen size"); in check_descriptor()
94 __ASSERT(x + desc->pitch <= config->width, in check_descriptor()
99 if (desc->width > desc->pitch || x + desc->pitch > config->width || in check_descriptor()
121 for (size_t xpos = x; xpos < (x + desc->width); xpos++) { in led_strip_matrix_write()
141 buf_ptr += (desc->pitch - desc->width) * in led_strip_matrix_write()
147 config->width * config->height); in led_strip_matrix_write()
170 for (size_t xpos = x; xpos < (x + desc->width); xpos++) { in led_strip_matrix_read()
186 buf_ptr += (desc->pitch - desc->width) * in led_strip_matrix_read()
199 caps->x_resolution = config->width; in led_strip_matrix_get_capabilities()
246 (DT_INST_PROP(inst, width) / DT_INST_PROP(inst, horizontal_modules) * \
258 .width = DT_INST_PROP(inst, width), \
261 DT_INST_PROP(inst, width) / DT_INST_PROP(inst, horizontal_modules), \
273 BUILD_ASSERT((DT_INST_PROP(inst, width) * DT_INST_PROP(inst, height)) == \
275 BUILD_ASSERT((DT_INST_PROP(inst, width) % DT_INST_PROP(inst, horizontal_modules)) == 0); \