Home
last modified time | relevance | path

Searched refs:gdesc (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/vmxnet3/
Dvmxnet3_xdp.c120 union Vmxnet3_GenericDesc *gdesc; in vmxnet3_xdp_xmit_frame() local
130 gdesc = ctx.sop_txd; in vmxnet3_xdp_xmit_frame()
159 gdesc = tq->tx_ring.base + tq->tx_ring.next2fill; in vmxnet3_xdp_xmit_frame()
160 WARN_ON_ONCE(gdesc->txd.gen == tq->tx_ring.gen); in vmxnet3_xdp_xmit_frame()
162 gdesc->txd.addr = cpu_to_le64(tbi->dma_addr); in vmxnet3_xdp_xmit_frame()
163 gdesc->dword[2] = cpu_to_le32(dw2); in vmxnet3_xdp_xmit_frame()
166 gdesc->dword[3] = cpu_to_le32(VMXNET3_TXD_CQ | VMXNET3_TXD_EOP); in vmxnet3_xdp_xmit_frame()
168 gdesc->txd.om = 0; in vmxnet3_xdp_xmit_frame()
169 gdesc->txd.msscof = 0; in vmxnet3_xdp_xmit_frame()
170 gdesc->txd.hlen = 0; in vmxnet3_xdp_xmit_frame()
[all …]
Dvmxnet3_drv.c430 union Vmxnet3_GenericDesc *gdesc; in vmxnet3_tq_tx_complete() local
437 gdesc = tq->comp_ring.base + tq->comp_ring.next2proc; in vmxnet3_tq_tx_complete()
438 while (VMXNET3_TCD_GET_GEN(&gdesc->tcd) == tq->comp_ring.gen) { in vmxnet3_tq_tx_complete()
445 &gdesc->tcd), tq, adapter->pdev, in vmxnet3_tq_tx_complete()
449 gdesc = tq->comp_ring.base + tq->comp_ring.next2proc; in vmxnet3_tq_tx_complete()
789 union Vmxnet3_GenericDesc *gdesc; in vmxnet3_map_pkt() local
798 gdesc = ctx->sop_txd; /* both loops below can be skipped */ in vmxnet3_map_pkt()
846 gdesc = tq->tx_ring.base + tq->tx_ring.next2fill; in vmxnet3_map_pkt()
847 BUG_ON(gdesc->txd.gen == tq->tx_ring.gen); in vmxnet3_map_pkt()
849 gdesc->txd.addr = cpu_to_le64(tbi->dma_addr); in vmxnet3_map_pkt()
[all …]
/linux-6.12.1/tools/perf/
Dbuiltin-list.c225 const char *gdesc = print_state->desc in default_print_metric() local
235 if (gdesc) in default_print_metric()
236 fprintf(fp, "%s%s [%s]\n", group, print_colon, gdesc); in default_print_metric()
/linux-6.12.1/drivers/gpu/drm/omapdrm/dss/
Ddispc.c3799 const struct dispc_gamma_desc *gdesc = &mgr_desc[channel].gamma; in dispc_mgr_gamma_size() local
3804 return gdesc->len; in dispc_mgr_gamma_size()
3810 const struct dispc_gamma_desc *gdesc = &mgr_desc[channel].gamma; in dispc_mgr_write_gamma_table() local
3816 for (i = 0; i < gdesc->len; ++i) { in dispc_mgr_write_gamma_table()
3819 if (gdesc->has_index) in dispc_mgr_write_gamma_table()
3824 dispc_write_reg(dispc, gdesc->reg, v); in dispc_mgr_write_gamma_table()
3856 const struct dispc_gamma_desc *gdesc = &mgr_desc[channel].gamma; in dispc_mgr_set_gamma() local
3861 channel, length, gdesc->len); in dispc_mgr_set_gamma()
3872 uint first = i * (gdesc->len - 1) / (length - 1); in dispc_mgr_set_gamma()
3873 uint last = (i + 1) * (gdesc->len - 1) / (length - 1); in dispc_mgr_set_gamma()
[all …]