/linux/arch/powerpc/crypto/ |
H A D | aes-tab-4k.S | 25 #define R(a, b, c, d) \ macro 33 .long R(c6, 63, 63, a5), R(f8, 7c, 7c, 84) 34 .long R(ee, 77, 77, 99), R(f6, 7b, 7b, 8d) 35 .long R(ff, f2, f2, 0d), R(d6, 6b, 6b, bd) 36 .long R(de, 6f, 6f, b1), R(91, c5, c5, 54) 37 .long R(60, 30, 30, 50), R(02, 01, 01, 03) 38 .long R(ce, 67, 67, a9), R(56, 2b, 2b, 7d) 39 .long R(e7, fe, fe, 19), R(b5, d7, d7, 62) 40 .long R(4d, ab, ab, e6), R(ec, 76, 76, 9a) 41 .long R(8f, ca, ca, 45), R(1f, 82, 82, 9d) [all …]
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-lpc18xx.c | 240 LPC_P(0,0, GPIO, SSP1, ENET, SGPIO, R, R, I2S0_TX_WS,I2S1, 0, ND); 241 LPC_P(0,1, GPIO, SSP1,ENET_ALT,SGPIO, R, R, ENET, I2S1, 0, ND); 242 LPC_P(1,0, GPIO, CTIN, EMC, R, R, SSP0, SGPIO, R, 0, ND); 243 LPC_P(1,1, GPIO, CTOUT, EMC, SGPIO, R, SSP0, R, R, 0, ND); 244 LPC_P(1,2, GPIO, CTOUT, EMC, SGPIO, R, SSP0, R, R, 0, ND); 245 LPC_P(1,3, GPIO, CTOUT, SGPIO, EMC, USB0, SSP1, R, SDMMC, 0, ND); 246 LPC_P(1,4, GPIO, CTOUT, SGPIO, EMC, USB0, SSP1, R, SDMMC, 0, ND); 247 LPC_P(1,5, GPIO, CTOUT, R, EMC, USB0, SSP1, SGPIO, SDMMC, 0, ND); 248 LPC_P(1,6, GPIO, CTIN, R, EMC, R, R, SGPIO, SDMMC, 0, ND); 249 LPC_P(1,7, GPIO, UART1, CTOUT, EMC, USB0, R, R, R, 0, ND); [all …]
|
/linux/arch/arm/probes/kprobes/ |
H A D | test-arm.c | 58 TEST_RR( op s "eq r0, r",1, VAL1,", r",2, val, "") \ in kprobe_arm_test_cases() 59 TEST_RR( op s "ne r1, r",1, VAL1,", r",2, val, ", lsl #3") \ in kprobe_arm_test_cases() 60 TEST_RR( op s "cs r2, r",3, VAL1,", r",2, val, ", lsr #4") \ in kprobe_arm_test_cases() 61 TEST_RR( op s "cc r3, r",3, VAL1,", r",2, val, ", asr #5") \ in kprobe_arm_test_cases() 62 TEST_RR( op s "mi r4, r",5, VAL1,", r",2, N(val),", asr #6") \ in kprobe_arm_test_cases() 63 TEST_RR( op s "pl r5, r",5, VAL1,", r",2, val, ", ror #7") \ in kprobe_arm_test_cases() 64 TEST_RR( op s "vs r6, r",7, VAL1,", r",2, val, ", rrx") \ in kprobe_arm_test_cases() 65 TEST_R( op s "vc r6, r",7, VAL1,", pc, lsl #3") \ in kprobe_arm_test_cases() 66 TEST_R( op s "vc r6, r",7, VAL1,", sp, lsr #4") \ in kprobe_arm_test_cases() 67 TEST_R( op s "vc r6, pc, r",7, VAL1,", asr #5") \ in kprobe_arm_test_cases() [all …]
|
H A D | test-thumb.c | 65 TEST_R( "lsls r7, r",0,VAL1,", #5") in kprobe_thumb16_test_cases() 66 TEST_R( "lsls r0, r",7,VAL2,", #11") in kprobe_thumb16_test_cases() 67 TEST_R( "lsrs r7, r",0,VAL1,", #5") in kprobe_thumb16_test_cases() 68 TEST_R( "lsrs r0, r",7,VAL2,", #11") in kprobe_thumb16_test_cases() 69 TEST_R( "asrs r7, r",0,VAL1,", #5") in kprobe_thumb16_test_cases() 70 TEST_R( "asrs r0, r",7,VAL2,", #11") in kprobe_thumb16_test_cases() 71 TEST_RR( "adds r2, r",0,VAL1,", r",7,VAL2,"") in kprobe_thumb16_test_cases() 72 TEST_RR( "adds r5, r",7,VAL2,", r",0,VAL2,"") in kprobe_thumb16_test_cases() 73 TEST_RR( "subs r2, r",0,VAL1,", r",7,VAL2,"") in kprobe_thumb16_test_cases() 74 TEST_RR( "subs r5, r",7,VAL2,", r",0,VAL2,"") in kprobe_thumb16_test_cases() [all …]
|
/linux/arch/sh/drivers/pci/ |
H A D | pcie-sh7786.h | 34 #define SH4A_PCIEVCR0 (0x000000) /* R - 0x0000 0000 32 */ 43 #define SH4A_PCIEVCR1 (0x000004) /* R - 0x0000 0000 32*/ 44 #define BITS_BADOPC (5) /* 5 BADOPC 0 R/W */ 46 #define BITS_BADDEST (4) /*4 BADDEST 0 R/W */ 48 #define BITS_UNSOLRESP (3) /* 3 UNSOLRESP 0 R/W */ 56 #define SH4A_PCIEENBLR (0x000008) /* R/W - 0x0000 0001 32 */ 59 #define SH4A_PCIEECR (0x00000C) /* R/W - 0x0000 0000 32 */ 60 #define BITS_ENBL (0) /* 0 ENBL 0 R/W */ 64 #define SH4A_PCIEPAR (0x000010) /* R/W - 0x0000 0000 32 */ 77 #define SH4A_PCIEPCTLR (0x000018) /* R/W - 0x0000 0000 32 */ [all …]
|
/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/net/mac80211/ |
H A D | drop.h | 14 #define MAC80211_DROP_REASONS_MONITOR(R) \ argument 15 R(RX_DROP_M_UNEXPECTED_4ADDR_FRAME) \ 16 R(RX_DROP_M_BAD_BCN_KEYIDX) \ 17 R(RX_DROP_M_BAD_MGMT_KEYIDX) \ 20 #define MAC80211_DROP_REASONS_UNUSABLE(R) \ argument 22 R(RX_DROP_U_MIC_FAIL) \ 23 R(RX_DROP_U_REPLAY) \ 24 R(RX_DROP_U_BAD_MMIE) \ 25 R(RX_DROP_U_DUP) \ 26 R(RX_DROP_U_SPURIOUS) \ [all …]
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | msm_media_info.h | 521 * R R R R R R R R R R R R . . . . ^ ^ 522 * R R R R R R R R R R R R . . . . | | 523 * R R R R R R R R R R R R . . . . Height | 524 * R R R R R R R R R R R R . . . . | RGB_Scanlines 525 * R R R R R R R R R R R R . . . . | | 526 * R R R R R R R R R R R R . . . . | | 527 * R R R R R R R R R R R R . . . . | | 528 * R R R R R R R R R R R R . . . . V | 563 * R R R R R R R R R R R R . . . . ^ ^ 564 * R R R R R R R R R R R R . . . . | | [all …]
|
/linux/arch/x86/um/asm/ |
H A D | ptrace.h | 17 #define __FRAME_OFFSETS /* Needed to get the R* macros */ 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 [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/lib/ |
H A D | buildid.c | 33 static void freader_init_from_file(struct freader *r, void *buf, u32 buf_sz, in freader_init_from_file() argument 36 memset(r, 0, sizeof(*r)); in freader_init_from_file() 37 r->buf = buf; in freader_init_from_file() 38 r->buf_sz = buf_sz; in freader_init_from_file() 39 r->file = file; in freader_init_from_file() 40 r->may_fault = may_fault; in freader_init_from_file() 43 static void freader_init_from_mem(struct freader *r, const char *data, u64 data_sz) in freader_init_from_mem() argument 45 memset(r, 0, sizeof(*r)); in freader_init_from_mem() 46 r->data = data; in freader_init_from_mem() 47 r->data_sz = data_sz; in freader_init_from_mem() [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-reg.c | 35 struct gpio_reg *r = to_gpio_reg(gc); in gpio_reg_get_direction() local 37 return r->direction & BIT(offset) ? GPIO_LINE_DIRECTION_IN : in gpio_reg_get_direction() 44 struct gpio_reg *r = to_gpio_reg(gc); in gpio_reg_direction_output() local 46 if (r->direction & BIT(offset)) in gpio_reg_direction_output() 55 struct gpio_reg *r = to_gpio_reg(gc); in gpio_reg_direction_input() local 57 return r->direction & BIT(offset) ? 0 : -ENOTSUPP; in gpio_reg_direction_input() 62 struct gpio_reg *r = to_gpio_reg(gc); in gpio_reg_set() local 66 spin_lock_irqsave(&r->lock, flags); in gpio_reg_set() 67 val = r->out; in gpio_reg_set() 72 r->out = val; in gpio_reg_set() [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() argument 223 result = ps3_repository_read_highmem_info(0, &r->base, &r->size); in ps3_mm_get_repository_highmem() 228 if (!r->base || !r->size) { in ps3_mm_get_repository_highmem() 233 r->offset = r->base - map.rm.size; in ps3_mm_get_repository_highmem() 236 __func__, __LINE__, r->base, r->size); in ps3_mm_get_repository_highmem() 243 r->size = r->base = r->offset = 0; 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() argument 251 return r ? ps3_repository_write_highmem_info(0, r->base, r->size) : in ps3_mm_set_repository_highmem() 257 * @r: pointer to a struct mem_region to accept initialized values 264 static int ps3_mm_region_create(struct mem_region *r, unsigned long size) in ps3_mm_region_create() argument [all …]
|
/linux/fs/dlm/ |
H A D | recover.c | 251 static void recover_list_add(struct dlm_rsb *r) in recover_list_add() argument 253 struct dlm_ls *ls = r->res_ls; in recover_list_add() 256 if (list_empty(&r->res_recover_list)) { in recover_list_add() 257 list_add_tail(&r->res_recover_list, &ls->ls_recover_list); in recover_list_add() 259 dlm_hold_rsb(r); in recover_list_add() 264 static void recover_list_del(struct dlm_rsb *r) in recover_list_del() argument 266 struct dlm_ls *ls = r->res_ls; in recover_list_del() 269 list_del_init(&r->res_recover_list); in recover_list_del() 273 dlm_put_rsb(r); in recover_list_del() 278 struct dlm_rsb *r, *s; in recover_list_clear() local [all …]
|
/linux/drivers/net/wireless/zydas/zd1211rw/ |
H A D | zd_rf_al7230b.c | 64 int r; in zd1211b_al7230b_finalize() local 73 r = zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in zd1211b_al7230b_finalize() 74 if (r) in zd1211b_al7230b_finalize() 75 return r; in zd1211b_al7230b_finalize() 79 r = zd_iowrite16_locked(chip, 0xe5, ZD_CR9); in zd1211b_al7230b_finalize() 80 if (r) in zd1211b_al7230b_finalize() 81 return r; in zd1211b_al7230b_finalize() 89 int r; in zd1211_al7230b_init_hw() local 158 r = zd_iowrite16a_locked(chip, ioreqs_1, ARRAY_SIZE(ioreqs_1)); in zd1211_al7230b_init_hw() 159 if (r) in zd1211_al7230b_init_hw() [all …]
|
H A D | zd_chip.c | 95 int r; in zd_ioread32v_locked() local 116 r = zd_ioread16v_locked(chip, v16, a16, count16); in zd_ioread32v_locked() 117 if (r) { in zd_ioread32v_locked() 119 "error: %s. Error number %d\n", __func__, r); in zd_ioread32v_locked() 120 return r; in zd_ioread32v_locked() 135 int i, j, r; in _zd_iowrite32v_async_locked() local 160 r = zd_usb_iowrite16v_async(&chip->usb, ioreqs16, count16); in _zd_iowrite32v_async_locked() 162 if (r) { in _zd_iowrite32v_async_locked() 164 "error %d in zd_usb_write16v\n", r); in _zd_iowrite32v_async_locked() 167 return r; in _zd_iowrite32v_async_locked() [all …]
|
/linux/drivers/md/ |
H A D | dm-thin-metadata.c | 456 int r; in __superblock_all_zeroes() local 465 r = dm_bm_read_lock(bm, THIN_SUPERBLOCK_LOCATION, NULL, &b); in __superblock_all_zeroes() 466 if (r) in __superblock_all_zeroes() 467 return r; in __superblock_all_zeroes() 523 int r; in save_sm_roots() local 526 r = dm_sm_root_size(pmd->metadata_sm, &len); in save_sm_roots() 527 if (r < 0) in save_sm_roots() 528 return r; in save_sm_roots() 530 r = dm_sm_copy_root(pmd->metadata_sm, &pmd->metadata_space_map_root, len); in save_sm_roots() 531 if (r < 0) in save_sm_roots() [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | pixfmt-rgb.rst | 45 - 'r', 'g' and 'b' denote bits of the red, green and blue components 58 word [15:0] laid out at as [R\ :sub:`4` R\ :sub:`3` R\ :sub:`2` R\ :sub:`1` 59 R\ :sub:`0` G\ :sub:`5` G\ :sub:`4` G\ :sub:`3` G\ :sub:`2` G\ :sub:`1` 61 stored in memory in two bytes, [R\ :sub:`4` R\ :sub:`3` R\ :sub:`2` R\ :sub:`1` 62 R\ :sub:`0` G\ :sub:`5` G\ :sub:`4` G\ :sub:`3`] followed by [G\ :sub:`2` 127 - r\ :sub:`2` 128 - r\ :sub:`1` 129 - r\ :sub:`0` 154 - r\ :sub:`3` 155 - r\ :sub:`2` [all …]
|
/linux/drivers/net/wireless/ath/wil6210/ |
H A D | rx_reorder.c | 28 static inline int reorder_index(struct wil_tid_ampdu_rx *r, u16 seq) in reorder_index() argument 30 return seq_sub(seq, r->ssn) % r->buf_size; in reorder_index() 34 struct wil_tid_ampdu_rx *r, in wil_release_reorder_frame() argument 37 struct sk_buff *skb = r->reorder_buf[index]; in wil_release_reorder_frame() 43 r->stored_mpdu_num--; in wil_release_reorder_frame() 44 r->reorder_buf[index] = NULL; in wil_release_reorder_frame() 48 r->head_seq_num = seq_inc(r->head_seq_num); in wil_release_reorder_frame() 52 struct wil_tid_ampdu_rx *r, in wil_release_reorder_frames() argument 58 * hseq preceding r->head_seq_num, i.e it is always true in wil_release_reorder_frames() 59 * !seq_less(hseq, r->head_seq_num) in wil_release_reorder_frames() [all …]
|
/linux/drivers/video/fbdev/omap2/omapfb/displays/ |
H A D | panel-dsi-cm.c | 109 int r; in dsicm_dcs_read_1() local 112 r = in->ops.dsi->dcs_read(in, ddata->channel, dcs_cmd, buf, 1); in dsicm_dcs_read_1() 114 if (r < 0) in dsicm_dcs_read_1() 115 return r; in dsicm_dcs_read_1() 141 int r; in dsicm_sleep_in() local 146 r = in->ops.dsi->dcs_write_nosync(in, ddata->channel, &cmd, 1); in dsicm_sleep_in() 147 if (r) in dsicm_sleep_in() 148 return r; in dsicm_sleep_in() 159 int r; in dsicm_sleep_out() local 163 r = dsicm_dcs_write_0(ddata, MIPI_DCS_EXIT_SLEEP_MODE); in dsicm_sleep_out() [all …]
|
/linux/include/math-emu/ |
H A D | op-common.h | 229 #define _FP_ADD_INTERNAL(fs, wc, R, X, Y, OP) \ argument 245 R##_e = Y##_e; \ 256 R##_e = X##_e; \ 259 R##_c = FP_CLS_NORMAL; \ 263 R##_s = X##_s; \ 264 _FP_FRAC_ADD_##wc(R, X, Y); \ 265 if (_FP_FRAC_OVERP_##wc(fs, R)) \ 267 _FP_FRAC_SRS_##wc(R, 1, _FP_WFRACBITS_##fs); \ 268 R##_e++; \ 273 R##_s = X##_s; \ [all …]
|
/linux/include/media/ |
H A D | v4l2-rect.h | 15 * @r: rect whose width and height fields will be set 18 static inline void v4l2_rect_set_size_to(struct v4l2_rect *r, in v4l2_rect_set_size_to() argument 21 r->width = size->width; in v4l2_rect_set_size_to() 22 r->height = size->height; in v4l2_rect_set_size_to() 26 * v4l2_rect_set_min_size() - width and height of r should be >= min_size. 27 * @r: rect whose width and height will be modified 30 static inline void v4l2_rect_set_min_size(struct v4l2_rect *r, in v4l2_rect_set_min_size() argument 33 if (r->width < min_size->width) in v4l2_rect_set_min_size() 34 r->width = min_size->width; in v4l2_rect_set_min_size() 35 if (r->height < min_size->height) in v4l2_rect_set_min_size() [all …]
|
/linux/sound/firewire/ |
H A D | iso-resources.c | 20 * @r: the resource manager to initialize 23 * If the device does not support all channel numbers, change @r->channels_mask 26 int fw_iso_resources_init(struct fw_iso_resources *r, struct fw_unit *unit) in fw_iso_resources_init() argument 28 r->channels_mask = ~0uLL; in fw_iso_resources_init() 29 r->unit = unit; in fw_iso_resources_init() 30 mutex_init(&r->mutex); in fw_iso_resources_init() 31 r->allocated = false; in fw_iso_resources_init() 39 * @r: the resource manager that is no longer needed 41 void fw_iso_resources_destroy(struct fw_iso_resources *r) in fw_iso_resources_destroy() argument 43 WARN_ON(r->allocated); in fw_iso_resources_destroy() [all …]
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | manager-sysfs.c | 47 int r = 0; in manager_display_store() local 67 r = -EINVAL; in manager_display_store() 73 r = -EINVAL; in manager_display_store() 82 r = -EINVAL; in manager_display_store() 90 r = dssdev->driver->connect(dssdev); in manager_display_store() 91 if (r) { in manager_display_store() 103 r = mgr->apply(mgr); in manager_display_store() 104 if (r) { in manager_display_store() 114 return r ? r : size; in manager_display_store() 132 int r; in manager_default_color_store() local [all …]
|