Lines Matching defs:dst
313 #define SST_FILL_LOCATION_IDS(dst, cell_idx, pipe_id) do { \
314 dst.location_id.p.cell_nbr_idx = (cell_idx); \
315 dst.location_id.p.path_id = (pipe_id); \
317 #define SST_FILL_LOCATION_ID(dst, loc_id) (\
318 dst.location_id.f = (loc_id))
319 #define SST_FILL_MODULE_ID(dst, mod_id) (\
320 dst.module_id = (mod_id))
322 #define SST_FILL_DESTINATION1(dst, id) do { \
323 SST_FILL_LOCATION_ID(dst, (id) & 0xFFFF); \
324 SST_FILL_MODULE_ID(dst, ((id) & 0xFFFF0000) >> 16); \
326 #define SST_FILL_DESTINATION2(dst, loc_id, mod_id) do { \
327 SST_FILL_LOCATION_ID(dst, loc_id); \
328 SST_FILL_MODULE_ID(dst, mod_id); \
330 #define SST_FILL_DESTINATION3(dst, cell_idx, path_id, mod_id) do { \
331 SST_FILL_LOCATION_IDS(dst, cell_idx, path_id); \
332 SST_FILL_MODULE_ID(dst, mod_id); \
335 #define SST_FILL_DESTINATION(level, dst, ...) \
336 SST_FILL_DESTINATION##level(dst, __VA_ARGS__)
337 #define SST_FILL_DEFAULT_DESTINATION(dst) \
338 SST_FILL_DESTINATION(2, dst, SST_DEFAULT_LOCATION_ID, SST_DEFAULT_MODULE_ID)
351 struct sst_destination_id dst;
411 struct sst_destination_id dst;