Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/phy/ti/
Dphy-twl4030-usb.c176 static int twl4030_i2c_write_u8_verify(struct twl4030_usb *twl, in twl4030_i2c_write_u8_verify() argument
185 dev_dbg(twl->dev, "Write%d[%d,0x%x] wrote %02x but read %02x\n", in twl4030_i2c_write_u8_verify()
193 dev_dbg(twl->dev, "Write%d[%d,0x%x] wrote %02x but read %02x\n", in twl4030_i2c_write_u8_verify()
200 #define twl4030_usb_write_verify(twl, address, data) \ argument
201 twl4030_i2c_write_u8_verify(twl, TWL_MODULE_USB, (data), (address))
203 static inline int twl4030_usb_write(struct twl4030_usb *twl, in twl4030_usb_write() argument
210 dev_dbg(twl->dev, in twl4030_usb_write()
215 static inline int twl4030_readb(struct twl4030_usb *twl, u8 module, u8 address) in twl4030_readb() argument
224 dev_dbg(twl->dev, in twl4030_readb()
231 static inline int twl4030_usb_read(struct twl4030_usb *twl, u8 address) in twl4030_usb_read() argument
[all …]
/Linux-v6.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-v6.1/drivers/pwm/
Dpwm-twl.c96 struct twl_pwm_chip *twl = to_twl(chip); in twl4030_pwm_enable() local
100 mutex_lock(&twl->mutex); in twl4030_pwm_enable()
120 mutex_unlock(&twl->mutex); in twl4030_pwm_enable()
126 struct twl_pwm_chip *twl = to_twl(chip); in twl4030_pwm_disable() local
130 mutex_lock(&twl->mutex); in twl4030_pwm_disable()
150 mutex_unlock(&twl->mutex); in twl4030_pwm_disable()
155 struct twl_pwm_chip *twl = to_twl(chip); in twl4030_pwm_request() local
167 mutex_lock(&twl->mutex); in twl4030_pwm_request()
175 twl->twl4030_pwm_mux &= ~mask; in twl4030_pwm_request()
176 twl->twl4030_pwm_mux |= (val & mask); in twl4030_pwm_request()
[all …]
Dpwm-twl-led.c110 struct twl_pwmled_chip *twl = to_twl(chip); in twl4030_pwmled_enable() local
114 mutex_lock(&twl->mutex); in twl4030_pwmled_enable()
128 mutex_unlock(&twl->mutex); in twl4030_pwmled_enable()
135 struct twl_pwmled_chip *twl = to_twl(chip); in twl4030_pwmled_disable() local
139 mutex_lock(&twl->mutex); in twl4030_pwmled_disable()
153 mutex_unlock(&twl->mutex); in twl4030_pwmled_disable()
214 struct twl_pwmled_chip *twl = to_twl(chip); in twl6030_pwmled_enable() local
218 mutex_lock(&twl->mutex); in twl6030_pwmled_enable()
234 mutex_unlock(&twl->mutex); in twl6030_pwmled_enable()
241 struct twl_pwmled_chip *twl = to_twl(chip); in twl6030_pwmled_disable() local
[all …]
DMakefile61 obj-$(CONFIG_PWM_TWL) += pwm-twl.o
62 obj-$(CONFIG_PWM_TWL_LED) += pwm-twl-led.o
/Linux-v6.1/drivers/mfd/
Dtwl-core.c414 struct twl_client *twl; in twl_get_regmap() local
426 twl = &twl_priv->twl_modules[sid]; in twl_get_regmap()
428 return twl->regmap; in twl_get_regmap()
600 struct twl_client *twl; in add_numbered_child() local
608 twl = &twl_priv->twl_modules[sid]; in add_numbered_child()
614 pdev->dev.parent = &twl->client->dev; in add_numbered_child()
647 dev_err(&twl->client->dev, "failed to add device %s\n", name); in add_numbered_child()
741 struct twl_client *twl = &twl_priv->twl_modules[i]; in twl_remove() local
743 if (twl->client && twl->client != client) in twl_remove()
744 i2c_unregister_device(twl->client); in twl_remove()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/mfd/
Dtwl-family.txt16 - interrupt-controller : Since the twl support several interrupts internally,
21 - Child nodes contain in the twl. The twl family is made of several variants
31 twl@48 {
Dtwl4030-audio.txt30 twl: twl@48 {
Dtwl4030-power.txt38 twl: twl@48 {
/Linux-v6.1/Documentation/devicetree/bindings/input/
Dtwl4030-pwrbutton.txt4 chip see Documentation/devicetree/bindings/mfd/twl-family.txt.
16 &twl {
/Linux-v6.1/arch/arm/boot/dts/
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
Domap3-cm-t3x30.dtsi67 twl: twl@48 { label
Domap4-duovero.dtsi166 twl: twl@48 { label
171 twl6040: twl@4b {
Domap4-kc1.dts111 twl: twl@48 { label
Domap4-var-som-om44.dtsi173 twl: twl@48 { label
179 twl6040: twl@4b {
Dtwl6030_omap4.dtsi6 &twl {
Dlogicpd-som-lv.dtsi83 twl: twl@48 { label
287 &twl {
Domap3-beagle-xm.dts104 /* XXX pinctrl from twl */
279 twl: twl@48 { label
Dtwl4030_omap3.dtsi6 &twl {
Domap3430-sdp.dts22 twl: twl@48 { label
Domap3-sniper.dts149 twl: twl@48 { label
/Linux-v6.1/Documentation/devicetree/bindings/sound/
Domap-twl4030.txt10 - ti,mcbsp-voice: phandle for the McBSP node connected to the voice port of twl

12