/linux/net/rds/ |
H A D | ib_cm.c | 59 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 D | ib_recv.c | 48 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 D | ib_send.c | 73 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 D | ib_frmr.c | 47 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, ®_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 D | ib.c | 75 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 D | ib.h | 389 void rds_ib_mr_cqe_handler(struct rds_ib_connection *ic, struct ib_wc *wc); 395 int rds_ib_recv_alloc_caches(struct rds_ib_connection *ic, gfp_t gfp); 396 void rds_ib_recv_free_caches(struct rds_ib_connection *ic); 400 void rds_ib_recv_cqe_handler(struct rds_ib_connection *ic, struct ib_wc *wc, 402 void rds_ib_recv_init_ring(struct rds_ib_connection *ic); 403 void rds_ib_recv_clear_ring(struct rds_ib_connection *ic); 404 void rds_ib_recv_init_ack(struct rds_ib_connection *ic); 405 void rds_ib_attempt_ack(struct rds_ib_connection *ic); 406 void rds_ib_ack_send_complete(struct rds_ib_connection *ic); 407 u64 rds_ib_piggyb_ack(struct rds_ib_connection *ic); [all …]
|
H A D | ib_rdma.c | 128 struct rds_ib_connection *ic = conn->c_transport_data; in rds_ib_add_conn() local 133 BUG_ON(list_empty(&ic->ib_node)); in rds_ib_add_conn() 134 list_del(&ic->ib_node); in rds_ib_add_conn() 137 list_add_tail(&ic->ib_node, &rds_ibdev->conn_list); in rds_ib_add_conn() 141 ic->rds_ibdev = rds_ibdev; in rds_ib_add_conn() 147 struct rds_ib_connection *ic = conn->c_transport_data; in rds_ib_remove_conn() local 153 BUG_ON(list_empty(&ic->ib_node)); in rds_ib_remove_conn() 154 list_del(&ic->ib_node); in rds_ib_remove_conn() 157 list_add_tail(&ic->ib_node, &ib_nodev_conns); in rds_ib_remove_conn() 161 ic->rds_ibdev = NULL; in rds_ib_remove_conn() [all …]
|
/linux/drivers/gpu/ipu-v3/ |
H A D | ipu-ic.c | 17 /* 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 …]
|
/linux/drivers/gpio/ |
H A D | gpio-lpc18xx.c | 54 static inline void lpc18xx_gpio_pin_ic_isel(struct lpc18xx_gpio_pin_ic *ic, in lpc18xx_gpio_pin_ic_isel() argument 57 u32 val = readl_relaxed(ic->base + LPC18XX_GPIO_PIN_IC_ISEL); in lpc18xx_gpio_pin_ic_isel() 64 writel_relaxed(val, ic->base + LPC18XX_GPIO_PIN_IC_ISEL); in lpc18xx_gpio_pin_ic_isel() 67 static inline void lpc18xx_gpio_pin_ic_set(struct lpc18xx_gpio_pin_ic *ic, in lpc18xx_gpio_pin_ic_set() argument 70 writel_relaxed(BIT(pin), ic->base + reg); in lpc18xx_gpio_pin_ic_set() 75 struct lpc18xx_gpio_pin_ic *ic = d->chip_data; in lpc18xx_gpio_pin_ic_mask() local 78 raw_spin_lock(&ic->lock); in lpc18xx_gpio_pin_ic_mask() 81 lpc18xx_gpio_pin_ic_set(ic, d->hwirq, in lpc18xx_gpio_pin_ic_mask() 85 lpc18xx_gpio_pin_ic_set(ic, d->hwirq, in lpc18xx_gpio_pin_ic_mask() 88 raw_spin_unlock(&ic->lock); in lpc18xx_gpio_pin_ic_mask() [all …]
|
/linux/fs/jffs2/ |
H A D | build.c | 37 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 D | xattr.c | 430 * 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 D | xattr.h | 55 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 D | gc.c | 26 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 …]
|
/linux/drivers/irqchip/ |
H A D | irq-lpc32xx.c | 35 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 D | irq-apple-aic.c | 338 static u32 aic_ic_read(struct aic_irq_chip *ic, u32 reg) in aic_ic_read() argument 340 return readl_relaxed(ic->base + reg); in aic_ic_read() 343 static void aic_ic_write(struct aic_irq_chip *ic, u32 reg, u32 val) in aic_ic_write() argument 345 writel_relaxed(val, ic->base + reg); in aic_ic_write() 355 struct aic_irq_chip *ic = irq_data_get_irq_chip_data(d); in aic_irq_mask() local 357 u32 off = AIC_HWIRQ_DIE(hwirq) * ic->info.die_stride; in aic_irq_mask() 360 aic_ic_write(ic, ic->info.mask_set + off + MASK_REG(irq), MASK_BIT(irq)); in aic_irq_mask() 366 struct aic_irq_chip *ic = irq_data_get_irq_chip_data(d); in aic_irq_unmask() local 368 u32 off = AIC_HWIRQ_DIE(hwirq) * ic->info.die_stride; in aic_irq_unmask() 371 aic_ic_write(ic, ic->info.mask_clr + off + MASK_REG(irq), MASK_BIT(irq)); in aic_irq_unmask() [all …]
|
/linux/drivers/md/persistent-data/ |
H A D | dm-space-map-common.c | 520 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 …]
|
/linux/net/netfilter/ipset/ |
H A D | ip_set_getport.c | 68 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()
|
/linux/drivers/staging/media/imx/ |
H A D | imx-ic-prpencvf.c | 3 * 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 …]
|
/linux/Documentation/devicetree/bindings/rtc/ |
H A D | trivial-rtc.yaml | 68 # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC 70 # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC 72 # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC 74 # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC 76 # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC 78 # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC 86 # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
|
/linux/tools/perf/pmu-events/arch/x86/amdzen3/ |
H A D | cache.json | 226 …"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 …]
|
/linux/Documentation/devicetree/bindings/gpio/ |
H A D | nxp,lpc1850-gpio.txt | 8 - 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";
|
/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-is-regs.h | 61 /* 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 */
|
/linux/tools/perf/pmu-events/arch/x86/amdzen2/ |
H A D | cache.json | 226 …"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… 280 …"BriefDescription": "Instruction Pipe Stall. IC pipe was stalled during this clock cycle for any r… 286 …"BriefDescription": "Instruction Pipe Stall. IC pipe was stalled during this clock cycle (includin… 292 …"BriefDescription": "Instruction Pipe Stall. IC pipe was stalled during this clock cycle (includin… 298 …"BriefDescription": "IC line invalidated due to L2 invalidating probe (external or LS). The number… 304 …"BriefDescription": "IC line invalidated due to overwriting fill response. The number of instructi… 310 "BriefDescription": "OC Mode Switch. OC to IC mode switch.", 316 "BriefDescription": "OC Mode Switch. IC to OC mode switch.",
|
/linux/net/netfilter/ |
H A D | xt_tcpudp.c | 191 const struct icmphdr *ic; in icmp_match() local 199 ic = skb_header_pointer(skb, par->thoff, sizeof(_icmph), &_icmph); in icmp_match() 200 if (!ic) { in icmp_match() 211 ic->type, ic->code, in icmp_match() 218 const struct icmp6hdr *ic; in icmp6_match() local 226 ic = skb_header_pointer(skb, par->thoff, sizeof(_icmph), &_icmph); in icmp6_match() 227 if (!ic) { in icmp6_match() 238 ic->icmp6_type, ic->icmp6_code, in icmp6_match()
|
/linux/Documentation/hwmon/ |
H A D | lm90.rst | 212 http://datasheets.maxim-ic.com/en/ds/MAX6642.pdf 222 http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3497 232 http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3497 242 http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3500 252 http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3497 274 http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2578 284 http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2578 294 http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2578 306 http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3370 318 http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3370 [all …]
|