Home
last modified time | relevance | path

Searched refs:twl (Results 1 - 25 of 53) sorted by relevance

123

/kernel/linux/linux-6.6/drivers/phy/ti/
H A Dphy-twl4030-usb.c27 #include <linux/mfd/twl.h>
177 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) \
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 in twl4030_readb()
232 twl4030_usb_read(struct twl4030_usb *twl, u8 address) twl4030_usb_read() argument
240 twl4030_usb_set_bits(struct twl4030_usb *twl, u8 reg, u8 bits) twl4030_usb_set_bits() argument
246 twl4030_usb_clear_bits(struct twl4030_usb *twl, u8 reg, u8 bits) twl4030_usb_clear_bits() argument
253 twl4030_is_driving_vbus(struct twl4030_usb *twl) twl4030_is_driving_vbus() argument
273 twl4030_usb_linkstat(struct twl4030_usb *twl) twl4030_usb_linkstat() argument
325 twl4030_usb_set_mode(struct twl4030_usb *twl, int mode) twl4030_usb_set_mode() argument
348 twl4030_i2c_access(struct twl4030_usb *twl, int on) twl4030_i2c_access() argument
378 __twl4030_phy_power(struct twl4030_usb *twl, int on) __twl4030_phy_power() argument
395 struct twl4030_usb *twl = dev_get_drvdata(dev); twl4030_usb_suspend() local
414 struct twl4030_usb *twl = dev_get_drvdata(dev); twl4030_usb_resume() local
430 struct twl4030_usb *twl = dev_get_drvdata(dev); twl4030_usb_runtime_suspend() local
446 struct twl4030_usb *twl = dev_get_drvdata(dev); twl4030_usb_runtime_resume() local
494 struct twl4030_usb *twl = phy_get_drvdata(phy); twl4030_phy_power_off() local
503 struct twl4030_usb *twl = phy_get_drvdata(phy); twl4030_phy_power_on() local
514 twl4030_usb_ldo_init(struct twl4030_usb *twl) twl4030_usb_ldo_init() argument
566 struct twl4030_usb *twl = dev_get_drvdata(dev); vbus_show() local
580 struct twl4030_usb *twl = _twl; twl4030_usb_irq() local
626 struct twl4030_usb *twl = container_of(work, struct twl4030_usb, twl4030_id_workaround_work() local
634 struct twl4030_usb *twl = phy_get_drvdata(phy); twl4030_phy_init() local
686 struct twl4030_usb *twl; twl4030_usb_probe() local
793 struct twl4030_usb *twl = platform_get_drvdata(pdev); twl4030_usb_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/phy/ti/
H A Dphy-twl4030-usb.c26 #include <linux/mfd/twl.h>
174 static int twl4030_i2c_write_u8_verify(struct twl4030_usb *twl, in twl4030_i2c_write_u8_verify() argument
183 dev_dbg(twl->dev, "Write%d[%d,0x%x] wrote %02x but read %02x\n", in twl4030_i2c_write_u8_verify()
191 dev_dbg(twl->dev, "Write%d[%d,0x%x] wrote %02x but read %02x\n", in twl4030_i2c_write_u8_verify()
198 #define twl4030_usb_write_verify(twl, address, data) \
199 twl4030_i2c_write_u8_verify(twl, TWL_MODULE_USB, (data), (address))
201 static inline int twl4030_usb_write(struct twl4030_usb *twl, in twl4030_usb_write() argument
208 dev_dbg(twl->dev, in twl4030_usb_write()
213 static inline int twl4030_readb(struct twl4030_usb *twl, u8 module, u8 address) in twl4030_readb() argument
222 dev_dbg(twl in twl4030_readb()
229 twl4030_usb_read(struct twl4030_usb *twl, u8 address) twl4030_usb_read() argument
237 twl4030_usb_set_bits(struct twl4030_usb *twl, u8 reg, u8 bits) twl4030_usb_set_bits() argument
243 twl4030_usb_clear_bits(struct twl4030_usb *twl, u8 reg, u8 bits) twl4030_usb_clear_bits() argument
250 twl4030_is_driving_vbus(struct twl4030_usb *twl) twl4030_is_driving_vbus() argument
270 twl4030_usb_linkstat(struct twl4030_usb *twl) twl4030_usb_linkstat() argument
322 twl4030_usb_set_mode(struct twl4030_usb *twl, int mode) twl4030_usb_set_mode() argument
345 twl4030_i2c_access(struct twl4030_usb *twl, int on) twl4030_i2c_access() argument
375 __twl4030_phy_power(struct twl4030_usb *twl, int on) __twl4030_phy_power() argument
389 struct twl4030_usb *twl = dev_get_drvdata(dev); twl4030_usb_suspend() local
404 struct twl4030_usb *twl = dev_get_drvdata(dev); twl4030_usb_resume() local
416 struct twl4030_usb *twl = dev_get_drvdata(dev); twl4030_usb_runtime_suspend() local
430 struct twl4030_usb *twl = dev_get_drvdata(dev); twl4030_usb_runtime_resume() local
478 struct twl4030_usb *twl = phy_get_drvdata(phy); twl4030_phy_power_off() local
487 struct twl4030_usb *twl = phy_get_drvdata(phy); twl4030_phy_power_on() local
498 twl4030_usb_ldo_init(struct twl4030_usb *twl) twl4030_usb_ldo_init() argument
550 struct twl4030_usb *twl = dev_get_drvdata(dev); twl4030_usb_vbus_show() local
564 struct twl4030_usb *twl = _twl; twl4030_usb_irq() local
610 struct twl4030_usb *twl = container_of(work, struct twl4030_usb, twl4030_id_workaround_work() local
618 struct twl4030_usb *twl = phy_get_drvdata(phy); twl4030_phy_init() local
670 struct twl4030_usb *twl; twl4030_usb_probe() local
777 struct twl4030_usb *twl = platform_get_drvdata(pdev); twl4030_usb_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/phy/
H A Dphy-twl6030-usb.c18 #include <linux/mfd/twl.h>
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
174 struct twl6030_usb *twl = dev_get_drvdata(dev); vbus_show() local
207 struct twl6030_usb *twl = _twl; twl6030_usb_irq() local
249 struct twl6030_usb *twl = _twl; twl6030_usbotg_irq() local
280 struct twl6030_usb *twl = container_of(work, struct twl6030_usb, twl6030_status_work() local
287 twl6030_enable_irq(struct twl6030_usb *twl) twl6030_enable_irq() argument
303 struct twl6030_usb *twl = container_of(data, struct twl6030_usb, otg_set_vbus_work() local
321 struct twl6030_usb *twl = comparator_to_twl(comparator); twl6030_set_vbus() local
332 struct twl6030_usb *twl; twl6030_usb_probe() local
414 struct twl6030_usb *twl = platform_get_drvdata(pdev); twl6030_usb_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/phy/
H A Dphy-twl6030-usb.c18 #include <linux/mfd/twl.h>
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
174 struct twl6030_usb *twl = dev_get_drvdata(dev); vbus_show() local
207 struct twl6030_usb *twl = _twl; twl6030_usb_irq() local
249 struct twl6030_usb *twl = _twl; twl6030_usbotg_irq() local
280 struct twl6030_usb *twl = container_of(work, struct twl6030_usb, twl6030_status_work() local
287 twl6030_enable_irq(struct twl6030_usb *twl) twl6030_enable_irq() argument
303 struct twl6030_usb *twl = container_of(data, struct twl6030_usb, otg_set_vbus_work() local
321 struct twl6030_usb *twl = comparator_to_twl(comparator); twl6030_set_vbus() local
332 struct twl6030_usb *twl; twl6030_usb_probe() local
414 struct twl6030_usb *twl = platform_get_drvdata(pdev); twl6030_usb_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/pwm/
H A Dpwm-twl.c13 #include <linux/mfd/twl.h>
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 in twl4030_pwm_request()
193 struct twl_pwm_chip *twl = to_twl(chip); twl4030_pwm_free() local
223 struct twl_pwm_chip *twl = to_twl(chip); twl6030_pwm_enable() local
246 struct twl_pwm_chip *twl = to_twl(chip); twl6030_pwm_disable() local
300 struct twl_pwm_chip *twl; twl_pwm_probe() local
329 struct twl_pwm_chip *twl = platform_get_drvdata(pdev); twl_pwm_remove() local
[all...]
H A Dpwm-twl-led.c16 #include <linux/mfd/twl.h>
94 struct twl_pwmled_chip *twl = to_twl(chip); in twl4030_pwmled_enable() local
98 mutex_lock(&twl->mutex); in twl4030_pwmled_enable()
112 mutex_unlock(&twl->mutex); in twl4030_pwmled_enable()
119 struct twl_pwmled_chip *twl = to_twl(chip); in twl4030_pwmled_disable() local
123 mutex_lock(&twl->mutex); in twl4030_pwmled_disable()
137 mutex_unlock(&twl->mutex); in twl4030_pwmled_disable()
159 struct twl_pwmled_chip *twl = to_twl(chip); in twl6030_pwmled_enable() local
163 mutex_lock(&twl->mutex); in twl6030_pwmled_enable()
179 mutex_unlock(&twl in twl6030_pwmled_enable()
186 struct twl_pwmled_chip *twl = to_twl(chip); twl6030_pwmled_disable() local
211 struct twl_pwmled_chip *twl = to_twl(chip); twl6030_pwmled_request() local
237 struct twl_pwmled_chip *twl = to_twl(chip); twl6030_pwmled_free() local
278 struct twl_pwmled_chip *twl; twl_pwmled_probe() local
309 struct twl_pwmled_chip *twl = platform_get_drvdata(pdev); twl_pwmled_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/pwm/
H A Dpwm-twl.c13 #include <linux/mfd/twl.h>
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 in twl4030_pwm_request()
193 struct twl_pwm_chip *twl = to_twl(chip); twl4030_pwm_free() local
223 struct twl_pwm_chip *twl = to_twl(chip); twl6030_pwm_enable() local
246 struct twl_pwm_chip *twl = to_twl(chip); twl6030_pwm_disable() local
346 struct twl_pwm_chip *twl; twl_pwm_probe() local
[all...]
H A Dpwm-twl-led.c32 #include <linux/mfd/twl.h>
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 in twl6030_pwmled_enable()
241 struct twl_pwmled_chip *twl = to_twl(chip); twl6030_pwmled_disable() local
292 struct twl_pwmled_chip *twl = to_twl(chip); twl6030_pwmled_request() local
318 struct twl_pwmled_chip *twl = to_twl(chip); twl6030_pwmled_free() local
350 struct twl_pwmled_chip *twl; twl_pwmled_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/mfd/
H A Dtwl-core.c34 #include <linux/mfd/twl.h>
39 #include "twl-core.h"
54 #define DRIVER_NAME "twl"
163 * <linux/mfd/twl.h> defines for TWL4030_MODULE_*
334 * <linux/mfd/twl.h> defines for TWL4030_MODULE_*
417 struct twl_client *twl; in twl_get_regmap() local
429 twl = &twl_priv->twl_modules[sid]; in twl_get_regmap()
431 return twl->regmap; in twl_get_regmap()
634 printk(KERN_WARNING "Skipping twl internal clock init and " in clocks_init()
679 struct twl_client *twl in twl_remove() local
762 struct twl_client *twl = &twl_priv->twl_modules[i]; twl_probe() local
[all...]
H A Dtwl4030-audio.c19 #include <linux/mfd/twl.h>
/kernel/linux/linux-5.10/drivers/mfd/
H A Dtwl-core.c34 #include <linux/mfd/twl.h>
39 #include "twl-core.h"
54 #define DRIVER_NAME "twl"
163 * <linux/mfd/twl.h> defines for TWL4030_MODULE_*
334 * <linux/mfd/twl.h> defines for TWL4030_MODULE_*
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 in add_numbered_child()
1051 struct twl_client *twl = &twl_priv->twl_modules[i]; twl_remove() local
1139 struct twl_client *twl = &twl_priv->twl_modules[i]; twl_probe() local
[all...]
H A Dtwl4030-audio.c19 #include <linux/mfd/twl.h>
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dbuiltin-test.c503 struct test_workload *twl; in run_workload() local
506 twl = workloads[i]; in run_workload()
507 if (!strcmp(twl->name, work)) in run_workload()
508 return twl->func(argc, argv); in run_workload()
/kernel/linux/linux-5.10/drivers/input/misc/
H A Dtwl4030-pwrbutton.c30 #include <linux/mfd/twl.h>
H A Dtwl4030-vibra.c17 #include <linux/mfd/twl.h>
/kernel/linux/linux-6.6/drivers/input/misc/
H A Dtwl4030-pwrbutton.c31 #include <linux/mfd/twl.h>
H A Dtwl4030-vibra.c17 #include <linux/mfd/twl.h>
/kernel/linux/linux-5.10/drivers/video/backlight/
H A Dpandora_bl.c16 #include <linux/mfd/twl.h>
/kernel/linux/linux-5.10/drivers/watchdog/
H A Dtwl4030_wdt.c14 #include <linux/mfd/twl.h>
/kernel/linux/linux-6.6/drivers/watchdog/
H A Dtwl4030_wdt.c15 #include <linux/mfd/twl.h>
/kernel/linux/linux-6.6/drivers/video/backlight/
H A Dpandora_bl.c16 #include <linux/mfd/twl.h>
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
H A Dcommon.h32 #include <linux/mfd/twl.h>
H A Domap_twl.c16 #include <linux/mfd/twl.h>
/kernel/linux/linux-6.6/arch/arm/mach-omap2/
H A Domap_twl.c16 #include <linux/mfd/twl.h>
H A Dcommon.h32 #include <linux/mfd/twl.h>

Completed in 13 milliseconds

123