/linux-6.12.1/drivers/phy/ti/ |
D | phy-twl4030-usb.c | 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) \ 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/ |
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-6.12.1/drivers/pwm/ |
D | pwm-twl.c | 95 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 …]
|
D | pwm-twl-led.c | 109 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 …]
|
D | Makefile | 67 obj-$(CONFIG_PWM_TWL) += pwm-twl.o 68 obj-$(CONFIG_PWM_TWL_LED) += pwm-twl-led.o
|
/linux-6.12.1/drivers/mfd/ |
D | twl-core.c | 424 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/ |
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 | omap4-duovero.dtsi | 166 twl: twl@48 { label 171 twl6040: twl@4b {
|
D | omap3-cm-t3x30.dtsi | 67 twl: twl@48 { label
|
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 | logicpd-som-lv.dtsi | 83 twl: twl@48 { label 287 &twl {
|
D | twl6030_omap4.dtsi | 6 &twl {
|
D | omap3-beagle-xm.dts | 104 /* XXX pinctrl from twl */ 279 twl: twl@48 { label
|
D | omap3430-sdp.dts | 22 twl: twl@48 { label
|
D | twl4030_omap3.dtsi | 6 &twl {
|
D | omap4-epson-embt2ws.dts | 56 clocks = <&twl 1>; 80 twl: pmic@48 { label 469 clocks = <&twl 1>;
|
D | omap3-sniper.dts | 149 twl: twl@48 { label
|
D | omap3-igep.dtsi | 186 twl: twl@48 { label
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | twl4030-audio.txt | 30 twl: twl@48 {
|
D | twl4030-power.txt | 38 twl: twl@48 {
|
/linux-6.12.1/tools/perf/tests/ |
D | builtin-test.c | 508 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()
|