Home
last modified time | relevance | path

Searched defs:r (Results 1 – 25 of 2212) sorted by relevance

12345678910>>...89

/Linux-v4.19/arch/x86/um/shared/sysdep/
Dptrace.h11 #define REGS_IP(r) ((r)[HOST_IP]) argument
12 #define REGS_SP(r) ((r)[HOST_SP]) argument
13 #define REGS_EFLAGS(r) ((r)[HOST_EFLAGS]) argument
14 #define REGS_AX(r) ((r)[HOST_AX]) argument
15 #define REGS_BX(r) ((r)[HOST_BX]) argument
16 #define REGS_CX(r) ((r)[HOST_CX]) argument
17 #define REGS_DX(r) ((r)[HOST_DX]) argument
18 #define REGS_SI(r) ((r)[HOST_SI]) argument
19 #define REGS_DI(r) ((r)[HOST_DI]) argument
20 #define REGS_BP(r) ((r)[HOST_BP]) argument
[all …]
Dptrace_64.h13 #define REGS_R8(r) ((r)[HOST_R8]) argument
14 #define REGS_R9(r) ((r)[HOST_R9]) argument
15 #define REGS_R10(r) ((r)[HOST_R10]) argument
16 #define REGS_R11(r) ((r)[HOST_R11]) argument
17 #define REGS_R12(r) ((r)[HOST_R12]) argument
18 #define REGS_R13(r) ((r)[HOST_R13]) argument
19 #define REGS_R14(r) ((r)[HOST_R14]) argument
20 #define REGS_R15(r) ((r)[HOST_R15]) argument
44 #define UPT_R8(r) REGS_R8((r)->gp) argument
45 #define UPT_R9(r) REGS_R9((r)->gp) argument
[all …]
Dptrace_32.h27 #define UPT_SYSCALL_ARG1(r) UPT_BX(r) argument
28 #define UPT_SYSCALL_ARG2(r) UPT_CX(r) argument
29 #define UPT_SYSCALL_ARG3(r) UPT_DX(r) argument
30 #define UPT_SYSCALL_ARG4(r) UPT_SI(r) argument
31 #define UPT_SYSCALL_ARG5(r) UPT_DI(r) argument
32 #define UPT_SYSCALL_ARG6(r) UPT_BP(r) argument
/Linux-v4.19/arch/x86/um/asm/
Dptrace.h11 #define user_mode(r) UPT_IS_USER(&(r)->regs) argument
13 #define PT_REGS_AX(r) UPT_AX(&(r)->regs) argument
14 #define PT_REGS_BX(r) UPT_BX(&(r)->regs) argument
15 #define PT_REGS_CX(r) UPT_CX(&(r)->regs) argument
16 #define PT_REGS_DX(r) UPT_DX(&(r)->regs) argument
18 #define PT_REGS_SI(r) UPT_SI(&(r)->regs) argument
19 #define PT_REGS_DI(r) UPT_DI(&(r)->regs) argument
20 #define PT_REGS_BP(r) UPT_BP(&(r)->regs) argument
21 #define PT_REGS_EFLAGS(r) UPT_EFLAGS(&(r)->regs) argument
23 #define PT_REGS_CS(r) UPT_CS(&(r)->regs) argument
[all …]
/Linux-v4.19/include/linux/
Dptr_ring.h53 static inline bool __ptr_ring_full(struct ptr_ring *r) in __ptr_ring_full()
58 static inline bool ptr_ring_full(struct ptr_ring *r) in ptr_ring_full()
69 static inline bool ptr_ring_full_irq(struct ptr_ring *r) in ptr_ring_full_irq()
80 static inline bool ptr_ring_full_any(struct ptr_ring *r) in ptr_ring_full_any()
92 static inline bool ptr_ring_full_bh(struct ptr_ring *r) in ptr_ring_full_bh()
108 static inline int __ptr_ring_produce(struct ptr_ring *r, void *ptr) in __ptr_ring_produce()
128 static inline int ptr_ring_produce(struct ptr_ring *r, void *ptr) in ptr_ring_produce()
139 static inline int ptr_ring_produce_irq(struct ptr_ring *r, void *ptr) in ptr_ring_produce_irq()
150 static inline int ptr_ring_produce_any(struct ptr_ring *r, void *ptr) in ptr_ring_produce_any()
162 static inline int ptr_ring_produce_bh(struct ptr_ring *r, void *ptr) in ptr_ring_produce_bh()
[all …]
Drefcount.h30 static inline void refcount_set(refcount_t *r, unsigned int n) in refcount_set()
41 static inline unsigned int refcount_read(const refcount_t *r) in refcount_read()
74 static inline __must_check bool refcount_add_not_zero(unsigned int i, refcount_t *r) in refcount_add_not_zero()
79 static inline void refcount_add(unsigned int i, refcount_t *r) in refcount_add()
84 static inline __must_check bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero()
89 static inline void refcount_inc(refcount_t *r) in refcount_inc()
94 static inline __must_check bool refcount_sub_and_test(unsigned int i, refcount_t *r) in refcount_sub_and_test()
99 static inline __must_check bool refcount_dec_and_test(refcount_t *r) in refcount_dec_and_test()
104 static inline void refcount_dec(refcount_t *r) in refcount_dec()
/Linux-v4.19/drivers/gpu/drm/exynos/
Dregs-scaler.h82 #define _SCALER_HCOEF_DELTA(r, c) ((r) * 0x10 + (c) * 0x4) argument
83 #define _SCALER_VCOEF_DELTA(r, c) ((r) * 0x8 + (c) * 0x4) argument
85 #define SCALER_YHCOEF(r, c) (0x60 + _SCALER_HCOEF_DELTA((r), (c))) argument
86 #define SCALER_YVCOEF(r, c) (0xf0 + _SCALER_VCOEF_DELTA((r), (c))) argument
87 #define SCALER_CHCOEF(r, c) (0x140 + _SCALER_HCOEF_DELTA((r), (c))) argument
88 #define SCALER_CVCOEF(r, c) (0x1d0 + _SCALER_VCOEF_DELTA((r), (c))) argument
208 #define SCALER_SRC_CFG_GET_BYTE_SWAP(r) SCALER_GET(r, 6, 5) argument
210 #define SCALER_SRC_CFG_GET_COLOR_FORMAT(r) SCALER_GET(r, 4, 0) argument
234 #define SCALER_SRC_SPAN_GET_C_SPAN(r) SCALER_GET(r, 29, 16) argument
236 #define SCALER_SRC_SPAN_GET_Y_SPAN(r) SCALER_GET(r, 13, 0) argument
[all …]
/Linux-v4.19/lib/
Drefcount.c61 bool refcount_add_not_zero_checked(unsigned int i, refcount_t *r) in refcount_add_not_zero_checked()
100 void refcount_add_checked(unsigned int i, refcount_t *r) in refcount_add_checked()
118 bool refcount_inc_not_zero_checked(refcount_t *r) in refcount_inc_not_zero_checked()
151 void refcount_inc_checked(refcount_t *r) in refcount_inc_checked()
177 bool refcount_sub_and_test_checked(unsigned int i, refcount_t *r) in refcount_sub_and_test_checked()
210 bool refcount_dec_and_test_checked(refcount_t *r) in refcount_dec_and_test_checked()
226 void refcount_dec_checked(refcount_t *r) in refcount_dec_checked()
248 bool refcount_dec_if_one(refcount_t *r) in refcount_dec_if_one()
267 bool refcount_dec_not_one(refcount_t *r) in refcount_dec_not_one()
306 bool refcount_dec_and_mutex_lock(refcount_t *r, struct mutex *lock) in refcount_dec_and_mutex_lock()
[all …]
/Linux-v4.19/sound/soc/uniphier/
Daio-core.c86 struct regmap *r = chip->regmap_sg; in aio_iecout_set_enable() local
109 struct regmap *r = chip->regmap; in aio_chip_set_pll() local
167 struct regmap *r = chip->regmap; in aio_chip_init() local
203 struct regmap *r = sub->aio->chip->regmap; in aio_init() local
252 struct regmap *r = sub->aio->chip->regmap; in aio_port_reset() local
280 struct regmap *r = sub->aio->chip->regmap; in aio_port_set_ch() local
332 struct regmap *r = sub->aio->chip->regmap; in aio_port_set_rate() local
451 struct regmap *r = sub->aio->chip->regmap; in aio_port_set_fmt() local
518 struct regmap *r = sub->aio->chip->regmap; in aio_port_set_clk() local
616 struct regmap *r = sub->aio->chip->regmap; in aio_port_set_param() local
[all …]
/Linux-v4.19/sound/pci/ice1712/
Dhoontech.h44 #define ICE1712_STDSP24_0_BOX(r, x) r[0] = ((r[0] & ~3) | ((x)&3)) argument
45 #define ICE1712_STDSP24_0_DAREAR(r, x) r[0] = ((r[0] & ~4) | (((x)&1)<<2)) argument
46 #define ICE1712_STDSP24_1_CHN1(r, x) r[1] = ((r[1] & ~1) | ((x)&1)) argument
47 #define ICE1712_STDSP24_1_CHN2(r, x) r[1] = ((r[1] & ~2) | (((x)&1)<<1)) argument
48 #define ICE1712_STDSP24_1_CHN3(r, x) r[1] = ((r[1] & ~4) | (((x)&1)<<2)) argument
49 #define ICE1712_STDSP24_2_CHN4(r, x) r[2] = ((r[2] & ~1) | ((x)&1)) argument
50 #define ICE1712_STDSP24_2_MIDIIN(r, x) r[2] = ((r[2] & ~2) | (((x)&1)<<1)) argument
51 #define ICE1712_STDSP24_2_MIDI1(r, x) r[2] = ((r[2] & ~4) | (((x)&1)<<2)) argument
52 #define ICE1712_STDSP24_3_MIDI2(r, x) r[3] = ((r[3] & ~1) | ((x)&1)) argument
53 #define ICE1712_STDSP24_3_MUTE(r, x) r[3] = ((r[3] & ~2) | (((x)&1)<<1)) argument
[all …]
/Linux-v4.19/fs/dlm/
Drecover.c252 static void recover_list_add(struct dlm_rsb *r) in recover_list_add()
265 static void recover_list_del(struct dlm_rsb *r) in recover_list_del()
279 struct dlm_rsb *r, *s; in recover_list_clear() local
309 static int recover_idr_add(struct dlm_rsb *r) in recover_idr_add()
334 static void recover_idr_del(struct dlm_rsb *r) in recover_idr_del()
349 struct dlm_rsb *r; in recover_idr_find() local
359 struct dlm_rsb *r; in recover_idr_clear() local
415 static void set_master_lkbs(struct dlm_rsb *r) in set_master_lkbs()
429 static void set_new_master(struct dlm_rsb *r) in set_new_master()
446 static int recover_master(struct dlm_rsb *r, unsigned int *count) in recover_master()
[all …]
Dlock.c172 static void dlm_print_rsb(struct dlm_rsb *r) in dlm_print_rsb()
181 void dlm_dump_rsb(struct dlm_rsb *r) in dlm_dump_rsb()
245 static inline int is_remote(struct dlm_rsb *r) in is_remote()
290 static void queue_cast(struct dlm_rsb *r, struct dlm_lkb *lkb, int rv) in queue_cast()
314 static inline void queue_cast_overlap(struct dlm_rsb *r, struct dlm_lkb *lkb) in queue_cast_overlap()
320 static void queue_bast(struct dlm_rsb *r, struct dlm_lkb *lkb, int rqmode) in queue_bast()
336 static inline void hold_rsb(struct dlm_rsb *r) in hold_rsb()
341 void dlm_hold_rsb(struct dlm_rsb *r) in dlm_hold_rsb()
349 static void put_rsb(struct dlm_rsb *r) in put_rsb()
359 void dlm_put_rsb(struct dlm_rsb *r) in dlm_put_rsb()
[all …]
/Linux-v4.19/drivers/net/wireless/zydas/zd1211rw/
Dzd_chip.c108 int r; in zd_ioread32v_locked() local
148 int i, j, r; in _zd_iowrite32v_async_locked() local
186 int r; in _zd_iowrite32v_locked() local
200 int r; in zd_iowrite16a_locked() local
238 int r; in zd_iowrite32a_locked() local
270 int r; in zd_ioread16() local
280 int r; in zd_ioread32() local
290 int r; in zd_iowrite16() local
300 int r; in zd_iowrite32() local
311 int r; in zd_ioread32v() local
[all …]
/Linux-v4.19/drivers/gpu/host1x/hw/
Dhw_host1x05_sync.h86 static inline u32 host1x_sync_cf_setup_base_v(u32 r) in host1x_sync_cf_setup_base_v()
90 #define HOST1X_SYNC_CF_SETUP_BASE_V(r) \ argument
92 static inline u32 host1x_sync_cf_setup_limit_v(u32 r) in host1x_sync_cf_setup_limit_v()
96 #define HOST1X_SYNC_CF_SETUP_LIMIT_V(r) \ argument
134 static inline u32 host1x_sync_mlock_owner_chid_v(u32 r) in host1x_sync_mlock_owner_chid_v()
140 static inline u32 host1x_sync_mlock_owner_cpu_owns_v(u32 r) in host1x_sync_mlock_owner_cpu_owns_v()
144 #define HOST1X_SYNC_MLOCK_OWNER_CPU_OWNS_V(r) \ argument
146 static inline u32 host1x_sync_mlock_owner_ch_owns_v(u32 r) in host1x_sync_mlock_owner_ch_owns_v()
150 #define HOST1X_SYNC_MLOCK_OWNER_CH_OWNS_V(r) \ argument
212 static inline u32 host1x_sync_cfpeek_ptrs_cf_rd_ptr_v(u32 r) in host1x_sync_cfpeek_ptrs_cf_rd_ptr_v()
[all …]
Dhw_host1x02_sync.h86 static inline u32 host1x_sync_cf_setup_base_v(u32 r) in host1x_sync_cf_setup_base_v()
90 #define HOST1X_SYNC_CF_SETUP_BASE_V(r) \ argument
92 static inline u32 host1x_sync_cf_setup_limit_v(u32 r) in host1x_sync_cf_setup_limit_v()
96 #define HOST1X_SYNC_CF_SETUP_LIMIT_V(r) \ argument
140 static inline u32 host1x_sync_mlock_owner_cpu_owns_v(u32 r) in host1x_sync_mlock_owner_cpu_owns_v()
144 #define HOST1X_SYNC_MLOCK_OWNER_CPU_OWNS_V(r) \ argument
146 static inline u32 host1x_sync_mlock_owner_ch_owns_v(u32 r) in host1x_sync_mlock_owner_ch_owns_v()
150 #define HOST1X_SYNC_MLOCK_OWNER_CH_OWNS_V(r) \ argument
212 static inline u32 host1x_sync_cfpeek_ptrs_cf_rd_ptr_v(u32 r) in host1x_sync_cfpeek_ptrs_cf_rd_ptr_v()
216 #define HOST1X_SYNC_CFPEEK_PTRS_CF_RD_PTR_V(r) \ argument
[all …]
Dhw_host1x01_sync.h86 static inline u32 host1x_sync_cf_setup_base_v(u32 r) in host1x_sync_cf_setup_base_v()
90 #define HOST1X_SYNC_CF_SETUP_BASE_V(r) \ argument
92 static inline u32 host1x_sync_cf_setup_limit_v(u32 r) in host1x_sync_cf_setup_limit_v()
96 #define HOST1X_SYNC_CF_SETUP_LIMIT_V(r) \ argument
140 static inline u32 host1x_sync_mlock_owner_cpu_owns_v(u32 r) in host1x_sync_mlock_owner_cpu_owns_v()
144 #define HOST1X_SYNC_MLOCK_OWNER_CPU_OWNS_V(r) \ argument
146 static inline u32 host1x_sync_mlock_owner_ch_owns_v(u32 r) in host1x_sync_mlock_owner_ch_owns_v()
150 #define HOST1X_SYNC_MLOCK_OWNER_CH_OWNS_V(r) \ argument
212 static inline u32 host1x_sync_cfpeek_ptrs_cf_rd_ptr_v(u32 r) in host1x_sync_cfpeek_ptrs_cf_rd_ptr_v()
216 #define HOST1X_SYNC_CFPEEK_PTRS_CF_RD_PTR_V(r) \ argument
[all …]
Dhw_host1x04_sync.h86 static inline u32 host1x_sync_cf_setup_base_v(u32 r) in host1x_sync_cf_setup_base_v()
90 #define HOST1X_SYNC_CF_SETUP_BASE_V(r) \ argument
92 static inline u32 host1x_sync_cf_setup_limit_v(u32 r) in host1x_sync_cf_setup_limit_v()
96 #define HOST1X_SYNC_CF_SETUP_LIMIT_V(r) \ argument
140 static inline u32 host1x_sync_mlock_owner_cpu_owns_v(u32 r) in host1x_sync_mlock_owner_cpu_owns_v()
144 #define HOST1X_SYNC_MLOCK_OWNER_CPU_OWNS_V(r) \ argument
146 static inline u32 host1x_sync_mlock_owner_ch_owns_v(u32 r) in host1x_sync_mlock_owner_ch_owns_v()
150 #define HOST1X_SYNC_MLOCK_OWNER_CH_OWNS_V(r) \ argument
212 static inline u32 host1x_sync_cfpeek_ptrs_cf_rd_ptr_v(u32 r) in host1x_sync_cfpeek_ptrs_cf_rd_ptr_v()
216 #define HOST1X_SYNC_CFPEEK_PTRS_CF_RD_PTR_V(r) \ argument
[all …]
/Linux-v4.19/arch/x86/kernel/cpu/
Dintel_rdt.c186 static unsigned int cbm_idx(struct rdt_resource *r, unsigned int closid) in cbm_idx()
211 struct rdt_resource *r = &rdt_resources_all[RDT_RESOURCE_L3]; in cache_alloc_hsw_probe() local
233 bool is_mba_sc(struct rdt_resource *r) in is_mba_sc()
251 static inline bool rdt_get_mb_table(struct rdt_resource *r) in rdt_get_mb_table()
262 static bool rdt_get_mem_config(struct rdt_resource *r) in rdt_get_mem_config()
288 static void rdt_get_cache_alloc_cfg(int idx, struct rdt_resource *r) in rdt_get_cache_alloc_cfg()
307 struct rdt_resource *r = &rdt_resources_all[type]; in rdt_get_cdp_config() local
352 u32 delay_bw_map(unsigned long bw, struct rdt_resource *r) in delay_bw_map()
362 mba_wrmsr(struct rdt_domain *d, struct msr_param *m, struct rdt_resource *r) in mba_wrmsr()
372 cat_wrmsr(struct rdt_domain *d, struct msr_param *m, struct rdt_resource *r) in cat_wrmsr()
[all …]
/Linux-v4.19/drivers/iio/buffer/
Dkfifo_buf.c22 #define iio_to_kfifo(r) container_of(r, struct iio_kfifo, buffer) argument
41 static int iio_request_update_kfifo(struct iio_buffer *r) in iio_request_update_kfifo()
61 static int iio_mark_update_needed_kfifo(struct iio_buffer *r) in iio_mark_update_needed_kfifo()
68 static int iio_set_bytes_per_datum_kfifo(struct iio_buffer *r, size_t bpd) in iio_set_bytes_per_datum_kfifo()
77 static int iio_set_length_kfifo(struct iio_buffer *r, unsigned int length) in iio_set_length_kfifo()
89 static int iio_store_to_kfifo(struct iio_buffer *r, in iio_store_to_kfifo()
100 static int iio_read_first_n_kfifo(struct iio_buffer *r, in iio_read_first_n_kfifo()
120 static size_t iio_kfifo_buf_data_available(struct iio_buffer *r) in iio_kfifo_buf_data_available()
171 void iio_kfifo_free(struct iio_buffer *r) in iio_kfifo_free()
184 struct iio_buffer **r = res; in devm_iio_kfifo_match() local
[all …]
/Linux-v4.19/drivers/md/
Ddm-thin-metadata.c386 int r; in __superblock_all_zeroes() local
453 int r; in save_sm_roots() local
485 int r; in __write_initial_superblock() local
531 int r; in __format_metadata() local
613 int r; in __open_metadata() local
681 int r, unformatted; in __open_or_format_metadata() local
695 int r; in __create_persistent_data_objects() local
722 int r; in __begin_transaction() local
749 int r; in __write_changed_details() local
784 int r; in __commit_transaction() local
[all …]
/Linux-v4.19/arch/x86/include/asm/
Drefcount.h42 static __always_inline void refcount_add(unsigned int i, refcount_t *r) in refcount_add()
51 static __always_inline void refcount_inc(refcount_t *r) in refcount_inc()
59 static __always_inline void refcount_dec(refcount_t *r) in refcount_dec()
68 bool refcount_sub_and_test(unsigned int i, refcount_t *r) in refcount_sub_and_test()
74 static __always_inline __must_check bool refcount_dec_and_test(refcount_t *r) in refcount_dec_and_test()
81 bool refcount_add_not_zero(unsigned int i, refcount_t *r) in refcount_add_not_zero()
105 static __always_inline __must_check bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero()
/Linux-v4.19/arch/mips/include/asm/
Dcop2.h19 #define cop2_save(r) octeon_cop2_save(&(r)->thread.cp2) argument
20 #define cop2_restore(r) octeon_cop2_restore(&(r)->thread.cp2) argument
30 #define cop2_save(r) nlm_cop2_save(&(r)->thread.cp2) argument
31 #define cop2_restore(r) nlm_cop2_restore(&(r)->thread.cp2) argument
40 #define cop2_save(r) do { (void)(r); } while (0) argument
41 #define cop2_restore(r) do { (void)(r); } while (0) argument
47 #define cop2_save(r) do { (void)(r); } while (0) argument
48 #define cop2_restore(r) do { (void)(r); } while (0) argument
/Linux-v4.19/drivers/scsi/mpt3sas/
Dmpt3sas_config.c207 int r = 0; in _config_alloc_config_dma_memory() local
308 int r; in _config_request() local
528 int r; in mpt3sas_config_get_manufacturing_pg0() local
566 int r; in mpt3sas_config_get_manufacturing_pg7() local
603 int r; in mpt3sas_config_get_manufacturing_pg10() local
640 int r; in mpt3sas_config_get_manufacturing_pg11() local
677 int r; in mpt3sas_config_set_manufacturing_pg11() local
717 int r; in mpt3sas_config_get_bios_pg2() local
753 int r; in mpt3sas_config_get_bios_pg3() local
789 int r; in mpt3sas_config_get_iounit_pg0() local
[all …]
/Linux-v4.19/arch/powerpc/net/
Dbpf_jit32.h79 #define PPC_LBZ_OFFS(r, base, i) do { if ((i) < 32768) PPC_LBZ(r, base, i); \ argument
83 #define PPC_LD_OFFS(r, base, i) do { if ((i) < 32768) PPC_LD(r, base, i); \ argument
87 #define PPC_LWZ_OFFS(r, base, i) do { if ((i) < 32768) PPC_LWZ(r, base, i); \ argument
91 #define PPC_LHZ_OFFS(r, base, i) do { if ((i) < 32768) PPC_LHZ(r, base, i); \ argument
96 #define PPC_LL_OFFS(r, base, i) do { PPC_LD_OFFS(r, base, i); } while(0) argument
98 #define PPC_LL_OFFS(r, base, i) do { PPC_LWZ_OFFS(r, base, i); } while(0) argument
103 #define PPC_BPF_LOAD_CPU(r) \ argument
108 #define PPC_BPF_LOAD_CPU(r) \ argument
115 #define PPC_BPF_LOAD_CPU(r) do { PPC_LI(r, 0); } while(0) argument
118 #define PPC_LHBRX_OFFS(r, base, i) \ argument
[all …]
/Linux-v4.19/include/drm/
Ddrm_rect.h53 #define DRM_RECT_ARG(r) drm_rect_width(r), drm_rect_height(r), (r)->x1, (r)->y1 argument
66 #define DRM_RECT_FP_ARG(r) \ argument
84 static inline void drm_rect_adjust_size(struct drm_rect *r, int dw, int dh) in drm_rect_adjust_size()
101 static inline void drm_rect_translate(struct drm_rect *r, int dx, int dy) in drm_rect_translate()
117 static inline void drm_rect_downscale(struct drm_rect *r, int horz, int vert) in drm_rect_downscale()
132 static inline int drm_rect_width(const struct drm_rect *r) in drm_rect_width()
144 static inline int drm_rect_height(const struct drm_rect *r) in drm_rect_height()
156 static inline bool drm_rect_visible(const struct drm_rect *r) in drm_rect_visible()

12345678910>>...89