/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 49 " got irq %d for non-existent PCA %d" in wildfire_update_irq_hw() 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() [all …]
|
D | core_wildfire.c | 144 /* Test for PCA existence first. */ in wildfire_init_pca() 152 /* Do both hoses of the PCA. */ in wildfire_init_pca() 284 /* Probe for PCA existence here. */ in wildfire_hardware_probe() 477 wildfire_pca *pca = WILDFIRE_pca(qbbno, pcano); in wildfire_dump_pca_regs() local 480 printk(KERN_ERR "PCA registers for QBB %d PCA %d (%p)\n", in wildfire_dump_pca_regs() 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() [all …]
|
/linux-6.12.1/Documentation/networking/device_drivers/atm/ |
D | fore200e.rst | 4 FORE Systems PCA-200E/SBA-200E ATM NIC driver 8 to the Linux operating system. It is based on the earlier PCA-200E driver 11 The driver simultaneously supports PCA-200E and SBA-200E adapters on 46 Notice that different versions of the PCA-200E firmware exist, depending 48 both little and big endian PCA firmware images.
|
/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/i2c/busses/ |
D | i2c-pca-isa.rst | 2 Kernel driver i2c-pca-isa 7 This driver supports ISA boards using the Philips PCA 9564 25 This driver supports ISA boards using the Philips PCA 9564
|
D | index.rst | 24 i2c-pca-isa
|
/linux-6.12.1/Documentation/devicetree/bindings/pwm/ |
D | nxp,pca9685-pwm.txt | 18 For LEDs that are directly connected to the PCA, the following setting is 21 pca: pca@41 {
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-pca-isa.c | 3 * i2c-pca-isa.c driver for PCA9564 on ISA boards 19 #include <linux/i2c-algo-pca.h> 24 #define DRIVER "i2c-pca-isa" 135 if (!request_region(base, IO_SIZE, "i2c-pca-isa")) { in pca_isa_probe() 141 if (request_irq(irq, pca_handler, 0, "i2c-pca-isa", &pca_isa_ops) < 0) { in pca_isa_probe()
|
D | i2c-pca-platform.c | 20 #include <linux/i2c-algo-pca.h> 21 #include <linux/platform_data/i2c-pca-platform.h> 243 .name = "i2c-pca-platform",
|
D | Makefile | 97 obj-$(CONFIG_I2C_PCA_PLATFORM) += i2c-pca-platform.o 155 obj-$(CONFIG_I2C_PCA_ISA) += i2c-pca-isa.o
|
/linux-6.12.1/Documentation/devicetree/bindings/leds/ |
D | nxp,pca953x.yaml | 73 label = "pca:red:power"; 78 label = "pca:green:power";
|
/linux-6.12.1/include/linux/ |
D | i2c-algo-pca.h | 5 /* Chips known to the pca algo */ 57 * struct pca_i2c_bus_settings - The configured PCA i2c bus settings
|
/linux-6.12.1/drivers/atm/ |
D | fore200e.h | 9 #define SMALL_BUFFER_SIZE 384 /* size of small buffers (multiple of 48 (PCA) and 64 (SBA) by… 10 #define LARGE_BUFFER_SIZE 4032 /* size of large buffers (multiple of 48 (PCA) and 64 (SBA) by… 770 /* PCA-200E registers */ 791 struct fore200e_pca_regs pca; /* PCA-200E registers */ member 895 /* PCA-200E memory layout */ 904 /* PCA-200E host control register */ 919 /* PCA-200E PCI bus interface regs (offsets in PCI config space) */
|
D | fore200e.c | 6 Based on the PCA-200E driver from Uwe Dannowski (Uwe.Dannowski@inf.tu-dresden.de). 8 This driver simultaneously supports PCA-200E and SBA-200E adapters 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() 490 /* gain access to the PCA specific registers */ in fore200e_pca_map() 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() [all …]
|
D | Kconfig | 257 cards. It simultaneously supports PCA-200E and SBA-200E models
|
/linux-6.12.1/arch/sh/boards/ |
D | board-sh7785lcr.c | 17 #include <linux/platform_data/i2c-pca-platform.h> 18 #include <linux/i2c-algo-pca.h> 258 .name = "i2c-pca-platform",
|
/linux-6.12.1/drivers/i2c/algos/ |
D | Kconfig | 16 tristate "I2C PCA 9564 interfaces"
|
D | Makefile | 8 obj-$(CONFIG_I2C_ALGOPCA) += i2c-algo-pca.o
|
D | i2c-algo-pca.c | 3 * i2c-algo-pca.c i2c driver algorithms for PCA9564 adapters 15 #include <linux/i2c-algo-pca.h> 444 /* Store settings as these will be needed when the PCA chip is reset */ in pca_init() 514 /* Store settings as these will be needed when the PCA chip is reset */ in pca_init()
|
/linux-6.12.1/include/linux/platform_data/ |
D | i2c-pca-platform.h | 6 int i2c_clock_speed; /* values are defined in linux/i2c-algo-pca.h */
|
/linux-6.12.1/Documentation/devicetree/bindings/i2c/ |
D | i2c-pca-platform.txt | 1 * NXP PCA PCA9564/PCA9665 I2C controller
|
/linux-6.12.1/drivers/watchdog/ |
D | advantechwdt.c | 56 * Both are 0x443 for most boards (tested on a PCA-6276VE-00B1), but 57 * check your manual (at least the PCA-6159 seems to be different -
|
/linux-6.12.1/Documentation/devicetree/bindings/regulator/ |
D | mediatek,mt6397-regulator.yaml | 24 "^(buck_)?v(core|drm|gpu|io18|pca(7|15)|sramca(7|15))$":
|
/linux-6.12.1/arch/arm/boot/dts/nxp/mxs/ |
D | imx28-cfa10049.dts | 277 pca_pins_cfa10049: pca-10049@0 {
|