Home
last modified time | relevance | path

Searched full:ic (Results 1 – 25 of 815) sorted by relevance

12345678910>>...33

/openbmc/linux/drivers/md/
H A Ddm-integrity.c107 #define journal_entry_tag(ic, je) ((__u8 *)&(je)->last_bytes[(ic)->sectors_per_block]) argument
302 struct dm_integrity_c *ic; member
320 struct dm_integrity_c *ic; member
332 struct dm_integrity_c *ic; member
376 static void dm_integrity_io_error(struct dm_integrity_c *ic, const char *msg, int err) in dm_integrity_io_error() argument
379 atomic64_inc(&ic->number_of_mismatches); in dm_integrity_io_error()
380 if (!cmpxchg(&ic->failed, 0, err)) in dm_integrity_io_error()
384 static int dm_integrity_failed(struct dm_integrity_c *ic) in dm_integrity_failed() argument
386 return READ_ONCE(ic->failed); in dm_integrity_failed()
389 static bool dm_integrity_disable_recalculate(struct dm_integrity_c *ic) in dm_integrity_disable_recalculate() argument
[all …]
/openbmc/linux/net/rds/
H A Dib_cm.c59 struct rds_ib_connection *ic = conn->c_transport_data; in rds_ib_set_flow_control() local
63 ic->i_flowctl = 1; in rds_ib_set_flow_control()
66 ic->i_flowctl = 0; in rds_ib_set_flow_control()
76 struct rds_ib_connection *ic = conn->c_transport_data; in rds_ib_cm_connect_complete() local
124 ic->i_active_side ? "Active" : "Passive", in rds_ib_cm_connect_complete()
128 ic->i_flowctl ? ", flow control" : ""); in rds_ib_cm_connect_complete()
131 ic->i_sl = ic->i_cm_id->route.path_rec->sl; in rds_ib_cm_connect_complete()
133 atomic_set(&ic->i_cq_quiesce, 0); in rds_ib_cm_connect_complete()
139 rds_ib_send_init_ring(ic); in rds_ib_cm_connect_complete()
140 rds_ib_recv_init_ring(ic); in rds_ib_cm_connect_complete()
[all …]
H A Dib_recv.c48 void rds_ib_recv_init_ring(struct rds_ib_connection *ic) in rds_ib_recv_init_ring() argument
53 for (i = 0, recv = ic->i_recvs; i < ic->i_recv_ring.w_nr; i++, recv++) { in rds_ib_recv_init_ring()
65 sge->addr = ic->i_recv_hdrs_dma[i]; in rds_ib_recv_init_ring()
67 sge->lkey = ic->i_pd->local_dma_lkey; in rds_ib_recv_init_ring()
72 sge->lkey = ic->i_pd->local_dma_lkey; in rds_ib_recv_init_ring()
122 int rds_ib_recv_alloc_caches(struct rds_ib_connection *ic, gfp_t gfp) in rds_ib_recv_alloc_caches() argument
126 ret = rds_ib_recv_alloc_cache(&ic->i_cache_incs, gfp); in rds_ib_recv_alloc_caches()
128 ret = rds_ib_recv_alloc_cache(&ic->i_cache_frags, gfp); in rds_ib_recv_alloc_caches()
130 free_percpu(ic->i_cache_incs.percpu); in rds_ib_recv_alloc_caches()
156 void rds_ib_recv_free_caches(struct rds_ib_connection *ic) in rds_ib_recv_free_caches() argument
[all …]
H A Dib_send.c73 static void rds_ib_send_unmap_data(struct rds_ib_connection *ic, in rds_ib_send_unmap_data() argument
78 ib_dma_unmap_sg(ic->i_cm_id->device, in rds_ib_send_unmap_data()
83 static void rds_ib_send_unmap_rdma(struct rds_ib_connection *ic, in rds_ib_send_unmap_rdma() argument
88 ib_dma_unmap_sg(ic->i_cm_id->device, in rds_ib_send_unmap_rdma()
123 static void rds_ib_send_unmap_atomic(struct rds_ib_connection *ic, in rds_ib_send_unmap_atomic() argument
129 ib_dma_unmap_sg(ic->i_cm_id->device, op->op_sg, 1, in rds_ib_send_unmap_atomic()
150 static struct rds_message *rds_ib_send_unmap_op(struct rds_ib_connection *ic, in rds_ib_send_unmap_op() argument
161 rds_ib_send_unmap_data(ic, send->s_op, wc_status); in rds_ib_send_unmap_op()
168 rds_ib_send_unmap_rdma(ic, send->s_op, wc_status); in rds_ib_send_unmap_op()
175 rds_ib_send_unmap_atomic(ic, send->s_op, wc_status); in rds_ib_send_unmap_op()
[all …]
H A Dib_frmr.c47 atomic_dec(&ibmr->ic->i_fastreg_inuse_count); in rds_transition_frwr_state()
129 while (atomic_dec_return(&ibmr->ic->i_fastreg_wrs) <= 0) { in rds_ib_post_reg_frmr()
130 atomic_inc(&ibmr->ic->i_fastreg_wrs); in rds_ib_post_reg_frmr()
143 atomic_inc(&ibmr->ic->i_fastreg_inuse_count); in rds_ib_post_reg_frmr()
164 ret = ib_post_send(ibmr->ic->i_cm_id->qp, &reg_wr.wr, NULL); in rds_ib_post_reg_frmr()
169 atomic_inc(&ibmr->ic->i_fastreg_wrs); in rds_ib_post_reg_frmr()
270 struct rdma_cm_id *i_cm_id = ibmr->ic->i_cm_id; in rds_ib_post_inv()
279 while (atomic_dec_return(&ibmr->ic->i_fastreg_wrs) <= 0) { in rds_ib_post_inv()
280 atomic_inc(&ibmr->ic->i_fastreg_wrs); in rds_ib_post_inv()
301 atomic_inc(&ibmr->ic->i_fastreg_wrs); in rds_ib_post_inv()
[all …]
H A Dib.c75 struct rds_ib_connection *ic; in rds_ib_nodev_connect() local
78 list_for_each_entry(ic, &ib_nodev_conns, ib_node) in rds_ib_nodev_connect()
79 rds_conn_connect_if_down(ic->conn); in rds_ib_nodev_connect()
85 struct rds_ib_connection *ic; in rds_ib_dev_shutdown() local
89 list_for_each_entry(ic, &rds_ibdev->conn_list, ib_node) in rds_ib_dev_shutdown()
90 rds_conn_path_drop(&ic->conn->c_path[0], true); in rds_ib_dev_shutdown()
298 struct rds_ib_connection *ic = conn->c_transport_data; in rds_ib_conn_info_visitor() local
308 if (ic) { in rds_ib_conn_info_visitor()
310 iinfo->sl = ic->i_sl; in rds_ib_conn_info_visitor()
318 rdma_read_gids(ic->i_cm_id, (union ib_gid *)&iinfo->src_gid, in rds_ib_conn_info_visitor()
[all …]
H A Dib.h392 void rds_ib_mr_cqe_handler(struct rds_ib_connection *ic, struct ib_wc *wc);
398 int rds_ib_recv_alloc_caches(struct rds_ib_connection *ic, gfp_t gfp);
399 void rds_ib_recv_free_caches(struct rds_ib_connection *ic);
403 void rds_ib_recv_cqe_handler(struct rds_ib_connection *ic, struct ib_wc *wc,
406 void rds_ib_recv_init_ring(struct rds_ib_connection *ic);
407 void rds_ib_recv_clear_ring(struct rds_ib_connection *ic);
408 void rds_ib_recv_init_ack(struct rds_ib_connection *ic);
409 void rds_ib_attempt_ack(struct rds_ib_connection *ic);
410 void rds_ib_ack_send_complete(struct rds_ib_connection *ic);
411 u64 rds_ib_piggyb_ack(struct rds_ib_connection *ic);
[all …]
/openbmc/linux/drivers/gpu/ipu-v3/
H A Dipu-ic.c17 /* IC Register Offsets */
29 /* IC Register Fields */
164 static inline u32 ipu_ic_read(struct ipu_ic *ic, unsigned offset) in ipu_ic_read() argument
166 return readl(ic->priv->base + offset); in ipu_ic_read()
169 static inline void ipu_ic_write(struct ipu_ic *ic, u32 value, unsigned offset) in ipu_ic_write() argument
171 writel(value, ic->priv->base + offset); in ipu_ic_write()
174 static int init_csc(struct ipu_ic *ic, in init_csc() argument
178 struct ipu_ic_priv *priv = ic->priv; in init_csc()
185 (priv->tpmem_base + ic->reg->tpmem_csc[csc_index]); in init_csc()
216 static int calc_resize_coeffs(struct ipu_ic *ic, in calc_resize_coeffs() argument
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-lpc18xx.c55 static inline void lpc18xx_gpio_pin_ic_isel(struct lpc18xx_gpio_pin_ic *ic, in lpc18xx_gpio_pin_ic_isel() argument
58 u32 val = readl_relaxed(ic->base + LPC18XX_GPIO_PIN_IC_ISEL); in lpc18xx_gpio_pin_ic_isel()
65 writel_relaxed(val, ic->base + LPC18XX_GPIO_PIN_IC_ISEL); in lpc18xx_gpio_pin_ic_isel()
68 static inline void lpc18xx_gpio_pin_ic_set(struct lpc18xx_gpio_pin_ic *ic, in lpc18xx_gpio_pin_ic_set() argument
71 writel_relaxed(BIT(pin), ic->base + reg); in lpc18xx_gpio_pin_ic_set()
76 struct lpc18xx_gpio_pin_ic *ic = d->chip_data; in lpc18xx_gpio_pin_ic_mask() local
79 raw_spin_lock(&ic->lock); in lpc18xx_gpio_pin_ic_mask()
82 lpc18xx_gpio_pin_ic_set(ic, d->hwirq, in lpc18xx_gpio_pin_ic_mask()
86 lpc18xx_gpio_pin_ic_set(ic, d->hwirq, in lpc18xx_gpio_pin_ic_mask()
89 raw_spin_unlock(&ic->lock); in lpc18xx_gpio_pin_ic_mask()
[all …]
/openbmc/linux/fs/jffs2/
H A Dbuild.c37 next_inode(int *i, struct jffs2_inode_cache *ic, struct jffs2_sb_info *c) in next_inode() argument
40 if (ic->next) in next_inode()
41 return ic->next; in next_inode()
46 #define for_each_inode(i, c, ic) \ argument
47 for (i = 0, ic = first_inode_chain(&i, (c)); \
48 ic; \
49 ic = next_inode(&i, ic, (c)))
53 struct jffs2_inode_cache *ic, in jffs2_build_inode_pass1() argument
58 dbg_fsbuild("building directory inode #%u\n", ic->ino); in jffs2_build_inode_pass1()
61 for(fd = ic->scan_dents; fd; fd = fd->next) { in jffs2_build_inode_pass1()
[all …]
H A Dxattr.c430 * create_xattr_ref(c, ic, xd)
435 * jffs2_xattr_delete_inode(c, ic)
437 * jffs2_xattr_free_inode(c, ic)
439 * check_xattr_ref_inode(c, ic)
441 * jffs2_xattr_do_crccheck_inode(c, ic)
525 rr.ino = cpu_to_je32(ref->ic->ino); in save_xattr_ref()
545 dbg_xattr("success on saving xref (ino=%u, xid=%u)\n", ref->ic->ino, ref->xd->xid); in save_xattr_ref()
550 …tic struct jffs2_xattr_ref *create_xattr_ref(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic, in create_xattr_ref() argument
560 ref->ic = ic; in create_xattr_ref()
570 ref->next = ic->xref; in create_xattr_ref()
[all …]
H A Dxattr.h55 struct jffs2_inode_cache *ic; /* reference to jffs2_inode_cache */ member
62 struct jffs2_xattr_ref *next; /* chained from ic->xref_list */
80 extern void jffs2_xattr_do_crccheck_inode(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic);
81 extern void jffs2_xattr_delete_inode(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic);
82 extern void jffs2_xattr_free_inode(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic);
109 #define jffs2_xattr_do_crccheck_inode(c, ic) argument
110 #define jffs2_xattr_delete_inode(c, ic) argument
111 #define jffs2_xattr_free_inode(c, ic) argument
H A Dgc.c26 struct jffs2_inode_cache *ic,
127 struct jffs2_inode_cache *ic; in jffs2_garbage_collect_pass() local
159 for (ic = c->inocache_list[bucket]; ic; ic = ic->next) { in jffs2_garbage_collect_pass()
160 if (ic->ino < want_ino) in jffs2_garbage_collect_pass()
163 if (ic->state != INO_STATE_CHECKEDABSENT && in jffs2_garbage_collect_pass()
164 ic->state != INO_STATE_PRESENT) in jffs2_garbage_collect_pass()
168 ic->ino); in jffs2_garbage_collect_pass()
189 c->check_ino = ic->ino + c->inocache_hashsize; in jffs2_garbage_collect_pass()
191 if (!ic->pino_nlink) { in jffs2_garbage_collect_pass()
193 ic->ino); in jffs2_garbage_collect_pass()
[all …]
/openbmc/linux/drivers/irqchip/
H A Dirq-lpc32xx.c35 static inline u32 lpc32xx_ic_read(struct lpc32xx_irq_chip *ic, u32 reg) in lpc32xx_ic_read() argument
37 return readl_relaxed(ic->base + reg); in lpc32xx_ic_read()
40 static inline void lpc32xx_ic_write(struct lpc32xx_irq_chip *ic, in lpc32xx_ic_write() argument
43 writel_relaxed(val, ic->base + reg); in lpc32xx_ic_write()
48 struct lpc32xx_irq_chip *ic = irq_data_get_irq_chip_data(d); in lpc32xx_irq_mask() local
51 val = lpc32xx_ic_read(ic, LPC32XX_INTC_MASK) & ~mask; in lpc32xx_irq_mask()
52 lpc32xx_ic_write(ic, LPC32XX_INTC_MASK, val); in lpc32xx_irq_mask()
57 struct lpc32xx_irq_chip *ic = irq_data_get_irq_chip_data(d); in lpc32xx_irq_unmask() local
60 val = lpc32xx_ic_read(ic, LPC32XX_INTC_MASK) | mask; in lpc32xx_irq_unmask()
61 lpc32xx_ic_write(ic, LPC32XX_INTC_MASK, val); in lpc32xx_irq_unmask()
[all …]
H A Dirq-apple-aic.c319 static u32 aic_ic_read(struct aic_irq_chip *ic, u32 reg) in aic_ic_read() argument
321 return readl_relaxed(ic->base + reg); in aic_ic_read()
324 static void aic_ic_write(struct aic_irq_chip *ic, u32 reg, u32 val) in aic_ic_write() argument
326 writel_relaxed(val, ic->base + reg); in aic_ic_write()
336 struct aic_irq_chip *ic = irq_data_get_irq_chip_data(d); in aic_irq_mask() local
338 u32 off = AIC_HWIRQ_DIE(hwirq) * ic->info.die_stride; in aic_irq_mask()
341 aic_ic_write(ic, ic->info.mask_set + off + MASK_REG(irq), MASK_BIT(irq)); in aic_irq_mask()
347 struct aic_irq_chip *ic = irq_data_get_irq_chip_data(d); in aic_irq_unmask() local
349 u32 off = AIC_HWIRQ_DIE(hwirq) * ic->info.die_stride; in aic_irq_unmask()
352 aic_ic_write(ic, ic->info.mask_clr + off + MASK_REG(irq), MASK_BIT(irq)); in aic_irq_unmask()
[all …]
/openbmc/linux/drivers/base/
H A Dattribute_container.c33 struct internal_container *ic = in internal_container_klist_get() local
35 get_device(&ic->classdev); in internal_container_klist_get()
40 struct internal_container *ic = in internal_container_klist_put() local
42 put_device(&ic->classdev); in internal_container_klist_put()
56 struct internal_container *ic = in attribute_container_classdev_to_container() local
58 return ic->cont; in attribute_container_classdev_to_container()
114 struct internal_container *ic in attribute_container_release() local
118 kfree(ic); in attribute_container_release()
150 struct internal_container *ic; in attribute_container_add_device() local
158 ic = kzalloc(sizeof(*ic), GFP_KERNEL); in attribute_container_add_device()
[all …]
/openbmc/linux/drivers/md/persistent-data/
H A Ddm-space-map-common.c520 static inline void init_inc_context(struct inc_context *ic) in init_inc_context() argument
522 ic->bitmap_block = NULL; in init_inc_context()
523 ic->bitmap = NULL; in init_inc_context()
524 ic->overflow_leaf = NULL; in init_inc_context()
527 static inline void exit_inc_context(struct ll_disk *ll, struct inc_context *ic) in exit_inc_context() argument
529 if (ic->bitmap_block) in exit_inc_context()
530 dm_tm_unlock(ll->tm, ic->bitmap_block); in exit_inc_context()
531 if (ic->overflow_leaf) in exit_inc_context()
532 dm_tm_unlock(ll->tm, ic->overflow_leaf); in exit_inc_context()
535 static inline void reset_inc_context(struct ll_disk *ll, struct inc_context *ic) in reset_inc_context() argument
[all …]
/openbmc/linux/net/netfilter/ipset/
H A Dip_set_getport.c68 const struct icmphdr *ic; in get_port() local
70 ic = skb_header_pointer(skb, protooff, sizeof(_ich), &_ich); in get_port()
71 if (!ic) in get_port()
74 *port = (__force __be16)htons((ic->type << 8) | ic->code); in get_port()
79 const struct icmp6hdr *ic; in get_port() local
81 ic = skb_header_pointer(skb, protooff, sizeof(_ich), &_ich); in get_port()
82 if (!ic) in get_port()
86 htons((ic->icmp6_type << 8) | ic->icmp6_code); in get_port()
/openbmc/linux/Documentation/devicetree/bindings/rtc/
H A Dtrivial-rtc.yaml54 # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
56 # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
58 # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
60 # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
62 # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
64 # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
68 # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
/openbmc/linux/drivers/staging/media/imx/
H A Dimx-ic-prpencvf.c3 * V4L2 Capture IC Preprocess Subdev for Freescale i.MX5/6 SOC
25 #include "imx-ic.h"
62 struct ipu_ic *ic; member
133 if (priv->ic) in prp_put_ipu_resources()
134 ipu_ic_put(priv->ic); in prp_put_ipu_resources()
135 priv->ic = NULL; in prp_put_ipu_resources()
153 struct ipu_ic *ic; in prp_get_ipu_resources() local
157 ic = ipu_ic_get(ic_priv->ipu, task); in prp_get_ipu_resources()
158 if (IS_ERR(ic)) { in prp_get_ipu_resources()
159 v4l2_err(&ic_priv->sd, "failed to get IC\n"); in prp_get_ipu_resources()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/gpio/
H A Dnxp,lpc1850-gpio.txt8 - reg-names : Should be "gpio", "gpio-pin-ic", "gpio-group0-ic" and
9 "gpio-gpoup1-ic"
36 reg-names = "gpio", "gpio-pin-ic",
37 "gpio-group0-ic", "gpio-gpoup1-ic";
/openbmc/linux/tools/perf/pmu-events/arch/x86/amdzen3/
H A Dcache.json226 …"BriefDescription": "The number of 32B fetch windows transferred from IC pipe to DE instruction de…
231 …"BriefDescription": "The number of 32B fetch windows tried to read the L1 IC and missed in the ful…
286 …"BriefDescription": "Instruction Pipe Stall. IC pipe was stalled during this clock cycle for any r…
292 …"BriefDescription": "Instruction Pipe Stall. IC pipe was stalled during this clock cycle (includin…
298 …"BriefDescription": "Instruction Pipe Stall. IC pipe was stalled during this clock cycle (includin…
304 …"BriefDescription": "IC line invalidated due to L2 invalidating probe (external or LS). The number…
310 …"BriefDescription": "IC line invalidated due to overwriting fill response. The number of instructi…
316 …"BriefDescription": "All Instruction Cache Accesses. Counts various IC tag related hit and miss ev…
322 … "BriefDescription": "Instruction Cache Miss. Counts various IC tag related hit and miss events.",
328 "BriefDescription": "Instruction Cache Hit. Counts various IC tag related hit and miss events.",
[all …]
/openbmc/qemu/hw/arm/
H A Dbcm2835_peripherals.c93 object_initialize_child(obj, "ic", &s->ic, TYPE_BCM2835_IC); in raspi_peripherals_base_init()
195 qdev_get_gpio_in_named(DEVICE(&s_base->ic), BCM2835_IC_GPU_IRQ, in bcm2835_peripherals_realize()
201 qdev_get_gpio_in_named(DEVICE(&s_base->ic), in bcm2835_peripherals_realize()
215 qdev_get_gpio_in_named(DEVICE(&s_base->ic), in bcm2835_peripherals_realize()
280 if (!sysbus_realize(SYS_BUS_DEVICE(&s->ic), errp)) { in bcm_soc_peripherals_common_realize()
294 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->ic), 0)); in bcm_soc_peripherals_common_realize()
295 sysbus_pass_irq(SYS_BUS_DEVICE(s), SYS_BUS_DEVICE(&s->ic)); in bcm_soc_peripherals_common_realize()
304 qdev_get_gpio_in_named(DEVICE(&s->ic), BCM2835_IC_GPU_IRQ, in bcm_soc_peripherals_common_realize()
307 qdev_get_gpio_in_named(DEVICE(&s->ic), BCM2835_IC_GPU_IRQ, in bcm_soc_peripherals_common_realize()
310 qdev_get_gpio_in_named(DEVICE(&s->ic), BCM2835_IC_GPU_IRQ, in bcm_soc_peripherals_common_realize()
[all …]
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-is-regs.h61 /* Interrupt Generation Register 1 from ISP CPU to Host IC */
66 /* Interrupt Clear Register 1 from ISP CPU to Host IC */
71 /* Interrupt Mask Register 1 from ISP CPU to Host IC */
76 /* Interrupt Status Register 1 from ISP CPU to Host IC */
78 /* Interrupt Mask Status Register 1 from ISP CPU to Host IC */
81 /* Interrupt Clear Register 2 from ISP BLK's interrupts to Host IC */
86 /* Interrupt Mask Register 2 from ISP BLK's interrupts to Host IC */
91 /* Interrupt Status Register 2 from ISP BLK's interrupts to Host IC */
93 /* Interrupt Mask Status Register 2 from ISP BLK's interrupts to Host IC */
/openbmc/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dallwinner,sun4i-a10-ic.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/allwinner,sun4i-a10-ic.yaml#
22 - allwinner,sun4i-a10-ic
23 - allwinner,suniv-f1c100s-ic
41 compatible = "allwinner,sun4i-a10-ic";

12345678910>>...33