Lines Matching defs:tag

319 		uint64_t tag = addr >> shift;
332 if (l2c_tadx_tag.s.valid && l2c_tadx_tag.s.tag == tag)
465 union cvmx_l2c_tag tag;
478 tag = cvmx_l2c_get_tag(assoc, index);
480 if (tag.s.V && (tag.s.addr == tag_addr)) {
482 return tag.s.L;
487 union cvmx_l2c_tag tag;
492 /* Compute portion of address that is stored in tag */
495 tag = cvmx_l2c_get_tag(assoc, index);
497 if (tag.s.V && (tag.s.addr == tag_addr)) {
499 return tag.s.L;
523 * Internal l2c tag types. These are converted to a generic structure
580 * Function to read a L2C tag. This code make the current core
584 * @assoc: Association (way) of the tag to dump
587 * Returns The Octeon model specific tag structure. This is
635 "ld %[tag_val], 0(%[tag_addr])\n\t" /* Read L2C tag data */
652 union cvmx_l2c_tag tag;
654 tag.u64 = 0;
657 return tag;
662 return tag;
670 * Use L2 cache Index load tag cache instruction, as
671 * hardware loads the virtual tag for the L2 cache
679 tag.s.V = l2c_tadx_tag.s.valid;
680 tag.s.D = l2c_tadx_tag.s.dirty;
681 tag.s.L = l2c_tadx_tag.s.lock;
682 tag.s.U = l2c_tadx_tag.s.use;
683 tag.s.addr = l2c_tadx_tag.s.tag;
690 * Convert all tag structure types to generic version,
694 tag.s.V = tmp_tag.cn58xx.V;
695 tag.s.D = tmp_tag.cn58xx.D;
696 tag.s.L = tmp_tag.cn58xx.L;
697 tag.s.U = tmp_tag.cn58xx.U;
698 tag.s.addr = tmp_tag.cn58xx.addr;
700 tag.s.V = tmp_tag.cn38xx.V;
701 tag.s.D = tmp_tag.cn38xx.D;
702 tag.s.L = tmp_tag.cn38xx.L;
703 tag.s.U = tmp_tag.cn38xx.U;
704 tag.s.addr = tmp_tag.cn38xx.addr;
706 tag.s.V = tmp_tag.cn31xx.V;
707 tag.s.D = tmp_tag.cn31xx.D;
708 tag.s.L = tmp_tag.cn31xx.L;
709 tag.s.U = tmp_tag.cn31xx.U;
710 tag.s.addr = tmp_tag.cn31xx.addr;
712 tag.s.V = tmp_tag.cn30xx.V;
713 tag.s.D = tmp_tag.cn30xx.D;
714 tag.s.L = tmp_tag.cn30xx.L;
715 tag.s.U = tmp_tag.cn30xx.U;
716 tag.s.addr = tmp_tag.cn30xx.addr;
718 tag.s.V = tmp_tag.cn50xx.V;
719 tag.s.D = tmp_tag.cn50xx.D;
720 tag.s.L = tmp_tag.cn50xx.L;
721 tag.s.U = tmp_tag.cn50xx.U;
722 tag.s.addr = tmp_tag.cn50xx.addr;
727 return tag;