/openbmc/linux/include/linux/ |
H A D | ptr_ring.h | 49 static inline bool __ptr_ring_full(struct ptr_ring *r) in __ptr_ring_full() argument 51 return r->queue[r->producer]; in __ptr_ring_full() 54 static inline bool ptr_ring_full(struct ptr_ring *r) in ptr_ring_full() argument 58 spin_lock(&r->producer_lock); in ptr_ring_full() 59 ret = __ptr_ring_full(r); in ptr_ring_full() 60 spin_unlock(&r->producer_lock); in ptr_ring_full() 65 static inline bool ptr_ring_full_irq(struct ptr_ring *r) in ptr_ring_full_irq() argument 69 spin_lock_irq(&r->producer_lock); in ptr_ring_full_irq() 70 ret = __ptr_ring_full(r); in ptr_ring_full_irq() 71 spin_unlock_irq(&r->producer_lock); in ptr_ring_full_irq() [all …]
|
/openbmc/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 | 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 …]
|
/openbmc/qemu/tcg/ppc/ |
H A D | tcg-target-con-set.h | 12 C_O0_I1(r) 13 C_O0_I2(r, r) 14 C_O0_I2(r, rC) 15 C_O0_I2(v, r) 16 C_O0_I3(r, r, r) 17 C_O0_I3(o, m, r) 18 C_O0_I4(r, r, ri, ri) 19 C_O0_I4(r, r, r, r) 20 C_O1_I1(r, r) 21 C_O1_I1(v, r) [all …]
|
/openbmc/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 …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/files/ |
H A D | buildhistory_filelist2.txt | 122 -rw-r--r-- root root 45 ./etc/bash_completion 124 -rw-r--r-- root root 447 ./etc/bindresvport.blacklist 125 -rw-r--r-- root root 521 ./etc/build 126 -rw-r--r-- root root 2370 ./etc/busybox.links.nosuid 127 -rw-r--r-- root root 91 ./etc/busybox.links.suid 129 -rw-r--r-- root root 5340 ./etc/ca-certificates.conf 132 -rw-r--r-- root root 838 ./etc/dbus-1/session.conf 133 -rw-r--r-- root root 833 ./etc/dbus-1/system.conf 136 -rw-r--r-- root root 36 ./etc/default/mountall 137 -rw-r--r-- root root 52 ./etc/default/postinst [all …]
|
H A D | buildhistory_filelist1.txt | 122 -rw-r--r-- root root 45 ./etc/bash_completion 124 -rw-r--r-- root root 447 ./etc/bindresvport.blacklist 125 -rw-r--r-- root root 506 ./etc/build 126 -rw-r--r-- root root 2370 ./etc/busybox.links.nosuid 127 -rw-r--r-- root root 91 ./etc/busybox.links.suid 129 -rw-r--r-- root root 5340 ./etc/ca-certificates.conf 132 -rw-r--r-- root root 838 ./etc/dbus-1/session.conf 133 -rw-r--r-- root root 833 ./etc/dbus-1/system.conf 136 -rw-r--r-- root root 36 ./etc/default/mountall 137 -rw-r--r-- root root 52 ./etc/default/postinst [all …]
|
/openbmc/qemu/tcg/s390x/ |
H A D | tcg-target-con-set.h | 15 C_O0_I1(r) 16 C_O0_I2(r, r) 17 C_O0_I2(r, ri) 18 C_O0_I2(r, rC) 19 C_O0_I2(v, r) 20 C_O0_I3(o, m, r) 21 C_O1_I1(r, r) 22 C_O1_I1(v, r) 25 C_O1_I2(r, 0, ri) 26 C_O1_I2(r, 0, rI) [all …]
|
/openbmc/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 …]
|
/openbmc/u-boot/lib/ |
H A D | slre.c | 119 slre_dump(const struct slre *r, FILE *fp) in slre_dump() argument 123 for (pc = 0; pc < r->code_size; pc++) { in slre_dump() 125 op = r->code[pc]; in slre_dump() 131 (void) fprintf(fp, "%d ", r->code[pc + 1]); in slre_dump() 136 pc + r->code[pc + 1] - i); in slre_dump() 140 print_character_set(fp, r->data + in slre_dump() 141 r->code[pc + 1], r->code[pc + 2]); in slre_dump() 146 for (j = 0; j < r->code[pc + 2]; j++) { in slre_dump() 147 ch = r->data[r->code[pc + 1] + j]; in slre_dump() 166 set_jump_offset(struct slre *r, int pc, int offset) in set_jump_offset() argument [all …]
|
/openbmc/skeleton/op-pwrctl/pgood_wait/ |
H A D | pgood_wait.c | 28 static void quit(int r, void *loop) in quit() argument 30 sd_event_exit((sd_event *)loop, r); in quit() 38 int r; in callback() local 41 r = sd_bus_message_skip(m, "s"); in callback() 42 if (r < 0) in callback() 45 strerror(-r)); in callback() 46 quit(r, loop); in callback() 47 return r; in callback() 50 r = sd_bus_message_enter_container(m, SD_BUS_TYPE_ARRAY, "{sv}"); in callback() 51 if (r < 0) in callback() [all …]
|
/openbmc/linux/arch/x86/um/asm/ |
H A D | ptrace.h | 11 #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 …]
|
/openbmc/qemu/tcg/i386/ |
H A D | tcg-target-con-set.h | 18 C_O0_I1(r) 20 C_O0_I2(qi, r) 21 C_O0_I2(re, r) 22 C_O0_I2(ri, r) 23 C_O0_I2(r, reT) 25 C_O0_I2(x, r) 29 C_O0_I4(r, r, ri, ri) 30 C_O1_I1(r, 0) 31 C_O1_I1(r, L) 32 C_O1_I1(r, q) [all …]
|
/openbmc/qemu/tcg/tci/ |
H A D | tcg-target-con-set.h | 12 C_O0_I1(r) 13 C_O0_I2(r, r) 14 C_O0_I3(r, r, r) 15 C_O0_I4(r, r, r, r) 16 C_O1_I1(r, r) 17 C_O1_I2(r, r, r) 18 C_O1_I4(r, r, r, r, r) 19 C_O2_I1(r, r, r) 20 C_O2_I2(r, r, r, r) 21 C_O2_I4(r, r, r, r, r, r)
|
/openbmc/qemu/tests/tcg/i386/ |
H A D | x86.csv | 14 # 1. The Intel manual instruction mnemonic. For example, "SHR r/m32, imm8". 16 # 2. The Go assembler instruction mnemonic. For example, "SHRL imm8, r/m32". 18 # 3. The GNU binutils instruction mnemonic. For example, "shrl imm8, r/m32". 31 # the Intel mnemonic. For example, "rw,r" to denote that "SHR r/m32, imm8" 63 # memory address specified by the r/m half of the modrm encoding. 67 # The forms rmr16, rmr32, rmr64 indicate a register (never memory) selected by the modrm r/m encodi… 68 # The forms r/m8, r/m16, r/m32, and r/m64 indicate a register or memory selected by the modrm r/m e… 69 # Forms with two sizes, like r32/m16 also indicate a register or memory selected by the modrm r/m e… 77 # the modrm r/m encoding. 79 # selected by the modrm r/m encoding. [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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() argument 29 if (!r) in linear_range_values_in_range() 31 return r->max_sel - r->min_sel + 1; 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() argument 54 values = linear_range_values_in_range(&r[i]); 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() argument 72 return r->min + (r->max_sel - r->min_sel) * r->step; 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() argument 90 if (r->min_sel > selector || r->max_sel < selector) in linear_range_get_value() 93 *val = r->min + (selector - r->min_sel) * r->step; in linear_range_get_value() [all …]
|
/openbmc/qemu/tcg/mips/ |
H A D | tcg-target-con-set.h | 12 C_O0_I1(r) 13 C_O0_I2(rZ, r) 15 C_O0_I3(rZ, r, r) 16 C_O0_I3(rZ, rZ, r) 18 C_O0_I4(rZ, rZ, r, r) 19 C_O1_I1(r, r) 20 C_O1_I2(r, 0, rZ) 21 C_O1_I2(r, r, r) 22 C_O1_I2(r, r, ri) 23 C_O1_I2(r, r, rI) [all …]
|
/openbmc/qemu/hw/scsi/ |
H A D | scsi-generic.c | 46 SCSIGenericReq *r = DO_UPCAST(SCSIGenericReq, req, req); in scsi_generic_save_request() local 48 qemu_put_sbe32s(f, &r->buflen); in scsi_generic_save_request() 49 if (r->buflen && r->req.cmd.mode == SCSI_XFER_TO_DEV) { in scsi_generic_save_request() 50 assert(!r->req.sg); in scsi_generic_save_request() 51 qemu_put_buffer(f, r->buf, r->req.cmd.xfer); in scsi_generic_save_request() 57 SCSIGenericReq *r = DO_UPCAST(SCSIGenericReq, req, req); in scsi_generic_load_request() local 59 qemu_get_sbe32s(f, &r->buflen); in scsi_generic_load_request() 60 if (r->buflen && r->req.cmd.mode == SCSI_XFER_TO_DEV) { in scsi_generic_load_request() 61 assert(!r->req.sg); in scsi_generic_load_request() 62 qemu_get_buffer(f, r->buf, r->req.cmd.xfer); in scsi_generic_load_request() [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | sifive_e_aon.c | 48 static void sifive_e_aon_wdt_update_wdogcount(SiFiveEAONState *r) in sifive_e_aon_wdt_update_wdogcount() argument 51 if (FIELD_EX32(r->wdogcfg, AON_WDT_WDOGCFG, EN_ALWAYS) == 0 && in sifive_e_aon_wdt_update_wdogcount() 52 FIELD_EX32(r->wdogcfg, AON_WDT_WDOGCFG, EN_CORE_AWAKE) == 0) { in sifive_e_aon_wdt_update_wdogcount() 57 r->wdogcount += muldiv64(now - r->wdog_restart_time, in sifive_e_aon_wdt_update_wdogcount() 58 r->wdogclk_freq, NANOSECONDS_PER_SECOND); in sifive_e_aon_wdt_update_wdogcount() 61 r->wdogcount &= R_AON_WDT_WDOGCOUNT_VALUE_MASK; in sifive_e_aon_wdt_update_wdogcount() 62 r->wdog_restart_time = now; in sifive_e_aon_wdt_update_wdogcount() 65 static void sifive_e_aon_wdt_update_state(SiFiveEAONState *r) in sifive_e_aon_wdt_update_state() argument 69 sifive_e_aon_wdt_update_wdogcount(r); in sifive_e_aon_wdt_update_state() 70 wdogs = (uint16_t)(r->wdogcount >> in sifive_e_aon_wdt_update_state() [all …]
|
/openbmc/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 …]
|
/openbmc/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 88 drm_rect_width(r) >> 16, ((drm_rect_width(r) & 0xffff) * 15625) >> 10, \ 89 drm_rect_height(r) >> 16, ((drm_rect_height(r) & 0xffff) * 15625) >> 10, \ 90 (r)->x1 >> 16, (((r)->x1 & 0xffff) * 15625) >> 10, \ 91 (r)->y1 >> 16, (((r)->y1 & 0xffff) * 15625) >> 10 101 static inline void drm_rect_init(struct drm_rect *r, int x, int y, in drm_rect_init() argument 104 r->x1 = x; in drm_rect_init() 105 r->y1 = y; in drm_rect_init() 106 r->x2 = x + width; in drm_rect_init() [all …]
|
/openbmc/qemu/tcg/arm/ |
H A D | tcg-target-con-set.h | 12 C_O0_I1(r) 13 C_O0_I2(r, r) 14 C_O0_I2(r, rIN) 16 C_O0_I2(w, r) 19 C_O0_I4(r, r, rI, rI) 21 C_O1_I1(r, q) 22 C_O1_I1(r, r) 23 C_O1_I1(w, r) 26 C_O1_I2(r, 0, rZ) 27 C_O1_I2(r, q, q) [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/ |
H A D | urls.py | 21 url(r'^landing/$', views.landing, name='landing'), 23 url(r'^builds/$', 28 url(r'^build/(?P<build_id>\d+)$', views.builddashboard, name="builddashboard"), 29 url(r'^build/(?P<build_id>\d+)/tasks/$', 34 url(r'^build/(?P<build_id>\d+)/task/(?P<task_id>\d+)$', views.task, name='task'), 36 url(r'^build/(?P<build_id>\d+)/recipes/$', 41 …url(r'^build/(?P<build_id>\d+)/recipe/(?P<recipe_id>\d+)/active_tab/(?P<active_tab>\d{1})$', views… 43 url(r'^build/(?P<build_id>\d+)/recipe/(?P<recipe_id>\d+)$', views.recipe, name='recipe'), 44 …url(r'^build/(?P<build_id>\d+)/recipe_packages/(?P<recipe_id>\d+)$', views.recipe_packages, name='… 46 url(r'^build/(?P<build_id>\d+)/packages/$', [all …]
|