Home
last modified time | relevance | path

Searched refs:txp (Results 1 – 25 of 70) sorted by relevance

123

/openbmc/linux/drivers/net/
H A Difb.c91 struct ifb_q_private *txp = from_tasklet(txp, t, ifb_tasklet); in ifb_ri_tasklet() local
95 txq = netdev_get_tx_queue(txp->dev, txp->txqnum); in ifb_ri_tasklet()
96 skb = skb_peek(&txp->tq); in ifb_ri_tasklet()
100 skb_queue_splice_tail_init(&txp->rq, &txp->tq); in ifb_ri_tasklet()
136 skb = skb_peek(&txp->rq); in ifb_ri_tasklet()
148 txp->tasklet_pending = 1; in ifb_ri_tasklet()
190 txp = kcalloc(dev->num_tx_queues, sizeof(*txp), GFP_KERNEL); in ifb_dev_init()
191 if (!txp) in ifb_dev_init()
193 dp->tx_private = txp; in ifb_dev_init()
195 txp->txqnum = i; in ifb_dev_init()
[all …]
/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_txp.c467 struct vc4_txp *txp = data; in vc4_txp_interrupt() local
501 struct vc4_txp *txp; in vc4_txp_bind() local
508 txp = drmm_kzalloc(drm, sizeof(*txp), GFP_KERNEL); in vc4_txp_bind()
509 if (!txp) in vc4_txp_bind()
512 txp->pdev = pdev; in vc4_txp_bind()
514 if (IS_ERR(txp->regs)) in vc4_txp_bind()
515 return PTR_ERR(txp->regs); in vc4_txp_bind()
517 vc4_crtc = &txp->base; in vc4_txp_bind()
527 vc4_encoder = &txp->encoder; in vc4_txp_bind()
549 dev_name(dev), txp); in vc4_txp_bind()
[all …]
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dipoib_tx.c200 struct ipoib_txparms *txp) in hfi1_ipoib_build_ulp_payload() argument
283 txp->hdr_dwords = 7; in hfi1_ipoib_build_ib_tx_headers()
287 txp->hdr_dwords += in hfi1_ipoib_build_ib_tx_headers()
288 hfi1_make_grh(txp->ibp, in hfi1_ipoib_build_ib_tx_headers()
391 txp->flow.tx_queue, in hfi1_ipoib_send_dma_common()
392 txp->flow.sc5); in hfi1_ipoib_send_dma_common()
552 ib_is_sc5(txp->flow.sc5)); in hfi1_ipoib_send_dma_list()
577 struct ipoib_txparms txp; in hfi1_ipoib_send() local
590 txp.dd = priv->dd; in hfi1_ipoib_send()
594 txp.dqpn = dqpn; in hfi1_ipoib_send()
[all …]
/openbmc/qemu/hw/net/
H A Dlan9118.c242 LAN9118Packet *txp; member
445 s->txp->len = 0; in lan9118_reset()
686 qemu_send_packet(qemu_get_queue(s->nic), s->txp->data, s->txp->len); in do_tx_packet()
757 s->txp->buffer_size = extract32(s->txp->cmd_a, 0, 11); in tx_fifo_push()
758 s->txp->offset = extract32(s->txp->cmd_a, 16, 5); in tx_fifo_push()
766 n = (s->txp->buffer_size + s->txp->offset + 3) >> 2; in tx_fifo_push()
781 s->txp->buffer_size, s->txp->offset, s->txp->pad, in tx_fifo_push()
790 if (s->txp->buffer_size <= 0 && s->txp->pad != 0) { in tx_fifo_push()
793 n = MIN(4, s->txp->buffer_size + s->txp->offset); in tx_fifo_push()
818 s->txp->data[s->txp->len] = val & 0xff; in tx_fifo_push()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-eeprom-parse.c304 result = txp->chain_a_max; in iwl_get_max_txpwr_half_dbm()
315 result = txp->mimo2_max; in iwl_get_max_txpwr_half_dbm()
318 result = txp->mimo3_max; in iwl_get_max_txpwr_half_dbm()
345 if (txp->channel != 0 && chan->hw_value != txp->channel) in iwl_eeprom_enh_txp_read_element()
379 txp = &txp_array[idx]; in iwl_eeprom_enhanced_txpower()
385 (txp->channel && (txp->flags & in iwl_eeprom_enhanced_txpower()
389 (txp->channel), in iwl_eeprom_enhanced_txpower()
398 txp->flags); in iwl_eeprom_enhanced_txpower()
401 txp->chain_a_max, txp->chain_b_max, in iwl_eeprom_enhanced_txpower()
402 txp->chain_c_max); in iwl_eeprom_enhanced_txpower()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dphy.c141 struct mt76x2_tx_power_info txp; in mt76x2_phy_set_txpower() local
146 mt76x2_get_power_info(dev, &txp, chan); in mt76x2_phy_set_txpower()
149 delta = txp.delta_bw40; in mt76x2_phy_set_txpower()
151 delta = txp.delta_bw80; in mt76x2_phy_set_txpower()
159 delta = base_power - txp.target_power; in mt76x2_phy_set_txpower()
160 txp_0 = txp.chain[0].target_power + txp.chain[0].delta + delta; in mt76x2_phy_set_txpower()
161 txp_1 = txp.chain[1].target_power + txp.chain[1].delta + delta; in mt76x2_phy_set_txpower()
175 dev->target_power = txp.target_power; in mt76x2_phy_set_txpower()
206 struct mt76x2_tx_power_info txp; in mt76x2_phy_tssi_compensate() local
228 t.slope0 = txp.chain[0].tssi_slope; in mt76x2_phy_tssi_compensate()
[all …]
H A Dinit.c184 struct mt76x2_tx_power_info txp; in mt76x2_init_txpower() local
191 mt76x2_get_power_info(dev, &txp, chan); in mt76x2_init_txpower()
195 txp.target_power; in mt76x2_init_txpower()
/openbmc/linux/drivers/net/xen-netback/
H A Dnetback.c306 if (unlikely((txp->offset + txp->size) > XEN_PAGE_SIZE)) { in xenvif_count_requests()
308 txp->offset, txp->size); in xenvif_count_requests()
316 txp++; in xenvif_count_requests()
402 int amount = data_len > txp->size ? txp->size : data_len; in xenvif_get_requests()
440 txp, sizeof(*txp)); in xenvif_get_requests()
445 txp = txfrags; in xenvif_get_requests()
447 txp++; in xenvif_get_requests()
464 ++txp; in xenvif_get_requests()
477 txp = txfrags; in xenvif_get_requests()
479 txp++; in xenvif_get_requests()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dpci_mac.c25 struct mt76_connac_fw_txp *txp = txp_ptr; in mt7615_write_fw_txp() local
26 u8 *rept_wds_wcid = (u8 *)&txp->rept_wds_wcid; in mt7615_write_fw_txp()
34 txp->nbuf = nbuf; in mt7615_write_fw_txp()
37 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp); in mt7615_write_fw_txp()
42 txp->flags = cpu_to_le16(MT_CT_INFO_APPLY_TXD); in mt7615_write_fw_txp()
48 txp->flags |= cpu_to_le16(MT_CT_INFO_MGMT_FRAME); in mt7615_write_fw_txp()
53 txp->bss_idx = mvif->idx; in mt7615_write_fw_txp()
56 txp->token = cpu_to_le16(id); in mt7615_write_fw_txp()
72 void *txp; in mt7615_tx_prepare_skb() local
102 txp = txwi + MT_TXD_SIZE; in mt7615_tx_prepare_skb()
[all …]
/openbmc/linux/drivers/rtc/
H A Drtc-rs5c348.c63 u8 txbuf[5+7], *txp; in rs5c348_rtc_set_time() local
78 txp = txbuf; in rs5c348_rtc_set_time()
84 txp = &txbuf[5]; in rs5c348_rtc_set_time()
85 txp[RS5C348_REG_SECS] = bin2bcd(tm->tm_sec); in rs5c348_rtc_set_time()
86 txp[RS5C348_REG_MINS] = bin2bcd(tm->tm_min); in rs5c348_rtc_set_time()
88 txp[RS5C348_REG_HOURS] = bin2bcd(tm->tm_hour); in rs5c348_rtc_set_time()
91 txp[RS5C348_REG_HOURS] = bin2bcd((tm->tm_hour + 11) % 12 + 1) | in rs5c348_rtc_set_time()
94 txp[RS5C348_REG_WDAY] = bin2bcd(tm->tm_wday); in rs5c348_rtc_set_time()
95 txp[RS5C348_REG_DAY] = bin2bcd(tm->tm_mday); in rs5c348_rtc_set_time()
96 txp[RS5C348_REG_MONTH] = bin2bcd(tm->tm_mon + 1) | in rs5c348_rtc_set_time()
[all …]
/openbmc/linux/drivers/spi/
H A Dspi-oc-tiny.c50 const u8 *txp; member
110 const u8 *txp = t->tx_buf; in tiny_spi_txrx_bufs() local
117 hw->txp = t->tx_buf; in tiny_spi_txrx_bufs()
124 writeb(hw->txp ? *hw->txp++ : 0, in tiny_spi_txrx_bufs()
127 writeb(hw->txp ? *hw->txp++ : 0, in tiny_spi_txrx_bufs()
132 writeb(hw->txp ? *hw->txp++ : 0, in tiny_spi_txrx_bufs()
141 writeb(txp ? *txp++ : 0, hw->base + TINY_SPI_TXDATA); in tiny_spi_txrx_bufs()
143 writeb(txp ? *txp++ : 0, hw->base + TINY_SPI_TXDATA); in tiny_spi_txrx_bufs()
173 writeb(hw->txp ? *hw->txp++ : 0, in tiny_spi_irq()
H A Dspi-falcon.c102 const u8 *txp = t->tx_buf; in falcon_sflash_xfer() local
122 if (!txp) { in falcon_sflash_xfer()
138 priv->sfcmd |= *txp; in falcon_sflash_xfer()
139 txp++; in falcon_sflash_xfer()
154 if (txp && bytelen) { in falcon_sflash_xfer()
179 val = (val << 8) | (*txp++); in falcon_sflash_xfer()
181 } else if ((dumlen < 15) && (*txp == 0)) { in falcon_sflash_xfer()
187 txp++; in falcon_sflash_xfer()
226 val |= (*txp++) << (8 * len++); in falcon_sflash_xfer()
/openbmc/linux/Documentation/devicetree/bindings/display/
H A Dbrcm,bcm2835-txp.yaml4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-txp.yaml#
14 const: brcm,bcm2835-txp
31 txp: txp@7e004000 {
32 compatible = "brcm,bcm2835-txp";
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_sdma.c110 idx = txp->start_idx; in clear_sdma_activelist()
117 if (txp->callback) in clear_sdma_activelist()
118 (*txp->callback)(txp, QIB_SDMA_TXREQ_S_ABORTED); in clear_sdma_activelist()
345 idx = txp->start_idx; in qib_sdma_make_progress()
350 if (txp && (txp->flags & QIB_SDMA_TXREQ_F_FREEDESC) && in qib_sdma_make_progress()
365 if (txp && txp->next_descq_idx == ppd->sdma_descq_head) { in qib_sdma_make_progress()
368 if (txp->callback) in qib_sdma_make_progress()
369 (*txp->callback)(txp, QIB_SDMA_TXREQ_S_OK); in qib_sdma_make_progress()
372 txp = NULL; in qib_sdma_make_progress()
377 idx = txp->start_idx; in qib_sdma_make_progress()
[all …]
/openbmc/u-boot/drivers/spi/
H A Dxilinx_spi.c167 static u32 xilinx_spi_fill_txfifo(struct udevice *bus, const u8 *txp, in xilinx_spi_fill_txfifo() argument
177 d = txp ? *txp++ : CONFIG_XILINX_SPI_IDLE_VAL; in xilinx_spi_fill_txfifo()
215 const unsigned char *txp = dout; in xilinx_spi_startup_block() local
227 count = xilinx_spi_fill_txfifo(bus, txp, txbytes); in xilinx_spi_startup_block()
231 txp = din; in xilinx_spi_startup_block()
236 txp = dout; in xilinx_spi_startup_block()
250 const unsigned char *txp = dout; in xilinx_spi_xfer() local
282 count = xilinx_spi_fill_txfifo(bus, txp, txbytes); in xilinx_spi_xfer()
286 if (txp) in xilinx_spi_xfer()
287 txp += count; in xilinx_spi_xfer()
[all …]
H A Dexynos_spi.c100 const uchar *txp = *doutp; in spi_rx_tx() local
118 if (!((todo | (uintptr_t)rxp | (uintptr_t)txp) & 3) && in spi_rx_tx()
145 if (!txp) in spi_rx_tx()
148 temp = *(uint32_t *)txp; in spi_rx_tx()
150 temp = *txp; in spi_rx_tx()
153 if (txp) in spi_rx_tx()
154 txp += step; in spi_rx_tx()
188 txp = NULL; in spi_rx_tx()
199 *doutp = txp; in spi_rx_tx()
H A Ddavinci_spi.c184 const u8 *txp, unsigned long flags) in davinci_spi_write() argument
198 writel(data1_reg_val | *txp++, &ds->regs->dat1); in davinci_spi_write()
204 davinci_spi_xfer_data(ds, data1_reg_val | *txp++); in davinci_spi_write()
211 davinci_spi_xfer_data(ds, data1_reg_val | *txp); in davinci_spi_write()
217 int len, u8 *rxp, const u8 *txp, in davinci_spi_read_write() argument
232 *rxp++ = davinci_spi_xfer_data(ds, data1_reg_val | *txp++); in davinci_spi_read_write()
239 *rxp = davinci_spi_xfer_data(ds, data1_reg_val | *txp); in davinci_spi_read_write()
H A Datmel_spi.c140 const u8 *txp = dout; in spi_xfer() local
188 if (txp) in spi_xfer()
189 value = *txp++; in spi_xfer()
325 const u8 *txp = dout; in atmel_spi_xfer() local
373 if (txp) in atmel_spi_xfer()
374 value = *txp++; in atmel_spi_xfer()
H A Domap3_spi.c137 const void *txp, unsigned long flags) in omap3_spi_write() argument
167 writel(((u32 *)txp)[i], tx); in omap3_spi_write()
169 writel(((u16 *)txp)[i], tx); in omap3_spi_write()
171 writel(((u8 *)txp)[i], tx); in omap3_spi_write()
246 const void *txp, void *rxp, unsigned long flags) in omap3_spi_txrx() argument
277 writel(((u32 *)txp)[i], tx); in omap3_spi_txrx()
279 writel(((u16 *)txp)[i], tx); in omap3_spi_txrx()
281 writel(((u8 *)txp)[i], tx); in omap3_spi_txrx()
H A Daltera_spi.c94 const unsigned char *txp = dout; in altera_spi_xfer() local
117 if (txp) in altera_spi_xfer()
118 data = *txp++; in altera_spi_xfer()
/openbmc/linux/drivers/net/ethernet/micrel/
H A Dks8851_par.c191 static void ks8851_wrfifo_par(struct ks8851_net *ks, struct sk_buff *txp, in ks8851_wrfifo_par() argument
195 unsigned int len = ALIGN(txp->len, 4); in ks8851_wrfifo_par()
199 __func__, txp, txp->len, txp->data, irq); in ks8851_wrfifo_par()
208 iowrite16(txp->len, ksp->hw_addr); in ks8851_wrfifo_par()
210 iowrite16_rep(ksp->hw_addr, txp->data, len / 2); in ks8851_wrfifo_par()
H A Dks8851_spi.c252 static void ks8851_wrfifo_spi(struct ks8851_net *ks, struct sk_buff *txp, in ks8851_wrfifo_spi() argument
262 __func__, txp, txp->len, txp->data, irq); in ks8851_wrfifo_spi()
273 ks->txh.txw[2] = cpu_to_le16(txp->len); in ks8851_wrfifo_spi()
280 xfer->tx_buf = txp->data; in ks8851_wrfifo_spi()
282 xfer->len = ALIGN(txp->len, 4); in ks8851_wrfifo_spi()
/openbmc/linux/drivers/net/ethernet/vertexcom/
H A Dmse102x.c219 static int mse102x_tx_frame_spi(struct mse102x_net *mse, struct sk_buff *txp, in mse102x_tx_frame_spi() argument
229 __func__, txp, txp->len, txp->data); in mse102x_tx_frame_spi()
231 if ((skb_headroom(txp) < DET_SOF_LEN) || in mse102x_tx_frame_spi()
232 (skb_tailroom(txp) < DET_DFT_LEN + pad)) { in mse102x_tx_frame_spi()
233 tskb = skb_copy_expand(txp, DET_SOF_LEN, DET_DFT_LEN + pad, in mse102x_tx_frame_spi()
238 txp = tskb; in mse102x_tx_frame_spi()
241 mse102x_push_header(txp); in mse102x_tx_frame_spi()
244 skb_put_zero(txp, pad); in mse102x_tx_frame_spi()
246 mse102x_put_footer(txp); in mse102x_tx_frame_spi()
248 xfer->tx_buf = txp->data; in mse102x_tx_frame_spi()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dpci_mac.c16 struct mt76_connac_hw_txp *txp; in mt7921e_tx_prepare_skb() local
47 txp = (struct mt76_connac_hw_txp *)(txwi + MT_TXD_SIZE); in mt7921e_tx_prepare_skb()
48 memset(txp, 0, sizeof(struct mt76_connac_hw_txp)); in mt7921e_tx_prepare_skb()
49 mt76_connac_write_hw_txp(mdev, tx_info, txp, id); in mt7921e_tx_prepare_skb()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mac.c163 struct mt76_connac_hw_txp *txp = txp_ptr; in mt76_connac_write_hw_txp() local
164 struct mt76_connac_txp_ptr *ptr = &txp->ptr[0]; in mt76_connac_write_hw_txp()
200 struct mt76_connac_fw_txp *txp) in mt76_connac_txp_skb_unmap_fw() argument
205 for (i = 0; i < txp->nbuf; i++) in mt76_connac_txp_skb_unmap_fw()
207 le16_to_cpu(txp->len[i]), DMA_TO_DEVICE); in mt76_connac_txp_skb_unmap_fw()
212 struct mt76_connac_hw_txp *txp) in mt76_connac_txp_skb_unmap_hw() argument
222 for (i = 0; i < ARRAY_SIZE(txp->ptr); i++) { in mt76_connac_txp_skb_unmap_hw()
248 struct mt76_connac_txp_common *txp; in mt76_connac_txp_skb_unmap() local
250 txp = mt76_connac_txwi_to_txp(dev, t); in mt76_connac_txp_skb_unmap()
252 mt76_connac_txp_skb_unmap_fw(dev, &txp->fw); in mt76_connac_txp_skb_unmap()
[all …]

123