/Zephyr-Core-3.5.0/samples/drivers/led_is31fl3733/src/ |
D | main.c | 29 for (uint8_t col = 0; col < CONFIG_LED_COLUMN_COUNT; col++) { in led_channel_write() local 30 led_idx = LED_MATRIX_COORD(row, col); in led_channel_write() 43 for (uint8_t col = 0; col < CONFIG_LED_COLUMN_COUNT / 2; col++) { in led_channel_write() local 44 led_idx = LED_MATRIX_COORD(row, col); in led_channel_write() 61 uint8_t row, col; in led_brightness() local 66 for (col = 0; col < CONFIG_LED_COLUMN_COUNT; col++) { in led_brightness() 67 ret = led_set_brightness(led, LED_MATRIX_COORD(row, col), in led_brightness() 72 row, col, ret); in led_brightness() 84 uint8_t row, col; in led_on_off() local 89 for (col = 0; col < CONFIG_LED_COLUMN_COUNT; col++) { in led_on_off() [all …]
|
/Zephyr-Core-3.5.0/tests/drivers/kscan/kscan_input/src/ |
D | main.c | 23 uint32_t col; member 28 static void kscan_callback(const struct device *dev, uint32_t row, uint32_t col, in kscan_callback() argument 31 TC_PRINT("row = %u col = %u %d\n", row, col, pressed); in kscan_callback() 35 last_cb_val.col = col; in kscan_callback() 52 zassert_equal(last_cb_val.col, 101); in ZTEST() 58 zassert_equal(last_cb_val.col, 103); in ZTEST() 64 zassert_equal(last_cb_val.col, 103); in ZTEST()
|
/Zephyr-Core-3.5.0/tests/drivers/led/led_api/src/ |
D | test_led_api.c | 79 uint8_t col; in ZTEST_USER() local 112 for (col = 0; col < info->num_colors; col++) { in ZTEST_USER() 113 zassert_equal(info->color_mapping[col], in ZTEST_USER() 114 test_led_info[led].color_mapping[col], in ZTEST_USER() 116 led, col, info->color_mapping[col], in ZTEST_USER() 117 test_led_info[led].color_mapping[col]); in ZTEST_USER() 118 TC_PRINT("%d", info->color_mapping[col]); in ZTEST_USER() 166 uint8_t col; in ZTEST_USER() local 197 for (col = 0; col < num_colors; col++) { in ZTEST_USER() 203 colors[col] = level; in ZTEST_USER()
|
/Zephyr-Core-3.5.0/subsys/fb/ |
D | cfb_shell.c | 60 static int cmd_cfb_print(const struct shell *sh, int col, int row, char *str) in cmd_cfb_print() argument 78 err = cfb_print(dev, str, col, row * ppt); in cmd_cfb_print() 98 int col, row; in cmd_print() local 105 col = strtol(argv[1], NULL, 10); in cmd_print() 106 if (col > cfb_get_display_parameter(dev, CFB_DISPLAY_COLS)) { in cmd_print() 107 shell_error(sh, "Invalid col=%d position", col); in cmd_print() 117 err = cmd_cfb_print(sh, col, row, argv[3]); in cmd_print() 228 int col, row; in cmd_scroll_vert() local 236 col = strtol(argv[1], NULL, 10); in cmd_scroll_vert() 237 if (col > cfb_get_display_parameter(dev, CFB_DISPLAY_COLS)) { in cmd_scroll_vert() [all …]
|
/Zephyr-Core-3.5.0/drivers/kscan/ |
D | kscan_input.c | 22 int col; member 32 data->col = evt->value; in kscan_input_cb() 44 data->row, data->col, data->pressed); in kscan_input_cb() 46 data->callback(dev, data->row, data->col, data->pressed); in kscan_input_cb()
|
D | kscan_ite_it8xxx2.c | 95 static void drive_keyboard_column(const struct device *dev, int col) in drive_keyboard_column() argument 102 if (col == KEYBOARD_COLUMN_DRIVE_NONE) { in drive_keyboard_column() 105 } else if (col == KEYBOARD_COLUMN_DRIVE_ALL) { in drive_keyboard_column() 109 mask = 0x3ffff ^ BIT(col); in drive_keyboard_column() 175 for (int col = 0; col < CONFIG_KSCAN_ITE_IT8XXX2_COLUMN_SIZE; col++) { in read_keyboard_matrix() local 177 drive_keyboard_column(dev, col); in read_keyboard_matrix() 181 new_state[col] = row; in read_keyboard_matrix()
|
D | kscan_mchp_xec.c | 207 for (int col = 0; col < MAX_MATRIX_KEY_COLS; col++) { in read_keyboard_matrix() local 208 drive_keyboard_column(dev, col); in read_keyboard_matrix() 213 new_state[col] = row; in read_keyboard_matrix()
|
/Zephyr-Core-3.5.0/samples/drivers/kscan_touch/src/ |
D | main.c | 20 static void k_callback(const struct device *dev, uint32_t row, uint32_t col, in k_callback() argument 25 printk("row = %u col = %u\n", row, col); in k_callback()
|
/Zephyr-Core-3.5.0/include/zephyr/shell/ |
D | shell_types.h | 30 enum shell_vt100_color col; /*!< Text color. */ member 46 struct shell_vt100_colors col; member
|
/Zephyr-Core-3.5.0/subsys/sip_svc/ |
D | sip_svc_id_mgr.c | 85 uint32_t col; in sip_svc_id_mgr_alloc() local 99 col = id % sizeof(uint32_t); in sip_svc_id_mgr_alloc() 100 id_pool->id_mask[row] |= (1 << col); in sip_svc_id_mgr_alloc() 119 uint32_t col; in sip_svc_id_mgr_free() local 130 col = id % sizeof(uint32_t); in sip_svc_id_mgr_free() 133 if (!(id_pool->id_mask[row] & (1 << col))) { in sip_svc_id_mgr_free() 138 id_pool->id_mask[row] &= ~(1 << col); in sip_svc_id_mgr_free()
|
/Zephyr-Core-3.5.0/drivers/input/ |
D | input_npcx_kbd.c | 96 static int input_npcx_kbd_drive_column(const struct device *dev, int col) in input_npcx_kbd_drive_column() argument 102 if (col >= config->col_size) { in input_npcx_kbd_drive_column() 106 if (col == KEYBOARD_COLUMN_DRIVE_NONE) { in input_npcx_kbd_drive_column() 109 } else if (col == KEYBOARD_COLUMN_DRIVE_ALL) { in input_npcx_kbd_drive_column() 117 mask = ~BIT(col); in input_npcx_kbd_drive_column() 192 for (int col = 0; col < config->col_size; col++) { in read_keyboard_matrix() local 193 input_npcx_kbd_drive_column(dev, col); in read_keyboard_matrix() 199 new_state[col] = row & 0xFF; in read_keyboard_matrix()
|
D | input_ft5336.c | 75 uint16_t row, col; in ft5336_process() local 99 col = ((coords[2] & POSITION_H_MSK) << 8U) | coords[3]; in ft5336_process() 102 LOG_DBG("event: %d, row: %d, col: %d", event, row, col); in ft5336_process() 105 input_report_abs(dev, INPUT_ABS_X, col, false, K_FOREVER); in ft5336_process()
|
D | input_cst816s.c | 112 uint16_t row, col; in cst816s_process() local 128 col = sys_be16_to_cpu(x) & 0x0fff; in cst816s_process() 134 LOG_DBG("event: %d, row: %d, col: %d", event, row, col); in cst816s_process() 137 input_report_abs(dev, INPUT_ABS_X, col, false, K_FOREVER); in cst816s_process()
|
D | input_gt911.c | 108 uint16_t row, col; in gt911_process() local 148 col = ((pointRegs.highX) << 8U) | pointRegs.lowX; in gt911_process() 150 LOG_DBG("pressed: %d, row: %d, col: %d", pressed, row, col); in gt911_process() 153 input_report_abs(dev, INPUT_ABS_X, col, false, K_FOREVER); in gt911_process()
|
/Zephyr-Core-3.5.0/samples/drivers/led_lp50xx/src/ |
D | main.c | 177 uint8_t *col = &buffer[led * 3]; in run_channel_test() local 184 col = &buffer[info->index * 3]; in run_channel_test() 185 err = prepare_color_buffer(info, col, idx); in run_channel_test() 284 int col; in run_test() local 305 for (col = 1; col < info->num_colors; col++) { in run_test() 306 printk(":%d", info->color_mapping[col]); in run_test()
|
/Zephyr-Core-3.5.0/subsys/shell/ |
D | shell_ops.c | 467 (sh->ctx->vt100_ctx.col.bgcol == bgcolor)) { in vt100_bgcolor_set() 471 sh->ctx->vt100_ctx.col.bgcol = bgcolor; in vt100_bgcolor_set() 486 if (sh->ctx->vt100_ctx.col.col == color) { in z_shell_vt100_color_set() 490 sh->ctx->vt100_ctx.col.col = color; in z_shell_vt100_color_set() 506 z_shell_vt100_color_set(sh, color->col); in z_shell_vt100_colors_restore() 515 (color != sh->ctx->vt100_ctx.col.col)) { in z_shell_vfprintf() 516 struct shell_vt100_colors col; in z_shell_vfprintf() local 518 z_shell_vt100_colors_store(sh, &col); in z_shell_vfprintf() 523 z_shell_vt100_colors_restore(sh, &col); in z_shell_vfprintf()
|
D | shell_log_backend.c | 66 struct shell_vt100_colors col; in z_shell_log_backend_process() local 69 z_shell_vt100_colors_store(sh, &col); in z_shell_log_backend_process() 76 z_shell_vt100_colors_restore(sh, &col); in z_shell_log_backend_process()
|
/Zephyr-Core-3.5.0/tests/drivers/kscan/kscan_api/src/ |
D | test_kscan.c | 13 static void kb_callback(const struct device *dev, uint32_t row, uint32_t col, in kb_callback() argument 18 ARG_UNUSED(col); in kb_callback()
|
/Zephyr-Core-3.5.0/drivers/led/ |
D | ht16k33.c | 212 int col; in ht16k33_process_keyscan_data() local 237 for (col = 0; col < HT16K33_KEYSCAN_COLS; col++) { in ht16k33_process_keyscan_data() 238 if (changed & BIT(col)) { in ht16k33_process_keyscan_data() 239 data->kscan_cb(data->child, row, col, in ht16k33_process_keyscan_data() 240 state & BIT(col)); in ht16k33_process_keyscan_data()
|
D | led_shell.c | 185 unsigned long col; in cmd_set_color() local 187 col = strtoul(argv[arg_idx_value + i], &end_ptr, 0); in cmd_set_color() 193 if (col > 255) { in cmd_set_color() 196 col); in cmd_set_color() 199 color[i] = col; in cmd_set_color()
|
/Zephyr-Core-3.5.0/drivers/misc/grove_lcd_rgb/ |
D | grove_lcd_rgb.c | 95 void glcd_cursor_pos_set(const struct device *dev, uint8_t col, uint8_t row) in glcd_cursor_pos_set() argument 102 col |= 0x80; in glcd_cursor_pos_set() 104 col |= 0xC0; in glcd_cursor_pos_set() 108 data[1] = col; in glcd_cursor_pos_set()
|
/Zephyr-Core-3.5.0/samples/drivers/kscan/src/ |
D | main.c | 123 static void kb_callback(const struct device *dev, uint32_t row, uint32_t col, in kb_callback() argument 127 last_key = keymap[col][row]; in kb_callback()
|
/Zephyr-Core-3.5.0/scripts/build/ |
D | gen_cfb_font_header.py | 40 col = octet * 8 + bit 41 if pixels[col, row]: 48 for col in range(0, width): 54 if pixels[col, row]:
|
/Zephyr-Core-3.5.0/scripts/ci/ |
D | check_compliance.py | 78 def __init__(self, severity, title, file, line=None, col=None, desc=""): argument 83 self.col = col 90 (f'\nColumn:{col}' if col else '') 167 def fmtd_failure(self, severity, title, file, line=None, col=None, desc=""): argument 173 fail = FmtdFailure(severity, title, file, line, col, desc) 219 self.fmtd_failure(m[1].lower(), m[2], m[5], m[6], col=None, 261 line_number, col=None, 950 self.fmtd_failure(severity, m[3], m[0], m[1], col=m[2], 1158 p.line, col=p.column, desc=p.desc) 1197 (f',col={res.col}' if res.col else '') + \
|
/Zephyr-Core-3.5.0/include/zephyr/drivers/misc/grove_lcd/ |
D | grove_lcd.h | 42 void glcd_cursor_pos_set(const struct device *dev, uint8_t col, uint8_t row);
|