Lines Matching refs:num_rows
439 unsigned int *num_rows) in tegra_kbc_check_pin_cfg() argument
443 *num_rows = 0; in tegra_kbc_check_pin_cfg()
456 (*num_rows)++; in tegra_kbc_check_pin_cfg()
487 int num_rows; in tegra_kbc_parse_dt() local
513 num_rows = of_property_read_variable_u32_array(np, "nvidia,kbc-row-pins", in tegra_kbc_parse_dt()
515 if (num_rows < 0) { in tegra_kbc_parse_dt()
517 return num_rows; in tegra_kbc_parse_dt()
518 } else if (num_rows > kbc->hw_support->max_rows) { in tegra_kbc_parse_dt()
524 for (i = 0; i < num_rows; i++) { in tegra_kbc_parse_dt()
545 if (!num_rows || !num_cols || ((num_rows + num_cols) > KBC_MAX_GPIO)) { in tegra_kbc_parse_dt()
576 int num_rows = 0; in tegra_kbc_probe() local
600 if (!tegra_kbc_check_pin_cfg(kbc, &num_rows)) in tegra_kbc_probe()
638 scan_time_rows = (KBC_ROW_SCAN_TIME + debounce_cnt) * num_rows; in tegra_kbc_probe()