Home
last modified time | relevance | path

Searched refs:mad (Results 1 – 25 of 172) sorted by relevance

1234567

/external/syslinux/gpxe/src/net/infiniband/
Dib_smc.c47 union ib_mad *mad ) { in ib_smc_get_port_info() argument
51 memset ( mad, 0, sizeof ( *mad ) ); in ib_smc_get_port_info()
52 mad->hdr.base_version = IB_MGMT_BASE_VERSION; in ib_smc_get_port_info()
53 mad->hdr.mgmt_class = IB_MGMT_CLASS_SUBN_LID_ROUTED; in ib_smc_get_port_info()
54 mad->hdr.class_version = 1; in ib_smc_get_port_info()
55 mad->hdr.method = IB_MGMT_METHOD_GET; in ib_smc_get_port_info()
56 mad->hdr.attr_id = htons ( IB_SMP_ATTR_PORT_INFO ); in ib_smc_get_port_info()
57 mad->hdr.attr_mod = htonl ( ibdev->port ); in ib_smc_get_port_info()
59 if ( ( rc = local_mad ( ibdev, mad ) ) != 0 ) { in ib_smc_get_port_info()
77 union ib_mad *mad ) { in ib_smc_get_guid_info() argument
[all …]
Dib_sma.c51 union ib_mad *mad, in ib_sma_node_info() argument
53 struct ib_node_info *node_info = &mad->smp.smp_data.node_info; in ib_sma_node_info()
70 mad->hdr.method = IB_MGMT_METHOD_GET_RESP; in ib_sma_node_info()
71 if ( ( rc = ib_mi_send ( ibdev, mi, mad, av ) ) != 0 ) { in ib_sma_node_info()
88 union ib_mad *mad, in ib_sma_node_desc() argument
90 struct ib_node_desc *node_desc = &mad->smp.smp_data.node_desc; in ib_sma_node_desc()
109 mad->hdr.method = IB_MGMT_METHOD_GET_RESP; in ib_sma_node_desc()
110 if ( ( rc = ib_mi_send ( ibdev, mi, mad, av ) ) != 0 ) { in ib_sma_node_desc()
127 union ib_mad *mad, in ib_sma_guid_info() argument
129 struct ib_guid_info *guid_info = &mad->smp.smp_data.guid_info; in ib_sma_guid_info()
[all …]
Dib_mi.c74 union ib_mad *mad, in ib_mi_handle() argument
76 struct ib_mad_hdr *hdr = &mad->hdr; in ib_mi_handle()
82 if ( memcmp ( &hdr->tid, &madx->mad.hdr.tid, in ib_mi_handle()
86 madx->op->complete ( ibdev, mi, madx, 0, mad, av ); in ib_mi_handle()
98 agent->handle ( ibdev, mi, mad, av ); in ib_mi_handle()
123 union ib_mad *mad; in ib_mi_complete_recv() local
133 if ( iob_len ( iobuf ) != sizeof ( *mad ) ) { in ib_mi_complete_recv()
139 mad = iobuf->data; in ib_mi_complete_recv()
140 hdr = &mad->hdr; in ib_mi_complete_recv()
144 DBGC_HDA ( mi, 0, mad, sizeof ( *mad ) ); in ib_mi_complete_recv()
[all …]
Dib_cm.c55 union ib_mad mad; in ib_cm_send_rtu() local
57 &mad.cm.cm_data.ready_to_use; in ib_cm_send_rtu()
61 memset ( &mad, 0, sizeof ( mad ) ); in ib_cm_send_rtu()
62 mad.hdr.mgmt_class = IB_MGMT_CLASS_CM; in ib_cm_send_rtu()
63 mad.hdr.class_version = IB_CM_CLASS_VERSION; in ib_cm_send_rtu()
64 mad.hdr.method = IB_MGMT_METHOD_SEND; in ib_cm_send_rtu()
65 mad.hdr.attr_id = htons ( IB_CM_ATTR_READY_TO_USE ); in ib_cm_send_rtu()
68 if ( ( rc = ib_mi_send ( ibdev, mi, &mad, av ) ) != 0 ){ in ib_cm_send_rtu()
92 union ib_mad *mad, in ib_cm_connect_rep() argument
95 &mad->cm.cm_data.connect_reply; in ib_cm_connect_rep()
[all …]
Dib_mcast.c45 int join, union ib_mad *mad ) { in ib_mcast_mad() argument
46 struct ib_mad_sa *sa = &mad->sa; in ib_mcast_mad()
78 int rc, union ib_mad *mad, in ib_mcast_complete() argument
84 &mad->sa.sa_data.mc_member_record; in ib_mcast_complete()
89 if ( ( rc == 0 ) && ( mad->hdr.status != htons ( IB_MGMT_STATUS_OK ) )) in ib_mcast_complete()
98 joined = ( mad->hdr.method == IB_MGMT_METHOD_GET_RESP ); in ib_mcast_complete()
120 membership->complete ( ibdev, qp, membership, rc, mad ); in ib_mcast_complete()
143 int rc, union ib_mad *mad ) ) { in ib_mcast_join() argument
144 union ib_mad mad; in ib_mcast_join() local
165 ib_mcast_mad ( ibdev, gid, 1, &mad ); in ib_mcast_join()
[all …]
Dib_pathrec.c49 int rc, union ib_mad *mad, in ib_path_complete() argument
53 struct ib_path_record *pathrec = &mad->sa.sa_data.path_record; in ib_path_complete()
56 if ( ( rc == 0 ) && ( mad->hdr.status != htons ( IB_MGMT_STATUS_OK ) )) in ib_path_complete()
103 union ib_mad mad; in ib_create_path() local
104 struct ib_mad_sa *sa = &mad.sa; in ib_create_path()
128 path->madx = ib_create_madx ( ibdev, ibdev->gsi, &mad, NULL, in ib_create_path()
/external/libchrome/base/trace_event/
Dprocess_memory_dump.cc178 std::unique_ptr<MemoryAllocatorDump> mad) { in AddAllocatorDumpInternal() argument
182 !IsMemoryAllocatorDumpNameWhitelisted(mad->absolute_name())) { in AddAllocatorDumpInternal()
187 std::make_pair(mad->absolute_name(), std::move(mad))); in AddAllocatorDumpInternal()
206 MemoryAllocatorDump* mad = GetAllocatorDump(absolute_name); in GetOrCreateAllocatorDump() local
207 return mad ? mad : CreateAllocatorDump(absolute_name); in GetOrCreateAllocatorDump()
218 MemoryAllocatorDump* mad = GetSharedGlobalAllocatorDump(guid); in CreateSharedGlobalAllocatorDump() local
219 if (mad) { in CreateSharedGlobalAllocatorDump()
222 mad->clear_flags(MemoryAllocatorDump::Flags::WEAK); in CreateSharedGlobalAllocatorDump()
223 return mad; in CreateSharedGlobalAllocatorDump()
234 MemoryAllocatorDump* mad = GetSharedGlobalAllocatorDump(guid); in CreateWeakSharedGlobalAllocatorDump() local
[all …]
Dmemory_allocator_dump_unittest.cc108 std::unique_ptr<MemoryAllocatorDump> mad( in TEST() local
110 ASSERT_EQ("42", mad->guid().ToString()); in TEST()
115 mad.reset(new MemoryAllocatorDump("bar", nullptr)); in TEST()
116 const MemoryAllocatorDumpGuid guid_bar = mad->guid(); in TEST()
119 ASSERT_EQ(guid_bar, mad->guid()); in TEST()
121 mad.reset(new MemoryAllocatorDump("bar", nullptr)); in TEST()
122 const MemoryAllocatorDumpGuid guid_bar_2 = mad->guid(); in TEST()
125 mad.reset(new MemoryAllocatorDump("baz", nullptr)); in TEST()
126 const MemoryAllocatorDumpGuid guid_baz = mad->guid(); in TEST()
Dtrace_event_memory_overhead.cc144 MemoryAllocatorDump* mad = pmd->CreateAllocatorDump(dump_name); in DumpInto() local
145 mad->AddScalar(MemoryAllocatorDump::kNameSize, in DumpInto()
148 mad->AddScalar("resident_size", MemoryAllocatorDump::kUnitsBytes, in DumpInto()
150 mad->AddScalar(MemoryAllocatorDump::kNameObjectCount, in DumpInto()
/external/skia/src/jumper/
DSkJumper_stages.cpp319 BLEND_MODE(srcover) { return mad(d, inv(sa), s); } in BLEND_MODE()
320 BLEND_MODE(dstover) { return mad(s, inv(da), d); } in BLEND_MODE()
336 a = mad(da, inv(a), a); \
496 r = mad(dr, inv(a), r*255.0f); in STAGE()
497 g = mad(dg, inv(a), g*255.0f); in STAGE()
498 b = mad(db, inv(a), b*255.0f); in STAGE()
499 a = mad(da, inv(a), a*255.0f); in STAGE()
581 auto hi = mad(s*s, mad(s, 0.3000f, 0.6975f), 0.0025f); in from_srgb()
610 auto hi = mad(t, mad(t, -0.0024542345f, 0.013832027f), c) in STAGE()
683 return mad(to-from, t, from); in lerp()
[all …]
DSkJumper_stages_lowp.cpp57 SI F mad(F f, F m, F a) { return f*m+a; } in mad() function
316 r = mad(dr, inv(a), r); in STAGE()
317 g = mad(dg, inv(a), g); in STAGE()
318 b = mad(db, inv(a), b); in STAGE()
319 a = mad(da, inv(a), a); in STAGE()
400 BLEND_MODE(srcover) { return mad(d, inv(sa), s); } in BLEND_MODE()
401 BLEND_MODE(dstover) { return mad(s, inv(da), d); } in BLEND_MODE()
/external/syslinux/gpxe/src/include/gpxe/
Dib_mi.h38 union ib_mad *mad,
65 int rc, union ib_mad *mad,
80 union ib_mad mad; member
122 union ib_mad *mad, struct ib_address_vector *av );
125 union ib_mad *mad, struct ib_address_vector *av,
Dib_mcast.h34 union ib_mad *mad );
43 int rc, union ib_mad *mad ) );
Dinfiniband.h358 int ( * set_port_info ) ( struct ib_device *ibdev, union ib_mad *mad );
368 union ib_mad *mad );
479 extern int ib_set_port_info ( struct ib_device *ibdev, union ib_mad *mad );
480 extern int ib_set_pkey_table ( struct ib_device *ibdev, union ib_mad *mad );
Dib_smc.h15 union ib_mad *mad );
/external/swiftshader/third_party/LLVM/test/CodeGen/PTX/
Dmad-disabling.ll1 ; RUN: llc < %s -march=ptx32 -mattr=+ptx20,+sm20 | grep "mad"
2 ; RUN: llc < %s -march=ptx32 -mattr=+ptx20,+sm20,+no-fma | grep -v "mad"
Dmad.ll4 ; CHECK: mad.rn.f32 %ret{{[0-9]+}}, %f{{[0-9]+}}, %f{{[0-9]+}}, %f{{[0-9]+}};
12 ; CHECK: mad.rn.f64 %ret{{[0-9]+}}, %fd{{[0-9]+}}, %fd{{[0-9]+}}, %fd{{[0-9]+}};
/external/llvm/test/CodeGen/AMDGPU/
Dfmul-2-combine-multi-use.ll38 %mad = fadd fast float %mul2, %y
40 store volatile float %mad, float addrspace(1)* %out.gep.1
54 %mad = fadd fast float %mul2, %y
56 store volatile float %mad, float addrspace(1)* %out.gep.1
Dmad_uint24.ll59 ; assuming that the pattern would be matched to a 24-bit mad. This
61 ; 24-bit mad pattern wasn't being matched.
/external/syslinux/gpxe/src/drivers/infiniband/
Darbel.c372 union arbelprm_mad *mad ) { in arbel_cmd_mad_ifc() argument
375 1, sizeof ( *mad ), in arbel_cmd_mad_ifc()
376 1, sizeof ( *mad ) ), in arbel_cmd_mad_ifc()
377 0x03, mad, port, mad ); in arbel_cmd_mad_ifc()
503 static int arbel_mad ( struct ib_device *ibdev, union ib_mad *mad ) { in arbel_mad() argument
508 linker_assert ( sizeof ( *mad ) == sizeof ( mad_ifc.mad ), in arbel_mad()
512 memcpy ( &mad_ifc.mad, mad, sizeof ( mad_ifc.mad ) ); in arbel_mad()
523 memcpy ( mad, &mad_ifc.mad, sizeof ( *mad ) ); in arbel_mad()
525 if ( mad->hdr.status != 0 ) { in arbel_mad()
527 arbel, ntohs ( mad->hdr.status ) ); in arbel_mad()
Dhermon.c441 union hermonprm_mad *mad ) { in hermon_cmd_mad_ifc() argument
444 1, sizeof ( *mad ), in hermon_cmd_mad_ifc()
445 1, sizeof ( *mad ) ), in hermon_cmd_mad_ifc()
446 0x03, mad, port, mad ); in hermon_cmd_mad_ifc()
658 static int hermon_mad ( struct ib_device *ibdev, union ib_mad *mad ) { in hermon_mad() argument
663 linker_assert ( sizeof ( *mad ) == sizeof ( mad_ifc.mad ), in hermon_mad()
667 memcpy ( &mad_ifc.mad, mad, sizeof ( mad_ifc.mad ) ); in hermon_mad()
678 memcpy ( mad, &mad_ifc.mad, sizeof ( *mad ) ); in hermon_mad()
680 if ( mad->hdr.status != 0 ) { in hermon_mad()
682 hermon, ntohs ( mad->hdr.status ) ); in hermon_mad()
[all …]
/external/llvm/test/CodeGen/NVPTX/
Dimad.ll5 ; CHECK: mad.lo.s32
/external/clang/test/Driver/
Dopencl.cl12 // RUN: %clang -S -### -cl-mad-enable %s 2>&1 | FileCheck --check-prefix=CHECK-MAD-ENABLE %s
29 // CHECK-MAD-ENABLE: "-cc1" {{.*}} "-cl-mad-enable"
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Ddisasm-a3xx.c726 OPC(3, OPC_MAD_U16, mad.u16),
728 OPC(3, OPC_MAD_S16, mad.s16),
730 OPC(3, OPC_MAD_U24, mad.u24),
731 OPC(3, OPC_MAD_S24, mad.s24),
732 OPC(3, OPC_MAD_F16, mad.f16),
733 OPC(3, OPC_MAD_F32, mad.f32),
/external/syslinux/gpxe/src/net/
Dinfiniband.c747 int ib_set_port_info ( struct ib_device *ibdev, union ib_mad *mad ) { in ib_set_port_info() argument
757 if ( ( rc = ibdev->op->set_port_info ( ibdev, mad ) ) != 0 ) { in ib_set_port_info()
772 int ib_set_pkey_table ( struct ib_device *ibdev, union ib_mad *mad ) { in ib_set_pkey_table() argument
782 if ( ( rc = ibdev->op->set_pkey_table ( ibdev, mad ) ) != 0 ) { in ib_set_pkey_table()

1234567