Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/spi/
Dspi-oc-tiny.c55 const u8 *txp; member
127 const u8 *txp = t->tx_buf; in tiny_spi_txrx_bufs() local
134 hw->txp = t->tx_buf; in tiny_spi_txrx_bufs()
141 writeb(hw->txp ? *hw->txp++ : 0, in tiny_spi_txrx_bufs()
144 writeb(hw->txp ? *hw->txp++ : 0, in tiny_spi_txrx_bufs()
149 writeb(hw->txp ? *hw->txp++ : 0, in tiny_spi_txrx_bufs()
156 } else if (txp && rxp) { in tiny_spi_txrx_bufs()
158 writeb(*txp++, hw->base + TINY_SPI_TXDATA); in tiny_spi_txrx_bufs()
160 writeb(*txp++, hw->base + TINY_SPI_TXDATA); in tiny_spi_txrx_bufs()
162 u8 rx, tx = *txp++; in tiny_spi_txrx_bufs()
[all …]
/linux-3.4.99/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 …]
/linux-3.4.99/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 …]
/linux-3.4.99/drivers/infiniband/hw/qib/
Dqib_sdma.c126 struct qib_sdma_txreq *txp, *txp_next; in clear_sdma_activelist() local
128 list_for_each_entry_safe(txp, txp_next, &ppd->sdma_activelist, list) { in clear_sdma_activelist()
129 list_del_init(&txp->list); in clear_sdma_activelist()
130 if (txp->flags & QIB_SDMA_TXREQ_F_FREEDESC) { in clear_sdma_activelist()
133 idx = txp->start_idx; in clear_sdma_activelist()
134 while (idx != txp->next_descq_idx) { in clear_sdma_activelist()
140 if (txp->callback) in clear_sdma_activelist()
141 (*txp->callback)(txp, QIB_SDMA_TXREQ_S_ABORTED); in clear_sdma_activelist()
350 struct qib_sdma_txreq *txp = NULL; in qib_sdma_make_progress() local
366 txp = list_entry(lp, struct qib_sdma_txreq, list); in qib_sdma_make_progress()
[all …]
/linux-3.4.99/drivers/net/wireless/iwlwifi/
Diwl-eeprom.c553 struct iwl_eeprom_enhanced_txpwr *txp, in iwl_eeprom_enh_txp_read_element() argument
557 bool is_ht40 = txp->flags & IWL_EEPROM_ENH_TXP_FL_40MHZ; in iwl_eeprom_enh_txp_read_element()
560 band = txp->flags & IWL_EEPROM_ENH_TXP_FL_BAND_52G ? in iwl_eeprom_enh_txp_read_element()
567 if (txp->channel != 0 && ch_info->channel != txp->channel) in iwl_eeprom_enh_txp_read_element()
589 #define TXP_CHECK_AND_PRINT(x) ((txp->flags & IWL_EEPROM_ENH_TXP_FL_##x) \
595 struct iwl_eeprom_enhanced_txpwr *txp_array, *txp; in iwl_eeprom_enhanced_txpower() local
609 txp = &txp_array[idx]; in iwl_eeprom_enhanced_txpower()
611 if (!(txp->flags & IWL_EEPROM_ENH_TXP_FL_VALID)) in iwl_eeprom_enhanced_txpower()
615 (txp->channel && (txp->flags & in iwl_eeprom_enhanced_txpower()
617 "Common " : (txp->channel) ? in iwl_eeprom_enhanced_txpower()
[all …]
/linux-3.4.99/drivers/net/xen-netback/
Dnetback.c180 struct xen_netif_tx_request *txp,
879 struct xen_netif_tx_request *txp, RING_IDX end) in netbk_tx_err() argument
884 make_tx_response(vif, txp, XEN_NETIF_RSP_ERROR); in netbk_tx_err()
887 txp = RING_GET_REQUEST(&vif->tx, cons++); in netbk_tx_err()
904 struct xen_netif_tx_request *txp, in netbk_count_requests() argument
948 memcpy(txp, RING_GET_REQUEST(&vif->tx, cons + slots), in netbk_count_requests()
949 sizeof(*txp)); in netbk_count_requests()
960 if (!drop_err && txp->size > first->size) { in netbk_count_requests()
964 txp->size, first->size); in netbk_count_requests()
968 first->size -= txp->size; in netbk_count_requests()
[all …]
/linux-3.4.99/drivers/net/wireless/brcm80211/brcmsmac/
Ddma.c251 struct sk_buff **txp; member
668 di->txp = kzalloc(size, GFP_ATOMIC); in dma_attach()
669 if (di->txp == NULL) in dma_attach()
774 kfree(di->txp); in dma_detach()
1319 di->txp[prevtxd(di, txout)] = p; in dma_txfast()
1357 struct sk_buff *txp; in dma_getnexttxp() local
1368 txp = NULL; in dma_getnexttxp()
1395 for (i = start; i != end && !txp; i = nexttxd(di, i)) { in dma_getnexttxp()
1408 txp = di->txp[i]; in dma_getnexttxp()
1409 di->txp[i] = NULL; in dma_getnexttxp()
[all …]
/linux-3.4.99/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 …]
/linux-3.4.99/drivers/net/wireless/brcm80211/brcmfmac/
Ddhd_proto.h42 struct sk_buff *txp);
Ddhd_bus.h101 extern void brcmf_txcomplete(struct device *dev, struct sk_buff *txp,
Ddhd_linux.c466 void brcmf_txcomplete(struct device *dev, struct sk_buff *txp, bool success) in brcmf_txcomplete() argument
474 brcmf_proto_hdrpull(dev, &ifidx, txp); in brcmf_txcomplete()
476 eh = (struct ethhdr *)(txp->data); in brcmf_txcomplete()
/linux-3.4.99/drivers/net/ethernet/micrel/
Dks8851.c717 static void ks8851_wrpkt(struct ks8851_net *ks, struct sk_buff *txp, bool irq) in ks8851_wrpkt() argument
725 __func__, txp, txp->len, txp->data, irq); in ks8851_wrpkt()
736 ks->txh.txw[2] = cpu_to_le16(txp->len); in ks8851_wrpkt()
743 xfer->tx_buf = txp->data; in ks8851_wrpkt()
745 xfer->len = ALIGN(txp->len, 4); in ks8851_wrpkt()
/linux-3.4.99/drivers/net/wireless/mwifiex/
Dsta_cmd.c224 struct host_cmd_ds_txpwr_cfg *txp) in mwifiex_cmd_tx_power_cfg() argument
234 if (txp->mode) { in mwifiex_cmd_tx_power_cfg()
236 *) ((unsigned long) txp + in mwifiex_cmd_tx_power_cfg()
238 memmove(cmd_txp_cfg, txp, in mwifiex_cmd_tx_power_cfg()
250 memmove(cmd_txp_cfg, txp, sizeof(*txp)); in mwifiex_cmd_tx_power_cfg()
/linux-3.4.99/drivers/net/ethernet/broadcom/
Dbnx2.c3691 check_mips_fw_entry(bp->mips_firmware, &mips_fw->txp)) { in bnx2_request_uncached_firmware()
3882 rc = load_cpu_fw(bp, &cpu_reg_txp, &mips_fw->txp); in bnx2_init_cpus()
Dbnx2.h7002 struct bnx2_mips_fw_file_entry txp; member