Home
last modified time | relevance | path

Searched full:rx (Results 1 – 25 of 4592) sorted by relevance

12345678910>>...184

/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_rx_dqo.c35 static struct gve_rx_buf_state_dqo *gve_alloc_buf_state(struct gve_rx_ring *rx) in gve_alloc_buf_state() argument
40 buffer_id = rx->dqo.free_buf_states; in gve_alloc_buf_state()
44 buf_state = &rx->dqo.buf_states[buffer_id]; in gve_alloc_buf_state()
47 rx->dqo.free_buf_states = buf_state->next; in gve_alloc_buf_state()
55 static bool gve_buf_state_is_allocated(struct gve_rx_ring *rx, in gve_buf_state_is_allocated() argument
58 s16 buffer_id = buf_state - rx->dqo.buf_states; in gve_buf_state_is_allocated()
63 static void gve_free_buf_state(struct gve_rx_ring *rx, in gve_free_buf_state() argument
66 s16 buffer_id = buf_state - rx->dqo.buf_states; in gve_free_buf_state()
68 buf_state->next = rx->dqo.free_buf_states; in gve_free_buf_state()
69 rx->dqo.free_buf_states = buffer_id; in gve_free_buf_state()
[all …]
H A Dgve_rx.c26 static void gve_rx_unfill_pages(struct gve_priv *priv, struct gve_rx_ring *rx) in gve_rx_unfill_pages() argument
28 u32 slots = rx->mask + 1; in gve_rx_unfill_pages()
31 if (rx->data.raw_addressing) { in gve_rx_unfill_pages()
33 gve_rx_free_buffer(&priv->pdev->dev, &rx->data.page_info[i], in gve_rx_unfill_pages()
34 &rx->data.data_ring[i]); in gve_rx_unfill_pages()
37 page_ref_sub(rx->data.page_info[i].page, in gve_rx_unfill_pages()
38 rx->data.page_info[i].pagecnt_bias - 1); in gve_rx_unfill_pages()
39 gve_unassign_qpl(priv, rx->data.qpl->id); in gve_rx_unfill_pages()
40 rx->data.qpl = NULL; in gve_rx_unfill_pages()
42 for (i = 0; i < rx->qpl_copy_pool_mask + 1; i++) { in gve_rx_unfill_pages()
[all …]
/openbmc/u-boot/include/
H A Dfsl_tgec.h35 u32 rx_frame_u; /* Rx frame counter upper */
36 u32 rx_frame_l; /* Rx frame counter lower */
37 u32 rx_frame_crc_err_u; /* Rx frame check sequence error upper */
38 u32 rx_frame_crc_err_l; /* Rx frame check sequence error lower */
39 u32 rx_align_err_u; /* Rx alignment error upper */
40 u32 rx_align_err_l; /* Rx alignment error lower */
43 u32 rx_pause_frame_u; /* Rx valid pause frame upper */
44 u32 rx_pause_frame_l; /* Rx valid pause frame upper */
45 u32 rx_long_err_u; /* Rx too long frame error upper */
46 u32 rx_long_err_l; /* Rx too long frame error lower */
[all …]
H A Dfsl_memac.h39 u32 rx_eoct_l; /* Rx ethernet octests lower */
40 u32 rx_eoct_u; /* Rx ethernet octests upper */
41 u32 rx_oct_l; /* Rx octests lower */
42 u32 rx_oct_u; /* Rx octests upper */
43 u32 rx_align_err_l; /* Rx alignment error lower */
44 u32 rx_align_err_u; /* Rx alignment error upper */
45 u32 rx_pause_frame_l; /* Rx valid pause frame upper */
46 u32 rx_pause_frame_u; /* Rx valid pause frame upper */
47 u32 rx_frame_l; /* Rx frame counter lower */
48 u32 rx_frame_u; /* Rx frame counter upper */
[all …]
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dnetdev_rx.c8 * This file contains HFI1 support for netdev RX functionality
20 static int hfi1_netdev_setup_ctxt(struct hfi1_netdev_rx *rx, in hfi1_netdev_setup_ctxt() argument
24 struct hfi1_devdata *dd = rx->dd; in hfi1_netdev_setup_ctxt()
121 static int hfi1_netdev_allot_ctxt(struct hfi1_netdev_rx *rx, in hfi1_netdev_allot_ctxt() argument
125 struct hfi1_devdata *dd = rx->dd; in hfi1_netdev_allot_ctxt()
133 rc = hfi1_netdev_setup_ctxt(rx, *ctxt); in hfi1_netdev_allot_ctxt()
186 static int hfi1_netdev_rxq_init(struct hfi1_netdev_rx *rx) in hfi1_netdev_rxq_init() argument
190 struct hfi1_devdata *dd = rx->dd; in hfi1_netdev_rxq_init()
191 struct net_device *dev = &rx->rx_napi; in hfi1_netdev_rxq_init()
193 rx->num_rx_q = dd->num_netdev_contexts; in hfi1_netdev_rxq_init()
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dlpass-rx-macro.c653 "ZERO", "RX INT0_1 MIX1",
657 "ZERO", "RX INT1_1 MIX1",
661 "ZERO", "RX INT2_1 MIX1",
665 "ZERO", "RX INT0_2 MUX",
669 "ZERO", "RX INT1_2 MUX",
673 "ZERO", "RX INT2_2 MUX",
771 SOC_DAPM_ENUM("RX MIX TX1_MUX Mux", rx_mix_tx1_mux_enum);
773 SOC_DAPM_ENUM("RX MIX TX2_MUX Mux", rx_mix_tx2_mux_enum);
833 SOC_DAPM_ENUM("RX MIX TX0_MUX Mux", rx_mix_tx0_mux_enum);
836 /* RX Macro */
[all …]
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_fdma.c14 static struct page *lan966x_fdma_rx_alloc_page(struct lan966x_rx *rx, in lan966x_fdma_rx_alloc_page() argument
19 page = page_pool_dev_alloc_pages(rx->page_pool); in lan966x_fdma_rx_alloc_page()
28 static void lan966x_fdma_rx_free_pages(struct lan966x_rx *rx) in lan966x_fdma_rx_free_pages() argument
34 page_pool_put_full_page(rx->page_pool, in lan966x_fdma_rx_free_pages()
35 rx->page[i][j], false); in lan966x_fdma_rx_free_pages()
39 static void lan966x_fdma_rx_free_page(struct lan966x_rx *rx) in lan966x_fdma_rx_free_page() argument
43 page = rx->page[rx->dcb_index][rx->db_index]; in lan966x_fdma_rx_free_page()
47 page_pool_recycle_direct(rx->page_pool, page); in lan966x_fdma_rx_free_page()
50 static void lan966x_fdma_rx_add_dcb(struct lan966x_rx *rx, in lan966x_fdma_rx_add_dcb() argument
63 dcb->info = FDMA_DCB_INFO_DATAL(PAGE_SIZE << rx->page_order); in lan966x_fdma_rx_add_dcb()
[all …]
/openbmc/linux/drivers/net/ethernet/engleder/
H A Dtsnep_main.c10 * It supports multiple TX/RX queue pairs. The first TX/RX queue pair is used
88 /* handle TX/RX queue 0 interrupt */ in tsnep_irq()
104 /* handle TX/RX queue interrupt */ in tsnep_irq_txrx()
891 static void tsnep_rx_ring_cleanup(struct tsnep_rx *rx) in tsnep_rx_ring_cleanup() argument
893 struct device *dmadev = rx->adapter->dmadev; in tsnep_rx_ring_cleanup()
898 entry = &rx->entry[i]; in tsnep_rx_ring_cleanup()
899 if (!rx->xsk_pool && entry->page) in tsnep_rx_ring_cleanup()
900 page_pool_put_full_page(rx->page_pool, entry->page, in tsnep_rx_ring_cleanup()
902 if (rx->xsk_pool && entry->xdp) in tsnep_rx_ring_cleanup()
908 if (rx->page_pool) in tsnep_rx_ring_cleanup()
[all …]
/openbmc/linux/net/rxrpc/
H A Daf_rxrpc.c76 static int rxrpc_validate_address(struct rxrpc_sock *rx, in rxrpc_validate_address() argument
98 if (rx->family != AF_INET && in rxrpc_validate_address()
99 rx->family != AF_INET6) in rxrpc_validate_address()
108 if (rx->family != AF_INET6) in rxrpc_validate_address()
134 struct rxrpc_sock *rx = rxrpc_sk(sock->sk); in rxrpc_bind() local
138 _enter("%p,%p,%d", rx, saddr, len); in rxrpc_bind()
140 ret = rxrpc_validate_address(rx, srx, len); in rxrpc_bind()
145 lock_sock(&rx->sk); in rxrpc_bind()
147 switch (rx->sk.sk_state) { in rxrpc_bind()
149 rx->srx = *srx; in rxrpc_bind()
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Dethtool-coalesce.sh30 ["rx-frames-low"]="rx-frame-low"
32 ["rx-frames-high"]="rx-frame-high"
34 ["rx-usecs"]="rx-usecs"
35 ["rx-frames"]="rx-frames"
36 ["rx-usecs-irq"]="rx-usecs-irq"
37 ["rx-frames-irq"]="rx-frames-irq"
44 ["rx-usecs-low"]="rx-usecs-low"
47 ["rx-usecs-high"]="rx-usecs-high"
53 ["rx-frames-low"]=""
55 ["rx-frames-high"]=""
[all …]
/openbmc/linux/arch/arm/include/debug/
H A Dicedcc.S15 .macro senduart, rd, rx argument
19 .macro busyuart, rd, rx argument
21 mrc p14, 0, \rx, c0, c1, 0
22 tst \rx, #0x20000000
26 .macro waituartcts, rd, rx argument
29 .macro waituarttxrdy, rd, rx argument
34 mrc p14, 0, \rx, c0, c1, 0
35 tst \rx, #0x20000000
42 .macro senduart, rd, rx argument
46 .macro busyuart, rd, rx argument
[all …]
H A Dsamsung.S12 .macro fifo_level_s5pv210 rd, rx argument
13 ldr \rd, [\rx, # S3C2410_UFSTAT]
18 .macro fifo_full_s5pv210 rd, rx argument
19 ldr \rd, [\rx, # S3C2410_UFSTAT]
27 .macro fifo_level_s3c2440 rd, rx argument
28 ldr \rd, [\rx, # S3C2410_UFSTAT]
37 .macro fifo_full_s3c2440 rd, rx argument
38 ldr \rd, [\rx, # S3C2410_UFSTAT]
47 .macro senduart,rd,rx argument
48 strb \rd, [\rx, # S3C2410_UTXH]
[all …]
H A D8250.S15 .macro store, rd, rx:vararg
17 str \rd, \rx
21 .macro load, rd, rx:vararg
22 ldr \rd, \rx
26 .macro store, rd, rx:vararg
27 strb \rd, \rx
30 .macro load, rd, rx:vararg
31 ldrb \rd, \rx
37 .macro senduart,rd,rx argument
38 store \rd, [\rx, #UART_TX << UART_SHIFT]
[all …]
/openbmc/linux/net/mac80211/
H A Drx.c717 * RX header they pull before we get here, and that should in ieee80211_make_monitor_skb()
793 * (2) the other RX handlers will modify the skb we got. in ieee80211_rx_monitor()
875 static void ieee80211_parse_qos(struct ieee80211_rx_data *rx) in ieee80211_parse_qos() argument
877 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)rx->skb->data; in ieee80211_parse_qos()
878 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(rx->skb); in ieee80211_parse_qos()
910 rx->seqno_idx = seqno_idx; in ieee80211_parse_qos()
911 rx->security_idx = security_idx; in ieee80211_parse_qos()
914 rx->skb->priority = (tid > 7) ? 0 : tid; in ieee80211_parse_qos()
942 static void ieee80211_verify_alignment(struct ieee80211_rx_data *rx) in ieee80211_verify_alignment() argument
945 WARN_ON_ONCE((unsigned long)rx->skb->data & 1); in ieee80211_verify_alignment()
[all …]
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_fdma.c79 static void sparx5_fdma_rx_add_dcb(struct sparx5_rx *rx, in sparx5_fdma_rx_add_dcb() argument
93 rx->last_entry->nextptr = nextptr; in sparx5_fdma_rx_add_dcb()
94 rx->last_entry = dcb; in sparx5_fdma_rx_add_dcb()
113 static void sparx5_fdma_rx_activate(struct sparx5 *sparx5, struct sparx5_rx *rx) in sparx5_fdma_rx_activate() argument
116 spx5_wr(((u64)rx->dma) & GENMASK(31, 0), sparx5, in sparx5_fdma_rx_activate()
117 FDMA_DCB_LLP(rx->channel_id)); in sparx5_fdma_rx_activate()
118 spx5_wr(((u64)rx->dma) >> 32, sparx5, FDMA_DCB_LLP1(rx->channel_id)); in sparx5_fdma_rx_activate()
120 /* Set the number of RX DBs to be used, and DB end-of-frame interrupt */ in sparx5_fdma_rx_activate()
124 sparx5, FDMA_CH_CFG(rx->channel_id)); in sparx5_fdma_rx_activate()
126 /* Set the RX Watermark to max */ in sparx5_fdma_rx_activate()
[all …]
/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A Dbna_tx_rx.c184 bfi_msgq_mhdr_set(req->mh, BFI_MC_ENET, req_type, 0, rxf->rx->rid); in bna_bfi_ucast_req()
190 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_ucast_req()
200 0, rxf->rx->rid); in bna_bfi_mcast_add_req()
206 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_mcast_add_req()
216 0, rxf->rx->rid); in bna_bfi_mcast_del_req()
222 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_mcast_del_req()
231 BFI_ENET_H2I_MAC_MCAST_FILTER_REQ, 0, rxf->rx->rid); in bna_bfi_mcast_filter_req()
237 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_mcast_filter_req()
246 BFI_ENET_H2I_RX_PROMISCUOUS_REQ, 0, rxf->rx->rid); in bna_bfi_rx_promisc_req()
252 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_rx_promisc_req()
[all …]
H A Dbfa_defs_cna.h26 u64 rx_frames; /*!< Rx frames */
27 u64 rx_words; /*!< Rx words */
28 u64 lip_count; /*!< Rx LIP */
29 u64 nos_count; /*!< Rx NOS */
30 u64 ols_count; /*!< Rx OLS */
31 u64 lr_count; /*!< Rx LR */
32 u64 lrr_count; /*!< Rx LRR */
33 u64 invalid_crcs; /*!< Rx CRC err frames */
34 u64 invalid_crc_gd_eof; /*!< Rx CRC err good EOF frames */
35 u64 undersized_frm; /*!< Rx undersized frames */
[all …]
/openbmc/linux/drivers/staging/gdm724x/
H A Dgdm_mux.c111 static struct mux_rx *get_rx_struct(struct rx_cxt *rx) in get_rx_struct() argument
116 spin_lock_irqsave(&rx->free_list_lock, flags); in get_rx_struct()
118 if (list_empty(&rx->rx_free_list)) { in get_rx_struct()
119 spin_unlock_irqrestore(&rx->free_list_lock, flags); in get_rx_struct()
123 r = list_entry(rx->rx_free_list.prev, struct mux_rx, free_list); in get_rx_struct()
126 spin_unlock_irqrestore(&rx->free_list_lock, flags); in get_rx_struct()
131 static void put_rx_struct(struct rx_cxt *rx, struct mux_rx *r) in put_rx_struct() argument
135 spin_lock_irqsave(&rx->free_list_lock, flags); in put_rx_struct()
136 list_add_tail(&r->free_list, &rx->rx_free_list); in put_rx_struct()
137 spin_unlock_irqrestore(&rx->free_list_lock, flags); in put_rx_struct()
[all …]
H A Dgdm_usb.c212 static struct usb_rx *get_rx_struct(struct rx_cxt *rx, int *no_spc) in get_rx_struct() argument
217 spin_lock_irqsave(&rx->rx_lock, flags); in get_rx_struct()
219 if (list_empty(&rx->free_list)) { in get_rx_struct()
220 spin_unlock_irqrestore(&rx->rx_lock, flags); in get_rx_struct()
224 r = list_entry(rx->free_list.next, struct usb_rx, free_list); in get_rx_struct()
227 rx->avail_count--; in get_rx_struct()
229 *no_spc = list_empty(&rx->free_list) ? 1 : 0; in get_rx_struct()
231 spin_unlock_irqrestore(&rx->rx_lock, flags); in get_rx_struct()
236 static void put_rx_struct(struct rx_cxt *rx, struct usb_rx *r) in put_rx_struct() argument
240 spin_lock_irqsave(&rx->rx_lock, flags); in put_rx_struct()
[all …]
/openbmc/qemu/target/mips/tcg/
H A Dmips16e_translate.c.inc457 int op, rx, ry, funct, sa;
464 rx = xlat((ctx->opcode >> 8) & 0x7);
476 gen_arith_imm(ctx, OPC_ADDIU, rx, 29, imm);
479 gen_addiupc(ctx, rx, imm, 0, 1);
486 gen_compute_branch(ctx, OPC_BEQ, 4, rx, 0, offset << 1, 0);
490 gen_compute_branch(ctx, OPC_BNE, 4, rx, 0, offset << 1, 0);
496 gen_shift_imm(ctx, OPC_SLL, rx, ry, sa);
501 gen_shift_imm(ctx, OPC_DSLL, rx, ry, sa);
507 gen_shift_imm(ctx, OPC_SRL, rx, ry, sa);
510 gen_shift_imm(ctx, OPC_SRA, rx, ry, sa);
[all …]
/openbmc/linux/drivers/net/phy/
H A Dlinkmode.c21 * 1 X 1 X TX+RX
22 * 1 1 0 1 RX
50 * @rx: boolean from ethtool struct ethtool_pauseparam rx_pause member
53 * capabilities of provided in @tx and @rx.
56 * tx rx Pause AsymDir
62 * Note: this translation from ethtool tx/rx notation to the advertisement
65 * For tx=0 rx=1, meaning transmit is unsupported, receive is supported:
69 * 1 1 1 0 TX + RX - but we have no TX support.
70 * 1 1 0 1 Only this gives RX only
72 * For tx=1 rx=1, meaning we have the capability to transmit and receive
[all …]
/openbmc/linux/drivers/media/radio/wl128x/
H A Dfmdrv_rx.c4 * This sub-module of FM driver implements FM RX functionality.
17 fmdev->rx.rds.flag = FM_RDS_DISABLE; in fm_rx_reset_rds_cache()
18 fmdev->rx.rds.last_blk_idx = 0; in fm_rx_reset_rds_cache()
19 fmdev->rx.rds.wr_idx = 0; in fm_rx_reset_rds_cache()
20 fmdev->rx.rds.rd_idx = 0; in fm_rx_reset_rds_cache()
22 if (fmdev->rx.af_mode == FM_RX_RDS_AF_SWITCH_MODE_ON) in fm_rx_reset_rds_cache()
28 fmdev->rx.stat_info.picode = FM_NO_PI_CODE; in fm_rx_reset_station_info()
29 fmdev->rx.stat_info.afcache_size = 0; in fm_rx_reset_station_info()
30 fmdev->rx.stat_info.af_list_max = 0; in fm_rx_reset_station_info()
41 if (freq < fmdev->rx.region.bot_freq || freq > fmdev->rx.region.top_freq) { in fm_rx_set_freq()
[all …]
/openbmc/linux/Documentation/virt/kvm/
H A Dppc-pv.rst84 ld rX, -4096(0)
153 mfmsr rX ld rX, magic_page->msr
154 mfsprg rX, 0 ld rX, magic_page->sprg0
155 mfsprg rX, 1 ld rX, magic_page->sprg1
156 mfsprg rX, 2 ld rX, magic_page->sprg2
157 mfsprg rX, 3 ld rX, magic_page->sprg3
158 mfsrr0 rX ld rX, magic_page->srr0
159 mfsrr1 rX ld rX, magic_page->srr1
160 mfdar rX ld rX, magic_page->dar
161 mfdsisr rX lwz rX, magic_page->dsisr
[all …]
/openbmc/linux/drivers/firmware/tegra/
H A Divc.c49 * through the rx.channel pointer. This delineates ownership of the cache
68 } rx; member
103 u32 rx = tegra_ivc_header_read_field(map, rx.count); in tegra_ivc_empty() local
115 if (tx - rx > ivc->num_frames) in tegra_ivc_empty()
118 return tx == rx; in tegra_ivc_empty()
124 u32 rx = tegra_ivc_header_read_field(map, rx.count); in tegra_ivc_full() local
130 return tx - rx >= ivc->num_frames; in tegra_ivc_full()
136 u32 rx = tegra_ivc_header_read_field(map, rx.count); in tegra_ivc_available() local
144 return tx - rx; in tegra_ivc_available()
161 unsigned int count = tegra_ivc_header_read_field(&ivc->rx.map, rx.count); in tegra_ivc_advance_rx()
[all …]
/openbmc/linux/arch/arc/lib/
H A Dmemcpy-archs.S9 # define SHIFT_1(RX,RY,IMM) asl RX, RY, IMM ; << argument
10 # define SHIFT_2(RX,RY,IMM) lsr RX, RY, IMM ; >> argument
11 # define MERGE_1(RX,RY,IMM) asl RX, RY, IMM argument
12 # define MERGE_2(RX,RY,IMM) argument
13 # define EXTRACT_1(RX,RY,IMM) and RX, RY, 0xFFFF argument
14 # define EXTRACT_2(RX,RY,IMM) lsr RX, RY, IMM argument
16 # define SHIFT_1(RX,RY,IMM) lsr RX, RY, IMM ; >> argument
17 # define SHIFT_2(RX,RY,IMM) asl RX, RY, IMM ; << argument
18 # define MERGE_1(RX,RY,IMM) asl RX, RY, IMM ; << argument
19 # define MERGE_2(RX,RY,IMM) asl RX, RY, IMM ; << argument
[all …]

12345678910>>...184