Lines Matching refs:bit
308 s8 *bank, s16 *reg, s8 *bit, s8 *width) in tegra_pinconf_reg() argument
314 *bit = g->pupd_bit; in tegra_pinconf_reg()
320 *bit = g->tri_bit; in tegra_pinconf_reg()
326 *bit = g->einput_bit; in tegra_pinconf_reg()
332 *bit = g->odrain_bit; in tegra_pinconf_reg()
338 *bit = g->lock_bit; in tegra_pinconf_reg()
344 *bit = g->ioreset_bit; in tegra_pinconf_reg()
350 *bit = g->rcv_sel_bit; in tegra_pinconf_reg()
361 *bit = g->hsm_bit; in tegra_pinconf_reg()
372 *bit = g->schmitt_bit; in tegra_pinconf_reg()
378 *bit = g->lpmd_bit; in tegra_pinconf_reg()
384 *bit = g->drvdn_bit; in tegra_pinconf_reg()
390 *bit = g->drvup_bit; in tegra_pinconf_reg()
396 *bit = g->slwf_bit; in tegra_pinconf_reg()
402 *bit = g->slwr_bit; in tegra_pinconf_reg()
413 *bit = g->drvtype_bit; in tegra_pinconf_reg()
421 if (*reg < 0 || *bit < 0) { in tegra_pinconf_reg()
466 s8 bank, bit, width; in tegra_pinconf_group_get() local
472 ret = tegra_pinconf_reg(pmx, g, param, true, &bank, ®, &bit, in tegra_pinconf_group_get()
479 arg = (val >> bit) & mask; in tegra_pinconf_group_get()
495 s8 bank, bit, width; in tegra_pinconf_group_set() local
505 ret = tegra_pinconf_reg(pmx, g, param, true, &bank, ®, &bit, in tegra_pinconf_group_set()
514 if ((val & BIT(bit)) && !arg) { in tegra_pinconf_group_set()
534 val &= ~(mask << bit); in tegra_pinconf_group_set()
535 val |= arg << bit; in tegra_pinconf_group_set()
563 s8 bank, bit, width; in tegra_pinconf_group_dbg_show() local
571 &bank, ®, &bit, &width); in tegra_pinconf_group_dbg_show()
576 val >>= bit; in tegra_pinconf_group_dbg_show()