rxc               342 drivers/hsi/clients/hsi_char.c static int hsc_rx_set(struct hsi_client *cl, struct hsc_rx_config *rxc)
rxc               347 drivers/hsi/clients/hsi_char.c 	if ((rxc->mode != HSI_MODE_STREAM) && (rxc->mode != HSI_MODE_FRAME))
rxc               349 drivers/hsi/clients/hsi_char.c 	if ((rxc->channels == 0) || (rxc->channels > HSC_DEVS))
rxc               351 drivers/hsi/clients/hsi_char.c 	if (rxc->channels & (rxc->channels - 1))
rxc               353 drivers/hsi/clients/hsi_char.c 	if ((rxc->flow != HSI_FLOW_SYNC) && (rxc->flow != HSI_FLOW_PIPE))
rxc               356 drivers/hsi/clients/hsi_char.c 	cl->rx_cfg.mode = rxc->mode;
rxc               357 drivers/hsi/clients/hsi_char.c 	cl->rx_cfg.num_hw_channels = rxc->channels;
rxc               358 drivers/hsi/clients/hsi_char.c 	cl->rx_cfg.flow = rxc->flow;
rxc               364 drivers/hsi/clients/hsi_char.c 	if (rxc->mode == HSI_MODE_FRAME)
rxc               370 drivers/hsi/clients/hsi_char.c static inline void hsc_rx_get(struct hsi_client *cl, struct hsc_rx_config *rxc)
rxc               372 drivers/hsi/clients/hsi_char.c 	rxc->mode = cl->rx_cfg.mode;
rxc               373 drivers/hsi/clients/hsi_char.c 	rxc->channels = cl->rx_cfg.num_hw_channels;
rxc               374 drivers/hsi/clients/hsi_char.c 	rxc->flow = cl->rx_cfg.flow;
rxc               529 drivers/hsi/clients/hsi_char.c 	struct hsc_rx_config rxc;
rxc               555 drivers/hsi/clients/hsi_char.c 		if (copy_from_user(&rxc, (void __user *)arg, sizeof(rxc)))
rxc               557 drivers/hsi/clients/hsi_char.c 		return hsc_rx_set(channel->cl, &rxc);
rxc               559 drivers/hsi/clients/hsi_char.c 		hsc_rx_get(channel->cl, &rxc);
rxc               560 drivers/hsi/clients/hsi_char.c 		if (copy_to_user((void __user *)arg, &rxc, sizeof(rxc)))
rxc               198 drivers/mfd/dln2.c 	struct dln2_rx_context *rxc;
rxc               205 drivers/mfd/dln2.c 	rxc = &rxs->slots[rx_slot];
rxc               208 drivers/mfd/dln2.c 	if (rxc->in_use && !rxc->urb) {
rxc               209 drivers/mfd/dln2.c 		rxc->urb = urb;
rxc               210 drivers/mfd/dln2.c 		complete(&rxc->done);
rxc               366 drivers/mfd/dln2.c 		struct dln2_rx_context *rxc = &rxs->slots[*slot];
rxc               369 drivers/mfd/dln2.c 		rxc->in_use = true;
rxc               399 drivers/mfd/dln2.c 	struct dln2_rx_context *rxc;
rxc               407 drivers/mfd/dln2.c 	rxc = &rxs->slots[slot];
rxc               408 drivers/mfd/dln2.c 	rxc->in_use = false;
rxc               409 drivers/mfd/dln2.c 	urb = rxc->urb;
rxc               410 drivers/mfd/dln2.c 	rxc->urb = NULL;
rxc               411 drivers/mfd/dln2.c 	reinit_completion(&rxc->done);
rxc               434 drivers/mfd/dln2.c 	struct dln2_rx_context *rxc;
rxc               462 drivers/mfd/dln2.c 	rxc = &rxs->slots[rx_slot];
rxc               464 drivers/mfd/dln2.c 	ret = wait_for_completion_interruptible_timeout(&rxc->done, timeout);
rxc               479 drivers/mfd/dln2.c 	rsp = rxc->urb->transfer_buffer;
rxc               700 drivers/mfd/dln2.c 			struct dln2_rx_context *rxc = &rxs->slots[j];
rxc               702 drivers/mfd/dln2.c 			if (rxc->in_use)
rxc               703 drivers/mfd/dln2.c 				complete(&rxc->done);
rxc               653 drivers/net/ethernet/micrel/ks8851.c 		struct ks8851_rxctrl *rxc = &ks->rxctrl;
rxc               656 drivers/net/ethernet/micrel/ks8851.c 		ks8851_wrreg16(ks, KS_MAHTR0, rxc->mchash[0]);
rxc               657 drivers/net/ethernet/micrel/ks8851.c 		ks8851_wrreg16(ks, KS_MAHTR1, rxc->mchash[1]);
rxc               658 drivers/net/ethernet/micrel/ks8851.c 		ks8851_wrreg16(ks, KS_MAHTR2, rxc->mchash[2]);
rxc               659 drivers/net/ethernet/micrel/ks8851.c 		ks8851_wrreg16(ks, KS_MAHTR3, rxc->mchash[3]);
rxc               661 drivers/net/ethernet/micrel/ks8851.c 		ks8851_wrreg16(ks, KS_RXCR2, rxc->rxcr2);
rxc               662 drivers/net/ethernet/micrel/ks8851.c 		ks8851_wrreg16(ks, KS_RXCR1, rxc->rxcr1);
rxc               875 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	u16 rxc, txc;
rxc               891 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	rxc = (u16)coal->rx_coalesce_usecs;
rxc               898 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 							     rxc, 0,
rxc              1349 drivers/net/ethernet/sun/cassini.c static inline void cas_rxc_init(struct cas_rx_comp *rxc)
rxc              1351 drivers/net/ethernet/sun/cassini.c 	memset(rxc, 0, sizeof(*rxc));
rxc              1352 drivers/net/ethernet/sun/cassini.c 	rxc->word4 = cpu_to_le64(RX_COMP4_ZERO);
rxc              1431 drivers/net/ethernet/sun/cassini.c 		struct cas_rx_comp *rxc = cp->init_rxcs[i];
rxc              1433 drivers/net/ethernet/sun/cassini.c 			cas_rxc_init(rxc + j);
rxc              1941 drivers/net/ethernet/sun/cassini.c static int cas_rx_process_pkt(struct cas *cp, struct cas_rx_comp *rxc,
rxc              2293 drivers/net/ethernet/sun/cassini.c 		struct cas_rx_comp *rxc = rxcs + entry;
rxc              2299 drivers/net/ethernet/sun/cassini.c 		words[0] = le64_to_cpu(rxc->word1);
rxc              2300 drivers/net/ethernet/sun/cassini.c 		words[1] = le64_to_cpu(rxc->word2);
rxc              2301 drivers/net/ethernet/sun/cassini.c 		words[2] = le64_to_cpu(rxc->word3);
rxc              2302 drivers/net/ethernet/sun/cassini.c 		words[3] = le64_to_cpu(rxc->word4);
rxc              2332 drivers/net/ethernet/sun/cassini.c 		len = cas_rx_process_pkt(cp, rxc, entry, words, &skb);
rxc              2398 drivers/net/ethernet/sun/cassini.c 	struct cas_rx_comp *rxc = cp->init_rxcs[ring];
rxc              2409 drivers/net/ethernet/sun/cassini.c 		cas_rxc_init(rxc + last);
rxc              1819 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 	u16 rxc;
rxc              1820 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 	rxc = 0;
rxc              1838 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 			bcma_write16(pi->d11core, D11REGOFFS(phyregdata), rxc);
rxc                50 drivers/spi/spi-oc-tiny.c 	unsigned int txc, rxc;
rxc               133 drivers/spi/spi-oc-tiny.c 		hw->rxc = 0;
rxc               176 drivers/spi/spi-oc-tiny.c 	if (hw->rxc + 1 == hw->len) {
rxc               179 drivers/spi/spi-oc-tiny.c 		hw->rxc++;
rxc               184 drivers/spi/spi-oc-tiny.c 		hw->rxc++;
rxc               224 drivers/tty/serial/men_z135_uart.c 	u16 rxc;
rxc               232 drivers/tty/serial/men_z135_uart.c 	rxc = rxc_lo | (rxc_hi << 8);
rxc               234 drivers/tty/serial/men_z135_uart.c 	return rxc;