/linux/arch/x86/um/shared/sysdep/ |
H A D | ptrace.h | 11 #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 …]
|
H A D | ptrace_64.h | 11 #define REGS_R8(r) ((r)[HOST_R8]) argument 12 #define REGS_R9(r) ((r)[HOST_R9]) argument 13 #define REGS_R10(r) ((r)[HOST_R10]) argument 14 #define REGS_R11(r) ((r)[HOST_R11]) argument 15 #define REGS_R12(r) ((r)[HOST_R12]) argument 16 #define REGS_R13(r) ((r)[HOST_R13]) argument 17 #define REGS_R14(r) ((r)[HOST_R14]) argument 18 #define REGS_R15(r) ((r)[HOST_R15]) argument 42 #define UPT_R8(r) REGS_R8((r)->gp) argument 43 #define UPT_R9(r) REGS_R9((r)->gp) argument [all …]
|
/linux/arch/x86/um/asm/ |
H A D | ptrace.h | 21 #define user_mode(r) UPT_IS_USER(&(r)->regs) argument 23 #define PT_REGS_AX(r) UPT_AX(&(r)->regs) argument 24 #define PT_REGS_BX(r) UPT_BX(&(r)->regs) argument 25 #define PT_REGS_CX(r) UPT_CX(&(r)->regs) argument 26 #define PT_REGS_DX(r) UPT_DX(&(r)->regs) argument 28 #define PT_REGS_SI(r) UPT_SI(&(r)->regs) argument 29 #define PT_REGS_DI(r) UPT_DI(&(r)->regs) argument 30 #define PT_REGS_BP(r) UPT_BP(&(r)->regs) argument 31 #define PT_REGS_EFLAGS(r) UPT_EFLAGS(&(r)->regs) argument 33 #define PT_REGS_CS(r) UPT_CS(&(r)->regs) argument [all …]
|
/linux/drivers/gpu/drm/exynos/ |
H 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 82 #define SCALER_YHCOEF(r, c) (0x60 + _SCALER_HCOEF_DELTA((r), (c))) argument 83 #define SCALER_YVCOEF(r, c) (0xf0 + _SCALER_VCOEF_DELTA((r), (c))) argument 84 #define SCALER_CHCOEF(r, c) (0x140 + _SCALER_HCOEF_DELTA((r), (c))) argument 85 #define SCALER_CVCOEF(r, c) (0x1d0 + _SCALER_VCOEF_DELTA((r), (c))) argument 205 #define SCALER_SRC_CFG_GET_BYTE_SWAP(r) SCALER_GET(r, 6, 5) argument 207 #define SCALER_SRC_CFG_GET_COLOR_FORMAT(r) SCALER_GET(r, 4, 0) argument 231 #define SCALER_SRC_SPAN_GET_C_SPAN(r) SCALER_GET(r, 29, 16) argument 233 #define SCALER_SRC_SPAN_GET_Y_SPAN(r) SCALER_GET(r, 13, 0) argument [all …]
|
/linux/arch/arm64/include/asm/ |
H A D | kvm_hyp.h | 27 #define read_sysreg_el0(r) read_sysreg_s(r##_EL02) argument 28 #define write_sysreg_el0(v,r) write_sysreg_s(v, r##_EL02) argument 29 #define read_sysreg_el1(r) read_sysreg_s(r##_EL12) argument 30 #define write_sysreg_el1(v,r) write_sysreg_s(v, r##_EL12) argument 31 #define read_sysreg_el2(r) read_sysreg_s(r##_EL1) argument 32 #define write_sysreg_el2(v,r) write_sysreg_s(v, r##_EL1) argument 42 #define read_sysreg_elx(r,nvh,vh) \ argument 52 #define write_sysreg_elx(v,r,nvh,vh) \ argument 61 #define read_sysreg_el0(r) read_sysreg_elx(r, _EL0, _EL02) argument 62 #define write_sysreg_el0(v,r) write_sysreg_elx(v, r, _EL0, _EL02) argument [all …]
|
/linux/include/linux/ |
H A D | refcount.h | 123 static inline void refcount_set(refcount_t *r, int n) in refcount_set() 134 static inline unsigned int refcount_read(const refcount_t *r) in refcount_read() 140 bool __refcount_add_not_zero(int i, refcount_t *r, int *oldp) in __refcount_add_not_zero() 176 static inline __must_check bool refcount_add_not_zero(int i, refcount_t *r) in refcount_add_not_zero() 182 void __refcount_add(int i, refcount_t *r, int *oldp) in __refcount_add() 211 static inline void refcount_add(int i, refcount_t *r) in refcount_add() 216 static inline __must_check bool __refcount_inc_not_zero(refcount_t *r, int *oldp) in __refcount_inc_not_zero() 234 static inline __must_check bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero() 239 static inline void __refcount_inc(refcount_t *r, int *oldp) in __refcount_inc() 256 static inline void refcount_inc(refcount_t *r) in refcount_inc() [all …]
|
/linux/drivers/net/wireless/zydas/zd1211rw/ |
H A D | zd_chip.c | 95 int r; in zd_ioread32v_locked() local 135 int i, j, r; in _zd_iowrite32v_async_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 [all …]
|
/linux/tools/testing/selftests/powerpc/include/ |
H A D | instructions.h | 80 #define __PPC_PREFIX_R(r) (((r) & 0x1) << 20) argument 98 #define PREFIX_MLS(instr, t, a, r, d) stringify_in_c(.balign 64, , 4;) \ argument 107 #define PREFIX_8LS(instr, t, a, r, d) stringify_in_c(.balign 64, , 4;) \ 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 120 #define PLWZ(t, a, r, d) PREFIX_MLS(PPC_INST_LWZ, 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 [all …]
|
/linux/sound/pci/ice1712/ |
H 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/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_config.c | 202 int r = 0; in _config_alloc_config_dma_memory() local 302 int r; in _config_request() local 521 int r; in mpt3sas_config_get_manufacturing_pg0() local 557 int r; in mpt3sas_config_get_manufacturing_pg1() local 595 int r; in mpt3sas_config_get_manufacturing_pg7() local 632 int r; in mpt3sas_config_get_manufacturing_pg10() local 669 int r; in mpt3sas_config_get_manufacturing_pg11() local 706 int r; in mpt3sas_config_set_manufacturing_pg11() local 742 int r; in mpt3sas_config_get_bios_pg2() local 778 int r; in mpt3sas_config_get_bios_pg3() local [all …]
|
/linux/fs/dlm/ |
H A D | lock.c | 171 static void dlm_print_rsb(struct dlm_rsb *r) in dlm_print_rsb() 180 void dlm_dump_rsb(struct dlm_rsb *r) in dlm_dump_rsb() 244 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() 304 static inline void queue_cast_overlap(struct dlm_rsb *r, struct dlm_lkb *lkb) in queue_cast_overlap() 310 static void queue_bast(struct dlm_rsb *r, struct dlm_lkb *lkb, int rqmode) in queue_bast() 331 static inline void hold_rsb(struct dlm_rsb *r) in hold_rsb() 338 void dlm_hold_rsb(struct dlm_rsb *r) in dlm_hold_rsb() 345 dlm_refcount_dec_and_write_lock_bh(refcount_t *r, rwlock_t *lock) in dlm_refcount_dec_and_write_lock_bh() 373 static void put_rsb(struct dlm_rsb *r) in put_rsb() [all …]
|
H A D | recover.c | 251 static void recover_list_add(struct dlm_rsb *r) in recover_list_add() 264 static void recover_list_del(struct dlm_rsb *r) in recover_list_del() 278 struct dlm_rsb *r, *s; in recover_list_clear() local 308 static int recover_xa_add(struct dlm_rsb *r) in recover_xa_add() 336 static void recover_xa_del(struct dlm_rsb *r) in recover_xa_del() 351 struct dlm_rsb *r; in recover_xa_find() local 361 struct dlm_rsb *r; in recover_xa_clear() local 417 static void set_master_lkbs(struct dlm_rsb *r) in set_master_lkbs() 431 static void set_new_master(struct dlm_rsb *r) in set_new_master() 448 static int recover_master(struct dlm_rsb *r, unsigned int *count, uint64_t seq) in recover_master() [all …]
|
/linux/drivers/md/ |
H A D | dm-thin-metadata.c | 456 int r; in __superblock_all_zeroes() local 523 int r; in save_sm_roots() local 555 int r; in __write_initial_superblock() local 601 int r; in __format_metadata() local 690 int r; in __open_metadata() local 773 int r, unformatted; in __open_or_format_metadata() local 787 int r; in __create_persistent_data_objects() local 824 int r; in __begin_transaction() local 851 int r; in __write_changed_details() local 886 int r; in __commit_transaction() local [all …]
|
/linux/arch/arm64/kvm/ |
H A D | vgic-sys-reg-v3.c | 13 static int set_gic_ctlr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_ctlr() 59 static int get_gic_ctlr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in get_gic_ctlr() 87 static int set_gic_pmr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_pmr() 99 static int get_gic_pmr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in get_gic_pmr() 110 static int set_gic_bpr0(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_bpr0() 122 static int get_gic_bpr0(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in get_gic_bpr0() 133 static int set_gic_bpr1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_bpr1() 147 static int get_gic_bpr1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in get_gic_bpr1() 162 static int set_gic_grpen0(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_grpen0() 174 static int get_gic_grpen0(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in get_gic_grpen0() [all …]
|
H A D | sys_regs.c | 52 const struct sys_reg_desc *r) in undef_access() 60 const struct sys_reg_desc *r, in bad_trap() 70 const struct sys_reg_desc *r) in read_from_write_only() 78 const struct sys_reg_desc *r) in write_to_read_only() 363 const struct sys_reg_desc *r) in access_rw() 378 const struct sys_reg_desc *r) in access_dcsw() 398 const struct sys_reg_desc *r) in access_dcgsw() 407 static void get_access_mask(const struct sys_reg_desc *r, u64 *mask, u64 *shift) in get_access_mask() 432 const struct sys_reg_desc *r) in access_vm_reg() 457 const struct sys_reg_desc *r) in access_actlr() [all …]
|
/linux/drivers/gpu/host1x/hw/ |
H 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 122 static inline u32 host1x_sync_mlock_owner_chid_v(u32 r) in host1x_sync_mlock_owner_chid_v() 128 static inline u32 host1x_sync_mlock_owner_cpu_owns_v(u32 r) in host1x_sync_mlock_owner_cpu_owns_v() 132 #define HOST1X_SYNC_MLOCK_OWNER_CPU_OWNS_V(r) \ argument 134 static inline u32 host1x_sync_mlock_owner_ch_owns_v(u32 r) in host1x_sync_mlock_owner_ch_owns_v() 138 #define HOST1X_SYNC_MLOCK_OWNER_CH_OWNS_V(r) \ argument 200 static inline u32 host1x_sync_cfpeek_ptrs_cf_rd_ptr_v(u32 r) in host1x_sync_cfpeek_ptrs_cf_rd_ptr_v() [all …]
|
H 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 128 static inline u32 host1x_sync_mlock_owner_cpu_owns_v(u32 r) in host1x_sync_mlock_owner_cpu_owns_v() 132 #define HOST1X_SYNC_MLOCK_OWNER_CPU_OWNS_V(r) \ argument 134 static inline u32 host1x_sync_mlock_owner_ch_owns_v(u32 r) in host1x_sync_mlock_owner_ch_owns_v() 138 #define HOST1X_SYNC_MLOCK_OWNER_CH_OWNS_V(r) \ argument 200 static inline u32 host1x_sync_cfpeek_ptrs_cf_rd_ptr_v(u32 r) in host1x_sync_cfpeek_ptrs_cf_rd_ptr_v() 204 #define HOST1X_SYNC_CFPEEK_PTRS_CF_RD_PTR_V(r) \ argument [all …]
|
H 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 128 static inline u32 host1x_sync_mlock_owner_cpu_owns_v(u32 r) in host1x_sync_mlock_owner_cpu_owns_v() 132 #define HOST1X_SYNC_MLOCK_OWNER_CPU_OWNS_V(r) \ argument 134 static inline u32 host1x_sync_mlock_owner_ch_owns_v(u32 r) in host1x_sync_mlock_owner_ch_owns_v() 138 #define HOST1X_SYNC_MLOCK_OWNER_CH_OWNS_V(r) \ argument 200 static inline u32 host1x_sync_cfpeek_ptrs_cf_rd_ptr_v(u32 r) in host1x_sync_cfpeek_ptrs_cf_rd_ptr_v() 204 #define HOST1X_SYNC_CFPEEK_PTRS_CF_RD_PTR_V(r) \ argument [all …]
|
H 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 128 static inline u32 host1x_sync_mlock_owner_cpu_owns_v(u32 r) in host1x_sync_mlock_owner_cpu_owns_v() 132 #define HOST1X_SYNC_MLOCK_OWNER_CPU_OWNS_V(r) \ argument 134 static inline u32 host1x_sync_mlock_owner_ch_owns_v(u32 r) in host1x_sync_mlock_owner_ch_owns_v() 138 #define HOST1X_SYNC_MLOCK_OWNER_CH_OWNS_V(r) \ argument 200 static inline u32 host1x_sync_cfpeek_ptrs_cf_rd_ptr_v(u32 r) in host1x_sync_cfpeek_ptrs_cf_rd_ptr_v() 204 #define HOST1X_SYNC_CFPEEK_PTRS_CF_RD_PTR_V(r) \ argument [all …]
|
/linux/arch/x86/kernel/cpu/resctrl/ |
H A D | core.c | 124 struct rdt_resource *r = &rdt_resources_all[RDT_RESOURCE_L3].r_resctrl; in resctrl_arch_system_num_rmid_idx() local 151 struct rdt_resource *r = &hw_res->r_resctrl; in cache_alloc_hsw_probe() local 174 bool is_mba_sc(struct rdt_resource *r) in is_mba_sc() 199 static inline bool rdt_get_mb_table(struct rdt_resource *r) in rdt_get_mb_table() 210 static __init bool __get_mem_config_intel(struct rdt_resource *r) in __get_mem_config_intel() 244 static __init bool __rdt_get_mem_config_amd(struct rdt_resource *r) in __rdt_get_mem_config_amd() 278 static void rdt_get_cache_alloc_cfg(int idx, struct rdt_resource *r) in rdt_get_cache_alloc_cfg() 332 static u32 delay_bw_map(unsigned long bw, struct rdt_resource *r) in delay_bw_map() 362 struct rdt_ctrl_domain *get_ctrl_domain_from_cpu(int cpu, struct rdt_resource *r) in get_ctrl_domain_from_cpu() 377 struct rdt_mon_domain *get_mon_domain_from_cpu(int cpu, struct rdt_resource *r) in get_mon_domain_from_cpu() [all …]
|
/linux/drivers/iio/buffer/ |
H 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() 78 static int iio_set_length_kfifo(struct iio_buffer *r, unsigned int length) in iio_set_length_kfifo() 90 static int iio_store_to_kfifo(struct iio_buffer *r, in iio_store_to_kfifo() 101 static int iio_read_kfifo(struct iio_buffer *r, size_t n, char __user *buf) in iio_read_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() [all …]
|
/linux/arch/powerpc/platforms/ps3/ |
H A D | mm.c | 217 static int __init ps3_mm_get_repository_highmem(struct mem_region *r) in ps3_mm_get_repository_highmem() 247 static int ps3_mm_set_repository_highmem(const struct mem_region *r) in ps3_mm_set_repository_highmem() 264 static int ps3_mm_region_create(struct mem_region *r, unsigned long size) in ps3_mm_region_create() 305 static void ps3_mm_region_destroy(struct mem_region *r) in ps3_mm_region_destroy() 337 static unsigned long dma_sb_lpar_to_bus(struct ps3_dma_region *r, in dma_sb_lpar_to_bus() 348 static void __maybe_unused _dma_dump_region(const struct ps3_dma_region *r, in _dma_dump_region() 397 static struct dma_chunk * dma_find_chunk(struct ps3_dma_region *r, in dma_find_chunk() 426 static struct dma_chunk *dma_find_chunk_lpar(struct ps3_dma_region *r, in dma_find_chunk_lpar() 476 struct ps3_dma_region *r = c->region; in dma_ioc0_free_chunk() local 513 static int dma_sb_map_pages(struct ps3_dma_region *r, unsigned long phys_addr, in dma_sb_map_pages() [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_mes.c | 101 int r; in amdgpu_mes_event_log_init() local 129 int i, r; in amdgpu_mes_init() local 260 int r; in amdgpu_mes_create_process() local 321 int r; in amdgpu_mes_destroy_process() local 385 int r; in amdgpu_mes_add_gang() local 490 int r; in amdgpu_mes_suspend() local 514 int r; in amdgpu_mes_resume() local 541 int r; in amdgpu_mes_queue_alloc_mqd() local 610 int r; in amdgpu_mes_add_hw_queue() local 728 int r; in amdgpu_mes_remove_hw_queue() local [all …]
|
/linux/lib/ |
H 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/include/drm/ |
H A D | drm_rect.h | 74 #define DRM_RECT_ARG(r) drm_rect_width(r), drm_rect_height(r), (r)->x1, (r)->y1 argument 87 #define DRM_RECT_FP_ARG(r) \ argument 101 static inline void drm_rect_init(struct drm_rect *r, int x, int y, in drm_rect_init() 122 static inline void drm_rect_adjust_size(struct drm_rect *r, int dw, int dh) in drm_rect_adjust_size() 139 static inline void drm_rect_translate(struct drm_rect *r, int dx, int dy) in drm_rect_translate() 156 static inline void drm_rect_translate_to(struct drm_rect *r, int x, int y) in drm_rect_translate_to() 169 static inline void drm_rect_downscale(struct drm_rect *r, int horz, int vert) in drm_rect_downscale() 184 static inline int drm_rect_width(const struct drm_rect *r) in drm_rect_width() 196 static inline int drm_rect_height(const struct drm_rect *r) in drm_rect_height() 208 static inline bool drm_rect_visible(const struct drm_rect *r) in drm_rect_visible()
|