Lines Matching defs:sizeof_databus

61   to_hostendian_generic(tlm_generic_payload *txn, int sizeof_databus)
96 tlm_to_hostendian_generic(tlm_generic_payload *txn, int sizeof_databus)
97 tlm_from_hostendian_generic(tlm_generic_payload *txn, int sizeof_databus)
113 tlm_to_hostendian_word(tlm_generic_payload *txn, int sizeof_databus)
114 tlm_from_hostendian_word(tlm_generic_payload *txn, int sizeof_databus)
129 tlm_to_hostendian_aligned(tlm_generic_payload *txn, int sizeof_databus)
130 tlm_from_hostendian_aligned(tlm_generic_payload *txn, int sizeof_databus)
136 tlm_to_hostendian_single(tlm_generic_payload *txn, int sizeof_databus)
137 tlm_from_hostendian_single(tlm_generic_payload *txn, int sizeof_databus)
184 void (*from_f)(tlm_generic_payload *txn, unsigned int sizeof_databus);
185 int sizeof_databus;
314 int orig_stream_width, int sizeof_databus,
328 ptrdiff_t he_index = ((ie_addr++) ^ (sizeof_databus - 1))
342 tlm_from_hostendian_generic(tlm_generic_payload *txn, unsigned int sizeof_databus) {
346 txn->get_streaming_width(), tc->stream_width, sizeof_databus, tc->address,
356 tlm_to_hostendian_generic(tlm_generic_payload *txn, unsigned int sizeof_databus) {
359 tc->sizeof_databus = sizeof_databus;
368 sc_dt::uint64 new_address = (txn->get_address() & ~(sizeof_databus - 1));
370 & ~(sizeof_databus - 1));
372 int new_stream_width = end_address - new_address + sizeof_databus;
398 new_stream_width, s_width, sizeof_databus, tc->address,
403 new_stream_width, s_width, sizeof_databus, tc->address,
410 new_stream_width, s_width, sizeof_databus, tc->address,
415 new_stream_width, s_width, sizeof_databus, tc->address,
470 int bytes_left, int len0, int lenN, int sizeof_databus,
496 for(unsigned int i=1; i<sizeof_databus/sizeof(D); i++) {
524 src += 2 * sizeof_databus;
532 tlm_from_hostendian_word(tlm_generic_payload *txn, unsigned int sizeof_databus) {
535 sc_dt::uint64 b_mask = sizeof_databus - 1;
538 int len0 = (sizeof_databus - a_offset) & d_mask;
542 uchar *d = ptrdiff_t(((sizeof_databus - a_offset) & ~d_mask) + lenN) + d_start; // 64BITFIX probably redundant //
548 tc->length, len0, lenN, sizeof_databus, d_start, d_end, d,
553 tc->length, len0, lenN, sizeof_databus, d_start, d_end, d,
563 tlm_to_hostendian_word(tlm_generic_payload *txn, unsigned int sizeof_databus) {
566 tc->sizeof_databus = sizeof_databus;
568 sc_dt::uint64 b_mask = sizeof_databus - 1;
572 int len0 = (sizeof_databus - a_offset) & d_mask;
576 uchar *d = ptrdiff_t(((sizeof_databus - a_offset) & ~d_mask) + lenN) + d_start; // 64BITFIX probably redundant //
579 int long_enough = txn->get_data_length() + 2 * sizeof_databus;
594 txn->get_data_length(), len0, lenN, sizeof_databus,
600 txn->get_data_length(), len0, lenN, sizeof_databus, d_start, d_end,
609 txn->get_data_length(), len0, lenN, sizeof_databus,
615 txn->get_data_length(), len0, lenN, sizeof_databus, d_start, d_end,
669 tlm_from_hostendian_aligned(tlm_generic_payload *txn, unsigned int sizeof_databus) {
670 int words_per_bus = sizeof_databus/sizeof(DATAWORD);
699 tlm_to_hostendian_aligned(tlm_generic_payload *txn, unsigned int sizeof_databus) {
702 tc->sizeof_databus = sizeof_databus;
704 int words_per_bus = sizeof_databus/sizeof(DATAWORD);
754 tlm_from_hostendian_single(tlm_generic_payload *txn, unsigned int sizeof_databus) {
762 tlm_to_hostendian_single(tlm_generic_payload *txn, unsigned int sizeof_databus) {
765 tc->sizeof_databus = sizeof_databus;
768 sc_dt::uint64 mask = sizeof_databus-1;
771 (sizeof_databus - (a & mask) - sizeof(DATAWORD)));
780 (*(tc->from_f))(txn, tc->sizeof_databus);