Home
last modified time | relevance | path

Searched refs:rh (Results 1 – 25 of 77) sorted by relevance

1234

/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm-region-hash.c103 struct dm_region_hash *rh; /* FIXME: can we get rid of this ? */ member
117 static region_t dm_rh_sector_to_region(struct dm_region_hash *rh, sector_t sector) in dm_rh_sector_to_region() argument
119 return sector >> rh->region_shift; in dm_rh_sector_to_region()
122 sector_t dm_rh_region_to_sector(struct dm_region_hash *rh, region_t region) in dm_rh_region_to_sector() argument
124 return region << rh->region_shift; in dm_rh_region_to_sector()
128 region_t dm_rh_bio_to_region(struct dm_region_hash *rh, struct bio *bio) in dm_rh_bio_to_region() argument
130 return dm_rh_sector_to_region(rh, bio->bi_iter.bi_sector - in dm_rh_bio_to_region()
131 rh->target_begin); in dm_rh_bio_to_region()
137 return reg->rh->context; in dm_rh_region_context()
147 sector_t dm_rh_get_region_size(struct dm_region_hash *rh) in dm_rh_get_region_size() argument
[all …]
H A Ddm-raid1.c65 struct dm_region_hash *rh; member
336 sector_t region_size = dm_rh_get_region_size(ms->rh); in recover()
341 from.sector = m->offset + dm_rh_region_to_sector(ms->rh, key); in recover()
360 dest->sector = m->offset + dm_rh_region_to_sector(ms->rh, key); in recover()
387 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in do_recovery()
392 dm_rh_recovery_prepare(ms->rh); in do_recovery()
397 while ((reg = dm_rh_recovery_start(ms->rh))) in do_recovery()
439 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in mirror_available()
440 region_t region = dm_rh_bio_to_region(ms->rh, bio); in mirror_available()
555 int state = dm_rh_get_state(ms->rh, region, may_block); in region_in_sync()
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Ddm-region-hash.h43 void dm_region_hash_destroy(struct dm_region_hash *rh);
45 struct dm_dirty_log *dm_rh_dirty_log(struct dm_region_hash *rh);
50 region_t dm_rh_bio_to_region(struct dm_region_hash *rh, struct bio *bio);
51 sector_t dm_rh_region_to_sector(struct dm_region_hash *rh, region_t region);
57 sector_t dm_rh_get_region_size(struct dm_region_hash *rh);
64 int dm_rh_get_state(struct dm_region_hash *rh, region_t region, int may_block);
65 void dm_rh_set_state(struct dm_region_hash *rh, region_t region,
69 void dm_rh_update_states(struct dm_region_hash *rh, int errors_handled);
72 int dm_rh_flush(struct dm_region_hash *rh);
75 void dm_rh_inc_pending(struct dm_region_hash *rh, struct bio_list *bios);
[all …]
H A Dmath64.h203 } rl, rm, rn, rh, a0, b0; in mul_u64_u64_shr() local
212 rh.ll = mul_u32_u32(a0.l.high, b0.l.high); in mul_u64_u64_shr()
220 rh.l.low = c = (c >> 32) + rm.l.high + rn.l.high + rh.l.low; in mul_u64_u64_shr()
221 rh.l.high = (c >> 32) + rh.l.high; in mul_u64_u64_shr()
230 return (rl.ll >> shift) | (rh.ll << (64 - shift)); in mul_u64_u64_shr()
231 return rh.ll >> (shift & 63); in mul_u64_u64_shr()
249 } u, rl, rh; in mul_u64_u32_div() local
253 rh.ll = mul_u32_u32(u.l.high, mul) + rl.l.high; in mul_u64_u32_div()
256 rl.l.high = do_div(rh.ll, divisor); in mul_u64_u32_div()
261 rl.l.high = rh.l.low; in mul_u64_u32_div()
/OK3568_Linux_fs/external/xserver/hw/xfree86/x86emu/
H A Dfpu.c99 int mod, rl, rh; in x86emuOp_esc_coprocess_d9() local
104 FETCH_DECODE_MODRM(mod, rh, rl); in x86emuOp_esc_coprocess_d9()
107 DECODE_PRINTINSTR32(x86emu_fpu_op_d9_tab, mod, rh, rl); in x86emuOp_esc_coprocess_d9()
110 DECODE_PRINTF(x86emu_fpu_op_d9_tab1[(rh << 3) + rl]); in x86emuOp_esc_coprocess_d9()
128 if (rh < 4) { in x86emuOp_esc_coprocess_d9()
140 switch (rh) { in x86emuOp_esc_coprocess_d9()
268 switch (rh) { in x86emuOp_esc_coprocess_d9()
332 int mod, rl, rh; in x86emuOp_esc_coprocess_da() local
337 FETCH_DECODE_MODRM(mod, rh, rl); in x86emuOp_esc_coprocess_da()
338 DECODE_PRINTINSTR32(x86emu_fpu_op_da_tab, mod, rh, rl); in x86emuOp_esc_coprocess_da()
[all …]
H A Dops2.c207 int mod, rl, rh; in x86emuOp2_set_byte() local
284 FETCH_DECODE_MODRM(mod, rh, rl); in x86emuOp2_set_byte()
363 int mod, rl, rh; in x86emuOp2_bt_R() local
369 FETCH_DECODE_MODRM(mod, rh, rl); in x86emuOp2_bt_R()
378 shiftreg = DECODE_RM_LONG_REGISTER(rh); in x86emuOp2_bt_R()
391 shiftreg = DECODE_RM_WORD_REGISTER(rh); in x86emuOp2_bt_R()
406 shiftreg = DECODE_RM_LONG_REGISTER(rh); in x86emuOp2_bt_R()
419 shiftreg = DECODE_RM_WORD_REGISTER(rh); in x86emuOp2_bt_R()
434 shiftreg = DECODE_RM_LONG_REGISTER(rh); in x86emuOp2_bt_R()
447 shiftreg = DECODE_RM_WORD_REGISTER(rh); in x86emuOp2_bt_R()
[all …]
H A Dops.c114 int mod, rl, rh; in x86emuOp_add_byte_RM_R() local
121 FETCH_DECODE_MODRM(mod, rh, rl); in x86emuOp_add_byte_RM_R()
127 srcreg = DECODE_RM_BYTE_REGISTER(rh); in x86emuOp_add_byte_RM_R()
137 srcreg = DECODE_RM_BYTE_REGISTER(rh); in x86emuOp_add_byte_RM_R()
147 srcreg = DECODE_RM_BYTE_REGISTER(rh); in x86emuOp_add_byte_RM_R()
156 srcreg = DECODE_RM_BYTE_REGISTER(rh); in x86emuOp_add_byte_RM_R()
173 int mod, rl, rh; in x86emuOp_add_word_RM_R() local
178 FETCH_DECODE_MODRM(mod, rh, rl); in x86emuOp_add_word_RM_R()
188 srcreg = DECODE_RM_LONG_REGISTER(rh); in x86emuOp_add_word_RM_R()
201 srcreg = DECODE_RM_WORD_REGISTER(rh); in x86emuOp_add_word_RM_R()
[all …]
/OK3568_Linux_fs/u-boot/drivers/bios_emulator/x86emu/
H A Dops2.c169 int mod, rl, rh; in x86emuOp2_set_byte() local
245 FETCH_DECODE_MODRM(mod, rh, rl); in x86emuOp2_set_byte()
293 int mod, rl, rh; in x86emuOp2_bt_R() local
299 FETCH_DECODE_MODRM(mod, rh, rl); in x86emuOp2_bt_R()
307 shiftreg = DECODE_RM_LONG_REGISTER(rh); in x86emuOp2_bt_R()
318 shiftreg = DECODE_RM_WORD_REGISTER(rh); in x86emuOp2_bt_R()
331 shiftreg = DECODE_RM_LONG_REGISTER(rh); in x86emuOp2_bt_R()
340 shiftreg = DECODE_RM_WORD_REGISTER(rh); in x86emuOp2_bt_R()
356 int mod, rl, rh; in x86emuOp2_shld_IMM() local
362 FETCH_DECODE_MODRM(mod, rh, rl); in x86emuOp2_shld_IMM()
[all …]
H A Dops.c206 int mod, rl, rh; in x86emuOp_genop_byte_RM_R() local
216 FETCH_DECODE_MODRM(mod, rh, rl); in x86emuOp_genop_byte_RM_R()
221 srcreg = DECODE_RM_BYTE_REGISTER(rh); in x86emuOp_genop_byte_RM_R()
231 srcreg = DECODE_RM_BYTE_REGISTER(rh); in x86emuOp_genop_byte_RM_R()
246 int mod, rl, rh; in x86emuOp_genop_word_RM_R() local
254 FETCH_DECODE_MODRM(mod, rh, rl); in x86emuOp_genop_word_RM_R()
264 srcreg = DECODE_RM_LONG_REGISTER(rh); in x86emuOp_genop_word_RM_R()
275 srcreg = DECODE_RM_WORD_REGISTER(rh); in x86emuOp_genop_word_RM_R()
287 srcreg = DECODE_RM_LONG_REGISTER(rh); in x86emuOp_genop_word_RM_R()
296 srcreg = DECODE_RM_WORD_REGISTER(rh); in x86emuOp_genop_word_RM_R()
[all …]
/OK3568_Linux_fs/kernel/crypto/
H A Dvmac.c104 #define ADD128(rh, rl, ih, il) \ argument
109 (rh)++; \
110 (rh) += (ih); \
115 #define PMUL64(rh, rl, i1, i2) /* Assumes m doesn't overflow */ \ argument
119 rh = MUL32(_i1>>32, _i2>>32); \
121 ADD128(rh, rl, (m >> 32), (m << 32)); \
124 #define MUL64(rh, rl, i1, i2) \ argument
129 rh = MUL32(_i1>>32, _i2>>32); \
131 ADD128(rh, rl, (m1 >> 32), (m1 << 32)); \
132 ADD128(rh, rl, (m2 >> 32), (m2 << 32)); \
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_demo/utils/
H A Ddrawing.cpp7 …signed char* pixels, int w, int h, int stride, int rx, int ry, int rw, int rh, unsigned int color,… in draw_rectangle_c1() argument
14 for (int y = ry; y < ry + rh; y++) in draw_rectangle_c1()
69 for (int y = ry + rh - t0; y < ry + rh + t1; y++) in draw_rectangle_c1()
101 for (int y = ry + t1; y < ry + rh - t0; y++) in draw_rectangle_c1()
124 for (int y = ry + t1; y < ry + rh - t0; y++) in draw_rectangle_c1()
139 …signed char* pixels, int w, int h, int stride, int rx, int ry, int rw, int rh, unsigned int color,… in draw_rectangle_c2() argument
146 for (int y = ry; y < ry + rh; y++) in draw_rectangle_c2()
203 for (int y = ry + rh - t0; y < ry + rh + t1; y++) in draw_rectangle_c2()
236 for (int y = ry + t1; y < ry + rh - t0; y++) in draw_rectangle_c2()
260 for (int y = ry + t1; y < ry + rh - t0; y++) in draw_rectangle_c2()
[all …]
/OK3568_Linux_fs/u-boot/include/linux/
H A Dmath64.h194 } rl, rm, rn, rh, a0, b0; in mul_u64_u64_shr() local
203 rh.ll = mul_u32_u32(a0.l.high, b0.l.high); in mul_u64_u64_shr()
211 rh.l.low = c = (c >> 32) + rm.l.high + rn.l.high + rh.l.low; in mul_u64_u64_shr()
212 rh.l.high = (c >> 32) + rh.l.high; in mul_u64_u64_shr()
221 return (rl.ll >> shift) | (rh.ll << (64 - shift)); in mul_u64_u64_shr()
222 return rh.ll >> (shift & 63); in mul_u64_u64_shr()
240 } u, rl, rh; in mul_u64_u32_div() local
244 rh.ll = mul_u32_u32(u.l.high, mul) + rl.l.high; in mul_u64_u32_div()
247 rl.l.high = do_div(rh.ll, divisor); in mul_u64_u32_div()
252 rl.l.high = rh.l.low; in mul_u64_u32_div()
/OK3568_Linux_fs/external/xserver/hw/xfree86/x86emu/x86emu/
H A Dfpu_regs.h110 #define DECODE_PRINTINSTR32(t,mod,rh,rl) \ argument
111 DECODE_PRINTF(t[(mod<<3)+(rh)]);
112 #define DECODE_PRINTINSTR256(t,mod,rh,rl) \ argument
113 DECODE_PRINTF(t[(mod<<6)+(rh<<3)+(rl)]);
115 #define DECODE_PRINTINSTR32(t,mod,rh,rl) argument
116 #define DECODE_PRINTINSTR256(t,mod,rh,rl) argument
/OK3568_Linux_fs/kernel/arch/powerpc/sysdev/
H A Dfsl_85xx_cache_sram.c47 offset = rh_alloc_align(cache_sram->rh, size, align, NULL); in mpc85xx_cache_sram_alloc()
65 rh_free(cache_sram->rh, ptr - cache_sram->base_virt); in mpc85xx_cache_sram_free()
106 cache_sram->rh = rh_create(sizeof(unsigned int)); in instantiate_cache_sram()
107 if (IS_ERR(cache_sram->rh)) { in instantiate_cache_sram()
110 ret = PTR_ERR(cache_sram->rh); in instantiate_cache_sram()
114 rh_attach_region(cache_sram->rh, 0, cache_sram->size); in instantiate_cache_sram()
137 rh_detach_region(cache_sram->rh, 0, cache_sram->size); in remove_cache_sram()
138 rh_destroy(cache_sram->rh); in remove_cache_sram()
/OK3568_Linux_fs/kernel/drivers/dma/bestcomm/
H A Dsram.c97 bcom_sram->rh = rh_create(4); in bcom_sram_init()
110 rh_attach_region(bcom_sram->rh, 0, bcom_sram->size); in bcom_sram_init()
115 rh_attach_region(bcom_sram->rh, zbase - bcom_sram->base_phys, regaddr_p[1]); in bcom_sram_init()
140 rh_destroy(bcom_sram->rh); in bcom_sram_cleanup()
154 offset = rh_alloc_align(bcom_sram->rh, size, align, NULL); in bcom_sram_alloc()
175 rh_free(bcom_sram->rh, offset); in bcom_sram_free()
/OK3568_Linux_fs/kernel/net/ipv6/netfilter/
H A Dip6t_rt.c34 const struct ipv6_rt_hdr *rh; in rt_mt6() local
51 rh = skb_header_pointer(skb, ptr, sizeof(_route), &_route); in rt_mt6()
52 if (rh == NULL) { in rt_mt6()
57 hdrlen = ipv6_optlen(rh); in rt_mt6()
64 rh->segments_left, in rt_mt6()
70 ((rtinfo->rt_type == rh->type) ^ in rt_mt6()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/liquidio/
H A Docteon_droq.c351 recv_pkt->rh = info->rh; in octeon_create_recv_info()
530 union octeon_rh *rh, in octeon_droq_dispatch_pkt() argument
539 disp_fn = octeon_get_dispatch(oct, (u16)rh->r.opcode, in octeon_droq_dispatch_pkt()
540 (u16)rh->r.subcode); in octeon_droq_dispatch_pkt()
548 rinfo->recv_pkt->rh = *rh; in octeon_droq_dispatch_pkt()
556 (unsigned int)rh->r.opcode, in octeon_droq_dispatch_pkt()
557 (unsigned int)rh->r.subcode); in octeon_droq_dispatch_pkt()
599 union octeon_rh *rh; in octeon_droq_fast_process_packets() local
624 rh = &info->rh; in octeon_droq_fast_process_packets()
627 rh->r_dh.len += (ROUNDUP8(OCT_DROQ_INFO_SIZE) / sizeof(u64)); in octeon_droq_fast_process_packets()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/vfp/
H A Dvfp.h73 u64 rh, rma, rmb, rl; in mul64to128() local
86 rh = (u64)nh * mh; in mul64to128()
87 rh += ((u64)(rma < rmb) << 32) + (rma >> 32); in mul64to128()
91 rh += (rl < rma); in mul64to128()
94 *resh = rh; in mul64to128()
105 u64 rh, rl; in vfp_hi64multiply64() local
106 mul64to128(&rh, &rl, n, m); in vfp_hi64multiply64()
107 return rh | (rl != 0); in vfp_hi64multiply64()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/share/i18n/locales/
H A Dcy_GB83 % &R<rh<<<Rh<<<RH
99 % a b c ch d dd e f ff g ng h i l ll m n o p ph r rh s t th u w y
131 collating-symbol <rh-digraph>
132 collating-element <rh> from "rh"
155 <rh-digraph>
183 <rh> <rh-digraph>;"<BASE><BASE>";"<MIN><MIN>";IGNORE
184 <rH> <rh-digraph>;"<BASE><BASE>";"<MIN><CAP>";IGNORE
185 <Rh> <rh-digraph>;"<BASE><BASE>";"<CAP><MIN>";IGNORE
186 <RH> <rh-digraph>;"<BASE><BASE>";"<CAP><CAP>";IGNORE
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/share/i18n/locales/
H A Dcy_GB83 % &R<rh<<<Rh<<<RH
99 % a b c ch d dd e f ff g ng h i l ll m n o p ph r rh s t th u w y
131 collating-symbol <rh-digraph>
132 collating-element <rh> from "rh"
155 <rh-digraph>
183 <rh> <rh-digraph>;"<BASE><BASE>";"<MIN><MIN>";IGNORE
184 <rH> <rh-digraph>;"<BASE><BASE>";"<MIN><CAP>";IGNORE
185 <Rh> <rh-digraph>;"<BASE><BASE>";"<CAP><MIN>";IGNORE
186 <RH> <rh-digraph>;"<BASE><BASE>";"<CAP><CAP>";IGNORE
/OK3568_Linux_fs/kernel/net/dccp/ccids/lib/
H A Dloss_interval.c135 int tfrc_lh_interval_add(struct tfrc_loss_hist *lh, struct tfrc_rx_hist *rh, in tfrc_lh_interval_add() argument
140 if (cur != NULL && !tfrc_lh_is_new_loss(cur, tfrc_rx_hist_loss_prev(rh))) in tfrc_lh_interval_add()
149 new->li_seqno = tfrc_rx_hist_loss_prev(rh)->tfrchrx_seqno; in tfrc_lh_interval_add()
150 new->li_ccval = tfrc_rx_hist_loss_prev(rh)->tfrchrx_ccval; in tfrc_lh_interval_add()
158 tfrc_rx_hist_last_rcv(rh)->tfrchrx_seqno) + 1; in tfrc_lh_interval_add()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dr8a66597-hcd.c996 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; in start_root_hub_sampling() local
998 rh->old_syssts = r8a66597_read(r8a66597, get_syssts_reg(port)) & LNST; in start_root_hub_sampling()
999 rh->scount = R8A66597_MAX_SAMPLING; in start_root_hub_sampling()
1001 rh->port |= USB_PORT_STAT_CONNECTION; in start_root_hub_sampling()
1003 rh->port &= ~USB_PORT_STAT_CONNECTION; in start_root_hub_sampling()
1004 rh->port |= USB_PORT_STAT_C_CONNECTION << 16; in start_root_hub_sampling()
1040 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; in r8a66597_usb_connect() local
1042 rh->port &= ~(USB_PORT_STAT_HIGH_SPEED | USB_PORT_STAT_LOW_SPEED); in r8a66597_usb_connect()
1044 rh->port |= USB_PORT_STAT_HIGH_SPEED; in r8a66597_usb_connect()
1046 rh->port |= USB_PORT_STAT_LOW_SPEED; in r8a66597_usb_connect()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-daemons/openhpi/files/
H A Dopenhpi.init81 nolsb | rh)
107 gentoo | rh)
139 nolsb | rh)
180 gentoo | nolsb | rh)
/OK3568_Linux_fs/kernel/arch/ia64/kernel/
H A Dsalinfo.c386 sal_log_record_header_t *rh; in salinfo_log_read_cpu() local
388 rh = (sal_log_record_header_t *)(data->log_buffer); in salinfo_log_read_cpu()
390 if (rh->severity == sal_log_severity_corrected) in salinfo_log_read_cpu()
408 sal_log_record_header_t *rh = (sal_log_record_header_t *)(data_saved->buffer); in salinfo_log_new_read() local
410 memcpy(data->log_buffer, rh, data->log_size); in salinfo_log_new_read()
412 if (rh->id == data_saved->id) { in salinfo_log_new_read()
465 sal_log_record_header_t *rh; in salinfo_log_clear() local
479 rh = (sal_log_record_header_t *)(data->log_buffer); in salinfo_log_clear()
481 if (rh->severity != sal_log_severity_corrected) in salinfo_log_clear()
/OK3568_Linux_fs/kernel/arch/arm/mm/
H A Dproc-v7-3level.S58 #define rh r2 macro
61 #define rh r3 macro
75 tst rh, #1 << (57 - 32) @ L_PTE_NONE
79 eor ip, rh, #1 << (55 - 32) @ toggle L_PTE_DIRTY in temp reg to

1234