Lines Matching refs:groups
35 struct msm_pingroup *groups; in qdf2xxx_pinctrl_probe() local
80 groups = devm_kcalloc(&pdev->dev, num_gpios, in qdf2xxx_pinctrl_probe()
84 if (!pinctrl || !pins || !groups || !names) in qdf2xxx_pinctrl_probe()
93 groups[i].grp.pins = &pins[i].number; in qdf2xxx_pinctrl_probe()
100 groups[gpio].grp.npins = 1; in qdf2xxx_pinctrl_probe()
103 groups[gpio].grp.name = names[i]; in qdf2xxx_pinctrl_probe()
105 groups[gpio].ctl_reg = 0x10000 * gpio; in qdf2xxx_pinctrl_probe()
106 groups[gpio].io_reg = 0x04 + 0x10000 * gpio; in qdf2xxx_pinctrl_probe()
107 groups[gpio].intr_cfg_reg = 0x08 + 0x10000 * gpio; in qdf2xxx_pinctrl_probe()
108 groups[gpio].intr_status_reg = 0x0c + 0x10000 * gpio; in qdf2xxx_pinctrl_probe()
109 groups[gpio].intr_target_reg = 0x08 + 0x10000 * gpio; in qdf2xxx_pinctrl_probe()
111 groups[gpio].mux_bit = 2; in qdf2xxx_pinctrl_probe()
112 groups[gpio].pull_bit = 0; in qdf2xxx_pinctrl_probe()
113 groups[gpio].drv_bit = 6; in qdf2xxx_pinctrl_probe()
114 groups[gpio].oe_bit = 9; in qdf2xxx_pinctrl_probe()
115 groups[gpio].in_bit = 0; in qdf2xxx_pinctrl_probe()
116 groups[gpio].out_bit = 1; in qdf2xxx_pinctrl_probe()
117 groups[gpio].intr_enable_bit = 0; in qdf2xxx_pinctrl_probe()
118 groups[gpio].intr_status_bit = 0; in qdf2xxx_pinctrl_probe()
119 groups[gpio].intr_target_bit = 5; in qdf2xxx_pinctrl_probe()
120 groups[gpio].intr_target_kpss_val = 1; in qdf2xxx_pinctrl_probe()
121 groups[gpio].intr_raw_status_bit = 4; in qdf2xxx_pinctrl_probe()
122 groups[gpio].intr_polarity_bit = 1; in qdf2xxx_pinctrl_probe()
123 groups[gpio].intr_detection_bit = 2; in qdf2xxx_pinctrl_probe()
124 groups[gpio].intr_detection_width = 2; in qdf2xxx_pinctrl_probe()
128 pinctrl->groups = groups; in qdf2xxx_pinctrl_probe()