Home
last modified time | relevance | path

Searched refs:twl (Results 1 – 25 of 51) sorted by relevance

123

/linux-6.12.1/drivers/phy/ti/
Dphy-twl4030-usb.c177 static int twl4030_i2c_write_u8_verify(struct twl4030_usb *twl, in twl4030_i2c_write_u8_verify() argument
186 dev_dbg(twl->dev, "Write%d[%d,0x%x] wrote %02x but read %02x\n", in twl4030_i2c_write_u8_verify()
194 dev_dbg(twl->dev, "Write%d[%d,0x%x] wrote %02x but read %02x\n", in twl4030_i2c_write_u8_verify()
201 #define twl4030_usb_write_verify(twl, address, data) \ argument
202 twl4030_i2c_write_u8_verify(twl, TWL_MODULE_USB, (data), (address))
204 static inline int twl4030_usb_write(struct twl4030_usb *twl, in twl4030_usb_write() argument
211 dev_dbg(twl->dev, in twl4030_usb_write()
216 static inline int twl4030_readb(struct twl4030_usb *twl, u8 module, u8 address) in twl4030_readb() argument
225 dev_dbg(twl->dev, in twl4030_readb()
232 static inline int twl4030_usb_read(struct twl4030_usb *twl, u8 address) in twl4030_usb_read() argument
[all …]
/linux-6.12.1/drivers/usb/phy/
Dphy-twl6030-usb.c104 static inline int twl6030_writeb(struct twl6030_usb *twl, u8 module, in twl6030_writeb() argument
111 dev_err(twl->dev, in twl6030_writeb()
116 static inline u8 twl6030_readb(struct twl6030_usb *twl, u8 module, u8 address) in twl6030_readb() argument
125 dev_err(twl->dev, in twl6030_readb()
133 struct twl6030_usb *twl = comparator_to_twl(comparator); in twl6030_start_srp() local
135 twl6030_writeb(twl, TWL_MODULE_USB, 0x24, USB_VBUS_CTRL_SET); in twl6030_start_srp()
136 twl6030_writeb(twl, TWL_MODULE_USB, 0x84, USB_VBUS_CTRL_SET); in twl6030_start_srp()
139 twl6030_writeb(twl, TWL_MODULE_USB, 0xa0, USB_VBUS_CTRL_CLR); in twl6030_start_srp()
144 static int twl6030_usb_ldo_init(struct twl6030_usb *twl) in twl6030_usb_ldo_init() argument
147 twl6030_writeb(twl, TWL6030_MODULE_ID0, 0x1, TWL6030_BACKUP_REG); in twl6030_usb_ldo_init()
[all …]
/linux-6.12.1/drivers/pwm/
Dpwm-twl.c95 struct twl_pwm_chip *twl = to_twl(chip); in twl4030_pwm_enable() local
99 mutex_lock(&twl->mutex); in twl4030_pwm_enable()
119 mutex_unlock(&twl->mutex); in twl4030_pwm_enable()
125 struct twl_pwm_chip *twl = to_twl(chip); in twl4030_pwm_disable() local
129 mutex_lock(&twl->mutex); in twl4030_pwm_disable()
149 mutex_unlock(&twl->mutex); in twl4030_pwm_disable()
154 struct twl_pwm_chip *twl = to_twl(chip); in twl4030_pwm_request() local
166 mutex_lock(&twl->mutex); in twl4030_pwm_request()
174 twl->twl4030_pwm_mux &= ~mask; in twl4030_pwm_request()
175 twl->twl4030_pwm_mux |= (val & mask); in twl4030_pwm_request()
[all …]
Dpwm-twl-led.c109 struct twl_pwmled_chip *twl = to_twl(chip); in twl4030_pwmled_enable() local
113 mutex_lock(&twl->mutex); in twl4030_pwmled_enable()
127 mutex_unlock(&twl->mutex); in twl4030_pwmled_enable()
134 struct twl_pwmled_chip *twl = to_twl(chip); in twl4030_pwmled_disable() local
138 mutex_lock(&twl->mutex); in twl4030_pwmled_disable()
152 mutex_unlock(&twl->mutex); in twl4030_pwmled_disable()
212 struct twl_pwmled_chip *twl = to_twl(chip); in twl6030_pwmled_enable() local
216 mutex_lock(&twl->mutex); in twl6030_pwmled_enable()
232 mutex_unlock(&twl->mutex); in twl6030_pwmled_enable()
239 struct twl_pwmled_chip *twl = to_twl(chip); in twl6030_pwmled_disable() local
[all …]
DMakefile67 obj-$(CONFIG_PWM_TWL) += pwm-twl.o
68 obj-$(CONFIG_PWM_TWL_LED) += pwm-twl-led.o
/linux-6.12.1/drivers/mfd/
Dtwl-core.c424 struct twl_client *twl; in twl_get_regmap() local
436 twl = &twl_priv->twl_modules[sid]; in twl_get_regmap()
438 return twl->regmap; in twl_get_regmap()
686 struct twl_client *twl = &twl_priv->twl_modules[i]; in twl_remove() local
688 if (twl->client && twl->client != client) in twl_remove()
689 i2c_unregister_device(twl->client); in twl_remove()
690 twl->client = NULL; in twl_remove()
787 struct twl_client *twl = &twl_priv->twl_modules[i]; in twl_probe() local
790 twl->client = client; in twl_probe()
792 twl->client = i2c_new_dummy_device(client->adapter, in twl_probe()
[all …]
/linux-6.12.1/arch/arm/boot/dts/ti/omap/
Domap2430-sdp.dts22 twl: twl@48 { label
Domap3-evm-common.dtsi59 twl: twl@48 { label
74 &twl {
Dlogicpd-torpedo-som.dtsi81 twl: twl@48 { label
190 &twl {
Domap3-zoom3.dts51 /* REVISIT: twl gpio0 is mmc0_cd */
143 twl: twl@48 { label
Domap4-duovero.dtsi166 twl: twl@48 { label
171 twl6040: twl@4b {
Domap3-cm-t3x30.dtsi67 twl: twl@48 { label
Domap4-kc1.dts111 twl: twl@48 { label
Domap4-var-som-om44.dtsi173 twl: twl@48 { label
179 twl6040: twl@4b {
Dlogicpd-som-lv.dtsi83 twl: twl@48 { label
287 &twl {
Dtwl6030_omap4.dtsi6 &twl {
Domap3-beagle-xm.dts104 /* XXX pinctrl from twl */
279 twl: twl@48 { label
Domap3430-sdp.dts22 twl: twl@48 { label
Dtwl4030_omap3.dtsi6 &twl {
Domap4-epson-embt2ws.dts56 clocks = <&twl 1>;
80 twl: pmic@48 { label
469 clocks = <&twl 1>;
Domap3-sniper.dts149 twl: twl@48 { label
Domap3-igep.dtsi186 twl: twl@48 { label
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Dtwl4030-audio.txt30 twl: twl@48 {
Dtwl4030-power.txt38 twl: twl@48 {
/linux-6.12.1/tools/perf/tests/
Dbuiltin-test.c508 struct test_workload *twl; in run_workload() local
511 twl = workloads[i]; in run_workload()
512 if (!strcmp(twl->name, work)) in run_workload()
513 return twl->func(argc, argv); in run_workload()

123