/Linux-v6.1/drivers/phy/ti/ |
D | phy-twl4030-usb.c | 176 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/ |
D | phy-twl6030-usb.c | 104 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/ |
D | pwm-twl.c | 96 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 …]
|
D | pwm-twl-led.c | 110 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 …]
|
D | Makefile | 61 obj-$(CONFIG_PWM_TWL) += pwm-twl.o 62 obj-$(CONFIG_PWM_TWL_LED) += pwm-twl-led.o
|
/Linux-v6.1/drivers/mfd/ |
D | twl-core.c | 414 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/ |
D | twl-family.txt | 16 - 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 {
|
D | twl4030-audio.txt | 30 twl: twl@48 {
|
D | twl4030-power.txt | 38 twl: twl@48 {
|
/Linux-v6.1/Documentation/devicetree/bindings/input/ |
D | twl4030-pwrbutton.txt | 4 chip see Documentation/devicetree/bindings/mfd/twl-family.txt. 16 &twl {
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | omap2430-sdp.dts | 22 twl: twl@48 { label
|
D | omap3-evm-common.dtsi | 59 twl: twl@48 { label 74 &twl {
|
D | logicpd-torpedo-som.dtsi | 81 twl: twl@48 { label 190 &twl {
|
D | omap3-zoom3.dts | 51 /* REVISIT: twl gpio0 is mmc0_cd */ 143 twl: twl@48 { label
|
D | omap3-cm-t3x30.dtsi | 67 twl: twl@48 { label
|
D | omap4-duovero.dtsi | 166 twl: twl@48 { label 171 twl6040: twl@4b {
|
D | omap4-kc1.dts | 111 twl: twl@48 { label
|
D | omap4-var-som-om44.dtsi | 173 twl: twl@48 { label 179 twl6040: twl@4b {
|
D | twl6030_omap4.dtsi | 6 &twl {
|
D | logicpd-som-lv.dtsi | 83 twl: twl@48 { label 287 &twl {
|
D | omap3-beagle-xm.dts | 104 /* XXX pinctrl from twl */ 279 twl: twl@48 { label
|
D | twl4030_omap3.dtsi | 6 &twl {
|
D | omap3430-sdp.dts | 22 twl: twl@48 { label
|
D | omap3-sniper.dts | 149 twl: twl@48 { label
|
/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
D | omap-twl4030.txt | 10 - ti,mcbsp-voice: phandle for the McBSP node connected to the voice port of twl
|