Searched refs:dptrl (Results 1 – 2 of 2) sorted by relevance
881 #define TS_DESC_TSUN(dptrl) ((dptrl) & GENMASK(7, 0)) argument882 #define TS_DESC_SPN(dptrl) (((dptrl) & GENMASK(10, 8)) >> 8) argument883 #define TS_DESC_DPN(dptrl) (((dptrl) & GENMASK(17, 16)) >> 16) argument884 #define TS_DESC_TN(dptrl) ((dptrl) & BIT(24)) argument890 __le32 dptrl; /* Descriptor pointer LSW */ member
340 desc->dptrl = cpu_to_le32(lower_32_bits(addr)); in rswitch_desc_set_dptr()346 return __le32_to_cpu(desc->dptrl) | (u64)(desc->dptrh) << 32; in rswitch_desc_get_dptr()927 port = TS_DESC_DPN(__le32_to_cpu(desc->desc.dptrl)); in rswitch_ts()928 tag = TS_DESC_TSUN(__le32_to_cpu(desc->desc.dptrl)); in rswitch_ts()