Home
last modified time | relevance | path

Searched refs:regbit (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/pinctrl/
Dpinctrl-aw9523.c234 int regbit = pin % AW9523_PINS_PER_PORT; in aw9523_pconf_get() local
253 val &= BIT(regbit); in aw9523_pconf_get()
257 val &= BIT(regbit); in aw9523_pconf_get()
288 int regbit = pin % AW9523_PINS_PER_PORT; in aw9523_pconf_set() local
308 BIT(regbit), 0); in aw9523_pconf_set()
321 mask = BIT(regbit); in aw9523_pconf_set()
322 val = arg ? BIT(regbit) : 0; in aw9523_pconf_set()
391 static int aw9523_get_port_state(struct regmap *regmap, u8 pin, u8 regbit, in aw9523_get_port_state() argument
397 dir = aw9523_get_pin_direction(regmap, pin, regbit); in aw9523_get_port_state()
525 u8 regbit = offset % AW9523_PINS_PER_PORT; in aw9523_gpio_get_direction() local
[all …]
/linux-6.12.1/drivers/clk/renesas/
Dr9a06g032-clocks.c50 struct regbit { struct
55 #define RB(_reg, _bit) ((struct regbit) { \ argument
82 struct regbit gate, reset, ready, midle;
147 struct regbit sel, g1, r1, g2, r2;
700 struct regbit rb, unsigned int on) in clk_rdesc_set()
713 static int clk_rdesc_get(struct r9a06g032_priv *clocks, struct regbit rb) in clk_rdesc_get()
1103 struct regbit selector; /* selector register + bit */
1173 struct regbit selector; /* selector register + bit */
1226 struct regbit sel) in r9a06g032_register_dualgate()
1303 struct regbit uart_group_sel[2]; in r9a06g032_clocks_probe()
/linux-6.12.1/arch/powerpc/kernel/
Dprocess.c1468 struct regbit { struct
1473 static struct regbit msr_bits[] = { argument
1503 static void print_bits(unsigned long val, struct regbit *bits, const char *sep) in print_bits()
1515 static struct regbit msr_tm_bits[] = {
/linux-6.12.1/Documentation/driver-api/
Dpin-control.rst660 u8 regbit = BIT(group);
662 writeb((readb(MUX) | regbit), MUX);