| /linux/sound/soc/codecs/ |
| H A D | lpass-rx-macro.c | 162 #define CDC_RX_RXn_RX_PATH_CTL(rx, n) (0x0400 + rx->rxn_reg_stride * n) argument 170 #define CDC_RX_RXn_RX_PATH_CFG0(rx, n) (0x0404 + rx->rxn_reg_stride * n) argument 177 #define CDC_RX_RXn_RX_PATH_CFG1(rx, n) (0x0408 + rx->rxn_reg_stride * n) argument 181 #define CDC_RX_RXn_RX_PATH_CFG2(rx, n) (0x040C + rx->rxn_reg_stride * n) argument 184 #define CDC_RX_RXn_RX_PATH_CFG3(rx, n) (0x0410 + rx->rxn_reg_stride * n) argument 188 #define CDC_RX_RXn_RX_VOL_CTL(rx, n) (0x0414 + rx->rxn_reg_stride * n) argument 190 #define CDC_RX_RXn_RX_PATH_MIX_CTL(rx, n) (0x0418 + rx->rxn_reg_stride * n) argument 197 #define CDC_RX_RXn_RX_VOL_MIX_CTL(rx, n) (0x0420 + rx->rxn_reg_stride * n) argument 202 #define CDC_RX_RXn_RX_PATH_SEC3(rx, n) (0x042c + rx->rxn_reg_stride * n) argument 205 #define CDC_RX_RXn_RX_PATH_SEC7(rx, n) \ argument [all …]
|
| /linux/net/rxrpc/ |
| H A D | af_rxrpc.c | 76 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 …]
|
| H A D | call_accept.c | 34 static int rxrpc_service_prealloc_one(struct rxrpc_sock *rx, in rxrpc_service_prealloc_one() argument 41 struct rxrpc_net *rxnet = rxrpc_net(sock_net(&rx->sk)); in rxrpc_service_prealloc_one() 47 max = rx->sk.sk_max_ack_backlog; in rxrpc_service_prealloc_one() 48 tmp = rx->sk.sk_ack_backlog; in rxrpc_service_prealloc_one() 73 peer = rxrpc_alloc_peer(rx->local, gfp, rxrpc_peer_new_prealloc); in rxrpc_service_prealloc_one() 97 call = rxrpc_alloc_call(rx, gfp, debug_id); in rxrpc_service_prealloc_one() 107 write_lock(&rx->call_lock); in rxrpc_service_prealloc_one() 110 pp = &rx->calls.rb_node; in rxrpc_service_prealloc_one() 125 if (rx->app_ops && in rxrpc_service_prealloc_one() 126 rx->app_ops->user_attach_call) { in rxrpc_service_prealloc_one() [all …]
|
| H A D | recvmsg.c | 25 struct rxrpc_sock *rx; in rxrpc_notify_socket() local 39 rx = rcu_dereference(call->socket); in rxrpc_notify_socket() 40 sk = &rx->sk; in rxrpc_notify_socket() 41 if (rx && sk->sk_state < RXRPC_CLOSE) { in rxrpc_notify_socket() 47 spin_lock_irq(&rx->recvmsg_lock); in rxrpc_notify_socket() 50 list_add_tail(&call->recvmsg_link, &rx->recvmsg_q); in rxrpc_notify_socket() 52 spin_unlock_irq(&rx->recvmsg_lock); in rxrpc_notify_socket() 108 * Discard a packet we've used up and advance the Rx window by one. 201 struct rxrpc_sock *rx = rxrpc_sk(sock->sk); in rxrpc_recvmsg_oob() local 206 skb = skb_peek(&rx->recvmsg_oobq); in rxrpc_recvmsg_oob() [all …]
|
| /linux/drivers/net/ethernet/engleder/ |
| H A D | tsnep_main.c | 10 * It supports multiple TX/RX queue pairs. The first TX/RX queue pair is used 100 /* handle TX/RX queue 0 interrupt */ in tsnep_irq() 116 /* handle TX/RX queue interrupt */ in tsnep_irq_txrx() 951 static void tsnep_rx_ring_cleanup(struct tsnep_rx *rx) in tsnep_rx_ring_cleanup() argument 953 struct device *dmadev = rx->adapter->dmadev; in tsnep_rx_ring_cleanup() 958 entry = &rx->entry[i]; in tsnep_rx_ring_cleanup() 959 if (!rx->xsk_pool && entry->page) in tsnep_rx_ring_cleanup() 960 page_pool_put_full_page(rx->page_pool, entry->page, in tsnep_rx_ring_cleanup() 962 if (rx->xsk_pool && entry->xdp) in tsnep_rx_ring_cleanup() 968 if (rx->page_pool) in tsnep_rx_ring_cleanup() [all …]
|
| /linux/fs/xfs/scrub/ |
| H A D | attr_repair.c | 165 struct xrep_xattr *rx, in xrep_xattr_want_salvage() argument 181 return xfs_parent_valuecheck(rx->sc->mp, value, valuelen); in xrep_xattr_want_salvage() 189 struct xrep_xattr *rx, in xrep_xattr_salvage_key() argument 203 if (xchk_should_terminate(rx->sc, &error)) in xrep_xattr_salvage_key() 213 trace_xrep_xattr_salvage_pptr(rx->sc->ip, flags, name, in xrep_xattr_salvage_key() 222 trace_xrep_xattr_salvage_rec(rx->sc->ip, flags, name, in xrep_xattr_salvage_key() 226 error = xfblob_store(rx->xattr_blobs, &key.name_cookie, name, in xrep_xattr_salvage_key() 231 error = xfblob_store(rx->xattr_blobs, &key.value_cookie, value, in xrep_xattr_salvage_key() 236 error = xfarray_append(rx->xattr_records, &key); in xrep_xattr_salvage_key() 240 rx->attrs_found++; in xrep_xattr_salvage_key() [all …]
|
| /linux/tools/testing/selftests/drivers/net/netdevsim/ |
| H A D | ethtool-coalesce.sh | 30 ["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 …]
|
| /linux/arch/arm/include/debug/ |
| H A D | icedcc.S | 15 .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 D | samsung.S | 12 .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 D | 8250.S | 15 .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 …]
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| H A D | bna_tx_rx.c | 184 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 D | bfa_defs_cna.h | 26 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 …]
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_fdma.c | 13 struct lan966x_rx *rx = &lan966x->rx; in lan966x_fdma_rx_dataptr_cb() local 16 page = page_pool_dev_alloc_pages(rx->page_pool); in lan966x_fdma_rx_dataptr_cb() 20 rx->page[dcb][db] = page; in lan966x_fdma_rx_dataptr_cb() 51 static void lan966x_fdma_rx_free_pages(struct lan966x_rx *rx) in lan966x_fdma_rx_free_pages() argument 53 struct fdma *fdma = &rx->fdma; in lan966x_fdma_rx_free_pages() 58 page_pool_put_full_page(rx->page_pool, in lan966x_fdma_rx_free_pages() 59 rx->page[i][j], false); in lan966x_fdma_rx_free_pages() 63 static void lan966x_fdma_rx_free_page(struct lan966x_rx *rx) in lan966x_fdma_rx_free_page() argument 65 struct fdma *fdma = &rx->fdma; in lan966x_fdma_rx_free_page() 68 page = rx->page[fdma->dcb_index][fdma->db_index]; in lan966x_fdma_rx_free_page() [all …]
|
| /linux/drivers/firmware/tegra/ |
| H A D | ivc.c | 49 * 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 …]
|
| /linux/Documentation/virt/kvm/ |
| H A D | ppc-pv.rst | 84 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 …]
|
| /linux/drivers/net/phy/ |
| H A D | linkmode.c | 21 * 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 …]
|
| /linux/arch/arc/lib/ |
| H A D | memcpy-archs.S | 9 # 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 …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | ipsec_fs.c | 67 /* IPsec RX flow steering */ 165 struct mlx5e_ipsec_rx *rx) in ipsec_rx_status_drop_destroy() argument 167 mlx5_del_flow_rules(rx->status_checks.all.rule); in ipsec_rx_status_drop_destroy() 168 mlx5_fc_destroy(ipsec->mdev, rx->status_checks.all.fc); in ipsec_rx_status_drop_destroy() 169 mlx5_destroy_flow_group(rx->status_checks.drop_all_group); in ipsec_rx_status_drop_destroy() 173 struct mlx5e_ipsec_rx *rx) in ipsec_rx_status_pass_destroy() argument 175 mlx5_del_flow_rules(rx->status_checks.packet_offload_pass_rule); in ipsec_rx_status_pass_destroy() 176 mlx5_del_flow_rules(rx->status_checks.crypto_offload_pass_rule); in ipsec_rx_status_pass_destroy() 180 struct mlx5e_ipsec_rx *rx, in ipsec_rx_rule_add_match_obj() argument 185 if (rx == ipsec->rx_esw) { in ipsec_rx_rule_add_match_obj() [all …]
|
| /linux/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_ring.c | 8 /* File aq_ring.c: Definition of functions for Rx/Tx rings. */ 100 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages() 101 self->stats.rx.pg_flips++; in aq_get_rxpages() 102 u64_stats_update_end(&self->stats.rx.syncp); in aq_get_rxpages() 110 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages() 111 self->stats.rx.pg_losts++; in aq_get_rxpages() 112 u64_stats_update_end(&self->stats.rx.syncp); in aq_get_rxpages() 116 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages() 117 self->stats.rx.pg_reuses++; in aq_get_rxpages() 118 u64_stats_update_end(&self->stats.rx.syncp); in aq_get_rxpages() [all …]
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| H A D | radio_2055.h | 15 #define B2055_C1_SP_RXGC1 0x07 /* SP RX GC1 Core 1 */ 16 #define B2055_C1_SP_RXGC2 0x08 /* SP RX GC2 Core 1 */ 17 #define B2055_C2_SP_RXGC1 0x09 /* SP RX GC1 Core 2 */ 18 #define B2055_C2_SP_RXGC2 0x0A /* SP RX GC2 Core 2 */ 110 #define B2055_C1_RX_RFSPC1 0x66 /* Core 1 RX RF SPC1 */ 111 #define B2055_C1_RX_RFR1 0x67 /* Core 1 RX RF reg 1 */ 112 #define B2055_C1_RX_RFR2 0x68 /* Core 1 RX RF reg 2 */ 113 #define B2055_C1_RX_RFRCAL 0x69 /* Core 1 RX RF RCAL */ 114 #define B2055_C1_RX_BB_BLCMP 0x6A /* Core 1 RX Baseband BUFI LPF CMP */ 115 #define B2055_C1_RX_BB_LPF 0x6B /* Core 1 RX Baseband LPF */ [all …]
|
| /linux/net/tipc/ |
| H A D | crypto.c | 76 STAT_BADMSGS = STAT_BADKEYS, /* rx only */ 109 passive:2, /* rx only */ 113 passive:2, /* rx only */ 139 * @users: the number of the key users (TX/RX) 178 * struct tipc_crypto - TIPC TX/RX crypto structure 180 * @node: TIPC node (RX) 182 * @peer_rx_active: replicated peer RX active key index 183 * @key_gen: TX/RX key generation 188 * @work: delayed work sched for TX/RX 245 /* struct tipc_crypto_rx_ctx - RX contex 1213 struct tipc_crypto *tx, *rx; tipc_crypto_key_flush() local 1257 tipc_crypto_key_try_align(struct tipc_crypto * rx,u8 new_pending) tipc_crypto_key_try_align() argument 1320 tipc_crypto_key_pick_tx(struct tipc_crypto * tx,struct tipc_crypto * rx,struct sk_buff * skb,u8 tx_key) tipc_crypto_key_pick_tx() argument 1390 tipc_crypto_key_synch(struct tipc_crypto * rx,struct sk_buff * skb) tipc_crypto_key_synch() argument 1551 tipc_crypto_timeout(struct tipc_crypto * rx) tipc_crypto_timeout() argument 1814 tipc_crypto_rcv(struct net * net,struct tipc_crypto * rx,struct sk_buff ** skb,struct tipc_bearer * b) tipc_crypto_rcv() argument 1902 struct tipc_crypto *rx = aead->crypto; tipc_crypto_rcv_complete() local 2010 struct tipc_crypto *tx = tn->crypto_tx, *rx; tipc_crypto_do_cmd() local 2166 struct tipc_crypto *rx; tipc_crypto_msg_rcv() local 2287 tipc_crypto_key_rcv(struct tipc_crypto * rx,struct tipc_msg * hdr) tipc_crypto_key_rcv() argument 2358 struct tipc_crypto *rx = container_of(dwork, struct tipc_crypto, work); tipc_crypto_work_rx() local [all...] |
| /linux/drivers/net/ethernet/microchip/sparx5/lan969x/ |
| H A D | lan969x_fdma.c | 28 struct sparx5_rx *rx = &FDMA_PRIV(fdma)->rx; in lan969x_fdma_rx_dataptr_cb() local 31 page = page_pool_dev_alloc_pages(rx->page_pool); in lan969x_fdma_rx_dataptr_cb() 35 rx->page[dcb][db] = page; in lan969x_fdma_rx_dataptr_cb() 89 static void lan969x_fdma_free_pages(struct sparx5_rx *rx) in lan969x_fdma_free_pages() argument 91 struct fdma *fdma = &rx->fdma; in lan969x_fdma_free_pages() 95 page_pool_put_full_page(rx->page_pool, in lan969x_fdma_free_pages() 96 rx->page[i][j], false); in lan969x_fdma_free_pages() 101 struct sparx5_rx *rx) in lan969x_fdma_rx_get_frame() argument 104 struct fdma *fdma = &rx->fdma; in lan969x_fdma_rx_get_frame() 112 page = rx->page[fdma->dcb_index][fdma->db_index]; in lan969x_fdma_rx_get_frame() [all …]
|
| /linux/drivers/net/ethernet/pasemi/ |
| H A D | pasemi_mac_ethtool.c | 19 { "rx-drops" }, 20 { "rx-bytes" }, 21 { "rx-packets" }, 22 { "rx-broadcast-packets" }, 23 { "rx-multicast-packets" }, 24 { "rx-crc-errors" }, 25 { "rx-undersize-errors" }, 26 { "rx-oversize-errors" }, 27 { "rx-short-fragment-errors" }, 28 { "rx-jabber-errors" }, [all …]
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | pp_alloc_fail.py | 66 if stat2['rx-packets'] - stat1['rx-packets'] < 4000: 67 raise KsftFailEx("Traffic seems low:", stat2['rx-packets'] - stat1['rx-packets']) 77 if 'rx-alloc-fail' not in stats: 78 raise KsftSkipEx("Driver does not report 'rx-alloc-fail' via qstats") 93 seen_fails = s2['rx-alloc-fail'] - s1['rx-alloc-fail'] 96 pkts = s2['rx-packets'] - s1['rx-packets'] 107 if 'rx' in g and g["rx"] * 2 <= g["rx-max"]: 108 new_g = g['rx'] * 2 109 elif 'rx' in g: 110 new_g = g['rx'] // 2 [all …]
|
| /linux/drivers/net/ethernet/microchip/ |
| H A D | lan743x_main.c | 269 struct lan743x_rx *rx = context; in lan743x_rx_isr() local 270 struct lan743x_adapter *adapter = rx->adapter; in lan743x_rx_isr() 275 INT_BIT_DMA_RX_(rx->channel_number)); in lan743x_rx_isr() 278 if (int_sts & INT_BIT_DMA_RX_(rx->channel_number)) { in lan743x_rx_isr() 279 u32 rx_frame_bit = DMAC_INT_BIT_RXFRM_(rx->channel_number); in lan743x_rx_isr() 296 napi_schedule(&rx->napi); in lan743x_rx_isr() 304 INT_BIT_DMA_RX_(rx->channel_number)); in lan743x_rx_isr() 319 lan743x_rx_isr(&adapter->rx[channel], in lan743x_intr_shared_isr() 725 /* map RX interrupt to vector */ in lan743x_intr_open() 735 /* Remove RX interrupt from shared mask */ in lan743x_intr_open() [all …]
|