Searched refs:pca (Results 1 – 13 of 13) sorted by relevance
/Linux-v6.6/drivers/pwm/ |
D | pwm-pca9685.c | 95 static bool pca9685_prescaler_can_change(struct pca9685 *pca, int channel) in pca9685_prescaler_can_change() argument 98 if (bitmap_empty(pca->pwms_enabled, PCA9685_MAXCHAN + 1)) in pca9685_prescaler_can_change() 101 if (bitmap_weight(pca->pwms_enabled, PCA9685_MAXCHAN + 1) > 1) in pca9685_prescaler_can_change() 107 return test_bit(channel, pca->pwms_enabled); in pca9685_prescaler_can_change() 110 static int pca9685_read_reg(struct pca9685 *pca, unsigned int reg, unsigned int *val) in pca9685_read_reg() argument 112 struct device *dev = pca->chip.dev; in pca9685_read_reg() 115 err = regmap_read(pca->regmap, reg, val); in pca9685_read_reg() 122 static int pca9685_write_reg(struct pca9685 *pca, unsigned int reg, unsigned int val) in pca9685_write_reg() argument 124 struct device *dev = pca->chip.dev; in pca9685_write_reg() 127 err = regmap_write(pca->regmap, reg, val); in pca9685_write_reg() [all …]
|
/Linux-v6.6/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-v6.6/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-v6.6/Documentation/devicetree/bindings/pwm/ |
D | nxp,pca9685-pwm.txt | 21 pca: pca@41 {
|
/Linux-v6.6/drivers/i2c/algos/ |
D | Makefile | 8 obj-$(CONFIG_I2C_ALGOPCA) += i2c-algo-pca.o
|
/Linux-v6.6/Documentation/i2c/busses/ |
D | index.rst | 24 i2c-pca-isa
|
D | i2c-pca-isa.rst | 2 Kernel driver i2c-pca-isa
|
/Linux-v6.6/drivers/i2c/busses/ |
D | Makefile | 97 obj-$(CONFIG_I2C_PCA_PLATFORM) += i2c-pca-platform.o 154 obj-$(CONFIG_I2C_PCA_ISA) += i2c-pca-isa.o
|
D | Kconfig | 938 will be called i2c-pca-platform. 1405 will be called i2c-pca-isa.
|
/Linux-v6.6/drivers/atm/ |
D | fore200e.c | 452 int irq_posted = readl(fore200e->regs.pca.psr); in fore200e_pca_irq_check() 455 if (irq_posted && (readl(fore200e->regs.pca.hcr) & PCA200E_HCR_OUTFULL)) { in fore200e_pca_irq_check() 467 writel(PCA200E_HCR_CLRINTR, fore200e->regs.pca.hcr); in fore200e_pca_irq_ack() 474 writel(PCA200E_HCR_RESET, fore200e->regs.pca.hcr); in fore200e_pca_reset() 476 writel(0, fore200e->regs.pca.hcr); in fore200e_pca_reset() 494 fore200e->regs.pca.hcr = fore200e->virt_base + PCA200E_HCR_OFFSET; in fore200e_pca_map() 495 fore200e->regs.pca.imr = fore200e->virt_base + PCA200E_IMR_OFFSET; in fore200e_pca_map() 496 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-v6.6/arch/arm/boot/dts/nxp/mxs/ |
D | imx28-cfa10049.dts | 277 pca_pins_cfa10049: pca-10049@0 {
|