Home
last modified time | relevance | path

Searched refs:cte (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/staging/kpc2000/kpc2000/
Dcell_probe.c34 #define KPC_OLD_S2C_DMA_CH_NUM(cte) KPC_OLD_DMA_CH_NUM(cte.s2c_dma_present, cte.s2c_dma_channel_n… argument
35 #define KPC_OLD_C2S_DMA_CH_NUM(cte) KPC_OLD_DMA_CH_NUM(cte.c2s_dma_present, cte.c2s_dma_channel_n… argument
54 void parse_core_table_entry_v0(struct core_table_entry *cte, const u64 read_val) in parse_core_table_entry_v0() argument
56 cte->type = ((read_val & 0xFFF0000000000000UL) >> 52); in parse_core_table_entry_v0()
57 cte->offset = ((read_val & 0x00000000FFFF0000UL) >> 16) * 4096; in parse_core_table_entry_v0()
58 cte->length = ((read_val & 0x0000FFFF00000000UL) >> 32) * 8; in parse_core_table_entry_v0()
59 cte->s2c_dma_present = ((read_val & 0x0008000000000000UL) >> 51); in parse_core_table_entry_v0()
60 cte->s2c_dma_channel_num = ((read_val & 0x0007000000000000UL) >> 48); in parse_core_table_entry_v0()
61 cte->c2s_dma_present = ((read_val & 0x0000000000008000UL) >> 15); in parse_core_table_entry_v0()
62 cte->c2s_dma_channel_num = ((read_val & 0x0000000000007000UL) >> 12); in parse_core_table_entry_v0()
[all …]
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dclip_tbl.c78 struct clip_entry *ce, *cte; in cxgb4_clip_get() local
89 list_for_each_entry(cte, &ctbl->hash_list[hash], list) { in cxgb4_clip_get()
90 if (cte->addr6.sin6_family == AF_INET6 && v6) in cxgb4_clip_get()
91 ret = memcmp(lip, cte->addr6.sin6_addr.s6_addr, in cxgb4_clip_get()
93 else if (cte->addr.sin_family == AF_INET && !v6) in cxgb4_clip_get()
94 ret = memcmp(lip, (char *)(&cte->addr.sin_addr), in cxgb4_clip_get()
97 ce = cte; in cxgb4_clip_get()
151 struct clip_entry *ce, *cte; in cxgb4_clip_release() local
162 list_for_each_entry(cte, &ctbl->hash_list[hash], list) { in cxgb4_clip_release()
163 if (cte->addr6.sin6_family == AF_INET6 && v6) in cxgb4_clip_release()
[all …]
/Linux-v5.4/virt/kvm/arm/vgic/
Dvgic-its.c542 struct vgic_translation_cache_entry *cte; in __vgic_its_check_cache() local
544 list_for_each_entry(cte, &dist->lpi_translation_cache, entry) { in __vgic_its_check_cache()
549 if (!cte->irq) in __vgic_its_check_cache()
552 if (cte->db != db || cte->devid != devid || in __vgic_its_check_cache()
553 cte->eventid != eventid) in __vgic_its_check_cache()
560 if (!list_is_first(&cte->entry, &dist->lpi_translation_cache)) in __vgic_its_check_cache()
561 list_move(&cte->entry, &dist->lpi_translation_cache); in __vgic_its_check_cache()
563 return cte->irq; in __vgic_its_check_cache()
588 struct vgic_translation_cache_entry *cte; in vgic_its_cache_translation() local
611 cte = list_last_entry(&dist->lpi_translation_cache, in vgic_its_cache_translation()
[all …]