/openbmc/entity-manager/test/ |
H A D | test_entity-manager.cpp | 99 nlohmann::json expected = "3 minus 1 equals 2 !"; in TEST() 105 nlohmann::json j = {{"foo", "3 mod 2 equals $TEST % 2"}}; in TEST() 112 nlohmann::json expected = "3 mod 2 equals 1"; in TEST() 118 nlohmann::json j = {{"foo", "3 * 2 equals $TEST * 2"}}; in TEST() 125 nlohmann::json expected = "3 * 2 equals 6"; in TEST() 131 nlohmann::json j = {{"foo", "4 / 2 equals $TEST / 2"}}; in TEST() 138 nlohmann::json expected = "4 / 2 equals 2"; in TEST() 144 nlohmann::json j = {{"foo", "4 * 2 % 6 equals $TEST * 2 % 6"}}; in TEST() 151 nlohmann::json expected = "4 * 2 % 6 equals 2"; in TEST() 171 nlohmann::json j = {{"foo", "4 / 2 equals $TEST / 2 $BAR"}}; in TEST() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/aarch64/ |
H A D | vgic_init.c | 65 GUEST_SYNC(2); in guest_code() 79 struct vm_gic v; in vm_gic_create_with_vcpus() local 81 v.gic_dev_type = gic_dev_type; in vm_gic_create_with_vcpus() 82 v.vm = vm_create_with_vcpus(nr_vcpus, guest_code, vcpus); in vm_gic_create_with_vcpus() 83 v.gic_fd = kvm_create_device(v.vm, gic_dev_type); in vm_gic_create_with_vcpus() 85 return v; in vm_gic_create_with_vcpus() 90 struct vm_gic v; in vm_gic_create_barebones() local 92 v.gic_dev_type = gic_dev_type; in vm_gic_create_barebones() 93 v.vm = vm_create_barebones(); in vm_gic_create_barebones() 94 v.gic_fd = kvm_create_device(v.vm, gic_dev_type); in vm_gic_create_barebones() [all …]
|
/openbmc/qemu/target/s390x/tcg/ |
H A D | insn-format.h.inc | 5 F2(RI_a, R(1, 8), I(2,16,16)) 6 F2(RI_b, R(1, 8), I(2,16,16)) 7 F2(RI_c, M(1, 8), I(2,16,16)) 8 F3(RIE_a, R(1, 8), I(2,16,16), M(3,32)) 9 F4(RIE_b, R(1, 8), R(2,12), M(3,32), I(4,16,16)) 10 F4(RIE_c, R(1, 8), I(2,32, 8), M(3,12), I(4,16,16)) 11 F3(RIE_d, R(1, 8), I(2,16,16), R(3,12)) 12 F3(RIE_e, R(1, 8), I(2,16,16), R(3,12)) 13 F5(RIE_f, R(1, 8), R(2,12), I(3,16,8), I(4,24,8), I(5,32,8)) 14 F3(RIE_g, R(1, 8), I(2,16,16), M(3,12)) [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | mb86a16.c | 40 #define MB86A16_INFO 2 71 .len = 2 in mb86a16_write() 102 ret = i2c_transfer(state->i2c_adap, msg, 2); in mb86a16_read() 103 if (ret != 2) { in mb86a16_read() 123 val = (timint1 << 4) | (timint2 << 2) | cnext; in CNTM_set() 141 tmp = (8192 * state->master_clk - 2 * m * rate * 8192 + state->master_clk / 2) / state->master_clk; in smrt_set() 146 if (mb86a16_write(state, MB86A16_SRATE1, (state->deci << 2) | in smrt_set() 292 val = 0x7a | (cren << 7) | (afcen << 2); in EN_set() 313 AFCA = 2; in AFCEXEN_set() 317 if (mb86a16_write(state, 0x2a, 0x02 | (afcexen << 5) | (AFCA << 2)) < 0) in AFCEXEN_set() [all …]
|
/openbmc/linux/lib/crypto/ |
H A D | blake2s-generic.c | 20 { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }, 21 { 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3 }, 22 { 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4 }, 23 { 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8 }, 24 { 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13 }, 25 { 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9 }, 26 { 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, 6, 3, 9, 2, 8, 11 }, 27 { 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, 15, 4, 8, 6, 2, 10 }, 28 { 6, 15, 14, 9, 11, 3, 0, 8, 12, 2, 13, 7, 1, 4, 10, 5 }, 29 { 10, 2, 8, 4, 7, 6, 1, 5, 15, 11, 9, 14, 3, 12, 13, 0 }, [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | atomic.h | 27 static __inline__ int arch_atomic_read(const atomic_t *v) in arch_atomic_read() argument 33 __asm__ __volatile__("lwz %0,0(%1)" : "=r"(t) : "b"(&v->counter)); in arch_atomic_read() 35 __asm__ __volatile__("lwz%U1%X1 %0,%1" : "=r"(t) : "m<>"(v->counter)); in arch_atomic_read() 40 static __inline__ void arch_atomic_set(atomic_t *v, int i) in arch_atomic_set() argument 44 __asm__ __volatile__("stw %1,0(%2)" : "=m"(v->counter) : "r"(i), "b"(&v->counter)); in arch_atomic_set() 46 __asm__ __volatile__("stw%U0%X0 %1,%0" : "=m<>"(v->counter) : "r"(i)); in arch_atomic_set() 50 static __inline__ void arch_atomic_##op(int a, atomic_t *v) \ 56 #asm_op "%I2" suffix " %0,%0,%2\n" \ 59 : "=&r" (t), "+m" (v->counter) \ 60 : "r"#sign (a), "r" (&v->counter) \ [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | subdev-formats.rst | 17 :widths: 1 1 2 183 1 and 2. 199 green and 5-bit blue values padded on the high bit, transferred as 2 219 \setlength{\tabcolsep}{2pt} 222 :header-rows: 2 224 :widths: 36 7 3 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 262 - 2 291 - r\ :sub:`2` 295 - g\ :sub:`2` 299 - b\ :sub:`2` [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-string-input-visitor.c | 9 * This work is licensed under the terms of the GNU GPL, version 2 or later. 20 Visitor *v; member 26 if (data->v) { in visitor_input_teardown() 27 visit_free(data->v); in visitor_input_teardown() 28 data->v = NULL; in visitor_input_teardown() 41 data->v = string_input_visitor_new(string); in visitor_input_test_init() 42 g_assert(data->v); in visitor_input_test_init() 43 return data->v; in visitor_input_test_init() 51 Visitor *v; in test_visitor_in_int() local 53 v = visitor_input_test_init(data, "-42"); in test_visitor_in_int() [all …]
|
H A D | test-keyval.c | 9 * This work is licensed under the terms of the GNU GPL, version 2 or later. 59 params = g_strdup_printf("k.%s=v", long_key); in test_keyval_parse() 60 qdict = keyval_parse(params + 2, NULL, NULL, &err); in test_keyval_parse() 71 params = g_strdup_printf("k.%s=v", long_key + 1); in test_keyval_parse() 72 qdict = keyval_parse(params + 2, NULL, NULL, &error_abort); in test_keyval_parse() 74 g_assert_cmpstr(qdict_get_try_str(qdict, long_key + 1), ==, "v"); in test_keyval_parse() 83 g_assert_cmpstr(qdict_get_try_str(sub_qdict, long_key + 1), ==, "v"); in test_keyval_parse() 93 qdict = keyval_parse("a=1,b=2,,x,a=3", NULL, NULL, &error_abort); in test_keyval_parse() 94 g_assert_cmpuint(qdict_size(qdict), ==, 2); in test_keyval_parse() 96 g_assert_cmpstr(qdict_get_try_str(qdict, "b"), ==, "2,x"); in test_keyval_parse() [all …]
|
/openbmc/linux/crypto/ |
H A D | blake2b_generic.c | 26 { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }, 27 { 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3 }, 28 { 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4 }, 29 { 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8 }, 30 { 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13 }, 31 { 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9 }, 32 { 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, 6, 3, 9, 2, 8, 11 }, 33 { 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, 15, 4, 8, 6, 2, 10 }, 34 { 6, 15, 14, 9, 11, 3, 0, 8, 12, 2, 13, 7, 1, 4, 10, 5 }, 35 { 10, 2, 8, 4, 7, 6, 1, 5, 15, 11, 9, 14, 3, 12, 13, 0 }, [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_mode_vba_30.c | 397 struct vba_vars_st *v, 419 unsigned int CursorWidth[][2], 420 unsigned int CursorBPP[][2], 680 …mSlices = number of slices in the horiziontal direction per DSC engine in the set of {1, 2, 3, 4} in dscceComputeDelay() 686 // N422/N420 operate at 2 pixels per clock in dscceComputeDelay() 691 pixelsPerClock = 2; in dscceComputeDelay() 696 pixelsPerClock = 2; in dscceComputeDelay() 722 wx = (w + 2) / 3; in dscceComputeDelay() 726 ax = (a + 2) / 3 + D + 6 + 1; in dscceComputeDelay() 734 //dsc processes 3 pixel containers per cycle and a container can contain 1 or 2 pixels in dscceComputeDelay() [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-mx5/ |
H A D | crm_regs.h | 80 #define MXC_CCM_CCR_OSCNT(v) ((v) & 0xFF) argument 92 #define MXC_CCM_CCSR_STEP_SEL(v) (((v) & 0x3) << 7) argument 96 #define MXC_CCM_CCSR_PLL2_DIV_PODF(v) (((v) & 0x3) << 5) argument 100 #define MXC_CCM_CCSR_PLL3_DIV_PODF(v) (((v) & 0x3) << 3) argument 102 #define MXC_CCM_CCSR_PLL1_SW_CLK_SEL (0x1 << 2) 109 #define MXC_CCM_CACRR_ARM_PODF(v) ((v) & 0x7) argument 116 #define MXC_CCM_CBCDR_DDR_PODF(v) (((v) & 0x7) << 27) argument 122 #define MXC_CCM_CBCDR_EMI_PODF(v) (((v) & 0x7) << 22) argument 126 #define MXC_CCM_CBCDR_AXI_B_PODF(v) (((v) & 0x7) << 19) argument 130 #define MXC_CCM_CBCDR_AXI_A_PODF(v) (((v) & 0x7) << 16) argument [all …]
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | atomic.h | 29 #define arch_atomic_read(v) READ_ONCE((v)->counter) argument 30 #define arch_atomic64_read(v) READ_ONCE((v)->counter) argument 32 #define arch_atomic_set(v,i) WRITE_ONCE((v)->counter, (i)) argument 33 #define arch_atomic64_set(v,i) WRITE_ONCE((v)->counter, (i)) argument 42 static __inline__ void arch_atomic_##op(int i, atomic_t * v) \ 47 " " #asm_op " %0,%2,%0\n" \ 49 " beq %0,2f\n" \ 50 ".subsection 2\n" \ 51 "2: br 1b\n" \ 53 :"=&r" (temp), "=m" (v->counter) \ [all …]
|
/openbmc/linux/drivers/staging/media/sunxi/sun6i-isp/ |
H A D | sun6i_isp_reg.h | 12 #define SUN6I_ISP_ADDR_VALUE(a) ((a) >> 2) 21 #define SUN6I_ISP_FE_CFG_SRC0_MODE(v) (((v) << 8) & GENMASK(9, 8)) argument 22 #define SUN6I_ISP_FE_CFG_SRC1_MODE(v) (((v) << 16) & GENMASK(17, 16)) argument 27 #define SUN6I_ISP_FE_CTRL_PARA_READY BIT(2) 33 #define SUN6I_ISP_FE_CTRL_OUTPUT_SPEED_CTRL(v) (((v) << 16) & GENMASK(17, 16)) argument 39 #define SUN6I_ISP_FE_INT_EN_PARA_SAVE BIT(2) 50 #define SUN6I_ISP_FE_INT_STA_PARA_SAVE BIT(2) 80 #define SUN6I_ISP_MODULE_EN_DPC_LUT BIT(2) 104 #define SUN6I_ISP_MODE_INPUT_FMT(v) ((v) & GENMASK(2, 0)) argument 105 #define SUN6I_ISP_MODE_INPUT_YUV_SEQ(v) (((v) << 3) & GENMASK(4, 3)) argument [all …]
|
/openbmc/linux/drivers/i3c/master/mipi-i3c-hci/ |
H A D | cmd_v2.c | 26 #define CMD_U3_HDR_TSP_ML_CTRL(v) FIELD_PREP(W3_MASK(107, 104), v) argument 27 #define CMD_U3_IDB4(v) FIELD_PREP(W3_MASK(103, 96), v) argument 28 #define CMD_U3_HDR_CMD(v) FIELD_PREP(W3_MASK(103, 96), v) argument 29 #define CMD_U2_IDB3(v) FIELD_PREP(W2_MASK( 95, 88), v) argument 30 #define CMD_U2_HDR_BT(v) FIELD_PREP(W2_MASK( 95, 88), v) argument 31 #define CMD_U2_IDB2(v) FIELD_PREP(W2_MASK( 87, 80), v) argument 32 #define CMD_U2_BT_CMD2(v) FIELD_PREP(W2_MASK( 87, 80), v) argument 33 #define CMD_U2_IDB1(v) FIELD_PREP(W2_MASK( 79, 72), v) argument 34 #define CMD_U2_BT_CMD1(v) FIELD_PREP(W2_MASK( 79, 72), v) argument 35 #define CMD_U2_IDB0(v) FIELD_PREP(W2_MASK( 71, 64), v) argument [all …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | gre_multipath_nh_res.sh | 18 # | 2001:db8:1::2/64 | 26 # | v v | 52 # | 2001:db8:2::1/64 | | 59 # | 2001:db8:2::2/64 | 76 ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2 77 ip route add vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2 82 ip route del vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2 83 ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2 89 simple_if_init $ol1 192.0.2.2/28 2001:db8:1::2/64 90 __simple_if_init $ul1 v$ol1 [all …]
|
H A D | gre_multipath_nh.sh | 18 # | 2001:db8:1::2/64 | 26 # | v v | 52 # | 2001:db8:2::1/64 | | 59 # | 2001:db8:2::2/64 | 76 ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2 77 ip route add vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2 82 ip route del vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2 83 ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2 89 simple_if_init $ol1 192.0.2.2/28 2001:db8:1::2/64 90 __simple_if_init $ul1 v$ol1 [all …]
|
H A D | ip6gre_custom_multipath_hash.sh | 13 # | 198.51.100.{2-253}/24 | | 14 # | 2001:db8:1::{2-fd}/64 | | 25 # | rem=2001:db8:3::2 -. | 27 # | v | 35 # | 2001:db8:10::2/64 | | 48 # | | 2001:db8:11::2/64 | 2001:db8:12::2/64 | 59 # | ^ 2001:db8:13::2/64 | 62 # | loc=2001:db8:3::2 | | 68 # | 2001:db8:2::1/64 | SW4 | 74 # | 203.0.113.{2-253}/24 | [all …]
|
H A D | ip6gre_inner_v6_multipath.sh | 13 # | 2001:db8:1::2/64 | | 23 # | rem=2001:db8:40::2 --. | 25 # | v | 33 # | 2001:db8:80::2/64 | 46 # | | 2001:db8:81::2/64 | 2001:db8:82::2/64 | 52 # | 2001:db8:83::2/64 | SW3 | 59 # | loc=2001:db8:40::2 | | 64 # | 2001:db8:2::1/64 | SW4 | 70 # | 2001:db8:2::2/64 H2 | 83 simple_if_init $h1 2001:db8:1::2/64 [all …]
|
/openbmc/linux/drivers/media/platform/sunxi/sun6i-csi/ |
H A D | sun6i_csi_reg.h | 14 #define SUN6I_CSI_ADDR_VALUE(a) ((a) >> 2) 18 #define SUN6I_CSI_EN_PTN_CYCLE(v) (((v) << 16) & GENMASK(23, 16)) argument 22 #define SUN6I_CSI_EN_CLK_CNT_EN BIT(2) 29 #define SUN6I_CSI_IF_CFG_FIELD_DT_PCLK_SHIFT(v) (((v) << 24) & GENMASK(27, 24)) argument 43 #define SUN6I_CSI_IF_CFG_FIELD_DT_VSYNC (2 << 14) 46 #define SUN6I_CSI_IF_CFG_DATA_WIDTH_12 (2 << 8) 57 #define SUN6I_CSI_CAP_MASK(v) (((v) << 2) & GENMASK(5, 2)) argument 70 #define SUN6I_CSI_CH_CFG_PAD_VAL(v) (((v) << 24) & GENMASK(31, 24)) argument 71 #define SUN6I_CSI_CH_CFG_INPUT_FMT(v) (((v) << 20) & GENMASK(23, 20)) argument 72 #define SUN6I_CSI_CH_CFG_OUTPUT_FMT(v) (((v) << 16) & GENMASK(19, 16)) argument [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | cs43130.h | 44 #define CS43130_PLL_SET_2 0x030002 /* PLL Setting 2 */ 55 #define CS43130_ASP_NUM_2 0x040011 /* ASP Numerator 2 */ 57 #define CS43130_ASP_DEN_2 0x040013 /* ASP Denominator 2 */ 59 #define CS43130_ASP_LRCK_HI_TIME_2 0x040015 /* ASP LRCK High Time 2 */ 61 #define CS43130_ASP_LRCK_PERIOD_2 0x040017 /* ASP LRCK Period 2 */ 65 #define CS43130_XSP_NUM_2 0x040021 /* XSP Numerator 2 */ 67 #define CS43130_XSP_DEN_2 0x040023 /* XSP Denominator 2 */ 69 #define CS43130_XSP_LRCK_HI_TIME_2 0x040025 /* XSP LRCK High Time 2 */ 71 #define CS43130_XSP_LRCK_PERIOD_2 0x040027 /* XSP LRCK Period 2 */ 75 #define CS43130_ASP_CH_2_LOC 0x050001 /* ASP Chan 2 Location */ [all …]
|
/openbmc/qemu/hw/display/ |
H A D | vga-helpers.h | 30 ((uint32_t *)d)[2] = (-((font_data >> 5) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 33 ((uint32_t *)d)[5] = (-((font_data >> 2) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 75 uint32_t font_data, xorcol, v; in vga_draw_glyph9() local 82 ((uint32_t *)d)[2] = (-((font_data >> 5) & 1) & xorcol) ^ bgcol; in vga_draw_glyph9() 85 ((uint32_t *)d)[5] = (-((font_data >> 2) & 1) & xorcol) ^ bgcol; in vga_draw_glyph9() 87 v = (-((font_data >> 0) & 1) & xorcol) ^ bgcol; in vga_draw_glyph9() 88 ((uint32_t *)d)[7] = v; in vga_draw_glyph9() 90 ((uint32_t *)d)[8] = v; in vga_draw_glyph9() 104 uint32_t plane_mask, *palette, data, v; in vga_draw_line2() local 118 v = expand2[GET_PLANE(data, 0)]; in vga_draw_line2() [all …]
|
/openbmc/linux/tools/testing/selftests/rseq/ |
H A D | rseq-arm64-bits.h | 15 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_storev)(intptr_t *v, intptr_t expect, intptr_t newv, int c… in RSEQ_TEMPLATE_IDENTIFIER() 20 RSEQ_ASM_DEFINE_TABLE(1, 2f, 3f, 4f) in RSEQ_TEMPLATE_IDENTIFIER() 21 RSEQ_ASM_DEFINE_EXIT_POINT(2f, %l[cmpfail]) in RSEQ_TEMPLATE_IDENTIFIER() 23 RSEQ_ASM_DEFINE_EXIT_POINT(2f, %l[error1]) in RSEQ_TEMPLATE_IDENTIFIER() 24 RSEQ_ASM_DEFINE_EXIT_POINT(2f, %l[error2]) in RSEQ_TEMPLATE_IDENTIFIER() 26 RSEQ_ASM_STORE_RSEQ_CS(2, 1b, rseq_cs) in RSEQ_TEMPLATE_IDENTIFIER() 29 RSEQ_ASM_OP_CMPEQ(v, expect, %l[cmpfail]) in RSEQ_TEMPLATE_IDENTIFIER() 33 RSEQ_ASM_OP_CMPEQ(v, expect, %l[error2]) in RSEQ_TEMPLATE_IDENTIFIER() 35 RSEQ_ASM_OP_FINAL_STORE(newv, v, 3) in RSEQ_TEMPLATE_IDENTIFIER() 42 [v] "Qo" (*v), in RSEQ_TEMPLATE_IDENTIFIER() [all …]
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | atomic.h | 32 #define arch_atomic_read(v) READ_ONCE((v)->counter) argument 33 #define arch_atomic_set(v, i) WRITE_ONCE((v)->counter, (i)) argument 36 static inline void arch_atomic_##op(int i, atomic_t *v) \ 40 : "+ZB" (v->counter) \ 46 static inline int arch_atomic_##op##_return_relaxed(int i, atomic_t *v) \ 51 "am"#asm_op"_db.w" " %1, %2, %0 \n" \ 52 : "+ZB" (v->counter), "=&r" (result) \ 60 static inline int arch_atomic_fetch_##op##_relaxed(int i, atomic_t *v) \ 65 "am"#asm_op"_db.w" " %1, %2, %0 \n" \ 66 : "+ZB" (v->counter), "=&r" (result) \ [all …]
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | atomic.h | 16 #define atomic_read(v) ((v)->counter) argument 17 #define atomic_set(v,i) (((v)->counter) = (i)) argument 22 static __inline__ int atomic_add_return(int a, atomic_t *v) in atomic_add_return() argument 28 add %0,%2,%0\n\ in atomic_add_return() 31 : "=&r" (t), "=m" (*v) in atomic_add_return() 32 : "r" (a), "r" (v), "m" (*v) in atomic_add_return() 38 static __inline__ int atomic_sub_return(int a, atomic_t *v) in atomic_sub_return() argument 44 subf %0,%2,%0\n\ in atomic_sub_return() 47 : "=&r" (t), "=m" (*v) in atomic_sub_return() 48 : "r" (a), "r" (v), "m" (*v) in atomic_sub_return() [all …]
|