Home
last modified time | relevance | path

Searched full:pca (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.12.1/drivers/pwm/
Dpwm-pca9685.c94 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/
Dsys_wildfire.c43 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 …]
Dcore_wildfire.c144 /* 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/
Dfore200e.rst4 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/
Dcore_wildfire.h221 #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/
Di2c-pca-isa.rst2 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
Dindex.rst24 i2c-pca-isa
/linux-6.12.1/Documentation/devicetree/bindings/pwm/
Dnxp,pca9685-pwm.txt18 For LEDs that are directly connected to the PCA, the following setting is
21 pca: pca@41 {
/linux-6.12.1/drivers/i2c/busses/
Di2c-pca-isa.c3 * 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()
Di2c-pca-platform.c20 #include <linux/i2c-algo-pca.h>
21 #include <linux/platform_data/i2c-pca-platform.h>
243 .name = "i2c-pca-platform",
DMakefile97 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/
Dnxp,pca953x.yaml73 label = "pca:red:power";
78 label = "pca:green:power";
/linux-6.12.1/include/linux/
Di2c-algo-pca.h5 /* Chips known to the pca algo */
57 * struct pca_i2c_bus_settings - The configured PCA i2c bus settings
/linux-6.12.1/drivers/atm/
Dfore200e.h9 #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) */
Dfore200e.c6 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 …]
DKconfig257 cards. It simultaneously supports PCA-200E and SBA-200E models
/linux-6.12.1/arch/sh/boards/
Dboard-sh7785lcr.c17 #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/
DKconfig16 tristate "I2C PCA 9564 interfaces"
DMakefile8 obj-$(CONFIG_I2C_ALGOPCA) += i2c-algo-pca.o
Di2c-algo-pca.c3 * 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/
Di2c-pca-platform.h6 int i2c_clock_speed; /* values are defined in linux/i2c-algo-pca.h */
/linux-6.12.1/Documentation/devicetree/bindings/i2c/
Di2c-pca-platform.txt1 * NXP PCA PCA9564/PCA9665 I2C controller
/linux-6.12.1/drivers/watchdog/
Dadvantechwdt.c56 * 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/
Dmediatek,mt6397-regulator.yaml24 "^(buck_)?v(core|drm|gpu|io18|pca(7|15)|sramca(7|15))$":
/linux-6.12.1/arch/arm/boot/dts/nxp/mxs/
Dimx28-cfa10049.dts277 pca_pins_cfa10049: pca-10049@0 {

12