Home
last modified time | relevance | path

Searched refs:ipd (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/mfd/
H A Dioc3.c49 struct ioc3_priv_data *ipd = irq_data_get_irq_chip_data(d); in ioc3_irq_ack() local
52 writel(BIT(hwirq), &ipd->regs->sio_ir); in ioc3_irq_ack()
57 struct ioc3_priv_data *ipd = irq_data_get_irq_chip_data(d); in ioc3_irq_mask() local
60 writel(BIT(hwirq), &ipd->regs->sio_iec); in ioc3_irq_mask()
65 struct ioc3_priv_data *ipd = irq_data_get_irq_chip_data(d); in ioc3_irq_unmask() local
68 writel(BIT(hwirq), &ipd->regs->sio_ies); in ioc3_irq_unmask()
105 struct ioc3_priv_data *ipd = domain->host_data; in ioc3_irq_handler() local
106 struct ioc3 __iomem *regs = ipd->regs; in ioc3_irq_handler()
132 static int ioc3_irq_domain_setup(struct ioc3_priv_data *ipd, int irq) in ioc3_irq_domain_setup() argument
141 domain = irq_domain_create_linear(fn, 24, &ioc3_irq_domain_ops, ipd); in ioc3_irq_domain_setup()
[all …]
/openbmc/linux/drivers/media/pci/dt3155/
H A Ddt3155.c237 struct dt3155_priv *ipd = dev_id; in dt3155_irq_handler_even() local
242 tmp = ioread32(ipd->regs + INT_CSR) & (FLD_START | FLD_END_ODD); in dt3155_irq_handler_even()
247 ipd->regs + INT_CSR); in dt3155_irq_handler_even()
250 tmp = ioread32(ipd->regs + CSR1) & (FLD_CRPT_EVEN | FLD_CRPT_ODD); in dt3155_irq_handler_even()
255 ipd->regs + CSR1); in dt3155_irq_handler_even()
258 spin_lock(&ipd->lock); in dt3155_irq_handler_even()
259 if (ipd->curr_buf && !list_empty(&ipd->dmaq)) { in dt3155_irq_handler_even()
260 ipd->curr_buf->vb2_buf.timestamp = ktime_get_ns(); in dt3155_irq_handler_even()
261 ipd->curr_buf->sequence = ipd->sequence++; in dt3155_irq_handler_even()
262 ipd->curr_buf->field = V4L2_FIELD_NONE; in dt3155_irq_handler_even()
[all …]
/openbmc/u-boot/drivers/i2c/
H A Drk_i2c.c93 debug("i2c_ipd: 0x%08x\n", readl(&regs->ipd)); in rk_i2c_show_regs()
108 writel(I2C_IPD_ALL_CLEAN, &regs->ipd); in rk_i2c_send_start_bit()
115 if (readl(&regs->ipd) & I2C_STARTIPD) { in rk_i2c_send_start_bit()
116 writel(I2C_STARTIPD, &regs->ipd); in rk_i2c_send_start_bit()
136 writel(I2C_IPD_ALL_CLEAN, &regs->ipd); in rk_i2c_send_stop_bit()
143 if (readl(&regs->ipd) & I2C_STOPIPD) { in rk_i2c_send_stop_bit()
144 writel(I2C_STOPIPD, &regs->ipd); in rk_i2c_send_stop_bit()
223 if (readl(&regs->ipd) & I2C_NAKRCVIPD) { in rk_i2c_read()
224 writel(I2C_NAKRCVIPD, &regs->ipd); in rk_i2c_read()
227 if (readl(&regs->ipd) & I2C_MBRFIPD) { in rk_i2c_read()
[all …]
/openbmc/linux/drivers/i2c/busses/
H A Di2c-rk3x.c373 static void rk3x_i2c_handle_start(struct rk3x_i2c *i2c, unsigned int ipd) in rk3x_i2c_handle_start() argument
375 if (!(ipd & REG_INT_START)) { in rk3x_i2c_handle_start()
377 dev_warn(i2c->dev, "unexpected irq in START: 0x%x\n", ipd); in rk3x_i2c_handle_start()
401 static void rk3x_i2c_handle_write(struct rk3x_i2c *i2c, unsigned int ipd) in rk3x_i2c_handle_write() argument
403 if (!(ipd & REG_INT_MBTF)) { in rk3x_i2c_handle_write()
405 dev_err(i2c->dev, "unexpected irq in WRITE: 0x%x\n", ipd); in rk3x_i2c_handle_write()
420 static void rk3x_i2c_handle_read(struct rk3x_i2c *i2c, unsigned int ipd) in rk3x_i2c_handle_read() argument
428 if (!(ipd & REG_INT_MBRF)) in rk3x_i2c_handle_read()
454 static void rk3x_i2c_handle_stop(struct rk3x_i2c *i2c, unsigned int ipd) in rk3x_i2c_handle_stop() argument
458 if (!(ipd & REG_INT_STOP)) { in rk3x_i2c_handle_stop()
[all …]
/openbmc/linux/drivers/net/wireguard/selftest/
H A Dallowedips.c460 #define insert(version, mem, ipa, ipb, ipc, ipd, cidr) \ argument
461 wg_allowedips_insert_v##version(&t, ip##version(ipa, ipb, ipc, ipd), \
472 #define test(version, mem, ipa, ipb, ipc, ipd) do { \ argument
474 ip##version(ipa, ipb, ipc, ipd)) == (mem); \
478 #define test_negative(version, mem, ipa, ipb, ipc, ipd) do { \ argument
480 ip##version(ipa, ipb, ipc, ipd)) != (mem); \
/openbmc/u-boot/arch/arm/include/asm/arch-rockchip/
H A Di2c.h18 u32 ipd; member
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-npi-defs.h2237 uint64_t ipd:1; member
2257 uint64_t ipd:1;
2306 uint64_t ipd:1; member
2326 uint64_t ipd:1;
2377 uint64_t ipd:1; member
2397 uint64_t ipd:1;
2444 uint64_t ipd:1; member
2464 uint64_t ipd:1;
H A Dcvmx-npei-defs.h3729 uint64_t ipd:1; member
3749 uint64_t ipd:1;
/openbmc/linux/drivers/staging/octeon/
H A Docteon-stubs.h1028 uint64_t ipd:1; member
1063 uint64_t ipd:1; member
1098 uint64_t ipd:1; member
1129 uint64_t ipd:1; member
/openbmc/qemu/tests/data/qobject/
H A Dqdict.txt3730 cvmx-ipd-defs.h: 27302
3731 cvmx-ipd.h: 10763