Home
last modified time | relevance | path

Searched refs:rxc (Results 1 – 10 of 10) sorted by relevance

/drivers/hsi/clients/
Dhsi_char.c342 static int hsc_rx_set(struct hsi_client *cl, struct hsc_rx_config *rxc) in hsc_rx_set() argument
347 if ((rxc->mode != HSI_MODE_STREAM) && (rxc->mode != HSI_MODE_FRAME)) in hsc_rx_set()
349 if ((rxc->channels == 0) || (rxc->channels > HSC_DEVS)) in hsc_rx_set()
351 if (rxc->channels & (rxc->channels - 1)) in hsc_rx_set()
353 if ((rxc->flow != HSI_FLOW_SYNC) && (rxc->flow != HSI_FLOW_PIPE)) in hsc_rx_set()
356 cl->rx_cfg.mode = rxc->mode; in hsc_rx_set()
357 cl->rx_cfg.num_hw_channels = rxc->channels; in hsc_rx_set()
358 cl->rx_cfg.flow = rxc->flow; in hsc_rx_set()
364 if (rxc->mode == HSI_MODE_FRAME) in hsc_rx_set()
370 static inline void hsc_rx_get(struct hsi_client *cl, struct hsc_rx_config *rxc) in hsc_rx_get() argument
[all …]
/drivers/mfd/
Ddln2.c194 struct dln2_rx_context *rxc; in dln2_transfer_complete() local
201 rxc = &rxs->slots[rx_slot]; in dln2_transfer_complete()
204 if (rxc->in_use && !rxc->urb) { in dln2_transfer_complete()
205 rxc->urb = urb; in dln2_transfer_complete()
206 complete(&rxc->done); in dln2_transfer_complete()
366 struct dln2_rx_context *rxc = &rxs->slots[*slot]; in find_free_slot() local
369 rxc->in_use = true; in find_free_slot()
399 struct dln2_rx_context *rxc; in free_rx_slot() local
407 rxc = &rxs->slots[slot]; in free_rx_slot()
408 rxc->in_use = false; in free_rx_slot()
[all …]
/drivers/spi/
Dspi-oc-tiny.c49 unsigned int txc, rxc; member
120 hw->rxc = 0; in tiny_spi_txrx_bufs()
163 if (hw->rxc + 1 == hw->len) { in tiny_spi_irq()
166 hw->rxc++; in tiny_spi_irq()
171 hw->rxc++; in tiny_spi_irq()
/drivers/net/ethernet/micrel/
Dks8851_common.c402 struct ks8851_rxctrl *rxc = &ks->rxctrl; in ks8851_irq() local
405 ks8851_wrreg16(ks, KS_MAHTR0, rxc->mchash[0]); in ks8851_irq()
406 ks8851_wrreg16(ks, KS_MAHTR1, rxc->mchash[1]); in ks8851_irq()
407 ks8851_wrreg16(ks, KS_MAHTR2, rxc->mchash[2]); in ks8851_irq()
408 ks8851_wrreg16(ks, KS_MAHTR3, rxc->mchash[3]); in ks8851_irq()
410 ks8851_wrreg16(ks, KS_RXCR2, rxc->rxcr2); in ks8851_irq()
411 ks8851_wrreg16(ks, KS_RXCR1, rxc->rxcr1); in ks8851_irq()
/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c849 u16 rxc, txc; in qede_set_coalesce() local
878 rxc = (u16)coal->rx_coalesce_usecs; in qede_set_coalesce()
885 rxc, 0, in qede_set_coalesce()
892 edev->coal_entry[i].rxc = rxc; in qede_set_coalesce()
2155 u16 rxc, txc; in qede_set_per_coalesce() local
2168 rxc = (u16)coal->rx_coalesce_usecs; in qede_set_per_coalesce()
2187 rxc, 0, in qede_set_per_coalesce()
2194 edev->coal_entry[queue].rxc = rxc; in qede_set_per_coalesce()
Dqede.h164 u16 rxc; member
Dqede_main.c2525 coal.rx_coalesce_usecs = edev->coal_entry[i].rxc; in qede_load()
/drivers/tty/serial/
Dmen_z135_uart.c224 u16 rxc; in get_rx_fifo_content() local
232 rxc = rxc_lo | (rxc_hi << 8); in get_rx_fifo_content()
234 return rxc; in get_rx_fifo_content()
/drivers/net/ethernet/sun/
Dcassini.c1325 static inline void cas_rxc_init(struct cas_rx_comp *rxc) in cas_rxc_init() argument
1327 memset(rxc, 0, sizeof(*rxc)); in cas_rxc_init()
1328 rxc->word4 = cpu_to_le64(RX_COMP4_ZERO); in cas_rxc_init()
1407 struct cas_rx_comp *rxc = cp->init_rxcs[i]; in cas_clean_rxcs() local
1409 cas_rxc_init(rxc + j); in cas_clean_rxcs()
1910 static int cas_rx_process_pkt(struct cas *cp, struct cas_rx_comp *rxc, in cas_rx_process_pkt() argument
2269 struct cas_rx_comp *rxc = rxcs + entry; in cas_rx_ringN() local
2275 words[0] = le64_to_cpu(rxc->word1); in cas_rx_ringN()
2276 words[1] = le64_to_cpu(rxc->word2); in cas_rx_ringN()
2277 words[2] = le64_to_cpu(rxc->word3); in cas_rx_ringN()
[all …]
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_cmn.c1817 u16 rxc; in wlc_phy_runbist_config() local
1818 rxc = 0; in wlc_phy_runbist_config()
1836 bcma_write16(pi->d11core, D11REGOFFS(phyregdata), rxc); in wlc_phy_runbist_config()