Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/pwm/
H A Dpwm-pca9685.c95 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 …]
/openbmc/linux/arch/alpha/kernel/
H A 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 …]
H A 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 …]
/openbmc/linux/Documentation/networking/device_drivers/atm/
H A 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.
/openbmc/linux/arch/alpha/include/asm/
H A 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)))
/openbmc/linux/Documentation/i2c/busses/
H A 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
H A Dindex.rst24 i2c-pca-isa
/openbmc/linux/Documentation/devicetree/bindings/pwm/
H A Dnxp,pca9685-pwm.txt18 For LEDs that are directly connected to the PCA, the following setting is
21 pca: pca@41 {
/openbmc/linux/drivers/i2c/busses/
H A 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()
H A Di2c-pca-platform.c20 #include <linux/i2c-algo-pca.h>
21 #include <linux/platform_data/i2c-pca-platform.h>
243 .name = "i2c-pca-platform",
H A DMakefile95 obj-$(CONFIG_I2C_PCA_PLATFORM) += i2c-pca-platform.o
152 obj-$(CONFIG_I2C_PCA_ISA) += i2c-pca-isa.o
/openbmc/linux/Documentation/devicetree/bindings/leds/
H A Dnxp,pca953x.yaml73 label = "pca:red:power";
78 label = "pca:green:power";
/openbmc/linux/include/linux/
H A Di2c-algo-pca.h5 /* Chips known to the pca algo */
57 * struct pca_i2c_bus_settings - The configured PCA i2c bus settings
/openbmc/linux/drivers/atm/
H A 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
896 /* PCA-200E memory layout */
905 /* PCA-200E host control register */
920 /* PCA-200E PCI bus interface regs (offsets in PCI config space) */
H A 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
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()
493 /* gain access to the PCA specific registers */ in fore200e_pca_map()
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()
[all …]
/openbmc/linux/arch/sh/boards/
H A Dboard-sh7785lcr.c17 #include <linux/platform_data/i2c-pca-platform.h>
18 #include <linux/i2c-algo-pca.h>
258 .name = "i2c-pca-platform",
/openbmc/linux/drivers/i2c/algos/
H A DKconfig16 tristate "I2C PCA 9564 interfaces"
H A DMakefile8 obj-$(CONFIG_I2C_ALGOPCA) += i2c-algo-pca.o
H A 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()
/openbmc/linux/include/linux/platform_data/
H A Di2c-pca-platform.h6 int i2c_clock_speed; /* values are defined in linux/i2c-algo-pca.h */
/openbmc/linux/Documentation/devicetree/bindings/i2c/
H A Di2c-pca-platform.txt1 * NXP PCA PCA9564/PCA9665 I2C controller
/openbmc/u-boot/board/phytec/phycore_rk3288/
H A Dsom.h12 unsigned char mod_version; /* PCM/PFL/PCA */
/openbmc/linux/drivers/watchdog/
H A 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 -
/openbmc/u-boot/board/freescale/ls1021aqds/
H A Ddcu.c24 puts("PCA: failed to select proper channel\n"); in select_i2c_ch_pca9547()
/openbmc/qemu/hw/gpio/
H A Dpca9552.c97 * We display the state using the PCA logic ("active-high"). in pca955x_display_pins_status()
424 s->description = g_strdup("pca-unspecified"); in pca955x_realize()

123