/linux/arch/x86/um/shared/sysdep/ |
A D | ptrace.h | 11 #define REGS_IP(r) ((r)[HOST_IP]) argument 12 #define REGS_SP(r) ((r)[HOST_SP]) 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 21 #define REGS_CS(r) ((r)[HOST_CS]) argument [all …]
|
A D | ptrace_64.h | 13 #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 …]
|
A D | ptrace_32.h | 15 #define UPT_SYSCALL_ARG1(r) UPT_BX(r) argument 16 #define UPT_SYSCALL_ARG2(r) UPT_CX(r) argument 17 #define UPT_SYSCALL_ARG3(r) UPT_DX(r) argument 18 #define UPT_SYSCALL_ARG4(r) UPT_SI(r) argument 19 #define UPT_SYSCALL_ARG5(r) UPT_DI(r) argument 20 #define UPT_SYSCALL_ARG6(r) UPT_BP(r) argument
|
/linux/arch/x86/um/asm/ |
A D | ptrace.h | 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 23 #define PT_REGS_CS(r) UPT_CS(&(r)->regs) argument 24 #define PT_REGS_SS(r) UPT_SS(&(r)->regs) argument 25 #define PT_REGS_DS(r) UPT_DS(&(r)->regs) argument [all …]
|
/linux/include/linux/ |
A D | ptr_ring.h | 49 static inline bool __ptr_ring_full(struct ptr_ring *r) in __ptr_ring_full() 54 static inline bool ptr_ring_full(struct ptr_ring *r) in ptr_ring_full() 65 static inline bool ptr_ring_full_irq(struct ptr_ring *r) in ptr_ring_full_irq() 76 static inline bool ptr_ring_full_any(struct ptr_ring *r) in ptr_ring_full_any() 88 static inline bool ptr_ring_full_bh(struct ptr_ring *r) in ptr_ring_full_bh() 169 static inline void *__ptr_ring_peek(struct ptr_ring *r) in __ptr_ring_peek() 201 static inline bool ptr_ring_empty(struct ptr_ring *r) in ptr_ring_empty() 427 #define PTR_RING_PEEK_CALL(r, f) ({ \ argument 436 #define PTR_RING_PEEK_CALL_IRQ(r, f) ({ \ argument 445 #define PTR_RING_PEEK_CALL_BH(r, f) ({ \ argument [all …]
|
A D | refcount.h | 134 static inline void refcount_set(refcount_t *r, int n) in refcount_set() 145 static inline unsigned int refcount_read(const refcount_t *r) in refcount_read() 186 static inline __must_check bool refcount_add_not_zero(int i, refcount_t *r) in refcount_add_not_zero() 191 static inline void __refcount_add(int i, refcount_t *r, int *oldp) in __refcount_add() 220 static inline void refcount_add(int i, refcount_t *r) in refcount_add() 243 static inline __must_check bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero() 248 static inline void __refcount_inc(refcount_t *r, int *oldp) in __refcount_inc() 265 static inline void refcount_inc(refcount_t *r) in refcount_inc() 331 static inline __must_check bool refcount_dec_and_test(refcount_t *r) in refcount_dec_and_test() 336 static inline void __refcount_dec(refcount_t *r, int *oldp) in __refcount_dec() [all …]
|
/linux/drivers/gpu/drm/exynos/ |
A D | regs-scaler.h | 79 #define _SCALER_HCOEF_DELTA(r, c) ((r) * 0x10 + (c) * 0x4) argument 80 #define _SCALER_VCOEF_DELTA(r, c) ((r) * 0x8 + (c) * 0x4) argument 243 #define SCALER_SRC_WH_GET_WIDTH(r) SCALER_GET(r, 29, 16) argument 245 #define SCALER_SRC_WH_GET_HEIGHT(r) SCALER_GET(r, 13, 0) argument 267 #define SCALER_DST_WH_GET_WIDTH(r) SCALER_GET(r, 29, 16) argument 269 #define SCALER_DST_WH_GET_HEIGHT(r) SCALER_GET(r, 13, 0) argument 275 #define SCALER_DST_POS_GET_V_POS(r) SCALER_GET(r, 13, 0) argument 279 #define SCALER_H_RATIO_GET(r) SCALER_GET(r, 18, 0) argument 283 #define SCALER_V_RATIO_GET(r) SCALER_GET(r, 18, 0) argument 297 #define SCALER_COEF_GET(r, i) \ argument [all …]
|
/linux/sound/soc/uniphier/ |
A D | aio-core.c | 86 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 279 struct regmap *r = sub->aio->chip->regmap; in aio_port_set_ch() local 331 struct regmap *r = sub->aio->chip->regmap; in aio_port_set_rate() local 450 struct regmap *r = sub->aio->chip->regmap; in aio_port_set_fmt() local 517 struct regmap *r = sub->aio->chip->regmap; in aio_port_set_clk() local 615 struct regmap *r = sub->aio->chip->regmap; in aio_port_set_param() local [all …]
|
/linux/drivers/net/wireless/zydas/zd1211rw/ |
A D | zd_chip.c | 95 int r; in zd_ioread32v_locked() local 173 int r; in _zd_iowrite32v_locked() local 187 int r; in zd_iowrite16a_locked() local 225 int r; in zd_iowrite32a_locked() local 257 int r; in zd_ioread16() local 267 int r; in zd_ioread32() local 277 int r; in zd_iowrite16() local 287 int r; in zd_iowrite32() local 298 int r; in zd_ioread32v() local 309 int r; in zd_iowrite32a() local [all …]
|
/linux/fs/dlm/ |
A D | recover.c | 277 struct dlm_rsb *r, *s; in recover_list_clear() local 347 struct dlm_rsb *r; in recover_idr_find() local 357 struct dlm_rsb *r; in recover_idr_clear() local 525 struct dlm_rsb *r; in dlm_recover_masters() local 568 struct dlm_rsb *r; in dlm_recover_master_reply() local 661 struct dlm_rsb *r; in dlm_recover_locks() local 699 void dlm_recovered_lock(struct dlm_rsb *r) in dlm_recovered_lock() 860 struct dlm_rsb *r; in dlm_recover_rsbs() local 896 struct dlm_rsb *r; in dlm_create_root_list() local 925 struct dlm_rsb *r, *safe; in dlm_release_root_list() local [all …]
|
A D | lock.c | 401 struct dlm_rsb *r; in get_rsb_struct() local 449 struct dlm_rsb *r; in dlm_search_rsb_tree() local 1086 struct dlm_rsb *r; in dlm_dump_rsb_hash() local 1651 struct dlm_rsb *r; in shrink_bucket() local 1856 struct dlm_rsb *r; in dlm_scan_timeout() local 3317 struct dlm_rsb *r; in request_lock() local 3343 struct dlm_rsb *r; in convert_lock() local 3365 struct dlm_rsb *r; in unlock_lock() local 3387 struct dlm_rsb *r; in cancel_lock() local 4017 struct dlm_rsb *r; in send_repeat_remove() local [all …]
|
/linux/sound/pci/ice1712/ |
A D | hoontech.h | 30 #define ICE1712_STDSP24_0_BOX(r, x) r[0] = ((r[0] & ~3) | ((x)&3)) argument 31 #define ICE1712_STDSP24_0_DAREAR(r, x) r[0] = ((r[0] & ~4) | (((x)&1)<<2)) argument 32 #define ICE1712_STDSP24_1_CHN1(r, x) r[1] = ((r[1] & ~1) | ((x)&1)) argument 33 #define ICE1712_STDSP24_1_CHN2(r, x) r[1] = ((r[1] & ~2) | (((x)&1)<<1)) argument 34 #define ICE1712_STDSP24_1_CHN3(r, x) r[1] = ((r[1] & ~4) | (((x)&1)<<2)) argument 35 #define ICE1712_STDSP24_2_CHN4(r, x) r[2] = ((r[2] & ~1) | ((x)&1)) argument 36 #define ICE1712_STDSP24_2_MIDIIN(r, x) r[2] = ((r[2] & ~2) | (((x)&1)<<1)) argument 37 #define ICE1712_STDSP24_2_MIDI1(r, x) r[2] = ((r[2] & ~4) | (((x)&1)<<2)) argument 38 #define ICE1712_STDSP24_3_MIDI2(r, x) r[3] = ((r[3] & ~1) | ((x)&1)) argument 39 #define ICE1712_STDSP24_3_MUTE(r, x) r[3] = ((r[3] & ~2) | (((x)&1)<<1)) argument [all …]
|
/linux/tools/testing/selftests/powerpc/include/ |
A D | instructions.h | 80 #define __PPC_PREFIX_R(r) (((r) & 0x1) << 20) argument 117 #define PLBZ(t, a, r, d) PREFIX_MLS(PPC_INST_LBZ, t, a, r, d) argument 118 #define PLHZ(t, a, r, d) PREFIX_MLS(PPC_INST_LHZ, t, a, r, d) argument 119 #define PLHA(t, a, r, d) PREFIX_MLS(PPC_INST_LHA, t, a, r, d) argument 121 #define PLWA(t, a, r, d) PREFIX_8LS(0xa4000000, t, a, r, d) argument 122 #define PLD(t, a, r, d) PREFIX_8LS(0xe4000000, t, a, r, d) argument 123 #define PLQ(t, a, r, d) PREFIX_8LS(0xe0000000, t, a, r, d) argument 127 #define PSTD(s, a, r, d) PREFIX_8LS(0xf4000000, s, a, r, d) argument 128 #define PSTQ(s, a, r, d) PREFIX_8LS(0xf0000000, s, a, r, d) argument 139 #define PLXV0(s, a, r, d) PREFIX_8LS(0xc8000000, s, a, r, d) argument [all …]
|
/linux/arch/x86/kernel/cpu/resctrl/ |
A D | core.c | 132 struct rdt_resource *r = &hw_res->r_resctrl; in cache_alloc_hsw_probe() local 155 bool is_mba_sc(struct rdt_resource *r) in is_mba_sc() 314 struct rdt_resource *r) in mba_wrmsr_intel() 358 struct rdt_resource *r = m->res; in rdt_ctrl_update() local 630 struct rdt_resource *r; in resctrl_online_cpu() local 657 struct rdt_resource *r; in resctrl_offline_cpu() local 680 struct rdt_resource *r; in rdt_init_padding() local 786 struct rdt_resource *r; in get_rdt_alloc_resources() local 870 struct rdt_resource *r; in rdt_init_res_defs_intel() local 890 struct rdt_resource *r; in rdt_init_res_defs_amd() local [all …]
|
/linux/drivers/scsi/mpt3sas/ |
A D | mpt3sas_config.c | 302 int r; in _config_request() local 518 int r; in mpt3sas_config_get_manufacturing_pg0() local 556 int r; in mpt3sas_config_get_manufacturing_pg7() local 593 int r; in mpt3sas_config_get_manufacturing_pg10() local 630 int r; in mpt3sas_config_get_manufacturing_pg11() local 667 int r; in mpt3sas_config_set_manufacturing_pg11() local 703 int r; in mpt3sas_config_get_bios_pg2() local 739 int r; in mpt3sas_config_get_bios_pg3() local 775 int r; in mpt3sas_config_get_iounit_pg0() local 811 int r; in mpt3sas_config_get_iounit_pg1() local [all …]
|
/linux/drivers/gpu/host1x/hw/ |
A D | hw_host1x05_sync.h | 74 static inline u32 host1x_sync_cf_setup_base_v(u32 r) in host1x_sync_cf_setup_base_v() 78 #define HOST1X_SYNC_CF_SETUP_BASE_V(r) \ argument 80 static inline u32 host1x_sync_cf_setup_limit_v(u32 r) in host1x_sync_cf_setup_limit_v() 84 #define HOST1X_SYNC_CF_SETUP_LIMIT_V(r) \ argument 132 #define HOST1X_SYNC_MLOCK_OWNER_CPU_OWNS_V(r) \ argument 138 #define HOST1X_SYNC_MLOCK_OWNER_CH_OWNS_V(r) \ argument 204 #define HOST1X_SYNC_CFPEEK_PTRS_CF_RD_PTR_V(r) \ argument 210 #define HOST1X_SYNC_CFPEEK_PTRS_CF_WR_PTR_V(r) \ argument 222 #define HOST1X_SYNC_CBSTAT_CBOFFSET_V(r) \ argument 224 static inline u32 host1x_sync_cbstat_cbclass_v(u32 r) in host1x_sync_cbstat_cbclass_v() [all …]
|
A D | hw_host1x02_sync.h | 74 static inline u32 host1x_sync_cf_setup_base_v(u32 r) in host1x_sync_cf_setup_base_v() 78 #define HOST1X_SYNC_CF_SETUP_BASE_V(r) \ argument 80 static inline u32 host1x_sync_cf_setup_limit_v(u32 r) in host1x_sync_cf_setup_limit_v() 84 #define HOST1X_SYNC_CF_SETUP_LIMIT_V(r) \ argument 132 #define HOST1X_SYNC_MLOCK_OWNER_CPU_OWNS_V(r) \ argument 138 #define HOST1X_SYNC_MLOCK_OWNER_CH_OWNS_V(r) \ argument 204 #define HOST1X_SYNC_CFPEEK_PTRS_CF_RD_PTR_V(r) \ argument 210 #define HOST1X_SYNC_CFPEEK_PTRS_CF_WR_PTR_V(r) \ argument 222 #define HOST1X_SYNC_CBSTAT_CBOFFSET_V(r) \ argument 224 static inline u32 host1x_sync_cbstat_cbclass_v(u32 r) in host1x_sync_cbstat_cbclass_v() [all …]
|
A D | hw_host1x04_sync.h | 74 static inline u32 host1x_sync_cf_setup_base_v(u32 r) in host1x_sync_cf_setup_base_v() 78 #define HOST1X_SYNC_CF_SETUP_BASE_V(r) \ argument 80 static inline u32 host1x_sync_cf_setup_limit_v(u32 r) in host1x_sync_cf_setup_limit_v() 84 #define HOST1X_SYNC_CF_SETUP_LIMIT_V(r) \ argument 132 #define HOST1X_SYNC_MLOCK_OWNER_CPU_OWNS_V(r) \ argument 138 #define HOST1X_SYNC_MLOCK_OWNER_CH_OWNS_V(r) \ argument 204 #define HOST1X_SYNC_CFPEEK_PTRS_CF_RD_PTR_V(r) \ argument 210 #define HOST1X_SYNC_CFPEEK_PTRS_CF_WR_PTR_V(r) \ argument 222 #define HOST1X_SYNC_CBSTAT_CBOFFSET_V(r) \ argument 224 static inline u32 host1x_sync_cbstat_cbclass_v(u32 r) in host1x_sync_cbstat_cbclass_v() [all …]
|
A D | hw_host1x01_sync.h | 74 static inline u32 host1x_sync_cf_setup_base_v(u32 r) in host1x_sync_cf_setup_base_v() 78 #define HOST1X_SYNC_CF_SETUP_BASE_V(r) \ argument 80 static inline u32 host1x_sync_cf_setup_limit_v(u32 r) in host1x_sync_cf_setup_limit_v() 84 #define HOST1X_SYNC_CF_SETUP_LIMIT_V(r) \ argument 132 #define HOST1X_SYNC_MLOCK_OWNER_CPU_OWNS_V(r) \ argument 138 #define HOST1X_SYNC_MLOCK_OWNER_CH_OWNS_V(r) \ argument 204 #define HOST1X_SYNC_CFPEEK_PTRS_CF_RD_PTR_V(r) \ argument 210 #define HOST1X_SYNC_CFPEEK_PTRS_CF_WR_PTR_V(r) \ argument 222 #define HOST1X_SYNC_CBSTAT_CBOFFSET_V(r) \ argument 224 static inline u32 host1x_sync_cbstat_cbclass_v(u32 r) in host1x_sync_cbstat_cbclass_v() [all …]
|
/linux/arch/arm64/include/asm/ |
A D | kvm_hyp.h | 19 #define read_sysreg_elx(r,nvh,vh) \ argument 29 #define write_sysreg_elx(v,r,nvh,vh) \ argument 44 #define read_sysreg_el0(r) read_sysreg_elx(r, _EL0, _EL02) argument 45 #define write_sysreg_el0(v,r) write_sysreg_elx(v, r, _EL0, _EL02) argument 46 #define read_sysreg_el1(r) read_sysreg_elx(r, _EL1, _EL12) argument 47 #define write_sysreg_el1(v,r) write_sysreg_elx(v, r, _EL1, _EL12) argument 48 #define read_sysreg_el2(r) read_sysreg_elx(r, _EL2, _EL1) argument 49 #define write_sysreg_el2(v,r) write_sysreg_elx(v, r, _EL2, _EL1) argument
|
/linux/include/drm/ |
A D | drm_rect.h | 58 #define DRM_RECT_ARG(r) drm_rect_width(r), drm_rect_height(r), (r)->x1, (r)->y1 argument 71 #define DRM_RECT_FP_ARG(r) \ argument 85 static inline void drm_rect_init(struct drm_rect *r, int x, int y, in drm_rect_init() 106 static inline void drm_rect_adjust_size(struct drm_rect *r, int dw, int dh) in drm_rect_adjust_size() 123 static inline void drm_rect_translate(struct drm_rect *r, int dx, int dy) in drm_rect_translate() 140 static inline void drm_rect_translate_to(struct drm_rect *r, int x, int y) in drm_rect_translate_to() 153 static inline void drm_rect_downscale(struct drm_rect *r, int horz, int vert) in drm_rect_downscale() 168 static inline int drm_rect_width(const struct drm_rect *r) in drm_rect_width() 180 static inline int drm_rect_height(const struct drm_rect *r) in drm_rect_height() 192 static inline bool drm_rect_visible(const struct drm_rect *r) in drm_rect_visible()
|
/linux/drivers/iio/buffer/ |
A D | kfifo_buf.c | 23 #define iio_to_kfifo(r) container_of(r, struct iio_kfifo, buffer) argument 42 static int iio_request_update_kfifo(struct iio_buffer *r) in iio_request_update_kfifo() 62 static int iio_mark_update_needed_kfifo(struct iio_buffer *r) in iio_mark_update_needed_kfifo() 69 static int iio_set_bytes_per_datum_kfifo(struct iio_buffer *r, size_t bpd) in iio_set_bytes_per_datum_kfifo() 90 static int iio_store_to_kfifo(struct iio_buffer *r, in iio_store_to_kfifo() 120 static size_t iio_kfifo_buf_data_available(struct iio_buffer *r) in iio_kfifo_buf_data_available() 141 static size_t iio_kfifo_buf_space_available(struct iio_buffer *r) in iio_kfifo_buf_space_available() 153 static int iio_kfifo_remove_from(struct iio_buffer *r, void *data) in iio_kfifo_remove_from() 170 static int iio_kfifo_write(struct iio_buffer *r, size_t n, in iio_kfifo_write() 221 void iio_kfifo_free(struct iio_buffer *r) in iio_kfifo_free() [all …]
|
/linux/lib/ |
A D | linear_ranges.c | 27 unsigned int linear_range_values_in_range(const struct linear_range *r) in linear_range_values_in_range() 46 unsigned int linear_range_values_in_range_array(const struct linear_range *r, in linear_range_values_in_range_array() 70 unsigned int linear_range_get_max_value(const struct linear_range *r) in linear_range_get_max_value() 87 int linear_range_get_value(const struct linear_range *r, unsigned int selector, in linear_range_get_value() 111 int linear_range_get_value_array(const struct linear_range *r, int ranges, in linear_range_get_value_array() 138 int linear_range_get_selector_low(const struct linear_range *r, in linear_range_get_selector_low() 182 int linear_range_get_selector_low_array(const struct linear_range *r, in linear_range_get_selector_low_array() 219 int linear_range_get_selector_high(const struct linear_range *r, in linear_range_get_selector_high() 255 void linear_range_get_selector_within(const struct linear_range *r, in linear_range_get_selector_within()
|
/linux/drivers/md/ |
A D | dm-thin-metadata.c | 450 int r; in __superblock_all_zeroes() local 517 int r; in save_sm_roots() local 549 int r; in __write_initial_superblock() local 595 int r; in __format_metadata() local 677 int r; in __open_metadata() local 759 int r; in __create_persistent_data_objects() local 790 int r; in __begin_transaction() local 817 int r; in __write_changed_details() local 852 int r; in __commit_transaction() local 907 int r; in __set_metadata_reserve() local [all …]
|
/linux/arch/powerpc/platforms/ps3/ |
A D | mm.c | 218 static int ps3_mm_get_repository_highmem(struct mem_region *r) in ps3_mm_get_repository_highmem() 306 static void ps3_mm_region_destroy(struct mem_region *r) in ps3_mm_region_destroy() 477 struct ps3_dma_region *r = c->region; in dma_ioc0_free_chunk() local 639 static int dma_sb_region_create(struct ps3_dma_region *r) in dma_sb_region_create() 678 static int dma_ioc0_region_create(struct ps3_dma_region *r) in dma_ioc0_region_create() 709 static int dma_sb_region_free(struct ps3_dma_region *r) in dma_sb_region_free() 740 static int dma_ioc0_region_free(struct ps3_dma_region *r) in dma_ioc0_region_free() 923 static int dma_ioc0_unmap_area(struct ps3_dma_region *r, in dma_ioc0_unmap_area() 1073 static int dma_sb_map_area_linear(struct ps3_dma_region *r, in dma_sb_map_area_linear() 1163 int ps3_dma_region_create(struct ps3_dma_region *r) in ps3_dma_region_create() [all …]
|