Home
last modified time | relevance | path

Searched full:txp (Results 1 – 25 of 121) sorted by relevance

12345

/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()
104 while ((skb = __skb_dequeue(&txp->tq)) != NULL) { in ifb_ri_tasklet()
112 ifb_update_q_stats(&txp->tx_stats, skb->len); in ifb_ri_tasklet()
115 skb->dev = dev_get_by_index_rcu(dev_net(txp->dev), skb->skb_iif); in ifb_ri_tasklet()
119 txp->dev->stats.tx_dropped++; in ifb_ri_tasklet()
120 if (skb_queue_len(&txp->tq) != 0) in ifb_ri_tasklet()
125 skb->skb_iif = txp->dev->ifindex; in ifb_ri_tasklet()
[all …]
/openbmc/linux/drivers/gpu/drm/vc4/tests/
H A Dvc4_test_pv_muxing.c209 VC4_PV_MUXING_TEST("1 output: TXP",
220 VC4_PV_MUXING_TEST("2 outputs: DSI0, TXP",
232 VC4_PV_MUXING_TEST("2 outputs: DPI, TXP",
238 VC4_PV_MUXING_TEST("2 outputs: HDMI0, TXP",
244 VC4_PV_MUXING_TEST("2 outputs: VEC, TXP",
251 VC4_PV_MUXING_TEST("3 outputs: DSI0, HDMI0, TXP",
259 VC4_PV_MUXING_TEST("3 outputs: DSI0, VEC, TXP",
267 VC4_PV_MUXING_TEST("3 outputs: DPI, HDMI0, TXP",
275 VC4_PV_MUXING_TEST("3 outputs: DPI, VEC, TXP",
289 VC4_PV_MUXING_TEST("TXP/DSI1 Conflict",
[all …]
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dipoib_tx.c200 struct ipoib_txparms *txp) in hfi1_ipoib_build_ulp_payload() argument
202 struct hfi1_devdata *dd = txp->dd; in hfi1_ipoib_build_ulp_payload()
231 struct ipoib_txparms *txp) in hfi1_ipoib_build_tx_desc() argument
233 struct hfi1_devdata *dd = txp->dd; in hfi1_ipoib_build_tx_desc()
237 sizeof(sdma_hdr->pbc) + (txp->hdr_dwords << 2) + tx->skb->len; in hfi1_ipoib_build_tx_desc()
248 sizeof(sdma_hdr->pbc) + (txp->hdr_dwords << 2)); in hfi1_ipoib_build_tx_desc()
253 return hfi1_ipoib_build_ulp_payload(tx, txp); in hfi1_ipoib_build_tx_desc()
257 struct ipoib_txparms *txp) in hfi1_ipoib_build_ib_tx_headers() argument
262 struct hfi1_pportdata *ppd = ppd_from_ibp(txp->ibp); in hfi1_ipoib_build_ib_tx_headers()
263 struct rdma_ah_attr *ah_attr = txp->ah_attr; in hfi1_ipoib_build_ib_tx_headers()
[all …]
/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_txp.c151 readl(txp->regs + (offset)); \
157 writel(val, txp->regs + (offset)); \
288 struct vc4_txp *txp = connector_to_vc4_txp(conn); in vc4_txp_connector_atomic_commit() local
335 drm_writeback_queue_job(&txp->connector, conn_state); in vc4_txp_connector_atomic_commit()
365 struct vc4_txp *txp = encoder_to_vc4_txp(encoder); in vc4_txp_encoder_disable() local
467 struct vc4_txp *txp = data; in vc4_txp_interrupt() local
468 struct vc4_crtc *vc4_crtc = &txp->base; in vc4_txp_interrupt()
482 drm_writeback_signal_completion(&txp->connector, 0); in vc4_txp_interrupt()
488 .name = "txp",
501 struct vc4_txp *txp; in vc4_txp_bind() local
[all …]
/openbmc/qemu/hw/net/
H A Dlan9118.c241 LAN9118Packet *txp; member
312 /* txp always points at tx_packet so need not be saved */
440 s->txp->fifo_used = 0; in lan9118_reset()
441 s->txp->state = TX_IDLE; in lan9118_reset()
442 s->txp->cmd_a = 0xffffffffu; in lan9118_reset()
443 s->txp->cmd_b = 0xffffffffu; in lan9118_reset()
444 s->txp->len = 0; in lan9118_reset()
445 s->txp->fifo_used = 0; in lan9118_reset()
683 qemu_receive_packet(qemu_get_queue(s->nic), s->txp->data, s->txp->len); in do_tx_packet()
685 qemu_send_packet(qemu_get_queue(s->nic), s->txp->data, s->txp->len); in do_tx_packet()
[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()
154 mt76x02_add_rate_power_offset(&t, txp.target_power + delta); 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()
176 dev->target_power_delta[0] = txp_0 - txp.chain[0].target_power; in mt76x2_phy_set_txpower()
[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()
31 txp->buf[i] = cpu_to_le32(tx_info->buf[i + 1].addr); in mt7615_write_fw_txp()
32 txp->len[i] = cpu_to_le16(tx_info->buf[i + 1].len); 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()
45 txp->flags |= cpu_to_le16(MT_CT_INFO_NONE_CIPHER_FRAME); 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()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/display/
H A Dbrcm,bcm2835-txp.yaml4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-txp.yaml#
7 title: Broadcom VC4 (VideoCore4) TXP (writeback) Controller
14 const: brcm,bcm2835-txp
31 txp: txp@7e004000 {
32 compatible = "brcm,bcm2835-txp";
/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()
173 /* txp is valid, already checked */ 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()
220 /* txp still valid */ in falcon_sflash_xfer()
[all …]
/openbmc/linux/drivers/net/xen-netback/
H A Dnetback.c110 const struct xen_netif_tx_request *txp,
206 struct xen_netif_tx_request *txp, in xenvif_tx_err() argument
212 make_tx_response(queue, txp, extra_count, XEN_NETIF_RSP_ERROR); in xenvif_tx_err()
215 RING_COPY_REQUEST(&queue->tx, cons++, txp); in xenvif_tx_err()
233 struct xen_netif_tx_request *txp, in xenvif_count_requests() argument
282 txp = &dropped_tx; in xenvif_count_requests()
284 RING_COPY_REQUEST(&queue->tx, cons + slots, txp); in xenvif_count_requests()
295 if (!drop_err && txp->size > first->size) { in xenvif_count_requests()
299 txp->size, first->size); in xenvif_count_requests()
303 first->size -= txp->size; in xenvif_count_requests()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-eeprom-parse.c298 struct iwl_eeprom_enhanced_txpwr *txp) in iwl_get_max_txpwr_half_dbm() argument
303 if (data->valid_tx_ant & ANT_A && txp->chain_a_max > result) in iwl_get_max_txpwr_half_dbm()
304 result = txp->chain_a_max; in iwl_get_max_txpwr_half_dbm()
306 if (data->valid_tx_ant & ANT_B && txp->chain_b_max > result) in iwl_get_max_txpwr_half_dbm()
307 result = txp->chain_b_max; in iwl_get_max_txpwr_half_dbm()
309 if (data->valid_tx_ant & ANT_C && txp->chain_c_max > result) in iwl_get_max_txpwr_half_dbm()
310 result = txp->chain_c_max; in iwl_get_max_txpwr_half_dbm()
314 data->valid_tx_ant == ANT_AC) && txp->mimo2_max > result) in iwl_get_max_txpwr_half_dbm()
315 result = txp->mimo2_max; in iwl_get_max_txpwr_half_dbm()
317 if (data->valid_tx_ant == ANT_ABC && txp->mimo3_max > result) in iwl_get_max_txpwr_half_dbm()
[all …]
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_sdma.c103 struct qib_sdma_txreq *txp, *txp_next; in clear_sdma_activelist() local
105 list_for_each_entry_safe(txp, txp_next, &ppd->sdma_activelist, list) { in clear_sdma_activelist()
106 list_del_init(&txp->list); in clear_sdma_activelist()
107 if (txp->flags & QIB_SDMA_TXREQ_F_FREEDESC) { in clear_sdma_activelist()
110 idx = txp->start_idx; in clear_sdma_activelist()
111 while (idx != txp->next_descq_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()
328 struct qib_sdma_txreq *txp = NULL; in qib_sdma_make_progress() local
339 * the next txp on the list. in qib_sdma_make_progress()
[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/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
224 * it sets txp to the initial value for the normal operation. in xilinx_spi_startup_block()
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()
[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 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()
/openbmc/linux/drivers/memory/
H A Djedec_ddr_data.c43 .tXP = 7500,
64 .tXP = 7500,
85 .tXP = 7500,
106 .tXP = 7500,
127 .tXP = 2,
H A Dof_memory.c44 ret |= of_property_read_u32(np, "tXP-min-tck", &min->tXP); in of_get_min_tck()
76 ret |= of_property_read_u32(np, "tXP", &tim->tXP); in of_do_get_timings()
192 ret |= of_property_read_u32(np, "tXP-min-tck", &min->tXP); in of_lpddr3_get_min_tck()
235 ret |= of_property_read_u32(np, "tXP", &tim->tXP); in of_lpddr3_do_get_timings()
H A Djedec_ddr.h156 u32 tXP; member
180 u32 tXP; member
245 u32 tXP; member
274 u32 tXP; member
/openbmc/linux/drivers/net/ethernet/micrel/
H A Dks8851_par.c183 * @txp: The sk_buff to transmit.
186 * Send the @txp to the chip. This means creating the relevant packet header
191 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.c244 * @txp: The sk_buff to transmit.
247 * Send the @txp to the chip. This means creating the relevant packet header
252 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/arch/arm/boot/dts/ti/omap/
H A Delpida_ecb240abacn.dtsi18 tXP-min-tck = <2>;
34 tXP = <7500>;
56 tXP = <7500>;

12345