Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/vmxnet3/
Dvmxnet3_drv.c368 union Vmxnet3_GenericDesc *gdesc; in vmxnet3_tq_tx_complete() local
370 gdesc = tq->comp_ring.base + tq->comp_ring.next2proc; in vmxnet3_tq_tx_complete()
371 while (VMXNET3_TCD_GET_GEN(&gdesc->tcd) == tq->comp_ring.gen) { in vmxnet3_tq_tx_complete()
378 &gdesc->tcd), tq, adapter->pdev, in vmxnet3_tq_tx_complete()
382 gdesc = tq->comp_ring.base + tq->comp_ring.next2proc; in vmxnet3_tq_tx_complete()
677 union Vmxnet3_GenericDesc *gdesc; in vmxnet3_map_pkt() local
686 gdesc = ctx->sop_txd; /* both loops below can be skipped */ in vmxnet3_map_pkt()
734 gdesc = tq->tx_ring.base + tq->tx_ring.next2fill; in vmxnet3_map_pkt()
735 BUG_ON(gdesc->txd.gen == tq->tx_ring.gen); in vmxnet3_map_pkt()
737 gdesc->txd.addr = cpu_to_le64(tbi->dma_addr); in vmxnet3_map_pkt()
[all …]
/linux-5.19.10/drivers/gpu/drm/omapdrm/dss/
Ddispc.c3804 const struct dispc_gamma_desc *gdesc = &mgr_desc[channel].gamma; in dispc_mgr_gamma_size() local
3809 return gdesc->len; in dispc_mgr_gamma_size()
3815 const struct dispc_gamma_desc *gdesc = &mgr_desc[channel].gamma; in dispc_mgr_write_gamma_table() local
3821 for (i = 0; i < gdesc->len; ++i) { in dispc_mgr_write_gamma_table()
3824 if (gdesc->has_index) in dispc_mgr_write_gamma_table()
3829 dispc_write_reg(dispc, gdesc->reg, v); in dispc_mgr_write_gamma_table()
3861 const struct dispc_gamma_desc *gdesc = &mgr_desc[channel].gamma; in dispc_mgr_set_gamma() local
3866 channel, length, gdesc->len); in dispc_mgr_set_gamma()
3877 uint first = i * (gdesc->len - 1) / (length - 1); in dispc_mgr_set_gamma()
3878 uint last = (i + 1) * (gdesc->len - 1) / (length - 1); in dispc_mgr_set_gamma()
[all …]