Home
last modified time | relevance | path

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

/drivers/net/wireless/iwlwifi/
Diwl-eeprom-parse.c353 struct iwl_eeprom_enhanced_txpwr *txp) in iwl_get_max_txpwr_half_dbm() argument
358 if (data->valid_tx_ant & ANT_A && txp->chain_a_max > result) in iwl_get_max_txpwr_half_dbm()
359 result = txp->chain_a_max; in iwl_get_max_txpwr_half_dbm()
361 if (data->valid_tx_ant & ANT_B && txp->chain_b_max > result) in iwl_get_max_txpwr_half_dbm()
362 result = txp->chain_b_max; in iwl_get_max_txpwr_half_dbm()
364 if (data->valid_tx_ant & ANT_C && txp->chain_c_max > result) in iwl_get_max_txpwr_half_dbm()
365 result = txp->chain_c_max; in iwl_get_max_txpwr_half_dbm()
369 data->valid_tx_ant == ANT_AC) && txp->mimo2_max > result) in iwl_get_max_txpwr_half_dbm()
370 result = txp->mimo2_max; in iwl_get_max_txpwr_half_dbm()
372 if (data->valid_tx_ant == ANT_ABC && txp->mimo3_max > result) in iwl_get_max_txpwr_half_dbm()
[all …]
/drivers/infiniband/hw/ipath/
Dipath_sdma.c98 struct ipath_sdma_txreq *txp = NULL; in ipath_sdma_make_progress() local
105 txp = list_entry(lp, struct ipath_sdma_txreq, list); in ipath_sdma_make_progress()
106 start_idx = txp->start_idx; in ipath_sdma_make_progress()
121 if (txp && txp->flags & IPATH_SDMA_TXREQ_F_FREEDESC && in ipath_sdma_make_progress()
134 if (txp && txp->next_descq_idx == dd->ipath_sdma_descq_head) { in ipath_sdma_make_progress()
136 if (txp->flags & IPATH_SDMA_TXREQ_F_VL15) in ipath_sdma_make_progress()
141 txp = list_entry(lp, struct ipath_sdma_txreq, in ipath_sdma_make_progress()
143 start_idx = txp->start_idx; in ipath_sdma_make_progress()
146 txp = NULL; in ipath_sdma_make_progress()
161 struct ipath_sdma_txreq *txp, *txp_next; in ipath_sdma_notify() local
[all …]
/drivers/rtc/
Drtc-rs5c348.c68 u8 txbuf[5+7], *txp; in rs5c348_rtc_set_time() local
72 txp = txbuf; in rs5c348_rtc_set_time()
78 txp = &txbuf[5]; in rs5c348_rtc_set_time()
79 txp[RS5C348_REG_SECS] = bin2bcd(tm->tm_sec); in rs5c348_rtc_set_time()
80 txp[RS5C348_REG_MINS] = bin2bcd(tm->tm_min); in rs5c348_rtc_set_time()
82 txp[RS5C348_REG_HOURS] = bin2bcd(tm->tm_hour); in rs5c348_rtc_set_time()
85 txp[RS5C348_REG_HOURS] = bin2bcd((tm->tm_hour + 11) % 12 + 1) | in rs5c348_rtc_set_time()
88 txp[RS5C348_REG_WDAY] = bin2bcd(tm->tm_wday); in rs5c348_rtc_set_time()
89 txp[RS5C348_REG_DAY] = bin2bcd(tm->tm_mday); in rs5c348_rtc_set_time()
90 txp[RS5C348_REG_MONTH] = bin2bcd(tm->tm_mon + 1) | in rs5c348_rtc_set_time()
[all …]
/drivers/infiniband/hw/qib/
Dqib_sdma.c127 struct qib_sdma_txreq *txp, *txp_next; in clear_sdma_activelist() local
129 list_for_each_entry_safe(txp, txp_next, &ppd->sdma_activelist, list) { in clear_sdma_activelist()
130 list_del_init(&txp->list); in clear_sdma_activelist()
131 if (txp->flags & QIB_SDMA_TXREQ_F_FREEDESC) { in clear_sdma_activelist()
134 idx = txp->start_idx; in clear_sdma_activelist()
135 while (idx != txp->next_descq_idx) { in clear_sdma_activelist()
141 if (txp->callback) in clear_sdma_activelist()
142 (*txp->callback)(txp, QIB_SDMA_TXREQ_S_ABORTED); in clear_sdma_activelist()
351 struct qib_sdma_txreq *txp = NULL; in qib_sdma_make_progress() local
367 txp = list_entry(lp, struct qib_sdma_txreq, list); in qib_sdma_make_progress()
[all …]
/drivers/spi/
Dspi-oc-tiny.c54 const u8 *txp; member
126 const u8 *txp = t->tx_buf; in tiny_spi_txrx_bufs() local
133 hw->txp = t->tx_buf; in tiny_spi_txrx_bufs()
140 writeb(hw->txp ? *hw->txp++ : 0, in tiny_spi_txrx_bufs()
143 writeb(hw->txp ? *hw->txp++ : 0, in tiny_spi_txrx_bufs()
148 writeb(hw->txp ? *hw->txp++ : 0, in tiny_spi_txrx_bufs()
157 writeb(txp ? *txp++ : 0, hw->base + TINY_SPI_TXDATA); in tiny_spi_txrx_bufs()
159 writeb(txp ? *txp++ : 0, hw->base + TINY_SPI_TXDATA); in tiny_spi_txrx_bufs()
189 writeb(hw->txp ? *hw->txp++ : 0, in tiny_spi_irq()
Dspi-falcon.c104 const u8 *txp = t->tx_buf; in falcon_sflash_xfer() local
124 if (!txp) { in falcon_sflash_xfer()
140 priv->sfcmd |= *txp; in falcon_sflash_xfer()
141 txp++; in falcon_sflash_xfer()
156 if (txp && bytelen) { in falcon_sflash_xfer()
181 val = (val << 8) | (*txp++); in falcon_sflash_xfer()
183 } else if ((dumlen < 15) && (*txp == 0)) { in falcon_sflash_xfer()
189 txp++; in falcon_sflash_xfer()
228 val |= (*txp++) << (8 * len++); in falcon_sflash_xfer()
/drivers/net/xen-netback/
Dnetback.c88 struct xen_netif_tx_request *txp,
834 struct xen_netif_tx_request *txp, RING_IDX end) in xenvif_tx_err() argument
841 make_tx_response(queue, txp, XEN_NETIF_RSP_ERROR); in xenvif_tx_err()
845 txp = RING_GET_REQUEST(&queue->tx, cons++); in xenvif_tx_err()
861 struct xen_netif_tx_request *txp, in xenvif_count_requests() argument
910 txp = &dropped_tx; in xenvif_count_requests()
912 memcpy(txp, RING_GET_REQUEST(&queue->tx, cons + slots), in xenvif_count_requests()
913 sizeof(*txp)); in xenvif_count_requests()
924 if (!drop_err && txp->size > first->size) { in xenvif_count_requests()
928 txp->size, first->size); in xenvif_count_requests()
[all …]
/drivers/net/wireless/brcm80211/brcmsmac/
Ddma.c236 struct sk_buff **txp; member
652 di->txp = kzalloc(size, GFP_ATOMIC); in dma_attach()
653 if (di->txp == NULL) in dma_attach()
764 kfree(di->txp); in dma_detach()
1309 di->txp[prevtxd(di, txout)] = p; in dma_txenq()
1471 struct sk_buff *txp; in dma_getnexttxp() local
1482 txp = NULL; in dma_getnexttxp()
1509 for (i = start; i != end && !txp; i = nexttxd(di, i)) { in dma_getnexttxp()
1522 txp = di->txp[i]; in dma_getnexttxp()
1523 di->txp[i] = NULL; in dma_getnexttxp()
[all …]
/drivers/net/irda/
Ddonauboe.c718 int txp; in toshoboe_probeinterrupt() local
723 txp = INB (OBOE_TXSLOT) & OBOE_SLOT_MASK; in toshoboe_probeinterrupt()
724 if (self->ring->tx[txp].control & OBOE_CTL_TX_HW_OWNS) in toshoboe_probeinterrupt()
1169 int txp, txpc; in toshoboe_interrupt() local
1172 txp = self->txpending; in toshoboe_interrupt()
1181 ,irqstat,txp,self->txpending); in toshoboe_interrupt()
1183 txp = INB (OBOE_TXSLOT) & OBOE_SLOT_MASK; in toshoboe_interrupt()
1186 if (self->ring->tx[txp].control & OBOE_CTL_TX_HW_OWNS) in toshoboe_interrupt()
1188 txpc = txp; in toshoboe_interrupt()
1192 txp = txpc; in toshoboe_interrupt()
[all …]
/drivers/net/wireless/brcm80211/brcmfmac/
Ddhd_linux.c539 void brcmf_txfinalize(struct brcmf_pub *drvr, struct sk_buff *txp, u8 ifidx, in brcmf_txfinalize() argument
550 eh = (struct ethhdr *)(txp->data); in brcmf_txfinalize()
562 brcmu_pkt_buf_free_skb(txp); in brcmf_txfinalize()
565 void brcmf_txcomplete(struct device *dev, struct sk_buff *txp, bool success) in brcmf_txcomplete() argument
574 brcmf_fws_bustxfail(drvr->fws, txp); in brcmf_txcomplete()
576 if (brcmf_proto_hdrpull(drvr, false, &ifidx, txp)) in brcmf_txcomplete()
577 brcmu_pkt_buf_free_skb(txp); in brcmf_txcomplete()
579 brcmf_txfinalize(drvr, txp, ifidx, success); in brcmf_txcomplete()
Ddhd.h182 void brcmf_txfinalize(struct brcmf_pub *drvr, struct sk_buff *txp, u8 ifidx,
Ddhd_bus.h227 void brcmf_txcomplete(struct device *dev, struct sk_buff *txp, bool success);
/drivers/net/ethernet/micrel/
Dks8851.c708 static void ks8851_wrpkt(struct ks8851_net *ks, struct sk_buff *txp, bool irq) in ks8851_wrpkt() argument
716 __func__, txp, txp->len, txp->data, irq); in ks8851_wrpkt()
727 ks->txh.txw[2] = cpu_to_le16(txp->len); in ks8851_wrpkt()
734 xfer->tx_buf = txp->data; in ks8851_wrpkt()
736 xfer->len = ALIGN(txp->len, 4); in ks8851_wrpkt()
/drivers/net/wireless/mwifiex/
Dsta_cmdresp.c441 struct host_cmd_ds_rf_tx_pwr *txp = &resp->params.txp; in mwifiex_ret_rf_tx_power() local
442 u16 action = le16_to_cpu(txp->action); in mwifiex_ret_rf_tx_power()
444 priv->tx_power_level = le16_to_cpu(txp->cur_level); in mwifiex_ret_rf_tx_power()
447 priv->max_tx_power_level = txp->max_power; in mwifiex_ret_rf_tx_power()
448 priv->min_tx_power_level = txp->min_power; in mwifiex_ret_rf_tx_power()
Dsta_cmd.c239 struct host_cmd_ds_txpwr_cfg *txp) in mwifiex_cmd_tx_power_cfg() argument
249 if (txp->mode) { in mwifiex_cmd_tx_power_cfg()
251 *) ((unsigned long) txp + in mwifiex_cmd_tx_power_cfg()
253 memmove(cmd_txp_cfg, txp, in mwifiex_cmd_tx_power_cfg()
265 memmove(cmd_txp_cfg, txp, sizeof(*txp)); in mwifiex_cmd_tx_power_cfg()
284 struct host_cmd_ds_rf_tx_pwr *txp = &cmd->params.txp; in mwifiex_cmd_rf_tx_power() local
289 txp->action = cpu_to_le16(cmd_action); in mwifiex_cmd_rf_tx_power()
Dfw.h1830 struct host_cmd_ds_rf_tx_pwr txp; member
/drivers/net/ethernet/broadcom/
Dbnx2.c3722 check_mips_fw_entry(bp->mips_firmware, &mips_fw->txp)) { in bnx2_request_uncached_firmware()
3913 rc = load_cpu_fw(bp, &cpu_reg_txp, &mips_fw->txp); in bnx2_init_cpus()
Dbnx2.h7057 struct bnx2_mips_fw_file_entry txp; member