Home
last modified time | relevance | path

Searched refs:row (Results 1 – 25 of 102) sorted by relevance

12345

/Zephyr-latest/samples/drivers/led/is31fl3733/src/
Dmain.c28 for (uint8_t row = 0; row < CONFIG_LED_ROW_COUNT; row++) { in led_channel_write() local
30 led_idx = LED_MATRIX_COORD(row, col); in led_channel_write()
42 for (uint8_t row = 0; row < CONFIG_LED_ROW_COUNT / 2; row++) { 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
65 for (row = 0; row < CONFIG_LED_ROW_COUNT; row++) { 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
88 for (row = 0; row < CONFIG_LED_ROW_COUNT; row++) { in led_on_off()
[all …]
/Zephyr-latest/samples/sensor/th02/src/
Dmain.c64 char row[16]; in main() local
67 (void)memset(row, ' ', sizeof(row)); in main()
69 glcd_print(glcd, row, sizeof(row)); in main()
71 glcd_print(glcd, row, sizeof(row)); in main()
75 sprintf(row, "T:%.1f%cC", sensor_value_to_double(val), in main()
77 glcd_print(glcd, row, strlen(row)); in main()
80 glcd_cursor_pos_set(glcd, 17 - strlen(row), 0); in main()
81 sprintf(row, "RH:%.0f%c", sensor_value_to_double(val + 1), in main()
83 glcd_print(glcd, row, strlen(row)); in main()
/Zephyr-latest/scripts/ci/coverage/
Dcoverage_analysis.py348 row = 0
350 worksheet.write(row,col,"Components",header_format)
351 worksheet.write(row,col+1,"TestSuites",header_format)
352 worksheet.write(row,col+2,"Runnable",header_format)
353 worksheet.write(row,col+3,"Build only",header_format)
354 worksheet.write(row,col+4,"Simulators only",header_format)
355 worksheet.write(row,col+5,"Hardware only",header_format)
356 worksheet.write(row,col+6,"Mixed",header_format)
357 worksheet.write(row,col+7,"Coverage [%]",header_format)
358 worksheet.write(row,col+8,"Total Functions",header_format)
[all …]
/Zephyr-latest/samples/sensor/grove_temperature/src/
Dmain.c55 char row[16]; in main() local
58 (void)memset(row, ' ', sizeof(row)); in main()
60 glcd_print(glcd, row, sizeof(row)); in main()
62 glcd_print(glcd, row, sizeof(row)); in main()
67 sprintf(row, "T:%.2f%cC", in main()
71 sprintf(row, "T:%d%cC", temp.val1, in main()
74 glcd_print(glcd, row, strlen(row)); in main()
/Zephyr-latest/tests/drivers/kscan/kscan_input/src/
Dmain.c22 uint32_t row; 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()
34 last_cb_val.row = row; in kscan_callback()
53 zassert_equal(last_cb_val.row, 102); in ZTEST()
59 zassert_equal(last_cb_val.row, 102); in ZTEST()
65 zassert_equal(last_cb_val.row, 102); in ZTEST()
/Zephyr-latest/doc/_extensions/zephyr/
Dmanifest_projects_table.py98 row = nodes.row()
99 thead.append(row)
103 row += entry
106 row += entry
110 row = nodes.row()
111 rows.append(row)
115 row += entry
125 row += entry
/Zephyr-latest/scripts/footprint/
Dtrack.py29 for row in csvreader:
30 name=row[0]
31 feature=row[1]
32 board=row[2]
33 app=row[3]
34 options=row[4]
Dcompare_footprint164 for row in tmp:
165 data.append(row)
234 for row in data:
237 if row[m]:
238 d[m] = mtype(row[m])
239 if not row["test"] in metrics[type]:
240 metrics[type][row["test"]] = {}
241 metrics[type][row["test"]][row["platform"]] = d
/Zephyr-latest/drivers/display/
Ddisplay_intel_multibootfb.c72 uint32_t row; in framebuf_write() local
77 for (row = 0; row < desc->height; ++row) { in framebuf_write()
94 uint32_t row; in framebuf_read() local
99 for (row = 0; row < desc->height; ++row) { in framebuf_read()
/Zephyr-latest/subsys/input/
Dinput_keymap.c27 uint32_t row; member
45 data->row = evt->value; in keymap_cb()
56 if (data->row >= cfg->row_size || in keymap_cb()
58 LOG_WRN("keymap event out of range: row=%u col=%u", data->row, data->col); in keymap_cb()
62 offset = (data->row * cfg->col_size) + data->col; in keymap_cb()
65 LOG_DBG("keymap event undefined: row=%u col=%u", data->row, data->col); in keymap_cb()
69 LOG_DBG("input event: %3u %3u %d", data->row, data->col, data->pressed); in keymap_cb()
Dinput_utils.c170 static uint32_t row, col; in kbd_matrix_state_log() local
186 row = evt->value; in kbd_matrix_state_log()
207 if (row > (cfg->row_size - 1)) { in kbd_matrix_state_log()
208 LOG_ERR("invalid row index: %d", row); in kbd_matrix_state_log()
212 WRITE_BIT(kbd_matrix_state[col], row, val); in kbd_matrix_state_log()
214 WRITE_BIT(kbd_matrix_key_mask[col], row, 1); in kbd_matrix_state_log()
/Zephyr-latest/subsys/fb/
Dcfb_shell.c55 static int cmd_cfb_print(const struct shell *sh, int col, int row, char *str) in cmd_cfb_print() argument
68 err = cfb_print(dev, str, col, row * ppt); in cmd_cfb_print()
88 int col, row; in cmd_print() local
96 row = strtol(argv[2], NULL, 10); in cmd_print()
97 if (row > cfb_get_display_parameter(dev, CFB_DISPLAY_ROWS)) { in cmd_print()
98 shell_error(sh, "Invalid row=%d position", row); in cmd_print()
102 err = cmd_cfb_print(sh, col, row, argv[3]); in cmd_print()
193 int col, row; in cmd_scroll_vert() local
202 row = strtol(argv[2], NULL, 10); in cmd_scroll_vert()
203 if (row > cfb_get_display_parameter(dev, CFB_DISPLAY_ROWS)) { in cmd_scroll_vert()
[all …]
/Zephyr-latest/include/zephyr/dt-bindings/input/
Dkeymap.h10 #define MATRIX_KEY(row, col, code) \ argument
11 ((((row) & 0xff) << 24) | (((col) & 0xff) << 16) | ((code) & 0xffff))
/Zephyr-latest/samples/boards/nordic/nrf_led_matrix/src/
Dmain.c135 for (uint8_t row = 0; row < BLOCK_SIZE; ++row) { in update_through_framebuffer() local
152 diff = dimmed > row in update_through_framebuffer()
153 ? dimmed - row in update_through_framebuffer()
154 : row - dimmed; in update_through_framebuffer()
159 uint8_t dist = column + row; in update_through_framebuffer()
167 framebuf[column + row * caps.x_resolution] = in update_through_framebuffer()
/Zephyr-latest/scripts/kconfig/
Dhardenconfig.py44 for row in csvreader:
45 if len(row) > 1:
46 name = row[0]
47 recommended = row[1]
/Zephyr-latest/drivers/kscan/
Dkscan_input.c21 int row; member
36 data->row = evt->value; in kscan_input_cb()
45 data->row, data->col, data->pressed); in kscan_input_cb()
47 data->callback(dev, data->row, data->col, data->pressed); in kscan_input_cb()
/Zephyr-latest/tests/drivers/input/gpio_kbd_matrix/src/
Dmain.c56 static void gpio_kbd_scan_set_row(const struct device *dev, uint8_t row) in gpio_kbd_scan_set_row() argument
59 gpio_emul_input_set(dev_gpio, INTERRUPT_R0_PIN, !(row & BIT(0))); in gpio_kbd_scan_set_row()
60 gpio_emul_input_set(dev_gpio, INTERRUPT_R1_PIN, !(row & BIT(1))); in gpio_kbd_scan_set_row()
63 gpio_emul_input_set(dev_gpio, POLL_R0_PIN, !(row & BIT(0))); in gpio_kbd_scan_set_row()
64 gpio_emul_input_set(dev_gpio, POLL_R1_PIN, !(row & BIT(1))); in gpio_kbd_scan_set_row()
67 gpio_emul_input_set(dev_gpio, SCAN_R0_PIN, !(row & BIT(0))); in gpio_kbd_scan_set_row()
68 gpio_emul_input_set(dev_gpio, SCAN_R1_PIN, !(row & BIT(1))); in gpio_kbd_scan_set_row()
179 int row; member
193 zassert_equal(_row, test_event_data.row); \
200 static int row, col, val; in test_cb() local
[all …]
/Zephyr-latest/subsys/sip_svc/
Dsip_svc_id_mgr.c84 uint32_t row; in sip_svc_id_mgr_alloc() local
98 row = id / sizeof(uint32_t); in sip_svc_id_mgr_alloc()
100 id_pool->id_mask[row] |= (1 << col); in sip_svc_id_mgr_alloc()
118 uint32_t row; in sip_svc_id_mgr_free() local
129 row = 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-latest/tests/drivers/input/gpio_kbd_matrix/boards/
Dnative_sim.overlay14 row-gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>,
25 row-gpios = <&gpio0 4 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>,
39 row-gpios = <&gpio0 9 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>,
/Zephyr-latest/tests/subsys/input/kbd_matrix_state_dump/src/
Dmain.c23 static void report_matrix_entry(int row, int col, int val) in report_matrix_entry() argument
28 input_report_abs(dev, INPUT_ABS_Y, row, false, K_FOREVER); in report_matrix_entry()
/Zephyr-latest/doc/services/input/
Dgpio-kbd.rst12 row GPIOs (inputs) and selects on the columns GPIOs (output).
28 row GPIOs at the same time.
34 row-gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>,
47 impedance mode. This means that the row state may need some time to settle to
69 A 3x3 matrix with row to column isolation diodes.
75 row-gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>,
93 A 3x3 matrix with column to row isolation diodes.
99 row-gpios = <&gpio0 0 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
114 enabling interrupts on all row GPIOs at the same time.
117 instead idle by selecting all columns and keep polling on the row GPIOs, which
[all …]
/Zephyr-latest/drivers/input/
Dinput_kbd_matrix.c101 kbd_row_t row; in input_kbd_matrix_scan() local
120 row = api->read_row(dev); in input_kbd_matrix_scan()
123 row &= cfg->actual_key_mask[col]; in input_kbd_matrix_scan()
126 cfg->matrix_new_state[col] = row; in input_kbd_matrix_scan()
127 key_event |= row; in input_kbd_matrix_scan()
403 uint8_t row, uint8_t col, bool enabled) in input_kbd_matrix_actual_key_mask_set() argument
407 if (row >= cfg->row_size || col >= cfg->col_size) { in input_kbd_matrix_actual_key_mask_set()
416 WRITE_BIT(cfg->actual_key_mask[col], row, enabled); in input_kbd_matrix_actual_key_mask_set()
/Zephyr-latest/samples/drivers/ht16k33/src/
Dmain.c18 static void keyscan_callback(const struct device *dev, uint32_t row, in keyscan_callback() argument
21 LOG_INF("Row %d, column %d %s", row, column, in keyscan_callback()
/Zephyr-latest/tests/drivers/kscan/kscan_api/src/
Dtest_kscan.c13 static void kb_callback(const struct device *dev, uint32_t row, uint32_t col, in kb_callback() argument
17 ARG_UNUSED(row); in kb_callback()
/Zephyr-latest/samples/subsys/display/cfb_shell/
DREADME.rst38 print :<col: pos> <row: pos> <text>
39 scroll :<dir: (vertical|horizontal)> <col: pos> <row: pos>
63 (pixel per tile) are in pixels and the number of rows and columns. The row
108 **print**: pass the initial column and row positions and the text in
120 column and row positions, and the text to be displayed in double quotation
123 until it hits the display boundary, last column for horizontal and last row

12345