Home
last modified time | relevance | path

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

/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()
683 union Vmxnet3_GenericDesc *gdesc; in vmxnet3_map_pkt() local
692 gdesc = ctx->sop_txd; /* both loops below can be skipped */ in vmxnet3_map_pkt()
740 gdesc = tq->tx_ring.base + tq->tx_ring.next2fill; in vmxnet3_map_pkt()
741 BUG_ON(gdesc->txd.gen == tq->tx_ring.gen); in vmxnet3_map_pkt()
743 gdesc->txd.addr = cpu_to_le64(tbi->dma_addr); in vmxnet3_map_pkt()
[all …]
/drivers/gpu/drm/omapdrm/dss/
Ddispc.c3772 const struct dispc_gamma_desc *gdesc = &mgr_desc[channel].gamma; in dispc_mgr_gamma_size() local
3777 return gdesc->len; in dispc_mgr_gamma_size()
3783 const struct dispc_gamma_desc *gdesc = &mgr_desc[channel].gamma; in dispc_mgr_write_gamma_table() local
3789 for (i = 0; i < gdesc->len; ++i) { in dispc_mgr_write_gamma_table()
3792 if (gdesc->has_index) in dispc_mgr_write_gamma_table()
3797 dispc_write_reg(dispc, gdesc->reg, v); in dispc_mgr_write_gamma_table()
3829 const struct dispc_gamma_desc *gdesc = &mgr_desc[channel].gamma; in dispc_mgr_set_gamma() local
3834 channel, length, gdesc->len); in dispc_mgr_set_gamma()
3845 uint first = i * (gdesc->len - 1) / (length - 1); in dispc_mgr_set_gamma()
3846 uint last = (i + 1) * (gdesc->len - 1) / (length - 1); in dispc_mgr_set_gamma()
[all …]
/drivers/gpio/
Dgpiolib.c4459 struct gpio_desc *gdesc = &gdev->descs[0]; in gpiolib_dbg_show() local
4464 for (i = 0; i < gdev->ngpio; i++, gpio++, gdesc++) { in gpiolib_dbg_show()
4465 if (!test_bit(FLAG_REQUESTED, &gdesc->flags)) { in gpiolib_dbg_show()
4466 if (gdesc->name) { in gpiolib_dbg_show()
4468 gpio, gdesc->name); in gpiolib_dbg_show()
4473 gpiod_get_direction(gdesc); in gpiolib_dbg_show()
4474 is_out = test_bit(FLAG_IS_OUT, &gdesc->flags); in gpiolib_dbg_show()
4475 is_irq = test_bit(FLAG_USED_AS_IRQ, &gdesc->flags); in gpiolib_dbg_show()
4476 active_low = test_bit(FLAG_ACTIVE_LOW, &gdesc->flags); in gpiolib_dbg_show()
4478 gpio, gdesc->name ? gdesc->name : "", gdesc->label, in gpiolib_dbg_show()