/linux/drivers/infiniband/hw/hfi1/ |
H A D | ipoib_tx.c | 200 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 …]
|
H A D | sdma.c | 364 struct sdma_txreq *txp, *txp_next; in sdma_flush() local 376 list_for_each_entry_safe(txp, txp_next, &flushlist, list) in sdma_flush() 377 complete_tx(sde, txp, SDMA_TXREQ_S_ABORTED); in sdma_flush() 540 struct sdma_txreq *txp = get_txhead(sde); in sdma_flush_descq() local 553 if (txp && txp->next_descq_idx == head) { in sdma_flush_descq() 556 complete_tx(sde, txp, SDMA_TXREQ_S_ABORTED); in sdma_flush_descq() 557 trace_hfi1_sdma_progress(sde, head, tail, txp); in sdma_flush_descq() 558 txp = get_txhead(sde); in sdma_flush_descq() 1786 struct sdma_txreq *txp = NULL; in sdma_make_progress() local 1800 txp = get_txhead(sde); in sdma_make_progress() [all …]
|
/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_txp.c | 151 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() 501 struct vc4_txp *txp; in vc4_txp_bind() local 508 txp = drmm_kzalloc(drm, sizeof(*txp), GFP_KERNEL); in vc4_txp_bind() [all …]
|
/linux/drivers/net/xen-netback/ |
H A D | netback.c | 111 const struct xen_netif_tx_request *txp, 207 struct xen_netif_tx_request *txp, in xenvif_tx_err() argument 213 make_tx_response(queue, txp, extra_count, XEN_NETIF_RSP_ERROR); in xenvif_tx_err() 216 RING_COPY_REQUEST(&queue->tx, cons++, txp); in xenvif_tx_err() 234 struct xen_netif_tx_request *txp, in xenvif_count_requests() argument 283 txp = &dropped_tx; in xenvif_count_requests() 285 RING_COPY_REQUEST(&queue->tx, cons + slots, txp); in xenvif_count_requests() 296 if (!drop_err && txp->size > first->size) { in xenvif_count_requests() 300 txp->size, first->size); in xenvif_count_requests() 304 first->size -= txp->size; in xenvif_count_requests() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
H A D | phy.c | 141 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 …]
|
H A D | init.c | 184 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()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | pci_mac.c | 25 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 …]
|
/linux/drivers/rtc/ |
H A D | rtc-rs5c348.c | 63 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 …]
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | eeprom.c | 298 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 …]
|
/linux/drivers/infiniband/hw/qib/ |
H A D | qib_sdma.c | 103 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 344 txp = list_entry(lp, struct qib_sdma_txreq, list); in qib_sdma_make_progress() [all …]
|
/linux/drivers/spi/ |
H A D | spi-falcon.c | 102 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()
|
/linux/drivers/net/ethernet/vertexcom/ |
H A D | mse102x.c | 219 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 …]
|
/linux/drivers/net/ethernet/micrel/ |
H A D | ks8851_spi.c | 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()
|
H A D | ks8851.h | 422 struct sk_buff *txp, bool irq);
|
/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | pci_mac.c | 16 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()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7925/ |
H A D | pci_mac.c | 16 struct mt76_connac_hw_txp *txp; in mt7925e_tx_prepare_skb() local 47 txp = (struct mt76_connac_hw_txp *)(txwi + MT_TXD_SIZE); in mt7925e_tx_prepare_skb() 48 memset(txp, 0, sizeof(struct mt76_connac_hw_txp)); in mt7925e_tx_prepare_skb() 49 mt76_connac_write_hw_txp(mdev, tx_info, txp, id); in mt7925e_tx_prepare_skb()
|
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76_connac_mac.c | 163 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() 168 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp); in mt76_connac_write_hw_txp() 171 txp->msdu_id[0] = cpu_to_le16(id | MT_MSDU_ID_VALID); 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() 206 dma_unmap_single(dev, le32_to_cpu(txp->buf[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() [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | bcdc.c | 364 brcmf_proto_bcdc_txcomplete(struct device *dev, struct sk_buff *txp, in brcmf_proto_bcdc_txcomplete() argument 373 brcmf_fws_bustxcomplete(bcdc->fws, txp, success); in brcmf_proto_bcdc_txcomplete() 375 if (brcmf_proto_bcdc_hdrpull(bus_if->drvr, false, txp, &ifp)) in brcmf_proto_bcdc_txcomplete() 376 brcmu_pkt_buf_free_skb(txp); in brcmf_proto_bcdc_txcomplete() 378 brcmf_txfinalize(ifp, txp, success); in brcmf_proto_bcdc_txcomplete()
|
H A D | bcdc.h | 12 void brcmf_proto_bcdc_txcomplete(struct device *dev, struct sk_buff *txp,
|
H A D | core.h | 219 void brcmf_txfinalize(struct brcmf_if *ifp, struct sk_buff *txp, bool success);
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mac.c | 758 struct mt76_connac_fw_txp *txp; in mt7915_tx_prepare_skb() local 792 txp = (struct mt76_connac_fw_txp *)(txwi + MT_TXD_SIZE); in mt7915_tx_prepare_skb() 794 txp->buf[i] = cpu_to_le32(tx_info->buf[i + 1].addr); in mt7915_tx_prepare_skb() 795 txp->len[i] = cpu_to_le16(tx_info->buf[i + 1].len); in mt7915_tx_prepare_skb() 797 txp->nbuf = nbuf; in mt7915_tx_prepare_skb() 799 txp->flags = cpu_to_le16(MT_CT_INFO_APPLY_TXD | MT_CT_INFO_FROM_HOST); in mt7915_tx_prepare_skb() 802 txp->flags |= cpu_to_le16(MT_CT_INFO_NONE_CIPHER_FRAME); in mt7915_tx_prepare_skb() 806 txp->flags |= cpu_to_le16(MT_CT_INFO_MGMT_FRAME); in mt7915_tx_prepare_skb() 811 txp->bss_idx = mvif->mt76.idx; in mt7915_tx_prepare_skb() 814 txp->token = cpu_to_le16(id); in mt7915_tx_prepare_skb() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | mac.c | 930 struct mt76_connac_txp_common *txp; in mt7996_tx_prepare_skb() local 953 txp = (struct mt76_connac_txp_common *)(txwi + MT_TXD_SIZE); in mt7996_tx_prepare_skb() 963 txp->fw.buf[i] = cpu_to_le32(tx_info->buf[i + 1].addr); in mt7996_tx_prepare_skb() 964 txp->fw.len[i] = cpu_to_le16(len); in mt7996_tx_prepare_skb() 966 txp->fw.nbuf = nbuf; in mt7996_tx_prepare_skb() 968 txp->fw.flags = in mt7996_tx_prepare_skb() 972 txp->fw.flags |= cpu_to_le16(MT_CT_INFO_NONE_CIPHER_FRAME); in mt7996_tx_prepare_skb() 975 txp->fw.flags |= cpu_to_le16(MT_CT_INFO_MGMT_FRAME); in mt7996_tx_prepare_skb() 980 txp->fw.bss_idx = mvif->mt76.idx; in mt7996_tx_prepare_skb() 983 txp->fw.token = cpu_to_le16(id); in mt7996_tx_prepare_skb() [all …]
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_cmdresp.c | 427 struct host_cmd_ds_rf_tx_pwr *txp = &resp->params.txp; in mwifiex_ret_rf_tx_power() local 428 u16 action = le16_to_cpu(txp->action); in mwifiex_ret_rf_tx_power() 430 priv->tx_power_level = le16_to_cpu(txp->cur_level); in mwifiex_ret_rf_tx_power() 433 priv->max_tx_power_level = txp->max_power; in mwifiex_ret_rf_tx_power() 434 priv->min_tx_power_level = txp->min_power; in mwifiex_ret_rf_tx_power()
|
H A D | sta_cmd.c | 232 struct host_cmd_ds_txpwr_cfg *txp) in mwifiex_cmd_tx_power_cfg() argument 242 if (txp->mode) { in mwifiex_cmd_tx_power_cfg() 244 *) ((unsigned long) txp + in mwifiex_cmd_tx_power_cfg() 246 memmove(cmd_txp_cfg, txp, in mwifiex_cmd_tx_power_cfg() 258 memmove(cmd_txp_cfg, txp, sizeof(*txp)); in mwifiex_cmd_tx_power_cfg() 277 struct host_cmd_ds_rf_tx_pwr *txp = &cmd->params.txp; in mwifiex_cmd_rf_tx_power() local 282 txp->action = cpu_to_le16(cmd_action); in mwifiex_cmd_rf_tx_power()
|
/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm283x.dtsi | 80 txp: txp@7e004000 { label 81 compatible = "brcm,bcm2835-txp";
|