Lines Matching refs:num_rows
446 unsigned int *num_rows) in tegra_kbc_check_pin_cfg() argument
450 *num_rows = 0; in tegra_kbc_check_pin_cfg()
463 (*num_rows)++; in tegra_kbc_check_pin_cfg()
494 u32 num_rows = 0; in tegra_kbc_parse_dt() local
518 num_rows = proplen / sizeof(u32); in tegra_kbc_parse_dt()
526 if (num_rows > kbc->hw_support->max_rows) { in tegra_kbc_parse_dt()
543 if (!num_rows || !num_cols || ((num_rows + num_cols) > KBC_MAX_GPIO)) { in tegra_kbc_parse_dt()
554 rows_cfg, num_rows); in tegra_kbc_parse_dt()
567 for (i = 0; i < num_rows; i++) { in tegra_kbc_parse_dt()
603 int num_rows = 0; in tegra_kbc_probe() local
630 if (!tegra_kbc_check_pin_cfg(kbc, &num_rows)) in tegra_kbc_probe()
669 scan_time_rows = (KBC_ROW_SCAN_TIME + debounce_cnt) * num_rows; in tegra_kbc_probe()