Searched refs:pin_mux (Results 1 – 2 of 2) sorted by relevance
792 struct thunderbay_mux_desc *pin_mux; in thunderbay_add_functions() local794 for (pin_mux = pin_info->drv_data; pin_mux->name; pin_mux++) { in thunderbay_add_functions()795 if (!strcmp(pin_mux->name, func->name)) in thunderbay_add_functions()834 struct thunderbay_mux_desc *pin_mux; in thunderbay_build_functions() local836 for (pin_mux = pin_info->drv_data; pin_mux->name; pin_mux++) { in thunderbay_build_functions()841 if (!strcmp(pin_mux->name, func->name)) { in thunderbay_build_functions()848 func->name = pin_mux->name; in thunderbay_build_functions()850 func->data = (int *)&pin_mux->mode; in thunderbay_build_functions()
271 u8 pin_mux; in twl4030_init_chip() local274 twl_i2c_read_u8(TWL4030_MODULE_INTBR, &pin_mux, in twl4030_init_chip()276 pin_mux &= ~TWL4030_GPIO6_PWM0_MUTE(0x03); in twl4030_init_chip()277 pin_mux |= TWL4030_GPIO6_PWM0_MUTE(0x02); in twl4030_init_chip()278 twl_i2c_write_u8(TWL4030_MODULE_INTBR, pin_mux, in twl4030_init_chip()