Home
last modified time | relevance | path

Searched refs:pca (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/drivers/pwm/
Dpwm-pca9685.c88 struct pca9685 *pca = gpiochip_get_data(gpio); in pca9685_pwm_gpio_request() local
91 mutex_lock(&pca->lock); in pca9685_pwm_gpio_request()
93 pwm = &pca->chip.pwms[offset]; in pca9685_pwm_gpio_request()
96 mutex_unlock(&pca->lock); in pca9685_pwm_gpio_request()
102 mutex_unlock(&pca->lock); in pca9685_pwm_gpio_request()
103 pm_runtime_get_sync(pca->chip.dev); in pca9685_pwm_gpio_request()
107 static bool pca9685_pwm_is_gpio(struct pca9685 *pca, struct pwm_device *pwm) in pca9685_pwm_is_gpio() argument
111 mutex_lock(&pca->lock); in pca9685_pwm_is_gpio()
120 for (i = 0; i < pca->gpio.ngpio; i++) in pca9685_pwm_is_gpio()
121 if (gpiochip_is_requested(&pca->gpio, i)) { in pca9685_pwm_is_gpio()
[all …]
/Linux-v5.4/arch/alpha/kernel/
Dsys_wildfire.c44 wildfire_pca *pca; in wildfire_update_irq_hw() local
57 pca = WILDFIRE_pca(qbbno, pcano); in wildfire_update_irq_hw()
58 enable0 = (unsigned long *) &pca->pca_int[0].enable; /* ??? */ in wildfire_update_irq_hw()
69 register wildfire_pca * pca = WILDFIRE_pca(0, 0); in wildfire_init_irq_hw()
73 enable0 = (unsigned long *) &pca->pca_int[0].enable; in wildfire_init_irq_hw()
74 enable1 = (unsigned long *) &pca->pca_int[1].enable; in wildfire_init_irq_hw()
75 enable2 = (unsigned long *) &pca->pca_int[2].enable; in wildfire_init_irq_hw()
76 enable3 = (unsigned long *) &pca->pca_int[3].enable; in wildfire_init_irq_hw()
78 target0 = (unsigned long *) &pca->pca_int[0].target; in wildfire_init_irq_hw()
79 target1 = (unsigned long *) &pca->pca_int[1].target; in wildfire_init_irq_hw()
[all …]
Dcore_wildfire.c504 wildfire_pca *pca = WILDFIRE_pca(qbbno, pcano); in wildfire_dump_pca_regs() local
508 qbbno, pcano, pca); in wildfire_dump_pca_regs()
510 printk(KERN_ERR " PCA_WHAT_AM_I: 0x%16lx\n", pca->pca_what_am_i.csr); in wildfire_dump_pca_regs()
511 printk(KERN_ERR " PCA_ERR_SUM: 0x%16lx\n", pca->pca_err_sum.csr); in wildfire_dump_pca_regs()
512 printk(KERN_ERR " PCA_PEND_INT: 0x%16lx\n", pca->pca_pend_int.csr); in wildfire_dump_pca_regs()
513 printk(KERN_ERR " PCA_SENT_INT: 0x%16lx\n", pca->pca_sent_int.csr); in wildfire_dump_pca_regs()
515 pca->pca_stdio_edge_level.csr); in wildfire_dump_pca_regs()
518 qbbno, pcano, pca); in wildfire_dump_pca_regs()
521 pca->pca_int[i].target.csr, in wildfire_dump_pca_regs()
522 pca->pca_int[i].enable.csr); in wildfire_dump_pca_regs()
/Linux-v5.4/arch/mips/pci/
Dpci-virtio-guest.c46 union pci_config_address pca = { .w = 0 }; in pci_virtio_guest_write_config_addr() local
48 pca.register_number = reg; in pci_virtio_guest_write_config_addr()
49 pca.devfn_number = devfn; in pci_virtio_guest_write_config_addr()
50 pca.bus_number = bus->number; in pci_virtio_guest_write_config_addr()
51 pca.enable_bit = 1; in pci_virtio_guest_write_config_addr()
53 outl(pca.w, PCI_CONFIG_ADDRESS); in pci_virtio_guest_write_config_addr()
/Linux-v5.4/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-v5.4/Documentation/devicetree/bindings/pwm/
Dnxp,pca9685-pwm.txt21 pca: pca@41 {
/Linux-v5.4/Documentation/devicetree/bindings/leds/
Dleds-pca9532.txt31 label = "pca:red:power";
35 label = "pca:green:power";
/Linux-v5.4/drivers/i2c/algos/
DMakefile8 obj-$(CONFIG_I2C_ALGOPCA) += i2c-algo-pca.o
/Linux-v5.4/Documentation/i2c/busses/
Dindex.rst25 i2c-pca-isa
Di2c-pca-isa.rst2 Kernel driver i2c-pca-isa
/Linux-v5.4/drivers/i2c/busses/
DMakefile88 obj-$(CONFIG_I2C_PCA_PLATFORM) += i2c-pca-platform.o
146 obj-$(CONFIG_I2C_PCA_ISA) += i2c-pca-isa.o
DKconfig831 will be called i2c-pca-platform.
1348 will be called i2c-pca-isa.
/Linux-v5.4/drivers/atm/
Dfore200e.c454 int irq_posted = readl(fore200e->regs.pca.psr); in fore200e_pca_irq_check()
457 if (irq_posted && (readl(fore200e->regs.pca.hcr) & PCA200E_HCR_OUTFULL)) { in fore200e_pca_irq_check()
469 writel(PCA200E_HCR_CLRINTR, fore200e->regs.pca.hcr); in fore200e_pca_irq_ack()
476 writel(PCA200E_HCR_RESET, fore200e->regs.pca.hcr); in fore200e_pca_reset()
478 writel(0, fore200e->regs.pca.hcr); in fore200e_pca_reset()
496 fore200e->regs.pca.hcr = fore200e->virt_base + PCA200E_HCR_OFFSET; in fore200e_pca_map()
497 fore200e->regs.pca.imr = fore200e->virt_base + PCA200E_IMR_OFFSET; in fore200e_pca_map()
498 fore200e->regs.pca.psr = fore200e->virt_base + PCA200E_PSR_OFFSET; in fore200e_pca_map()
Dfore200e.h791 struct fore200e_pca_regs pca; /* PCA-200E registers */ member
/Linux-v5.4/arch/arm/boot/dts/
Dimx28-cfa10049.dts115 pca_pins_cfa10049: pca-10049@0 {
/Linux-v5.4/include/
DKbuild200 header-test- += linux/i2c-algo-pca.h