Searched refs:pca (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/drivers/pwm/ |
D | pwm-pca9685.c | 94 static bool pca9685_prescaler_can_change(struct pca9685 *pca, int channel) in pca9685_prescaler_can_change() argument 97 if (bitmap_empty(pca->pwms_enabled, PCA9685_MAXCHAN + 1)) in pca9685_prescaler_can_change() 100 if (bitmap_weight(pca->pwms_enabled, PCA9685_MAXCHAN + 1) > 1) in pca9685_prescaler_can_change() 106 return test_bit(channel, pca->pwms_enabled); in pca9685_prescaler_can_change() 111 struct pca9685 *pca = to_pca(chip); in pca9685_read_reg() local 115 err = regmap_read(pca->regmap, reg, val); in pca9685_read_reg() 124 struct pca9685 *pca = to_pca(chip); in pca9685_write_reg() local 128 err = regmap_write(pca->regmap, reg, val); in pca9685_write_reg() 212 static bool pca9685_pwm_test_and_set_inuse(struct pca9685 *pca, int pwm_idx) in pca9685_pwm_test_and_set_inuse() argument 216 mutex_lock(&pca->lock); in pca9685_pwm_test_and_set_inuse() [all …]
|
/linux-6.12.1/arch/alpha/kernel/ |
D | sys_wildfire.c | 43 wildfire_pca *pca; in wildfire_update_irq_hw() local 56 pca = WILDFIRE_pca(qbbno, pcano); in wildfire_update_irq_hw() 57 enable0 = (unsigned long *) &pca->pca_int[0].enable; /* ??? */ in wildfire_update_irq_hw() 68 register wildfire_pca * pca = WILDFIRE_pca(0, 0); in wildfire_init_irq_hw() 72 enable0 = (unsigned long *) &pca->pca_int[0].enable; in wildfire_init_irq_hw() 73 enable1 = (unsigned long *) &pca->pca_int[1].enable; in wildfire_init_irq_hw() 74 enable2 = (unsigned long *) &pca->pca_int[2].enable; in wildfire_init_irq_hw() 75 enable3 = (unsigned long *) &pca->pca_int[3].enable; in wildfire_init_irq_hw() 77 target0 = (unsigned long *) &pca->pca_int[0].target; in wildfire_init_irq_hw() 78 target1 = (unsigned long *) &pca->pca_int[1].target; in wildfire_init_irq_hw() [all …]
|
D | core_wildfire.c | 477 wildfire_pca *pca = WILDFIRE_pca(qbbno, pcano); in wildfire_dump_pca_regs() local 481 qbbno, pcano, pca); in wildfire_dump_pca_regs() 483 printk(KERN_ERR " PCA_WHAT_AM_I: 0x%16lx\n", pca->pca_what_am_i.csr); in wildfire_dump_pca_regs() 484 printk(KERN_ERR " PCA_ERR_SUM: 0x%16lx\n", pca->pca_err_sum.csr); in wildfire_dump_pca_regs() 485 printk(KERN_ERR " PCA_PEND_INT: 0x%16lx\n", pca->pca_pend_int.csr); in wildfire_dump_pca_regs() 486 printk(KERN_ERR " PCA_SENT_INT: 0x%16lx\n", pca->pca_sent_int.csr); in wildfire_dump_pca_regs() 488 pca->pca_stdio_edge_level.csr); in wildfire_dump_pca_regs() 491 qbbno, pcano, pca); in wildfire_dump_pca_regs() 494 pca->pca_int[i].target.csr, in wildfire_dump_pca_regs() 495 pca->pca_int[i].enable.csr); in wildfire_dump_pca_regs()
|
/linux-6.12.1/arch/alpha/include/asm/ |
D | core_wildfire.h | 221 #define WILDFIRE_PCA_ENTITY(pca) ((0xc|(pca))<<WILDFIRE_ENTITY_SHIFT) argument 252 #define WILDFIRE_pca(q,pca) \ argument 253 ((wildfire_pca *)(WILDFIRE_QBB_IO(q)|WILDFIRE_PCA_ENTITY(pca)|(((1UL<<13)-1)<<23))) 255 #define WILDFIRE_ne(q,pca) \ argument 256 ((wildfire_ne *)(WILDFIRE_QBB_IO(q)|WILDFIRE_PCA_ENTITY(pca)|(((1UL<<13)-1)<<23)|(1UL<<16))) 258 #define WILDFIRE_fe(q,pca) \ argument 259 ((wildfire_fe *)(WILDFIRE_QBB_IO(q)|WILDFIRE_PCA_ENTITY(pca)|(((1UL<<13)-1)<<23)|(3UL<<15)))
|
/linux-6.12.1/Documentation/devicetree/bindings/pwm/ |
D | nxp,pca9685-pwm.txt | 21 pca: pca@41 {
|
/linux-6.12.1/drivers/i2c/algos/ |
D | Makefile | 8 obj-$(CONFIG_I2C_ALGOPCA) += i2c-algo-pca.o
|
/linux-6.12.1/Documentation/i2c/busses/ |
D | index.rst | 24 i2c-pca-isa
|
D | i2c-pca-isa.rst | 2 Kernel driver i2c-pca-isa
|
/linux-6.12.1/drivers/i2c/busses/ |
D | Makefile | 97 obj-$(CONFIG_I2C_PCA_PLATFORM) += i2c-pca-platform.o 155 obj-$(CONFIG_I2C_PCA_ISA) += i2c-pca-isa.o
|
D | Kconfig | 978 will be called i2c-pca-platform. 1457 will be called i2c-pca-isa.
|
/linux-6.12.1/drivers/atm/ |
D | fore200e.c | 449 int irq_posted = readl(fore200e->regs.pca.psr); in fore200e_pca_irq_check() 452 if (irq_posted && (readl(fore200e->regs.pca.hcr) & PCA200E_HCR_OUTFULL)) { in fore200e_pca_irq_check() 464 writel(PCA200E_HCR_CLRINTR, fore200e->regs.pca.hcr); in fore200e_pca_irq_ack() 471 writel(PCA200E_HCR_RESET, fore200e->regs.pca.hcr); in fore200e_pca_reset() 473 writel(0, fore200e->regs.pca.hcr); in fore200e_pca_reset() 491 fore200e->regs.pca.hcr = fore200e->virt_base + PCA200E_HCR_OFFSET; in fore200e_pca_map() 492 fore200e->regs.pca.imr = fore200e->virt_base + PCA200E_IMR_OFFSET; in fore200e_pca_map() 493 fore200e->regs.pca.psr = fore200e->virt_base + PCA200E_PSR_OFFSET; in fore200e_pca_map()
|
D | fore200e.h | 791 struct fore200e_pca_regs pca; /* PCA-200E registers */ member
|
/linux-6.12.1/arch/arm/boot/dts/nxp/mxs/ |
D | imx28-cfa10049.dts | 277 pca_pins_cfa10049: pca-10049@0 {
|