Home
last modified time | relevance | path

Searched refs:rx (Results 1 – 200 of 1025) sorted by relevance

123456

/linux-4.4.14/net/rxrpc/
Daf_rxrpc.c80 static int rxrpc_validate_address(struct rxrpc_sock *rx, in rxrpc_validate_address() argument
98 if (srx->transport.family != rx->proto) in rxrpc_validate_address()
127 struct rxrpc_sock *rx = rxrpc_sk(sk), *prx; in rxrpc_bind() local
131 _enter("%p,%p,%d", rx, saddr, len); in rxrpc_bind()
133 ret = rxrpc_validate_address(rx, srx, len); in rxrpc_bind()
137 lock_sock(&rx->sk); in rxrpc_bind()
139 if (rx->sk.sk_state != RXRPC_UNCONNECTED) { in rxrpc_bind()
144 memcpy(&rx->srx, srx, sizeof(rx->srx)); in rxrpc_bind()
147 local = rxrpc_lookup_local(&rx->srx); in rxrpc_bind()
153 rx->local = local; in rxrpc_bind()
[all …]
Dar-recvmsg.c23 void rxrpc_remove_user_ID(struct rxrpc_sock *rx, struct rxrpc_call *call) in rxrpc_remove_user_ID() argument
28 write_lock_bh(&rx->call_lock); in rxrpc_remove_user_ID()
31 write_unlock_bh(&rx->call_lock); in rxrpc_remove_user_ID()
51 struct rxrpc_sock *rx = rxrpc_sk(sock->sk); in rxrpc_recvmsg() local
66 timeo = sock_rcvtimeo(&rx->sk, flags & MSG_DONTWAIT); in rxrpc_recvmsg()
69 lock_sock(&rx->sk); in rxrpc_recvmsg()
74 if (RB_EMPTY_ROOT(&rx->calls)) { in rxrpc_recvmsg()
77 if (rx->sk.sk_state != RXRPC_SERVER_LISTENING) { in rxrpc_recvmsg()
78 release_sock(&rx->sk); in rxrpc_recvmsg()
86 skb = skb_peek(&rx->sk.sk_receive_queue); in rxrpc_recvmsg()
[all …]
Dar-accept.c74 struct rxrpc_sock *rx, in rxrpc_accept_incoming_call() argument
123 call = rxrpc_incoming_call(rx, conn, &sp->hdr, GFP_NOIO); in rxrpc_accept_incoming_call()
133 if (rx->sk.sk_state == RXRPC_CLOSE) in rxrpc_accept_incoming_call()
136 write_lock(&rx->call_lock); in rxrpc_accept_incoming_call()
144 list_add_tail(&call->accept_link, &rx->secureq); in rxrpc_accept_incoming_call()
152 list_add_tail(&call->accept_link, &rx->acceptq); in rxrpc_accept_incoming_call()
171 write_unlock(&rx->call_lock); in rxrpc_accept_incoming_call()
213 struct rxrpc_sock *rx; in rxrpc_accept_incoming_calls() local
261 list_for_each_entry(rx, &local->services, listen_link) { in rxrpc_accept_incoming_calls()
262 if (rx->service_id == service_id && in rxrpc_accept_incoming_calls()
[all …]
Dar-call.c252 struct rxrpc_sock *rx, in rxrpc_alloc_client_call() argument
262 ASSERT(rx != NULL); in rxrpc_alloc_client_call()
270 sock_hold(&rx->sk); in rxrpc_alloc_client_call()
271 call->socket = rx; in rxrpc_alloc_client_call()
274 ret = rxrpc_connect_call(rx, trans, bundle, call, gfp); in rxrpc_alloc_client_call()
281 call->proto = rx->proto; in rxrpc_alloc_client_call()
315 struct rxrpc_call *rxrpc_get_client_call(struct rxrpc_sock *rx, in rxrpc_get_client_call() argument
326 rx, trans ? trans->debug_id : -1, bundle ? bundle->debug_id : -1, in rxrpc_get_client_call()
331 read_lock(&rx->call_lock); in rxrpc_get_client_call()
333 p = rx->calls.rb_node; in rxrpc_get_client_call()
[all …]
Dar-output.c26 static int rxrpc_send_data(struct rxrpc_sock *rx,
33 static int rxrpc_sendmsg_cmsg(struct rxrpc_sock *rx, struct msghdr *msg, in rxrpc_sendmsg_cmsg() argument
131 int rxrpc_client_sendmsg(struct rxrpc_sock *rx, struct rxrpc_transport *trans, in rxrpc_client_sendmsg() argument
147 ret = rxrpc_sendmsg_cmsg(rx, msg, &user_call_ID, &cmd, &abort_code, in rxrpc_client_sendmsg()
154 service_id = rx->service_id; in rxrpc_client_sendmsg()
160 key = rx->key; in rxrpc_client_sendmsg()
161 if (key && !rx->key->payload.data[0]) in rxrpc_client_sendmsg()
163 bundle = rxrpc_get_bundle(rx, trans, key, service_id, in rxrpc_client_sendmsg()
169 call = rxrpc_get_client_call(rx, trans, bundle, user_call_ID, in rxrpc_client_sendmsg()
192 ret = rxrpc_send_data(rx, call, msg, len); in rxrpc_client_sendmsg()
[all …]
Dar-connection.c69 struct rxrpc_conn_bundle *rxrpc_get_bundle(struct rxrpc_sock *rx, in rxrpc_get_bundle() argument
79 rx, key_serial(key), trans->debug_id, ntohs(service_id)); in rxrpc_get_bundle()
81 if (rx->trans == trans && rx->bundle) { in rxrpc_get_bundle()
82 atomic_inc(&rx->bundle->usage); in rxrpc_get_bundle()
83 return rx->bundle; in rxrpc_get_bundle()
139 if (!rx->bundle && rx->sk.sk_state == RXRPC_CLIENT_CONNECTED) { in rxrpc_get_bundle()
141 rx->bundle = bundle; in rxrpc_get_bundle()
151 if (!rx->bundle && rx->sk.sk_state == RXRPC_CLIENT_CONNECTED) { in rxrpc_get_bundle()
153 rx->bundle = bundle; in rxrpc_get_bundle()
164 if (!rx->bundle && rx->sk.sk_state == RXRPC_CLIENT_CONNECTED) { in rxrpc_get_bundle()
[all …]
Dar-security.c167 struct rxrpc_sock *rx; in rxrpc_init_server_conn_security() local
184 list_for_each_entry(rx, &local->services, listen_link) { in rxrpc_init_server_conn_security()
185 if (rx->service_id == conn->service_id) in rxrpc_init_server_conn_security()
196 if (!rx->securities) { in rxrpc_init_server_conn_security()
204 kref = keyring_search(make_key_ref(rx->securities, 1UL), in rxrpc_init_server_conn_security()
/linux-4.4.14/net/mac80211/
Drx.c594 static void ieee80211_parse_qos(struct ieee80211_rx_data *rx) in ieee80211_parse_qos() argument
596 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)rx->skb->data; in ieee80211_parse_qos()
597 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(rx->skb); in ieee80211_parse_qos()
629 rx->seqno_idx = seqno_idx; in ieee80211_parse_qos()
630 rx->security_idx = security_idx; in ieee80211_parse_qos()
633 rx->skb->priority = (tid > 7) ? 0 : tid; in ieee80211_parse_qos()
661 static void ieee80211_verify_alignment(struct ieee80211_rx_data *rx) in ieee80211_verify_alignment() argument
664 WARN_ONCE((unsigned long)rx->skb->data & 1, in ieee80211_verify_alignment()
665 "unaligned packet at 0x%p\n", rx->skb->data); in ieee80211_verify_alignment()
744 static ieee80211_rx_result ieee80211_rx_mesh_check(struct ieee80211_rx_data *rx) in ieee80211_rx_mesh_check() argument
[all …]
Dwpa.c87 ieee80211_rx_h_michael_mic_verify(struct ieee80211_rx_data *rx) in ieee80211_rx_h_michael_mic_verify() argument
93 struct sk_buff *skb = rx->skb; in ieee80211_rx_h_michael_mic_verify()
114 if (!(status->flag & RX_FLAG_IV_STRIPPED) && rx->key && in ieee80211_rx_h_michael_mic_verify()
115 rx->key->conf.cipher == WLAN_CIPHER_SUITE_TKIP) in ieee80211_rx_h_michael_mic_verify()
126 if (!rx->key || rx->key->conf.cipher != WLAN_CIPHER_SUITE_TKIP || in ieee80211_rx_h_michael_mic_verify()
130 if (rx->sdata->vif.type == NL80211_IFTYPE_AP && rx->key->conf.keyidx) { in ieee80211_rx_h_michael_mic_verify()
147 if (skb_linearize(rx->skb)) in ieee80211_rx_h_michael_mic_verify()
153 key = &rx->key->conf.key[NL80211_TKIP_DATA_OFFSET_RX_MIC_KEY]; in ieee80211_rx_h_michael_mic_verify()
163 rx->key->u.tkip.rx[rx->security_idx].iv32 = rx->tkip_iv32; in ieee80211_rx_h_michael_mic_verify()
164 rx->key->u.tkip.rx[rx->security_idx].iv16 = rx->tkip_iv16; in ieee80211_rx_h_michael_mic_verify()
[all …]
Dwpa.h19 ieee80211_rx_h_michael_mic_verify(struct ieee80211_rx_data *rx);
24 ieee80211_crypto_tkip_decrypt(struct ieee80211_rx_data *rx);
30 ieee80211_crypto_ccmp_decrypt(struct ieee80211_rx_data *rx,
38 ieee80211_crypto_aes_cmac_decrypt(struct ieee80211_rx_data *rx);
40 ieee80211_crypto_aes_cmac_256_decrypt(struct ieee80211_rx_data *rx);
44 ieee80211_crypto_aes_gmac_decrypt(struct ieee80211_rx_data *rx);
48 ieee80211_crypto_hw_decrypt(struct ieee80211_rx_data *rx);
53 ieee80211_crypto_gcmp_decrypt(struct ieee80211_rx_data *rx);
Dwep.c275 ieee80211_crypto_wep_decrypt(struct ieee80211_rx_data *rx) in ieee80211_crypto_wep_decrypt() argument
277 struct sk_buff *skb = rx->skb; in ieee80211_crypto_wep_decrypt()
286 if (skb_linearize(rx->skb)) in ieee80211_crypto_wep_decrypt()
288 if (ieee80211_wep_decrypt(rx->local, rx->skb, rx->key)) in ieee80211_crypto_wep_decrypt()
291 if (!pskb_may_pull(rx->skb, ieee80211_hdrlen(fc) + in ieee80211_crypto_wep_decrypt()
294 ieee80211_wep_remove_iv(rx->local, rx->skb, rx->key); in ieee80211_crypto_wep_decrypt()
296 if (pskb_trim(rx->skb, rx->skb->len - IEEE80211_WEP_ICV_LEN)) in ieee80211_crypto_wep_decrypt()
Dtkip.c268 if (key->u.tkip.rx[queue].state != TKIP_STATE_NOT_INIT && in ieee80211_tkip_decrypt_data()
269 (iv32 < key->u.tkip.rx[queue].iv32 || in ieee80211_tkip_decrypt_data()
270 (iv32 == key->u.tkip.rx[queue].iv32 && in ieee80211_tkip_decrypt_data()
271 iv16 <= key->u.tkip.rx[queue].iv16))) in ieee80211_tkip_decrypt_data()
276 key->u.tkip.rx[queue].state = TKIP_STATE_PHASE1_HW_UPLOADED; in ieee80211_tkip_decrypt_data()
280 if (key->u.tkip.rx[queue].state == TKIP_STATE_NOT_INIT || in ieee80211_tkip_decrypt_data()
281 key->u.tkip.rx[queue].iv32 != iv32) { in ieee80211_tkip_decrypt_data()
283 tkip_mixing_phase1(tk, &key->u.tkip.rx[queue], ta, iv32); in ieee80211_tkip_decrypt_data()
287 key->u.tkip.rx[queue].state != TKIP_STATE_PHASE1_HW_UPLOADED) { in ieee80211_tkip_decrypt_data()
294 iv32, key->u.tkip.rx[queue].p1k); in ieee80211_tkip_decrypt_data()
[all …]
/linux-4.4.14/arch/unicore32/kernel/
Ddebug-macro.S17 .macro put_word_ocd, rd, rx=r16
18 1001: movc \rx, p1.c0, #0
19 cand.a \rx, #2
26 .macro addruart, rx
29 .macro senduart, rd, rx
30 put_word_ocd \rd, \rx
33 .macro busyuart, rd, rx
36 .macro waituart, rd, rx
47 .macro addruart,rx
48 mrc p0, #0, \rx, c1, c0
[all …]
/linux-4.4.14/arch/arm/include/debug/
Dicedcc.S19 .macro senduart, rd, rx
23 .macro busyuart, rd, rx
25 mrc p14, 0, \rx, c0, c1, 0
26 tst \rx, #0x20000000
30 .macro waituart, rd, rx
35 mrc p14, 0, \rx, c0, c1, 0
36 tst \rx, #0x20000000
43 .macro senduart, rd, rx
47 .macro busyuart, rd, rx
49 mrc p14, 0, \rx, c14, c0, 0
[all …]
Dsamsung.S16 .macro fifo_level_s5pv210 rd, rx
17 ldr \rd, [\rx, # S3C2410_UFSTAT]
21 .macro fifo_full_s5pv210 rd, rx
22 ldr \rd, [\rx, # S3C2410_UFSTAT]
29 .macro fifo_level_s3c2440 rd, rx
30 ldr \rd, [\rx, # S3C2410_UFSTAT]
38 .macro fifo_full_s3c2440 rd, rx
39 ldr \rd, [\rx, # S3C2410_UFSTAT]
47 .macro senduart,rd,rx
48 strb \rd, [\rx, # S3C2410_UTXH]
[all …]
D8250.S18 .macro store, rd, rx:vararg
20 str \rd, \rx
24 .macro load, rd, rx:vararg
25 ldr \rd, \rx
29 .macro store, rd, rx:vararg
30 strb \rd, \rx
33 .macro load, rd, rx:vararg
34 ldrb \rd, \rx
40 .macro senduart,rd,rx
41 store \rd, [\rx, #UART_TX << UART_SHIFT]
[all …]
Defm32.S19 .macro addruart, rx, tmp, tmp2
20 ldr \rx, =(CONFIG_DEBUG_UART_PHYS)
28 str \tmp, [\rx, #UARTn_CMD]
31 .macro senduart,rd,rx
32 strb \rd, [\rx, #UARTn_TXDATA]
35 .macro waituart,rd,rx
36 1001: ldr \rd, [\rx, #UARTn_STATUS]
41 .macro busyuart,rd,rx
42 1001: ldr \rd, [\rx, UARTn_STATUS]
Dmsm.S23 .macro senduart, rd, rx
26 str \rd, [\rx, #0x70]
29 .macro waituart, rd, rx
31 ldr \rd, [\rx, #0x08]
36 1001: ldr \rd, [\rx, #0x14]
44 str \rd, [\rx, #0x10]
48 str \rd, [\rx, #0x40]
50 ldr \rd, [\rx, #0x08]
53 .macro busyuart, rd, rx
Drenesas-scif.S35 .macro waituart, rd, rx
36 1001: ldrh \rd, [\rx, #FSR]
41 .macro senduart, rd, rx
42 strb \rd, [\rx, #FTDR]
43 ldrh \rd, [\rx, #FSR]
45 strh \rd, [\rx, #FSR]
48 .macro busyuart, rd, rx
49 1001: ldrh \rd, [\rx, #FSR]
Dbcm63xx.S18 .macro senduart, rd, rx
20 strb \rd, [\rx, #UART_FIFO_REG]
23 .macro waituart, rd, rx
24 1001: ldr \rd, [\rx, #UART_IR_REG]
29 .macro busyuart, rd, rx
30 1002: ldr \rd, [\rx, #UART_IR_REG]
Dnetx.S22 .macro senduart,rd,rx
23 str \rd, [\rx, #UART_DATA]
26 .macro busyuart,rd,rx
27 1002: ldr \rd, [\rx, #UART_FLAG]
32 .macro waituart,rd,rx
33 1001: ldr \rd, [\rx, #UART_FLAG]
Dmeson.S21 .macro senduart,rd,rx
22 str \rd, [\rx, #MESON_AO_UART_WFIFO]
25 .macro busyuart,rd,rx
26 1002: ldr \rd, [\rx, #MESON_AO_UART_STATUS]
31 .macro waituart,rd,rx
32 1001: ldr \rd, [\rx, #MESON_AO_UART_STATUS]
Dpl01x.S29 .macro senduart,rd,rx
30 strb \rd, [\rx, #UART01x_DR]
33 .macro waituart,rd,rx
34 1001: ldr \rd, [\rx, #UART01x_FR]
40 .macro busyuart,rd,rx
41 1001: ldr \rd, [\rx, #UART01x_FR]
Dsti.S47 .macro senduart,rd,rx
48 strb \rd, [\rx, #ASC_TX_BUF_OFF]
51 .macro waituart,rd,rx
52 1001: ldr \rd, [\rx, #ASC_STA_OFF]
57 .macro busyuart,rd,rx
58 1001: ldr \rd, [\rx, #ASC_STA_OFF]
Dks8695.S26 .macro senduart, rd, rx
27 str \rd, [\rx, #KS8695_URTH] @ Write to Transmit Holding Register
30 .macro busyuart, rd, rx
31 1001: ldr \rd, [\rx, #KS8695_URLS] @ Read Line Status Register
36 .macro waituart, rd, rx
37 1001: ldr \rd, [\rx, #KS8695_URLS] @ Read Line Status Register
Dzynq.S40 .macro senduart,rd,rx
41 strb \rd, [\rx, #UART_FIFO_OFFSET] @ TXDATA
44 .macro waituart,rd,rx
45 1001: ldr \rd, [\rx, #UART_SR_OFFSET]
51 .macro busyuart,rd,rx
52 1002: ldr \rd, [\rx, #UART_SR_OFFSET] @ get status register
Dat91.S30 .macro senduart,rd,rx
31 strb \rd, [\rx, #(AT91_DBGU_THR)] @ Write to Transmitter Holding Register
34 .macro waituart,rd,rx
35 1001: ldr \rd, [\rx, #(AT91_DBGU_SR)] @ Read Status Register
40 .macro busyuart,rd,rx
41 1001: ldr \rd, [\rx, #(AT91_DBGU_SR)] @ Read Status Register
Domap2plus.S174 .macro senduart,rd,rx
175 orr \rd, \rd, \rx, lsl #24 @ preserve LSR reg offset
176 bic \rx, \rx, #0xff @ get base (THR) reg address
177 strb \rd, [\rx] @ send lower byte of rd
178 orr \rx, \rx, \rd, lsr #24 @ restore original rx (LSR)
182 .macro busyuart,rd,rx
183 1001: ldrb \rd, [\rx] @ rx contains UART_LSR address
189 .macro waituart,rd,rx
Ddigicolor.S24 .macro senduart,rd,rx
25 strb \rd, [\rx, #UA0_EMI_REC]
28 .macro waituart,rd,rx
31 .macro busyuart,rd,rx
32 1001: ldrb \rd, [\rx, #UA0_STATUS]
Dasm9260.S18 .macro waituart,rd,rx
21 .macro senduart,rd,rx
22 str \rd, [\rx, #0x50] @ TXDATA
25 .macro busyuart,rd,rx
26 1002: ldr \rd, [\rx, #0x60] @ STAT
Dvt8500.S24 .macro senduart,rd,rx
25 strb \rd, [\rx, #0]
28 .macro busyuart,rd,rx
29 1001: ldr \rd, [\rx, #0x1c]
34 .macro waituart,rd,rx
Dsirf.S26 .macro senduart,rd,rx
27 str \rd, [\rx, #SIRF_LLUART_TXFIFO_DATA]
30 .macro busyuart,rd,rx
33 .macro waituart,rd,rx
34 1001: ldr \rd, [\rx, #SIRF_LLUART_TXFIFO_STATUS]
Dclps711x.S27 .macro waituart,rd,rx
30 .macro senduart,rd,rx
31 str \rd, [\rx, #UARTDR]
34 .macro busyuart,rd,rx
35 1001: ldr \rd, [\rx, #SYSFLG]
Dimx.S36 .macro senduart,rd,rx
37 str \rd, [\rx, #0x40] @ TXDATA
40 .macro waituart,rd,rx
43 .macro busyuart,rd,rx
44 1002: ldr \rd, [\rx, #0x98] @ SR2
Dvf.S26 .macro senduart, rd, rx
27 strb \rd, [\rx, #0x7] @ Data Register
30 .macro busyuart, rd, rx
31 1001: ldrb \rd, [\rx, #0x4] @ Status Register 1
36 .macro waituart,rd,rx
Dsa1100.S54 .macro senduart,rd,rx
55 str \rd, [\rx, #UTDR]
58 .macro waituart,rd,rx
59 1001: ldr \rd, [\rx, #UTSR1]
64 .macro busyuart,rd,rx
65 1001: ldr \rd, [\rx, #UTSR1]
Ds3c24xx.S24 .macro fifo_full_s3c2410 rd, rx
25 ldr \rd, [\rx, # S3C2410_UFSTAT]
29 .macro fifo_level_s3c2410 rd, rx
30 ldr \rd, [\rx, # S3C2410_UFSTAT]
Dtegra.S174 .macro senduart, rd, rx
175 cmp \rx, #0
176 strneb \rd, [\rx, #UART_TX << UART_SHIFT]
180 .macro busyuart, rd, rx
181 cmp \rx, #0
183 1001: ldrb \rd, [\rx, #UART_LSR << UART_SHIFT]
190 .macro waituart, rd, rx
192 cmp \rx, #0
194 1001: ldrb \rd, [\rx, #UART_MSR << UART_SHIFT]
/linux-4.4.14/drivers/staging/gdm724x/
Dgdm_mux.c123 static struct mux_rx *get_rx_struct(struct rx_cxt *rx) in get_rx_struct() argument
128 spin_lock_irqsave(&rx->free_list_lock, flags); in get_rx_struct()
130 if (list_empty(&rx->rx_free_list)) { in get_rx_struct()
131 spin_unlock_irqrestore(&rx->free_list_lock, flags); in get_rx_struct()
135 r = list_entry(rx->rx_free_list.prev, struct mux_rx, free_list); in get_rx_struct()
138 spin_unlock_irqrestore(&rx->free_list_lock, flags); in get_rx_struct()
143 static void put_rx_struct(struct rx_cxt *rx, struct mux_rx *r) in put_rx_struct() argument
147 spin_lock_irqsave(&rx->free_list_lock, flags); in put_rx_struct()
148 list_add_tail(&r->free_list, &rx->rx_free_list); in put_rx_struct()
149 spin_unlock_irqrestore(&rx->free_list_lock, flags); in put_rx_struct()
[all …]
Dgdm_usb.c221 static struct usb_rx *get_rx_struct(struct rx_cxt *rx, int *no_spc) in get_rx_struct() argument
226 spin_lock_irqsave(&rx->rx_lock, flags); in get_rx_struct()
228 if (list_empty(&rx->free_list)) { in get_rx_struct()
229 spin_unlock_irqrestore(&rx->rx_lock, flags); in get_rx_struct()
233 r = list_entry(rx->free_list.next, struct usb_rx, free_list); in get_rx_struct()
236 rx->avail_count--; in get_rx_struct()
238 *no_spc = list_empty(&rx->free_list) ? 1 : 0; in get_rx_struct()
240 spin_unlock_irqrestore(&rx->rx_lock, flags); in get_rx_struct()
245 static void put_rx_struct(struct rx_cxt *rx, struct usb_rx *r) in put_rx_struct() argument
249 spin_lock_irqsave(&rx->rx_lock, flags); in put_rx_struct()
[all …]
/linux-4.4.14/drivers/usb/musb/
Dcppi_dma.c84 static void cppi_reset_rx(struct cppi_rx_stateram __iomem *rx) in cppi_reset_rx() argument
86 musb_writel(&rx->rx_skipbytes, 0, 0); in cppi_reset_rx()
87 musb_writel(&rx->rx_head, 0, 0); in cppi_reset_rx()
88 musb_writel(&rx->rx_sop, 0, 0); in cppi_reset_rx()
89 musb_writel(&rx->rx_current, 0, 0); in cppi_reset_rx()
90 musb_writel(&rx->rx_buf_current, 0, 0); in cppi_reset_rx()
91 musb_writel(&rx->rx_len_len, 0, 0); in cppi_reset_rx()
92 musb_writel(&rx->rx_cnt_cnt, 0, 0); in cppi_reset_rx()
163 for (i = 0; i < ARRAY_SIZE(controller->rx); i++) { in cppi_controller_start()
164 controller->rx[i].transmit = false; in cppi_controller_start()
[all …]
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbna_tx_rx.c192 bfi_msgq_mhdr_set(req->mh, BFI_MC_ENET, req_type, 0, rxf->rx->rid); in bna_bfi_ucast_req()
198 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_ucast_req()
208 0, rxf->rx->rid); in bna_bfi_mcast_add_req()
214 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_mcast_add_req()
224 0, rxf->rx->rid); in bna_bfi_mcast_del_req()
230 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_mcast_del_req()
239 BFI_ENET_H2I_MAC_MCAST_FILTER_REQ, 0, rxf->rx->rid); in bna_bfi_mcast_filter_req()
245 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_mcast_filter_req()
254 BFI_ENET_H2I_RX_PROMISCUOUS_REQ, 0, rxf->rx->rid); in bna_bfi_rx_promisc_req()
260 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_rx_promisc_req()
[all …]
Dbna.h118 cbfn(cbarg, rxf->rx); \
330 void bna_bfi_rx_enet_start_rsp(struct bna_rx *rx,
332 void bna_bfi_rx_enet_stop_rsp(struct bna_rx *rx,
357 void bna_rx_destroy(struct bna_rx *rx);
358 void bna_rx_enable(struct bna_rx *rx);
359 void bna_rx_disable(struct bna_rx *rx, enum bna_cleanup_type type,
361 void bna_rx_cleanup_complete(struct bna_rx *rx);
362 void bna_rx_coalescing_timeo_set(struct bna_rx *rx, int coalescing_timeo);
365 enum bna_cb_status bna_rx_ucast_set(struct bna_rx *rx, const u8 *ucmac);
366 enum bna_cb_status bna_rx_ucast_listset(struct bna_rx *rx, int count,
[all …]
Dbna_types.h582 struct bna_rx *rx; member
648 struct bna_rx *rx; member
701 struct bna_rx *rx; member
724 void (*start_cbfn) (struct bna_rx *rx);
728 void (*stop_cbfn) (struct bna_rx *rx);
738 void (*cam_fltr_cbfn)(struct bnad *bnad, struct bna_rx *rx);
776 struct bna_rx *rx; member
816 void (*stop_cbfn)(void *arg, struct bna_rx *rx);
838 struct bna_rx *rx; /* BFI_MAX_RXQ entries */ member
/linux-4.4.14/drivers/media/radio/wl128x/
Dfmdrv_rx.c30 fmdev->rx.rds.flag = FM_RDS_DISABLE; in fm_rx_reset_rds_cache()
31 fmdev->rx.rds.last_blk_idx = 0; in fm_rx_reset_rds_cache()
32 fmdev->rx.rds.wr_idx = 0; in fm_rx_reset_rds_cache()
33 fmdev->rx.rds.rd_idx = 0; in fm_rx_reset_rds_cache()
35 if (fmdev->rx.af_mode == FM_RX_RDS_AF_SWITCH_MODE_ON) in fm_rx_reset_rds_cache()
41 fmdev->rx.stat_info.picode = FM_NO_PI_CODE; in fm_rx_reset_station_info()
42 fmdev->rx.stat_info.afcache_size = 0; in fm_rx_reset_station_info()
43 fmdev->rx.stat_info.af_list_max = 0; in fm_rx_reset_station_info()
54 if (freq < fmdev->rx.region.bot_freq || freq > fmdev->rx.region.top_freq) { in fm_rx_set_freq()
75 payload = (freq - fmdev->rx.region.bot_freq) / FM_FREQ_MUL; in fm_rx_set_freq()
[all …]
Dfmdrv_common.c253 fmdev->rx.region = region_configs[region_to_set]; in fmc_update_region_info()
638 struct tuned_station_info *stat_info = &fmdev->rx.stat_info; in fm_rx_update_af_cache()
639 u8 reg_idx = fmdev->rx.region.fm_band; in fm_rx_update_af_cache()
645 fmdev->rx.stat_info.af_list_max = (af - FM_RDS_1_AF_FOLLOWS + 1); in fm_rx_update_af_cache()
646 fmdev->rx.stat_info.afcache_size = 0; in fm_rx_update_af_cache()
647 fmdbg("No of expected AF : %d\n", fmdev->rx.stat_info.af_list_max); in fm_rx_update_af_cache()
658 freq = fmdev->rx.region.bot_freq + (af * 100); in fm_rx_update_af_cache()
659 if (freq == fmdev->rx.freq) { in fm_rx_update_af_cache()
661 fmdev->rx.freq, freq); in fm_rx_update_af_cache()
713 struct fm_rds *rds = &fmdev->rx.rds; in fm_irq_handle_rdsdata_getcmd_resp()
[all …]
/linux-4.4.14/drivers/staging/most/hdm-i2c/
Dhdm_i2c.c54 struct rx { struct
59 } rx; member
96 schedule_delayed_work(&dev->rx.dwork, in configure_channel()
126 mutex_lock(&dev->rx.list_mutex); in enqueue()
127 list_add_tail(&mbo->list, &dev->rx.list); in enqueue()
128 mutex_unlock(&dev->rx.list_mutex); in enqueue()
129 wake_up_interruptible(&dev->rx.waitq); in enqueue()
169 mutex_lock(&dev->rx.list_mutex); in poison_channel()
170 while (!list_empty(&dev->rx.list)) { in poison_channel()
171 mbo = list_first_mbo(&dev->rx.list); in poison_channel()
[all …]
/linux-4.4.14/drivers/staging/gdm72xx/
Dgdm_usb.c82 static struct usb_rx *alloc_rx_struct(struct rx_cxt *rx) in alloc_rx_struct() argument
98 r->rx_cxt = rx; in alloc_rx_struct()
136 static struct usb_rx *get_rx_struct(struct rx_cxt *rx) in get_rx_struct() argument
140 if (list_empty(&rx->free_list)) { in get_rx_struct()
141 r = alloc_rx_struct(rx); in get_rx_struct()
145 list_add(&r->list, &rx->free_list); in get_rx_struct()
148 r = list_entry(rx->free_list.next, struct usb_rx, list); in get_rx_struct()
149 list_move_tail(&r->list, &rx->used_list); in get_rx_struct()
155 static void put_rx_struct(struct rx_cxt *rx, struct usb_rx *r) in put_rx_struct() argument
157 list_move(&r->list, &rx->free_list); in put_rx_struct()
[all …]
Dgdm_sdio.c67 static struct sdio_rx *alloc_rx_struct(struct rx_cxt *rx) in alloc_rx_struct() argument
72 r->rx_cxt = rx; in alloc_rx_struct()
105 static struct sdio_rx *get_rx_struct(struct rx_cxt *rx) in get_rx_struct() argument
109 if (list_empty(&rx->free_list)) in get_rx_struct()
112 r = list_entry(rx->free_list.prev, struct sdio_rx, list); in get_rx_struct()
119 static void put_rx_struct(struct rx_cxt *rx, struct sdio_rx *r) in put_rx_struct() argument
121 list_add_tail(&r->list, &rx->free_list); in put_rx_struct()
127 struct rx_cxt *rx = &sdev->rx; in release_sdio() local
148 kfree(rx->rx_buf); in release_sdio()
150 list_for_each_entry_safe(r, r_next, &rx->free_list, list) { in release_sdio()
[all …]
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/
Ddebugfs.c95 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_beacon_early_term, "%u");
96 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_out_of_mpdu_nodes, "%u");
97 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_hdr_overflow, "%u");
98 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_dropped_frame, "%u");
99 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_done, "%u");
100 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_defrag, "%u");
101 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_defrag_end, "%u");
102 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_cmplt, "%u");
103 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_pre_complt, "%u");
104 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_cmplt_task, "%u");
[all …]
/linux-4.4.14/drivers/staging/media/lirc/
Dlirc_zilog.c112 struct IR_rx *rx; member
214 struct IR_rx *rx; in get_ir_rx() local
217 rx = ir->rx; in get_ir_rx()
218 if (rx != NULL) in get_ir_rx()
219 kref_get(&rx->ref); in get_ir_rx()
221 return rx; in get_ir_rx()
224 static void destroy_rx_kthread(struct IR_rx *rx, bool ir_devices_lock_held) in destroy_rx_kthread() argument
227 if (!IS_ERR_OR_NULL(rx->task)) { in destroy_rx_kthread()
228 kthread_stop(rx->task); in destroy_rx_kthread()
229 rx->task = NULL; in destroy_rx_kthread()
[all …]
Dlirc_imon.c101 } rx; member
498 context->rx.count = 0; in ir_open()
499 context->rx.initial_space = 1; in ir_open()
500 context->rx.prev_bit = 0; in ir_open()
555 int value = context->rx.count; in submit_data()
562 if (context->rx.prev_bit) in submit_data()
612 if (buf[7] == 1 && context->rx.initial_space) { in imon_incoming_packet()
614 context->rx.prev_bit = 0; in imon_incoming_packet()
615 context->rx.count = 4; in imon_incoming_packet()
617 context->rx.count = 0; in imon_incoming_packet()
[all …]
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Drecv.c63 if (sc->rx.rxlink) in ath_rx_buf_link()
64 *sc->rx.rxlink = bf->bf_daddr; in ath_rx_buf_link()
68 sc->rx.rxlink = &ds->ds_link; in ath_rx_buf_link()
74 if (sc->rx.buf_hold) in ath_rx_buf_relink()
75 ath_rx_buf_link(sc, sc->rx.buf_hold, flush); in ath_rx_buf_relink()
77 sc->rx.buf_hold = bf; in ath_rx_buf_relink()
84 sc->rx.defant = antenna; in ath_setdefantenna()
85 sc->rx.rxotherant = 0; in ath_setdefantenna()
118 rx_edma = &sc->rx.rx_edma[qtype]; in ath_rx_edma_buf_link()
122 bf = list_first_entry(&sc->rx.rxbuf, struct ath_rxbuf, list); in ath_rx_edma_buf_link()
[all …]
Dmac.h312 } rx; member
341 #define ds_rxstatus0 u.rx.status0
342 #define ds_rxstatus1 u.rx.status1
343 #define ds_rxstatus2 u.rx.status2
344 #define ds_rxstatus3 u.rx.status3
345 #define ds_rxstatus4 u.rx.status4
346 #define ds_rxstatus5 u.rx.status5
347 #define ds_rxstatus6 u.rx.status6
348 #define ds_rxstatus7 u.rx.status7
349 #define ds_rxstatus8 u.rx.status8
Dhtc_drv_txrx.c1058 spin_lock_irqsave(&priv->rx.rxbuflock, flags); in ath9k_rx_tasklet()
1059 list_for_each_entry(tmp_buf, &priv->rx.rxbuf, list) { in ath9k_rx_tasklet()
1067 spin_unlock_irqrestore(&priv->rx.rxbuflock, flags); in ath9k_rx_tasklet()
1087 spin_unlock_irqrestore(&priv->rx.rxbuflock, flags); in ath9k_rx_tasklet()
1091 spin_lock_irqsave(&priv->rx.rxbuflock, flags); in ath9k_rx_tasklet()
1095 list_move_tail(&rxbuf->list, &priv->rx.rxbuf); in ath9k_rx_tasklet()
1097 spin_unlock_irqrestore(&priv->rx.rxbuflock, flags); in ath9k_rx_tasklet()
1110 spin_lock(&priv->rx.rxbuflock); in ath9k_htc_rxep()
1111 list_for_each_entry(tmp_buf, &priv->rx.rxbuf, list) { in ath9k_htc_rxep()
1117 spin_unlock(&priv->rx.rxbuflock); in ath9k_htc_rxep()
[all …]
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dnorm_desc.c79 if (unlikely(p->des01.rx.last_descriptor == 0)) { in ndesc_get_rx_status()
86 if (unlikely(p->des01.rx.error_summary)) { in ndesc_get_rx_status()
87 if (unlikely(p->des01.rx.descriptor_error)) in ndesc_get_rx_status()
89 if (unlikely(p->des01.rx.sa_filter_fail)) in ndesc_get_rx_status()
91 if (unlikely(p->des01.rx.overflow_error)) in ndesc_get_rx_status()
93 if (unlikely(p->des01.rx.ipc_csum_error)) in ndesc_get_rx_status()
95 if (unlikely(p->des01.rx.collision)) { in ndesc_get_rx_status()
99 if (unlikely(p->des01.rx.crc_error)) { in ndesc_get_rx_status()
105 if (unlikely(p->des01.rx.dribbling)) in ndesc_get_rx_status()
108 if (unlikely(p->des01.rx.length_error)) { in ndesc_get_rx_status()
[all …]
Ddescs_com.h66 p->des01.rx.buffer2_size = BUF_SIZE_2KiB - 1; in ndesc_rx_set_on_ring()
68 p->des01.rx.end_ring = 1; in ndesc_rx_set_on_ring()
117 p->des01.rx.second_address_chained = 1; in ndesc_rx_set_on_chain()
/linux-4.4.14/drivers/net/usb/
Dasix_common.c54 struct asix_rx_fixup_info *rx) in asix_rx_fixup_internal() argument
68 if (rx->remaining && (rx->remaining + sizeof(u32) <= skb->len)) { in asix_rx_fixup_internal()
69 offset = ((rx->remaining + 1) & 0xfffe); in asix_rx_fixup_internal()
70 rx->header = get_unaligned_le32(skb->data + offset); in asix_rx_fixup_internal()
73 size = (u16)(rx->header & 0x7ff); in asix_rx_fixup_internal()
74 if (size != ((~rx->header >> 16) & 0x7ff)) { in asix_rx_fixup_internal()
76 rx->remaining); in asix_rx_fixup_internal()
77 if (rx->ax_skb) { in asix_rx_fixup_internal()
78 kfree_skb(rx->ax_skb); in asix_rx_fixup_internal()
79 rx->ax_skb = NULL; in asix_rx_fixup_internal()
[all …]
/linux-4.4.14/arch/s390/kernel/
Duprobes.c259 union split_register *rx; in handle_insn_ril() local
266 rx = (union split_register *) &regs->gprs[insn->reg]; in handle_insn_ril()
274 rx->u64 = (unsigned long)uptr; in handle_insn_ril()
281 rc = emu_load_ril((u16 __user *)uptr, &rx->u32[1]); in handle_insn_ril()
284 rc = emu_load_ril((s16 __user *)uptr, &rx->u64); in handle_insn_ril()
287 rc = emu_load_ril((s16 __user *)uptr, &rx->u32[1]); in handle_insn_ril()
290 rc = emu_load_ril((u16 __user *)uptr, &rx->u64); in handle_insn_ril()
293 rc = emu_load_ril((u64 __user *)uptr, &rx->u64); in handle_insn_ril()
296 rc = emu_load_ril((s32 __user *)uptr, &rx->u64); in handle_insn_ril()
299 rc = emu_load_ril((u32 __user *)uptr, &rx->u32[1]); in handle_insn_ril()
[all …]
Ddiag.c138 static inline int __diag14(unsigned long rx, unsigned long ry1, in __diag14() argument
152 : "d" (rx), "d" (_ry1) in __diag14()
158 int diag14(unsigned long rx, unsigned long ry1, unsigned long subcode) in diag14() argument
161 return __diag14(rx, ry1, subcode); in diag14()
/linux-4.4.14/drivers/staging/wlan-ng/
Dp80211netdev.c935 wlandev->rx.mgmt++; in p80211_rx_typedrop()
939 wlandev->rx.assocreq++; in p80211_rx_typedrop()
943 wlandev->rx.assocresp++; in p80211_rx_typedrop()
947 wlandev->rx.reassocreq++; in p80211_rx_typedrop()
951 wlandev->rx.reassocresp++; in p80211_rx_typedrop()
955 wlandev->rx.probereq++; in p80211_rx_typedrop()
959 wlandev->rx.proberesp++; in p80211_rx_typedrop()
963 wlandev->rx.beacon++; in p80211_rx_typedrop()
967 wlandev->rx.atim++; in p80211_rx_typedrop()
971 wlandev->rx.disassoc++; in p80211_rx_typedrop()
[all …]
/linux-4.4.14/drivers/spi/
Dspi-dln2.c194 } rx; in dln2_spi_get_cs_num() local
195 unsigned rx_len = sizeof(rx); in dln2_spi_get_cs_num()
199 &rx, &rx_len); in dln2_spi_get_cs_num()
202 if (rx_len < sizeof(rx)) in dln2_spi_get_cs_num()
205 *cs_num = le16_to_cpu(rx.cs_count); in dln2_spi_get_cs_num()
220 } rx; in dln2_spi_get_speed() local
221 unsigned rx_len = sizeof(rx); in dln2_spi_get_speed()
225 ret = dln2_transfer(dln2->pdev, cmd, &tx, sizeof(tx), &rx, &rx_len); in dln2_spi_get_speed()
228 if (rx_len < sizeof(rx)) in dln2_spi_get_speed()
231 *freq = le32_to_cpu(rx.speed); in dln2_spi_get_speed()
[all …]
Dspi-altera.c61 unsigned char *rx; member
124 hw->rx = t->rx_buf; in altera_spi_txrx()
153 if (hw->rx) { in altera_spi_txrx()
156 hw->rx[hw->count] = rxd; in altera_spi_txrx()
159 hw->rx[hw->count * 2] = rxd; in altera_spi_txrx()
160 hw->rx[hw->count * 2 + 1] = rxd >> 8; in altera_spi_txrx()
178 if (hw->rx) { in altera_spi_irq()
181 hw->rx[hw->count] = rxd; in altera_spi_irq()
184 hw->rx[hw->count * 2] = rxd; in altera_spi_irq()
185 hw->rx[hw->count * 2 + 1] = rxd >> 8; in altera_spi_irq()
Dspi-bfin5xx.c89 void *rx; member
250 while (drv_data->rx < drv_data->rx_end) { in bfin_spi_u8_reader()
254 *(u8 *) (drv_data->rx++) = bfin_read(&drv_data->regs->rdbr); in bfin_spi_u8_reader()
263 while (drv_data->rx < drv_data->rx_end) { in bfin_spi_u8_duplex()
267 *(u8 *) (drv_data->rx++) = bfin_read(&drv_data->regs->rdbr); in bfin_spi_u8_duplex()
301 while (drv_data->rx < drv_data->rx_end) { in bfin_spi_u16_reader()
305 *(u16 *) (drv_data->rx) = bfin_read(&drv_data->regs->rdbr); in bfin_spi_u16_reader()
306 drv_data->rx += 2; in bfin_spi_u16_reader()
315 while (drv_data->rx < drv_data->rx_end) { in bfin_spi_u16_duplex()
320 *(u16 *) (drv_data->rx) = bfin_read(&drv_data->regs->rdbr); in bfin_spi_u16_duplex()
[all …]
Dspi-bitbang.c72 u8 *rx = t->rx_buf; in bitbang_txrx_8() local
80 if (rx) in bitbang_txrx_8()
81 *rx++ = word; in bitbang_txrx_8()
98 u16 *rx = t->rx_buf; in bitbang_txrx_16() local
106 if (rx) in bitbang_txrx_16()
107 *rx++ = word; in bitbang_txrx_16()
124 u32 *rx = t->rx_buf; in bitbang_txrx_32() local
132 if (rx) in bitbang_txrx_32()
133 *rx++ = word; in bitbang_txrx_32()
Dspi-adi-v3.c74 void *rx; member
251 while (drv_data->rx < drv_data->rx_end) { in adi_spi_u8_read()
255 *(u8 *)(drv_data->rx++) = ioread32(&drv_data->regs->rfifo); in adi_spi_u8_read()
262 while (drv_data->rx < drv_data->rx_end) { in adi_spi_u8_duplex()
266 *(u8 *)(drv_data->rx++) = ioread32(&drv_data->regs->rfifo); in adi_spi_u8_duplex()
293 while (drv_data->rx < drv_data->rx_end) { in adi_spi_u16_read()
297 *(u16 *)drv_data->rx = ioread32(&drv_data->regs->rfifo); in adi_spi_u16_read()
298 drv_data->rx += 2; in adi_spi_u16_read()
305 while (drv_data->rx < drv_data->rx_end) { in adi_spi_u16_duplex()
310 *(u16 *)drv_data->rx = ioread32(&drv_data->regs->rfifo); in adi_spi_u16_duplex()
[all …]
Dspi-fsl-lib.c36 type *rx = mpc8xxx_spi->rx; \
37 *rx++ = (type)(data >> mpc8xxx_spi->rx_shift); \
38 mpc8xxx_spi->rx = rx; \
Dspi-omap-100k.c199 u8 *rx; in omap1_spi100k_txrx_pio() local
202 rx = xfer->rx_buf; in omap1_spi100k_txrx_pio()
209 *rx++ = spi100k_read_data(spi->master, word_len); in omap1_spi100k_txrx_pio()
212 u16 *rx; in omap1_spi100k_txrx_pio() local
215 rx = xfer->rx_buf; in omap1_spi100k_txrx_pio()
222 *rx++ = spi100k_read_data(spi->master, word_len); in omap1_spi100k_txrx_pio()
225 u32 *rx; in omap1_spi100k_txrx_pio() local
228 rx = xfer->rx_buf; in omap1_spi100k_txrx_pio()
235 *rx = spi100k_read_data(spi->master, word_len); in omap1_spi100k_txrx_pio()
Dspi-omap2-mcspi.c566 u8 *rx; in omap2_mcspi_txrx_dma() local
610 rx = xfer->rx_buf; in omap2_mcspi_txrx_dma()
616 if (rx != NULL) in omap2_mcspi_txrx_dma()
636 if (rx == NULL) { in omap2_mcspi_txrx_dma()
688 u8 *rx; in omap2_mcspi_txrx_pio() local
691 rx = xfer->rx_buf; in omap2_mcspi_txrx_pio()
706 if (rx != NULL) { in omap2_mcspi_txrx_pio()
716 *rx++ = readl_relaxed(rx_reg); in omap2_mcspi_txrx_pio()
718 word_len, *(rx - 1)); in omap2_mcspi_txrx_pio()
730 *rx++ = readl_relaxed(rx_reg); in omap2_mcspi_txrx_pio()
[all …]
Dspi-dw.c164 rxtx_gap = ((dws->rx_end - dws->rx) - (dws->tx_end - dws->tx)) in tx_max()
173 u32 rx_left = (dws->rx_end - dws->rx) / dws->n_bytes; in rx_max()
206 *(u8 *)(dws->rx) = rxw; in dw_reader()
208 *(u16 *)(dws->rx) = rxw; in dw_reader()
210 dws->rx += dws->n_bytes; in dw_reader()
235 if (dws->rx_end == dws->rx) { in interrupt_transfer()
274 } while (dws->rx_end > dws->rx); in poll_transfer()
294 dws->rx = transfer->rx_buf; in dw_spi_transfer_one()
295 dws->rx_end = dws->rx + transfer->len; in dw_spi_transfer_one()
330 if (dws->rx && dws->tx) in dw_spi_transfer_one()
[all …]
Dspi-rockchip.c188 void *rx; member
259 u32 rx_left = (rs->rx_end - rs->rx) / rs->n_bytes; in rx_max()
372 *(u8 *)(rs->rx) = (u8)rxw; in rockchip_spi_pio_reader()
374 *(u16 *)(rs->rx) = (u16)rxw; in rockchip_spi_pio_reader()
375 rs->rx += rs->n_bytes; in rockchip_spi_pio_reader()
389 if (rs->rx) { in rockchip_spi_pio_transfer()
390 remain = rs->rx_end - rs->rx; in rockchip_spi_pio_transfer()
453 if (rs->rx) { in rockchip_spi_prepare_dma()
521 if (rs->rx) in rockchip_spi_config()
589 rs->rx = xfer->rx_buf; in rockchip_spi_transfer_one()
[all …]
Dspi-s3c24xx.c75 unsigned char *rx; member
279 if (hw->tx && !hw->rx) in s3c24xx_spi_tryfiq()
281 else if (hw->rx && !hw->tx) in s3c24xx_spi_tryfiq()
287 regs.uregs[fiq_rrx] = (long)hw->rx; in s3c24xx_spi_tryfiq()
407 hw->rx = t->rx_buf; in s3c24xx_spi_txrx()
445 if (hw->rx) in s3c24xx_spi_irq()
446 hw->rx[count] = readb(hw->regs + S3C2410_SPRDAT); in s3c24xx_spi_irq()
458 if (hw->rx) in s3c24xx_spi_irq()
459 hw->rx[hw->len-1] = readb(hw->regs + S3C2410_SPRDAT); in s3c24xx_spi_irq()
Dspi-sirf.c262 void *rx; member
316 u8 *rx = sspi->rx; in spi_sirfsoc_rx_word_u8() local
320 if (rx) { in spi_sirfsoc_rx_word_u8()
321 *rx++ = (u8) data; in spi_sirfsoc_rx_word_u8()
322 sspi->rx = rx; in spi_sirfsoc_rx_word_u8()
344 u16 *rx = sspi->rx; in spi_sirfsoc_rx_word_u16() local
348 if (rx) { in spi_sirfsoc_rx_word_u16()
349 *rx++ = (u16) data; in spi_sirfsoc_rx_word_u16()
350 sspi->rx = rx; in spi_sirfsoc_rx_word_u16()
373 u32 *rx = sspi->rx; in spi_sirfsoc_rx_word_u32() local
[all …]
Dspi-davinci.c127 void *rx; member
150 if (dspi->rx) { in davinci_spi_rx_buf_u8()
151 u8 *rx = dspi->rx; in davinci_spi_rx_buf_u8() local
152 *rx++ = (u8)data; in davinci_spi_rx_buf_u8()
153 dspi->rx = rx; in davinci_spi_rx_buf_u8()
159 if (dspi->rx) { in davinci_spi_rx_buf_u16()
160 u16 *rx = dspi->rx; in davinci_spi_rx_buf_u16() local
161 *rx++ = (u16)data; in davinci_spi_rx_buf_u16()
162 dspi->rx = rx; in davinci_spi_rx_buf_u16()
602 dspi->rx = t->rx_buf; in davinci_spi_bufs()
Dspi-pxa2xx.c401 && (drv_data->rx < drv_data->rx_end)) { in null_reader()
403 drv_data->rx += n_bytes; in null_reader()
406 return drv_data->rx == drv_data->rx_end; in null_reader()
424 && (drv_data->rx < drv_data->rx_end)) { in u8_reader()
425 *(u8 *)(drv_data->rx) = pxa2xx_spi_read(drv_data, SSDR); in u8_reader()
426 ++drv_data->rx; in u8_reader()
429 return drv_data->rx == drv_data->rx_end; in u8_reader()
447 && (drv_data->rx < drv_data->rx_end)) { in u16_reader()
448 *(u16 *)(drv_data->rx) = pxa2xx_spi_read(drv_data, SSDR); in u16_reader()
449 drv_data->rx += 2; in u16_reader()
[all …]
Dspi-rspi.c487 static int rspi_pio_transfer(struct rspi_data *rspi, const u8 *tx, u8 *rx, in rspi_pio_transfer() argument
496 if (rx) { in rspi_pio_transfer()
500 *rx++ = ret; in rspi_pio_transfer()
516 struct sg_table *rx) in rspi_dma_transfer() argument
525 if (rx) { in rspi_dma_transfer()
527 rx->sgl, rx->nents, DMA_FROM_DEVICE, in rspi_dma_transfer()
554 if (rx) { in rspi_dma_transfer()
576 if (rx && rspi->rx_irq != other_irq) in rspi_dma_transfer()
583 if (rx) in rspi_dma_transfer()
597 if (rx) in rspi_dma_transfer()
[all …]
Dspi-bfin-sport.c90 void *rx; member
186 while (drv_data->rx < drv_data->rx_end) { in bfin_sport_spi_u8_reader()
196 while (drv_data->rx < drv_data->rx_end) { in bfin_sport_spi_u8_duplex()
226 while (drv_data->rx < drv_data->rx_end) { in bfin_sport_spi_u16_reader()
236 while (drv_data->rx < drv_data->rx_end) { in bfin_sport_spi_u16_duplex()
405 drv_data->rx = transfer->rx_buf; in bfin_sport_spi_pump_transfers()
406 drv_data->rx_end = drv_data->rx + transfer->len; in bfin_sport_spi_pump_transfers()
410 drv_data->rx = NULL; in bfin_sport_spi_pump_transfers()
440 (drv_data->rx_end - drv_data->rx)); in bfin_sport_spi_pump_transfers()
452 } else if (drv_data->rx != NULL) { in bfin_sport_spi_pump_transfers()
[all …]
Dspi-fsl-dspi.c152 void *rx; member
273 rx_word ? (*(u16 *)dspi->rx = d) : (*(u8 *)dspi->rx = d); in dspi_data_from_popr()
275 dspi->rx += rx_word + 1; in dspi_data_from_popr()
321 while ((dspi->rx < dspi->rx_end) in dspi_eoq_read()
323 if (rx_word && (dspi->rx_end - dspi->rx) == 1) in dspi_eoq_read()
361 if (rx_word && (dspi->rx_end - dspi->rx) == 1) in dspi_tcfq_read()
396 dspi->rx = transfer->rx_buf; in dspi_transfer_one_message()
397 dspi->rx_end = dspi->rx + transfer->len; in dspi_transfer_one_message()
400 if (!dspi->rx) in dspi_transfer_one_message()
/linux-4.4.14/drivers/mfd/
Dipaq-micro.c149 struct ipaq_micro_rxdev *rx = &micro->rx; in micro_process_char() local
151 switch (rx->state) { in micro_process_char()
154 rx->state = STATE_ID; /* Next byte is the id and len */ in micro_process_char()
157 rx->id = (ch & 0xf0) >> 4; in micro_process_char()
158 rx->len = (ch & 0x0f); in micro_process_char()
159 rx->index = 0; in micro_process_char()
160 rx->chksum = ch; in micro_process_char()
161 rx->state = (rx->len > 0) ? STATE_DATA : STATE_CHKSUM; in micro_process_char()
164 rx->chksum += ch; in micro_process_char()
165 rx->buf[rx->index] = ch; in micro_process_char()
[all …]
/linux-4.4.14/drivers/net/wireless/ti/wl12xx/
Ddebugfs.c35 WL12XX_DEBUGFS_FWSTATS_FILE(rx, out_of_mem, "%u");
36 WL12XX_DEBUGFS_FWSTATS_FILE(rx, hdr_overflow, "%u");
37 WL12XX_DEBUGFS_FWSTATS_FILE(rx, hw_stuck, "%u");
38 WL12XX_DEBUGFS_FWSTATS_FILE(rx, dropped, "%u");
39 WL12XX_DEBUGFS_FWSTATS_FILE(rx, fcs_err, "%u");
40 WL12XX_DEBUGFS_FWSTATS_FILE(rx, xfr_hint_trig, "%u");
41 WL12XX_DEBUGFS_FWSTATS_FILE(rx, path_reset, "%u");
42 WL12XX_DEBUGFS_FWSTATS_FILE(rx, reset_counter, "%u");
145 DEBUGFS_FWSTATS_ADD(rx, out_of_mem); in wl12xx_debugfs_add_files()
146 DEBUGFS_FWSTATS_ADD(rx, hdr_overflow); in wl12xx_debugfs_add_files()
[all …]
/linux-4.4.14/drivers/net/wireless/zd1211rw/
Dzd_usb.c665 struct zd_usb_rx *rx; in rx_urb_complete() local
688 rx = &usb->rx; in rx_urb_complete()
690 tasklet_schedule(&rx->reset_timer_tasklet); in rx_urb_complete()
692 if (length%rx->usb_packet_size > rx->usb_packet_size-4) { in rx_urb_complete()
695 ZD_ASSERT(length <= ARRAY_SIZE(rx->fragment)); in rx_urb_complete()
696 spin_lock(&rx->lock); in rx_urb_complete()
697 memcpy(rx->fragment, buffer, length); in rx_urb_complete()
698 rx->fragment_length = length; in rx_urb_complete()
699 spin_unlock(&rx->lock); in rx_urb_complete()
703 spin_lock(&rx->lock); in rx_urb_complete()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Drenesas,rsnd.txt47 - dma-names : SSI case "rx" (=playback), "tx" (=capture)
52 - dma-names : "rx" (=playback), "tx" (=capture)
126 dma-names = "rx", "tx";
131 dma-names = "rx", "tx";
136 dma-names = "rx", "tx";
141 dma-names = "rx", "tx";
146 dma-names = "rx", "tx";
151 dma-names = "rx", "tx";
156 dma-names = "rx", "tx";
161 dma-names = "rx", "tx";
[all …]
Dtdm-slot.txt9 dai-tdm-slot-rx-mask : Receive direction slot mask, optional
15 dai-tdm-slot-rx-mask = <1 0>;
20 tx and rx masks.
22 For snd_soc_of_xlate_tdm_slot_mask(), the tx and rx masks will use a 1 bit
Ddavinci-mcasp-audio.txt26 identifiers must be "rx" and "tx".
32 - rx-num-evt : FIFO levels.
36 - interrupt-names : Known interrupt names are "tx" and "rx"
50 interrupt-names = "tx", "rx";
59 rx-num-evt = <1>;
Dsun4i-codec.txt8 - dmas: DMA channels for tx and rx dma. See the DMA client binding,
10 - dma-names: should include "tx" and "rx".
26 dma-names = "rx", "tx";
Dmxs-saif.txt10 - dma-names: Must be "rx-tx".
31 dma-names = "rx-tx";
39 dma-names = "rx-tx";
Dfsl-sai.txt23 - dma-names : Two dmas have to be defined, "tx" and "rx".
39 - fsl,sai-synchronous-rx: This is a boolean property. If present, indicating
52 - If both fsl,sai-asynchronous and fsl,sai-synchronous-rx are absent, the
56 - fsl,sai-asynchronous and fsl,sai-synchronous-rx are exclusive.
68 dma-names = "tx", "rx";
Drockchip-i2s.txt15 - dmas: DMA specifiers for tx and rx dma. See the DMA client binding,
17 - dma-names: should include "tx" and "rx".
31 dma-names = "tx", "rx";
Dingenic,jz4740-i2s.txt9 - dma-names: Must be "tx" and "rx"
21 dma-names = "tx", "rx";
Dfsl,spdif.txt18 - dma-names : Two dmas have to be defined, "tx" and "rx".
24 "rxtx<0-7>" Clock source list for tx and rx clock.
43 dma-names = "rx", "tx";
/linux-4.4.14/net/nfc/nci/
Dspi.c190 struct spi_transfer tx, rx; in __nci_spi_read() local
205 memset(&rx, 0, sizeof(struct spi_transfer)); in __nci_spi_read()
206 rx.rx_buf = resp_hdr; in __nci_spi_read()
207 rx.len = 2; in __nci_spi_read()
208 rx.cs_change = 1; in __nci_spi_read()
209 rx.speed_hz = nspi->xfer_speed_hz; in __nci_spi_read()
210 spi_message_add_tail(&rx, &m); in __nci_spi_read()
228 memset(&rx, 0, sizeof(struct spi_transfer)); in __nci_spi_read()
229 rx.rx_buf = skb_put(skb, rx_len); in __nci_spi_read()
230 rx.len = rx_len; in __nci_spi_read()
[all …]
/linux-4.4.14/drivers/staging/iio/meter/
Dade7854-i2c.c116 ret = i2c_master_recv(st->i2c, st->rx, 1); in ade7854_i2c_read_reg_8()
120 *val = st->rx[0]; in ade7854_i2c_read_reg_8()
142 ret = i2c_master_recv(st->i2c, st->rx, 2); in ade7854_i2c_read_reg_16()
146 *val = (st->rx[0] << 8) | st->rx[1]; in ade7854_i2c_read_reg_16()
168 ret = i2c_master_recv(st->i2c, st->rx, 3); in ade7854_i2c_read_reg_24()
172 *val = (st->rx[0] << 16) | (st->rx[1] << 8) | st->rx[2]; in ade7854_i2c_read_reg_24()
194 ret = i2c_master_recv(st->i2c, st->rx, 3); in ade7854_i2c_read_reg_32()
198 *val = (st->rx[0] << 24) | (st->rx[1] << 16) | in ade7854_i2c_read_reg_32()
199 (st->rx[2] << 8) | st->rx[3]; in ade7854_i2c_read_reg_32()
Dade7854-spi.c137 .rx_buf = st->rx, in ade7854_spi_read_reg_8()
155 *val = st->rx[0]; in ade7854_spi_read_reg_8()
175 .rx_buf = st->rx, in ade7854_spi_read_reg_16()
192 *val = be16_to_cpup((const __be16 *)st->rx); in ade7854_spi_read_reg_16()
212 .rx_buf = st->rx, in ade7854_spi_read_reg_24()
230 *val = (st->rx[0] << 16) | (st->rx[1] << 8) | st->rx[2]; in ade7854_spi_read_reg_24()
250 .rx_buf = st->rx, in ade7854_spi_read_reg_32()
268 *val = be32_to_cpup((const __be32 *)st->rx); in ade7854_spi_read_reg_32()
Dade7758_core.c114 .rx_buf = st->rx, in ade7758_spi_read_reg_8()
130 *val = st->rx[0]; in ade7758_spi_read_reg_8()
153 .rx_buf = st->rx, in ade7758_spi_read_reg_16()
172 *val = (st->rx[0] << 8) | st->rx[1]; in ade7758_spi_read_reg_16()
195 .rx_buf = st->rx, in ade7758_spi_read_reg_24()
213 *val = (st->rx[0] << 16) | (st->rx[1] << 8) | st->rx[2]; in ade7758_spi_read_reg_24()
832 st->rx = kcalloc(ADE7758_MAX_RX, sizeof(*st->rx), GFP_KERNEL); in ade7758_probe()
833 if (!st->rx) in ade7758_probe()
879 kfree(st->rx); in ade7758_probe()
893 kfree(st->rx); in ade7758_remove()
/linux-4.4.14/drivers/scsi/aacraid/
Dnark.c46 iounmap(dev->regs.rx); in aac_nark_ioremap()
47 dev->regs.rx = NULL; in aac_nark_ioremap()
53 dev->regs.rx = ioremap((u64)pci_resource_start(dev->pdev, 0) | in aac_nark_ioremap()
57 if (dev->regs.rx == NULL) in aac_nark_ioremap()
61 iounmap(dev->regs.rx); in aac_nark_ioremap()
62 dev->regs.rx = NULL; in aac_nark_ioremap()
/linux-4.4.14/arch/arm/mach-footbridge/include/mach/
Ddebug-macro.S31 .macro senduart,rd,rx
32 str \rd, [\rx, #0x160] @ UARTDR
35 .macro busyuart,rd,rx
36 1001: ldr \rd, [\rx, #0x178] @ UARTFLG
41 .macro waituart,rd,rx
/linux-4.4.14/arch/arm/kernel/
Ddebug.S28 .macro addruart_current, rx, tmp1, tmp2
29 addruart \tmp1, \tmp2, \rx
30 mrc p15, 0, \rx, c1, c0
31 tst \rx, #1
32 moveq \rx, \tmp1
33 movne \rx, \tmp2
37 .macro addruart_current, rx, tmp1, tmp2
38 addruart \rx, \tmp1, \tmp2
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
Ddebugfs.c122 DEBUGFS_FWSTATS_FILE(rx, out_of_mem, 20, "%u");
123 DEBUGFS_FWSTATS_FILE(rx, hdr_overflow, 20, "%u");
124 DEBUGFS_FWSTATS_FILE(rx, hw_stuck, 20, "%u");
125 DEBUGFS_FWSTATS_FILE(rx, dropped, 20, "%u");
126 DEBUGFS_FWSTATS_FILE(rx, fcs_err, 20, "%u");
127 DEBUGFS_FWSTATS_FILE(rx, xfr_hint_trig, 20, "%u");
128 DEBUGFS_FWSTATS_FILE(rx, path_reset, 20, "%u");
129 DEBUGFS_FWSTATS_FILE(rx, reset_counter, 20, "%u");
262 DEBUGFS_FWSTATS_DEL(rx, out_of_mem); in wl1251_debugfs_delete_files()
263 DEBUGFS_FWSTATS_DEL(rx, hdr_overflow); in wl1251_debugfs_delete_files()
[all …]
/linux-4.4.14/drivers/staging/iio/accel/
Dsca3000_ring.c86 u8 *rx; in sca3000_read_first_n_hw_rb() local
103 num_available = st->rx[0]; in sca3000_read_first_n_hw_rb()
115 &rx, num_read); in sca3000_read_first_n_hw_rb()
120 *(((u16 *)rx) + i) = be16_to_cpup((__be16 *)rx + i); in sca3000_read_first_n_hw_rb()
122 if (copy_to_user(buf, rx, num_read)) in sca3000_read_first_n_hw_rb()
124 kfree(rx); in sca3000_read_first_n_hw_rb()
151 val = st->rx[0]; in sca3000_query_ring_int()
183 st->rx[0] | this_attr->address); in sca3000_set_ring_int()
187 st->rx[0] & ~this_attr->address); in sca3000_set_ring_int()
300 (st->rx[0] | SCA3000_RING_BUF_ENABLE)); in __sca3000_hw_ring_state_set()
[all …]
Dsca3000_core.c100 .rx_buf = st->rx, in sca3000_read_data_short()
121 return !(st->rx[0] & SCA3000_LOCKED); in sca3000_reg_lock_on()
220 return st->rx[0]; in sca3000_read_ctrl_reg()
242 st->rx[0] & SCA3000_REVID_MAJOR_MASK, in sca3000_show_rev()
243 st->rx[0] & SCA3000_REVID_MINOR_MASK); in sca3000_show_rev()
302 st->rx[0] &= 0x03; in sca3000_show_measurement_mode()
303 switch (st->rx[0]) { in sca3000_show_measurement_mode()
361 st->rx[0] &= ~mask; in sca3000_store_measurement_mode()
362 st->rx[0] |= (val & mask); in sca3000_store_measurement_mode()
363 ret = sca3000_write_reg(st, SCA3000_REG_ADDR_MODE, st->rx[0]); in sca3000_store_measurement_mode()
[all …]
/linux-4.4.14/drivers/tty/serial/
Dmax3100.c196 static int max3100_sr(struct max3100_port *s, u16 tx, u16 *rx) in max3100_sr() argument
215 *rx = be16_to_cpu(erx); in max3100_sr()
216 s->tx_empty = (*rx & MAX3100_T) > 0; in max3100_sr()
217 dev_dbg(&s->spi->dev, "%04x - %04x\n", tx, *rx); in max3100_sr()
221 static int max3100_handlerx(struct max3100_port *s, u16 rx) in max3100_handlerx() argument
226 if (rx & MAX3100_R && s->rx_enabled) { in max3100_handlerx()
228 ch = rx & (s->parity & MAX3100_7BIT ? 0x7f : 0xff); in max3100_handlerx()
229 if (rx & MAX3100_RAFE) { in max3100_handlerx()
235 if (max3100_check_parity(s, rx)) { in max3100_handlerx()
236 s->port.icount.rx++; in max3100_handlerx()
[all …]
/linux-4.4.14/drivers/net/
Dxen-netfront.c136 struct xen_netif_rx_front_ring rx; member
163 struct xen_netif_rx_response rx; member
282 RING_IDX req_prod = queue->rx.req_prod_pvt; in xennet_alloc_rx_buffers()
288 for (req_prod = queue->rx.req_prod_pvt; in xennet_alloc_rx_buffers()
289 req_prod - queue->rx.rsp_cons < NET_RX_RING_SIZE; in xennet_alloc_rx_buffers()
312 req = RING_GET_REQUEST(&queue->rx, req_prod); in xennet_alloc_rx_buffers()
321 queue->rx.req_prod_pvt = req_prod; in xennet_alloc_rx_buffers()
324 if (req_prod - queue->rx.rsp_cons < NET_RX_SLOTS_MIN) { in xennet_alloc_rx_buffers()
331 RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&queue->rx, notify); in xennet_alloc_rx_buffers()
350 queue->rx.sring->rsp_event = queue->rx.rsp_cons + 1; in xennet_open()
[all …]
/linux-4.4.14/drivers/staging/nvec/
Dnvec.c494 if (nvec->rx->pos != nvec_msg_size(nvec->rx)) { in nvec_rx_completed()
496 (uint) nvec_msg_size(nvec->rx), in nvec_rx_completed()
497 (uint) nvec->rx->pos); in nvec_rx_completed()
499 nvec_msg_free(nvec, nvec->rx); in nvec_rx_completed()
503 if (nvec->rx->data[0] == NVEC_BAT) in nvec_rx_completed()
513 list_add_tail(&nvec->rx->node, &nvec->rx_data); in nvec_rx_completed()
519 if (!nvec_msg_is_event(nvec->rx)) in nvec_rx_completed()
618 nvec->rx = nvec_msg_alloc(nvec, NVEC_MSG_RX); in nvec_interrupt()
620 if (unlikely(nvec->rx == NULL)) { in nvec_interrupt()
624 nvec->rx->data[0] = received; in nvec_interrupt()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/serial/
Dmrvl,pxa-ssp.txt15 - dmas: Two dma phandles, one for rx, one for tx
16 - dma-names: Must be "rx", "tx"
29 dma-names = "rx", "tx";
40 dma-names = "rx", "tx";
51 dma-names = "rx", "tx";
62 dma-names = "rx", "tx";
Datmel-usart.txt15 - atmel,use-dma-rx: use of PDC or DMA for receiving data
24 - dma-names: "rx" for RX channel, "tx" for TX channel.
40 atmel,use-dma-rx;
57 atmel,use-dma-rx;
61 dma-names = "tx", "rx";
/linux-4.4.14/arch/arm/boot/dts/
Dk2l-netcp.dtsi188 rx-channel = "netrx0";
189 rx-pool = <1024 12>;
191 rx-queue-depth = <128 128 0 0>;
192 rx-buffer-size = <1518 4096 0 0>;
193 rx-queue = <528>;
200 rx-channel = "netrx1";
201 rx-pool = <1024 12>;
203 rx-queue-depth = <128 128 0 0>;
204 rx-buffer-size = <1518 4096 0 0>;
205 rx-queue = <529>;
Dk2e-netcp.dtsi205 rx-channel = "netrx0";
206 rx-pool = <1024 12>;
208 rx-queue-depth = <128 128 0 0>;
209 rx-buffer-size = <1518 4096 0 0>;
210 rx-queue = <528>;
217 rx-channel = "netrx1";
218 rx-pool = <1024 12>;
220 rx-queue-depth = <128 128 0 0>;
221 rx-buffer-size = <1518 4096 0 0>;
222 rx-queue = <529>;
Dk2hk-netcp.dtsi208 rx-channel = "netrx0";
209 rx-pool = <1024 12>;
211 rx-queue-depth = <128 128 0 0>;
212 rx-buffer-size = <1518 4096 0 0>;
213 rx-queue = <8704>;
220 rx-channel = "netrx1";
221 rx-pool = <1024 12>;
223 rx-queue-depth = <128 128 0 0>;
224 rx-buffer-size = <1518 4096 0 0>;
225 rx-queue = <8705>;
Domap2430.dtsi167 interrupt-names = "common", "tx", "rx", "rx_overflow";
172 dma-names = "tx", "rx";
183 interrupt-names = "common", "tx", "rx";
188 dma-names = "tx", "rx";
199 interrupt-names = "common", "tx", "rx";
204 dma-names = "tx", "rx";
215 interrupt-names = "common", "tx", "rx";
220 dma-names = "tx", "rx";
231 interrupt-names = "common", "tx", "rx";
236 dma-names = "tx", "rx";
[all …]
Domap3.dtsi162 dma-names = "tx", "rx";
289 dma-names = "tx", "rx";
299 dma-names = "tx", "rx";
309 dma-names = "tx", "rx";
319 dma-names = "tx", "rx";
330 dma-names = "tx", "rx";
341 dma-names = "tx", "rx";
357 ti,mbox-rx = <1 0 0>;
437 dma-names = "tx", "rx";
447 dma-names = "tx", "rx";
[all …]
Dr8a7791.dtsi478 dma-names = "tx", "rx";
491 dma-names = "tx", "rx";
504 dma-names = "tx", "rx";
521 dma-names = "tx", "rx";
534 dma-names = "tx", "rx";
545 dma-names = "tx", "rx";
556 dma-names = "tx", "rx";
568 dma-names = "tx", "rx";
580 dma-names = "tx", "rx";
592 dma-names = "tx", "rx";
[all …]
Domap2420.dtsi141 interrupt-names = "tx", "rx";
145 dma-names = "tx", "rx";
155 interrupt-names = "tx", "rx";
159 dma-names = "tx", "rx";
169 dma-names = "tx", "rx";
183 ti,mbox-rx = <1 0 0>;
187 ti,mbox-rx = <3 1 3>;
Dr8a7790.dtsi464 dma-names = "tx", "rx";
477 dma-names = "tx", "rx";
490 dma-names = "tx", "rx";
503 dma-names = "tx", "rx";
514 dma-names = "tx", "rx";
527 dma-names = "tx", "rx";
545 dma-names = "tx", "rx";
556 dma-names = "tx", "rx";
567 dma-names = "tx", "rx";
578 dma-names = "tx", "rx";
[all …]
Dimx23.dtsi88 dma-names = "rx-tx";
97 dma-names = "rx-tx";
365 "saif0", "empty", "auart0-rx", "auart0-tx",
366 "auart1-rx", "auart1-tx", "saif1", "empty",
411 dma-names = "rx-tx";
437 dma-names = "rx-tx";
449 dma-names = "rx-tx";
463 dma-names = "rx";
491 dma-names = "rx-tx";
523 dma-names = "rx", "tx";
[all …]
Dimx28.dtsi75 dma-names = "rx";
112 dma-names = "rx-tx";
123 dma-names = "rx-tx";
134 dma-names = "rx-tx";
145 dma-names = "rx-tx";
156 dma-names = "rx-tx";
916 interrupt-names = "auart4-rx", "auart4-tx", "spdif-tx", "empty",
918 "auart0-rx", "auart0-tx", "auart1-rx", "auart1-tx",
919 "auart2-rx", "auart2-tx", "auart3-rx", "auart3-tx";
957 dma-names = "rx";
[all …]
Dlpc18xx.dtsi264 dma-names = "tx", "rx", "tx", "rx";
278 dma-names = "tx", "rx";
291 dma-names = "rx", "tx";
351 dma-names = "tx", "rx";
367 dma-names = "tx", "rx", "rx", "tx";
404 dma-names = "rx", "tx", "tx", "rx",
405 "tx", "rx", "rx", "tx";
Domap2.dtsi64 dma-names = "tx", "rx";
102 dma-names = "tx", "rx";
113 dma-names = "tx", "rx";
149 dma-names = "rx";
158 dma-names = "tx", "rx";
168 dma-names = "tx", "rx";
178 dma-names = "tx", "rx";
Ddra72x.dtsi52 ti,mbox-rx = <4 2 2>;
57 ti,mbox-rx = <1 2 2>;
65 ti,mbox-rx = <4 2 2>;
Dtegra20.dtsi279 dma-names = "rx", "tx";
291 dma-names = "rx", "tx";
303 dma-names = "rx", "tx";
323 dma-names = "rx", "tx";
336 dma-names = "rx", "tx";
349 dma-names = "rx", "tx";
362 dma-names = "rx", "tx";
375 dma-names = "rx", "tx";
408 dma-names = "rx", "tx";
422 dma-names = "rx", "tx";
[all …]
Ddra74x.dtsi125 ti,mbox-rx = <4 2 2>;
130 ti,mbox-rx = <1 2 2>;
138 ti,mbox-rx = <4 2 2>;
143 ti,mbox-rx = <1 2 2>;
Dtegra114.dtsi271 dma-names = "rx", "tx";
284 dma-names = "rx", "tx";
297 dma-names = "rx", "tx";
310 dma-names = "rx", "tx";
335 dma-names = "rx", "tx";
350 dma-names = "rx", "tx";
365 dma-names = "rx", "tx";
380 dma-names = "rx", "tx";
395 dma-names = "rx", "tx";
410 dma-names = "rx", "tx";
[all …]
Dr8a7794.dtsi292 dma-names = "tx", "rx";
304 dma-names = "tx", "rx";
316 dma-names = "tx", "rx";
328 dma-names = "tx", "rx";
340 dma-names = "tx", "rx";
352 dma-names = "tx", "rx";
364 dma-names = "tx", "rx";
376 dma-names = "tx", "rx";
388 dma-names = "tx", "rx";
400 dma-names = "tx", "rx";
[all …]
Dtegra30.dtsi386 dma-names = "rx", "tx";
399 dma-names = "rx", "tx";
412 dma-names = "rx", "tx";
425 dma-names = "rx", "tx";
438 dma-names = "rx", "tx";
471 dma-names = "rx", "tx";
487 dma-names = "rx", "tx";
503 dma-names = "rx", "tx";
519 dma-names = "rx", "tx";
535 dma-names = "rx", "tx";
[all …]
/linux-4.4.14/fs/jffs2/
Dxattr.c137 struct jffs2_raw_xattr rx; in do_verify_xattr_datum() local
148 rc = jffs2_flash_read(c, offset, sizeof(rx), &readlen, (char *)&rx); in do_verify_xattr_datum()
149 if (rc || readlen != sizeof(rx)) { in do_verify_xattr_datum()
151 rc, sizeof(rx), readlen, offset); in do_verify_xattr_datum()
154 crc = crc32(0, &rx, sizeof(rx) - 4); in do_verify_xattr_datum()
155 if (crc != je32_to_cpu(rx.node_crc)) { in do_verify_xattr_datum()
157 offset, je32_to_cpu(rx.hdr_crc), crc); in do_verify_xattr_datum()
161 totlen = PAD(sizeof(rx) + rx.name_len + 1 + je16_to_cpu(rx.value_len)); in do_verify_xattr_datum()
162 if (je16_to_cpu(rx.magic) != JFFS2_MAGIC_BITMASK in do_verify_xattr_datum()
163 || je16_to_cpu(rx.nodetype) != JFFS2_NODETYPE_XATTR in do_verify_xattr_datum()
[all …]
Dscan.c328 struct jffs2_raw_xattr *rx, uint32_t ofs, in jffs2_scan_xattr_node() argument
335 crc = crc32(0, rx, sizeof(struct jffs2_raw_xattr) - 4); in jffs2_scan_xattr_node()
336 if (crc != je32_to_cpu(rx->node_crc)) { in jffs2_scan_xattr_node()
338 ofs, je32_to_cpu(rx->node_crc), crc); in jffs2_scan_xattr_node()
339 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen)))) in jffs2_scan_xattr_node()
344 xid = je32_to_cpu(rx->xid); in jffs2_scan_xattr_node()
345 version = je32_to_cpu(rx->version); in jffs2_scan_xattr_node()
348 + rx->name_len + 1 + je16_to_cpu(rx->value_len)); in jffs2_scan_xattr_node()
349 if (totlen != je32_to_cpu(rx->totlen)) { in jffs2_scan_xattr_node()
351 ofs, je32_to_cpu(rx->totlen), totlen); in jffs2_scan_xattr_node()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/dma/
Dfsl-mxs-dma.txt41 interrupt-names = "auart4-rx", "auart4-tx", "spdif-tx", "empty",
43 "auart0-rx", "auart0-tx", "auart1-rx", "auart1-tx",
44 "auart2-rx", "auart2-tx", "auart3-rx", "auart3-tx";
59 dma-names = "rx", "tx";
Ddma.txt92 dma-names = "rx", "tx";
101 dma-names = "rx-tx", "rx-tx", "rx-tx";
109 dma-names = "rx", "tx", "error", "error";
/linux-4.4.14/drivers/net/ethernet/pasemi/
Dpasemi_mac.h93 struct pasemi_mac_rxring *rx; member
112 #define RX_DESC(rx, num) ((rx)->chan.ring_virt[(num) & (RX_RING_SIZE-1)]) argument
113 #define RX_DESC_INFO(rx, num) ((rx)->ring_info[(num) & (RX_RING_SIZE-1)]) argument
114 #define RX_BUFF(rx, num) ((rx)->buffers[(num) & (RX_RING_SIZE-1)]) argument
Dpasemi_mac.c122 return mac->rx; in rx_ring()
480 mac->rx = ring; in pasemi_mac_setup_rx_resources()
591 struct pasemi_mac_rxring *rx = rx_ring(mac); in pasemi_mac_free_rx_buffers() local
596 info = &RX_DESC_INFO(rx, i); in pasemi_mac_free_rx_buffers()
609 RX_BUFF(rx, i) = 0; in pasemi_mac_free_rx_buffers()
621 mac->rx = NULL; in pasemi_mac_free_rx_resources()
628 struct pasemi_mac_rxring *rx = rx_ring(mac); in pasemi_mac_replenish_rx_ring() local
636 struct pasemi_mac_buffer *info = &RX_DESC_INFO(rx, fill); in pasemi_mac_replenish_rx_ring()
637 u64 *buff = &RX_BUFF(rx, fill); in pasemi_mac_replenish_rx_ring()
675 struct pasemi_mac_rxring *rx = rx_ring(mac); in pasemi_mac_restart_rx_intr() local
[all …]
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2x00config.c130 if (config.rx == ANTENNA_SW_DIVERSITY) { in rt2x00lib_config_antenna()
133 if (def->rx == ANTENNA_SW_DIVERSITY) in rt2x00lib_config_antenna()
134 config.rx = ANTENNA_B; in rt2x00lib_config_antenna()
136 config.rx = def->rx; in rt2x00lib_config_antenna()
138 } else if (config.rx == ANTENNA_SW_DIVERSITY) in rt2x00lib_config_antenna()
139 config.rx = active->rx; in rt2x00lib_config_antenna()
158 rt2x00queue_stop_queue(rt2x00dev->rx); in rt2x00lib_config_antenna()
172 rt2x00queue_start_queue(rt2x00dev->rx); in rt2x00lib_config_antenna()
Drt2x00mac.c321 rt2x00queue_stop_queue(rt2x00dev->rx); in rt2x00mac_config()
339 rt2x00queue_start_queue(rt2x00dev->rx); in rt2x00mac_config()
780 if (rx_ant == 3 && def->rx == ANTENNA_SW_DIVERSITY) { in rt2x00mac_set_antenna()
786 setup.rx = rx_ant; in rt2x00mac_set_antenna()
812 *rx_ant = active->rx; in rt2x00mac_get_antenna()
819 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max) in rt2x00mac_get_ringparam() argument
829 *rx = rt2x00dev->rx->length; in rt2x00mac_get_ringparam()
830 *rx_max = rt2x00dev->rx->limit; in rt2x00mac_get_ringparam()
/linux-4.4.14/sound/firewire/dice/
Ddice-proc.c108 } rx; in dice_proc_read() member
199 quadlets = min_t(u32, tx_rx_header.size, sizeof(buf.rx) / 4); in dice_proc_read()
201 if (dice_proc_read_mem(dice, &buf.rx, sections[4] + 2 + in dice_proc_read()
206 snd_iprintf(buffer, " iso channel: %d\n", (int)buf.rx.iso); in dice_proc_read()
207 snd_iprintf(buffer, " sequence start: %u\n", buf.rx.seq_start); in dice_proc_read()
209 buf.rx.number_audio); in dice_proc_read()
210 snd_iprintf(buffer, " midi ports: %u\n", buf.rx.number_midi); in dice_proc_read()
212 dice_proc_fixup_string(buf.rx.names, RX_NAMES_SIZE); in dice_proc_read()
213 snd_iprintf(buffer, " names: %s\n", buf.rx.names); in dice_proc_read()
217 buf.rx.ac3_caps); in dice_proc_read()
[all …]
/linux-4.4.14/Documentation/DocBook/
Dz8530book.xml.db12 API-z8530-null-rx
23 API-z8530-rx
26 API-z8530-dma-rx
29 API-z8530-rx-clear
34 API-z8530-rx-done
D80211.xml.db50 API-cfg80211-rx-mlme-mgmt
52 API-cfg80211-rx-assoc-resp
62 API-cfg80211-rx-mgmt
110 API-struct-ieee80211-rx-status
111 API-enum-mac80211-rx-flags
118 API-ieee80211-rx
119 API-ieee80211-rx-ni
120 API-ieee80211-rx-irqsafe
138 API-ieee80211-get-rx-led-name
181 API-struct-tid-ampdu-rx
/linux-4.4.14/Documentation/devicetree/bindings/net/
Dkeystone-netcp.txt118 - rx-channel: the navigator packet dma channel name for rx.
119 - rx-queue: the navigator queue number associated with rx dma channel.
120 - rx-pool: specifies the number of descriptors to be used & the region-id
121 for creating the rx descriptor pool.
124 - rx-queue-depth: number of descriptors in each of the free descriptor
127 - rx-buffer-size: the buffer size for each of the Rx flow FDQ.
197 rx-channel = <22>;
198 rx-pool = <1024 12>;
200 rx-queue-depth = <128 128 0 0>;
201 rx-buffer-size = <1518 4096 0 0>;
[all …]
/linux-4.4.14/drivers/staging/iio/resolver/
Dad2s1200.c41 u8 rx[2] ____cacheline_aligned; member
60 ret = spi_read(st->sdev, st->rx, 2); in ad2s1200_read_raw()
68 *val = (((u16)(st->rx[0])) << 4) | ((st->rx[1] & 0xF0) >> 4); in ad2s1200_read_raw()
71 vel = (((s16)(st->rx[0])) << 4) | ((st->rx[1] & 0xF0) >> 4); in ad2s1200_read_raw()
Dad2s90.c25 u8 rx[2] ____cacheline_aligned; member
38 ret = spi_read(st->sdev, st->rx, 2); in ad2s90_read_raw()
41 *val = (((u16)(st->rx[0])) << 4) | ((st->rx[1] & 0xF0) >> 4); in ad2s90_read_raw()
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-desc.c344 xgbe_set_buffer_data(&rdata->rx.hdr, &ring->rx_hdr_pa, in xgbe_map_rx_buffer()
348 xgbe_set_buffer_data(&rdata->rx.buf, &ring->rx_buf_pa, in xgbe_map_rx_buffer()
458 if (rdata->rx.hdr.pa.pages) in xgbe_unmap_rdata()
459 put_page(rdata->rx.hdr.pa.pages); in xgbe_unmap_rdata()
461 if (rdata->rx.hdr.pa_unmap.pages) { in xgbe_unmap_rdata()
462 dma_unmap_page(pdata->dev, rdata->rx.hdr.pa_unmap.pages_dma, in xgbe_unmap_rdata()
463 rdata->rx.hdr.pa_unmap.pages_len, in xgbe_unmap_rdata()
465 put_page(rdata->rx.hdr.pa_unmap.pages); in xgbe_unmap_rdata()
468 if (rdata->rx.buf.pa.pages) in xgbe_unmap_rdata()
469 put_page(rdata->rx.buf.pa.pages); in xgbe_unmap_rdata()
[all …]
/linux-4.4.14/drivers/media/pci/cobalt/
Dcobalt-v4l2.c266 int rx = s->video_channel; in cobalt_dma_start_streaming() local
268 COBALT_CVI_EVCNT(cobalt, rx); in cobalt_dma_start_streaming()
300 int rx = s->video_channel; in cobalt_start_streaming() local
301 struct m00389_cvi_regmap __iomem *cvi = COBALT_CVI(cobalt, rx); in cobalt_start_streaming()
302 struct m00460_evcnt_regmap __iomem *evcnt = COBALT_CVI_EVCNT(cobalt, rx); in cobalt_start_streaming()
317 fw = COBALT_CVI_FREEWHEEL(cobalt, rx); in cobalt_start_streaming()
318 vmr = COBALT_CVI_VMR(cobalt, rx); in cobalt_start_streaming()
319 clkloss = COBALT_CVI_CLK_LOSS(cobalt, rx); in cobalt_start_streaming()
368 int rx = s->video_channel; in cobalt_dma_stop_streaming() local
370 COBALT_CVI_EVCNT(cobalt, rx); in cobalt_dma_stop_streaming()
[all …]
Dcobalt-irq.c30 int rx = s->video_channel; in cobalt_dma_stream_queue_handler() local
32 COBALT_CVI_FREEWHEEL(s->cobalt, rx); in cobalt_dma_stream_queue_handler()
34 COBALT_CVI_VMR(s->cobalt, rx); in cobalt_dma_stream_queue_handler()
36 COBALT_CVI(s->cobalt, rx); in cobalt_dma_stream_queue_handler()
38 COBALT_CVI_CLK_LOSS(s->cobalt, rx); in cobalt_dma_stream_queue_handler()
/linux-4.4.14/arch/powerpc/include/asm/
Dmmu-hash64.h458 #define ASM_VSID_SCRAMBLE(rt, rx, size) \ argument
459 lis rx,VSID_MULTIPLIER_##size@h; \
460 ori rx,rx,VSID_MULTIPLIER_##size@l; \
461 mulld rt,rt,rx; /* rt = rt * MULTIPLIER */ \
463 srdi rx,rt,VSID_BITS_##size; \
465 add rt,rt,rx; /* add high and low bits */ \
473 addi rx,rt,1; \
474 srdi rx,rx,VSID_BITS_##size; /* extract 2^VSID_BITS bit */ \
475 add rt,rt,rx
/linux-4.4.14/Documentation/spi/
Dspidev_test.c103 static void transfer(int fd, uint8_t const *tx, uint8_t const *rx, size_t len) in transfer() argument
109 .rx_buf = (unsigned long)rx, in transfer()
137 hex_dump(rx, len, 32, "RX"); in transfer()
257 uint8_t *rx; in main() local
306 rx = malloc(size); in main()
308 transfer(fd, tx, rx, size); in main()
309 free(rx); in main()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c56 int rx = DCB_RX_CONFIG; in ixgbe_copy_dcb_cfg() local
95 if (dst->path[rx].prio_type != src->path[rx].prio_type) { in ixgbe_copy_dcb_cfg()
96 dst->path[rx].prio_type = src->path[rx].prio_type; in ixgbe_copy_dcb_cfg()
100 if (dst->path[rx].bwg_id != src->path[rx].bwg_id) { in ixgbe_copy_dcb_cfg()
101 dst->path[rx].bwg_id = src->path[rx].bwg_id; in ixgbe_copy_dcb_cfg()
105 if (dst->path[rx].bwg_percent != src->path[rx].bwg_percent) { in ixgbe_copy_dcb_cfg()
106 dst->path[rx].bwg_percent = src->path[rx].bwg_percent; in ixgbe_copy_dcb_cfg()
110 if (dst->path[rx].up_to_tc_bitmap != in ixgbe_copy_dcb_cfg()
111 src->path[rx].up_to_tc_bitmap) { in ixgbe_copy_dcb_cfg()
112 dst->path[rx].up_to_tc_bitmap = in ixgbe_copy_dcb_cfg()
[all …]
/linux-4.4.14/drivers/iio/gyro/
Dadxrs450.c78 __be32 rx; member
103 .rx_buf = &st->rx, in adxrs450_spi_read_reg_16()
105 .len = sizeof(st->rx), in adxrs450_spi_read_reg_16()
123 *val = (be32_to_cpu(st->rx) >> 5) & 0xFFFF; in adxrs450_spi_read_reg_16()
177 .rx_buf = &st->rx, in adxrs450_spi_sensor_data()
179 .len = sizeof(st->rx), in adxrs450_spi_sensor_data()
192 *val = (be32_to_cpu(st->rx) >> 10) & 0xFFFF; in adxrs450_spi_sensor_data()
212 .rx_buf = &st->rx, in adxrs450_spi_initial()
228 *val = be32_to_cpu(st->rx); in adxrs450_spi_initial()
/linux-4.4.14/drivers/net/ethernet/intel/
De100.c444 struct rx { struct
445 struct rx *next, *prev; argument
572 struct rx *rxs ____cacheline_aligned;
573 struct rx *rx_to_use;
574 struct rx *rx_to_clean;
1934 static inline void e100_start_receiver(struct nic *nic, struct rx *rx) in e100_start_receiver() argument
1940 if (!rx) rx = nic->rxs; in e100_start_receiver()
1943 if (rx->skb) { in e100_start_receiver()
1944 e100_exec_cmd(nic, ruc_start, rx->dma_addr); in e100_start_receiver()
1950 static int e100_rx_alloc_skb(struct nic *nic, struct rx *rx) in e100_rx_alloc_skb() argument
[all …]
/linux-4.4.14/drivers/staging/most/aim-network/
Dnetworking.c72 struct net_dev_channel rx; member
192 BUG_ON(!nd->tx.linked || !nd->rx.linked); in most_nd_open()
194 if (most_start_channel(nd->iface, nd->rx.ch_id, &aim)) { in most_nd_open()
201 most_stop_channel(nd->iface, nd->rx.ch_id, &aim); in most_nd_open()
227 most_stop_channel(nd->iface, nd->rx.ch_id, &aim); in most_nd_stop()
340 ch = ccfg->direction == MOST_CH_TX ? &nd->tx : &nd->rx; in aim_probe_channel()
346 if (nd->tx.linked || nd->rx.linked) { in aim_probe_channel()
385 if (nd->rx.linked && channel_idx == nd->rx.ch_id) in aim_disconnect_channel()
386 ch = &nd->rx; in aim_disconnect_channel()
400 if (!nd->rx.linked && !nd->tx.linked) { in aim_disconnect_channel()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/spi/
Dspi-rockchip.txt24 - dmas: DMA specifiers for tx and rx dma. See the DMA client binding,
26 - dma-names: DMA request names should include "tx" and "rx" if present.
27 - rx-sample-delay-ns: nanoseconds to delay after the SCLK edge before sampling
38 dma-names = "tx", "rx";
39 rx-sample-delay-ns = <10>;
Dspi_pl022.txt22 least one channel named "tx" for transmit and named "rx" for
34 - pl022,rx-level-trig : Rx FIFO watermark level
51 dma-names = "rx", "tx";
63 pl022,rx-level-trig = <0>;
Dsh-msiof.txt32 - dma-names : Must contain a list of two DMA names, "tx" and "rx".
53 - renesas,rx-fifo-size : Overrides the default rx fifo size given in words
67 dma-names = "tx", "rx";
Dspi-rspi.txt25 - "rx" for SPRI,
38 - dma-names : Must contain a list of two DMA names, "tx" and "rx".
51 interrupt-names = "error", "rx", "tx";
68 dma-names = "tx", "rx";
Dfsl-imx-cspi.txt20 - dmas: DMA specifiers for tx and rx dma. See the DMA client binding,
22 - dma-names: DMA request names should include "tx" and "rx" if present.
36 dma-names = "rx", "tx";
/linux-4.4.14/Documentation/devicetree/bindings/media/
Dst-rc.txt10 - rx-mode: can be "infrared" or "uhf". This property specifies the L1
11 protocol used for receiving remote control signals. rx-mode should
12 be present iff the rx pins are wired up.
28 rx-mode = "infrared";
/linux-4.4.14/drivers/i2c/busses/
Di2c-dln2.c117 } __packed *rx = dln2->buf; in dln2_i2c_read() local
118 unsigned rx_len = sizeof(*rx); in dln2_i2c_read()
120 BUILD_BUG_ON(sizeof(*rx) > DLN2_I2C_BUF_SIZE); in dln2_i2c_read()
129 rx, &rx_len); in dln2_i2c_read()
132 if (rx_len < sizeof(rx->buf_len) + data_len) in dln2_i2c_read()
134 if (le16_to_cpu(rx->buf_len) != data_len) in dln2_i2c_read()
137 memcpy(data, rx->buf, data_len); in dln2_i2c_read()
/linux-4.4.14/net/dccp/
Dfeat.c41 static int dccp_hdlr_ccid(struct sock *sk, u64 ccid, bool rx) in dccp_hdlr_ccid() argument
44 struct ccid *new_ccid = ccid_new(ccid, sk, rx); in dccp_hdlr_ccid()
49 if (rx) { in dccp_hdlr_ccid()
59 static int dccp_hdlr_seq_win(struct sock *sk, u64 seq_win, bool rx) in dccp_hdlr_seq_win() argument
63 if (rx) { in dccp_hdlr_seq_win()
75 static int dccp_hdlr_ack_ratio(struct sock *sk, u64 ratio, bool rx) in dccp_hdlr_ack_ratio() argument
77 if (rx) in dccp_hdlr_ack_ratio()
84 static int dccp_hdlr_ackvec(struct sock *sk, u64 enable, bool rx) in dccp_hdlr_ackvec() argument
88 if (rx) { in dccp_hdlr_ackvec()
101 static int dccp_hdlr_ndp(struct sock *sk, u64 enable, bool rx) in dccp_hdlr_ndp() argument
[all …]
Dccid.c143 struct ccid *ccid_new(const u8 id, struct sock *sk, bool rx) in ccid_new() argument
151 ccid = kmem_cache_alloc(rx ? ccid_ops->ccid_hc_rx_slab : in ccid_new()
156 if (rx) { in ccid_new()
170 kmem_cache_free(rx ? ccid_ops->ccid_hc_rx_slab : in ccid_new()
/linux-4.4.14/drivers/net/wireless/ath/
Dhw.c144 u32 cycles, busy, rx, tx; in ath_hw_cycle_counters_update() local
153 rx = REG_READ(ah, AR_RFCNT); in ath_hw_cycle_counters_update()
168 common->cc_ani.rx_frame += rx; in ath_hw_cycle_counters_update()
173 common->cc_survey.rx_frame += rx; in ath_hw_cycle_counters_update()
/linux-4.4.14/drivers/soc/ti/
Dknav_dma.c166 if (cfg->u.rx.einfo_present) in chan_start()
168 if (cfg->u.rx.psinfo_present) in chan_start()
170 if (cfg->u.rx.err_mode == DMA_RETRY) in chan_start()
172 v |= (cfg->u.rx.desc_type & DESC_TYPE_MASK) << DESC_TYPE_SHIFT; in chan_start()
173 if (cfg->u.rx.psinfo_at_sop) in chan_start()
175 v |= (cfg->u.rx.sop_offset & CHAN_SOP_OFF_MASK) in chan_start()
177 v |= cfg->u.rx.dst_q & CHAN_QNUM_MASK; in chan_start()
183 v = cfg->u.rx.fdq[0] << 16; in chan_start()
184 v |= cfg->u.rx.fdq[1] & CHAN_QNUM_MASK; in chan_start()
187 v = cfg->u.rx.fdq[2] << 16; in chan_start()
[all …]
/linux-4.4.14/drivers/atm/
Dlanai.c238 } rx; member
700 if (lvcc->rx.atmvcc->qos.aal == ATM_AAL5) { in host_vcc_start_rx()
701 dma_addr_t dmaaddr = lvcc->rx.buf.dmaaddr; in host_vcc_start_rx()
709 RXADDR1_SET_SIZE(lanai_buf_size_cardorder(&lvcc->rx.buf))| in host_vcc_start_rx()
1371 int m = ((const unsigned char *) lvcc->rx.buf.ptr) + n - in vcc_rx_memcpy()
1372 ((const unsigned char *) (lvcc->rx.buf.end)); in vcc_rx_memcpy()
1375 memcpy(dest, lvcc->rx.buf.ptr, n - m); in vcc_rx_memcpy()
1376 memcpy(dest + n - m, lvcc->rx.buf.start, m); in vcc_rx_memcpy()
1387 u32 *end = &lvcc->rx.buf.start[endptr * 4]; in vcc_rx_aal5()
1388 int n = ((unsigned long) end) - ((unsigned long) lvcc->rx.buf.ptr); in vcc_rx_aal5()
[all …]
Dambassador.c471 static void rx_complete (amb_dev * dev, rx_out * rx) { in rx_complete() argument
472 struct sk_buff * skb = bus_to_virt (rx->handle); in rx_complete()
473 u16 vc = be16_to_cpu (rx->vc); in rx_complete()
475 u16 status = be16_to_cpu (rx->status); in rx_complete()
476 u16 rx_len = be16_to_cpu (rx->length); in rx_complete()
478 PRINTD (DBG_FLOW|DBG_RX, "rx_complete %p %p (len=%hu)", dev, rx, rx_len); in rx_complete()
483 dev->stats.rx.ok++; in rx_complete()
498 atomic_inc(&atm_vcc->stats->rx); in rx_complete()
522 dev->stats.rx.error++; in rx_complete()
524 dev->stats.rx.badcrc++; in rx_complete()
[all …]
/linux-4.4.14/drivers/misc/echo/
Decho.c347 int16_t oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx) in oslec_update() argument
361 ec->rx = rx; in oslec_update()
363 rx >>= 1; in oslec_update()
381 tmp = rx << 15; in oslec_update()
405 rx = tmp1; in oslec_update()
431 ec->lrxacc += abs(rx) - ec->lrx; in oslec_update()
438 ec->clean = rx - echo_value; in oslec_update()
445 clean_bg = rx - echo_value; in oslec_update()
609 ec->clean_nlp = rx; in oslec_update()
/linux-4.4.14/arch/powerpc/boot/dts/
Deiger.dts125 num-rx-chans = <32>;
314 mal-rx-channel = <0>;
317 rx-fifo-size = <4096>;
319 rx-fifo-size-gige = <16384>;
344 mal-rx-channel = <8>;
347 rx-fifo-size = <4096>;
349 rx-fifo-size-gige = <16384>;
375 mal-rx-channel = <16>;
378 rx-fifo-size = <4096>;
380 rx-fifo-size-gige = <16384>;
[all …]
Dmpc5121.dtsi188 dma-names = "rx-tx";
339 dma-names = "rx-tx";
357 fsl,rx-fifo-size = <16>;
369 fsl,rx-fifo-size = <16>;
381 fsl,rx-fifo-size = <16>;
393 fsl,rx-fifo-size = <16>;
405 fsl,rx-fifo-size = <16>;
417 fsl,rx-fifo-size = <16>;
429 fsl,rx-fifo-size = <16>;
441 fsl,rx-fifo-size = <16>;
[all …]
Darches.dts161 num-rx-chans = <24>;
280 mal-rx-channel = <0>;
283 rx-fifo-size = <4096>;
285 rx-fifo-size-gige = <16384>;
309 mal-rx-channel = <8>;
312 rx-fifo-size = <4096>;
314 rx-fifo-size-gige = <16384>;
339 mal-rx-channel = <16>;
342 rx-fifo-size = <4096>;
344 rx-fifo-size-gige = <16384>;
Dtaishan.dts147 num-rx-chans = <4>;
294 mal-rx-channel = <0>;
297 rx-fifo-size = <4096>;
314 mal-rx-channel = <1>;
317 rx-fifo-size = <4096>;
334 mal-rx-channel = <2>;
337 rx-fifo-size = <4096>;
358 mal-rx-channel = <3>;
361 rx-fifo-size = <4096>;
/linux-4.4.14/net/bluetooth/
Decc.c694 u64 rx[2][NUM_ECC_DIGITS]; in ecc_point_mult() local
699 vli_set(rx[1], point->x); in ecc_point_mult()
702 xycz_initial_double(rx[1], ry[1], rx[0], ry[0], initial_z); in ecc_point_mult()
706 xycz_add_c(rx[1 - nb], ry[1 - nb], rx[nb], ry[nb]); in ecc_point_mult()
707 xycz_add(rx[nb], ry[nb], rx[1 - nb], ry[1 - nb]); in ecc_point_mult()
711 xycz_add_c(rx[1 - nb], ry[1 - nb], rx[nb], ry[nb]); in ecc_point_mult()
714 vli_mod_sub(z, rx[1], rx[0], curve_p); /* X1 - X0 */ in ecc_point_mult()
719 vli_mod_mult_fast(z, z, rx[1 - nb]); /* Xb * yP / (xP * Yb * (X1 - X0)) */ in ecc_point_mult()
722 xycz_add(rx[nb], ry[nb], rx[1 - nb], ry[1 - nb]); in ecc_point_mult()
724 apply_z(rx[0], ry[0], z); in ecc_point_mult()
[all …]
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd_cb.c132 kiblnd_drop_rx(kib_rx_t *rx) in kiblnd_drop_rx() argument
134 kib_conn_t *conn = rx->rx_conn; in kiblnd_drop_rx()
147 kiblnd_post_rx(kib_rx_t *rx, int credit) in kiblnd_post_rx() argument
149 kib_conn_t *conn = rx->rx_conn; in kiblnd_post_rx()
161 mr = kiblnd_find_dma_mr(conn->ibc_hdev, rx->rx_msgaddr, IBLND_MSG_SIZE); in kiblnd_post_rx()
164 rx->rx_sge.lkey = mr->lkey; in kiblnd_post_rx()
165 rx->rx_sge.addr = rx->rx_msgaddr; in kiblnd_post_rx()
166 rx->rx_sge.length = IBLND_MSG_SIZE; in kiblnd_post_rx()
168 rx->rx_wrq.next = NULL; in kiblnd_post_rx()
169 rx->rx_wrq.sg_list = &rx->rx_sge; in kiblnd_post_rx()
[all …]
/linux-4.4.14/drivers/hwmon/
Dad7314.c41 u16 rx ____cacheline_aligned;
48 ret = spi_read(chip->spi_dev, (u8 *)&chip->rx, sizeof(chip->rx)); in ad7314_spi_read()
54 return be16_to_cpu(chip->rx); in ad7314_spi_read()
/linux-4.4.14/drivers/net/ethernet/via/
Dvia-velocity.c553 vptr->rx.dirty = vptr->rx.filled = vptr->rx.curr = 0; in velocity_init_rx_ring_indexes()
575 vptr->rx.ring[i].rdesc0.len |= OWNED_BY_NIC; in velocity_rx_reset()
578 writel(vptr->rx.pool_dma, &regs->RDBaseLo); in velocity_rx_reset()
1402 writel(vptr->rx.pool_dma, &regs->RDBaseLo); in velocity_init_registers()
1447 if (vptr->rx.filled < 4) in velocity_give_many_rx_descs()
1452 unusable = vptr->rx.filled & 0x0003; in velocity_give_many_rx_descs()
1453 dirty = vptr->rx.dirty - unusable; in velocity_give_many_rx_descs()
1454 for (avail = vptr->rx.filled & 0xfffc; avail; avail--) { in velocity_give_many_rx_descs()
1456 vptr->rx.ring[dirty].rdesc0.len |= OWNED_BY_NIC; in velocity_give_many_rx_descs()
1459 writew(vptr->rx.filled & 0xfffc, &regs->RBRDU); in velocity_give_many_rx_descs()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/crypto/
Dqcom-qce.txt11 - dmas : DMA specifiers for tx and rx dma channels. For more see
13 - dma-names : DMA request names should be "rx" and "tx"
24 dma-names = "rx", "tx";
Domap-sham.txt15 - dmas: DMA specifiers for the rx dma. See the DMA client binding,
17 - dma-names: DMA request name. Should be "rx" if a dma is present.
27 dma-names = "rx";
Domap-aes.txt17 - dmas: DMA specifiers for tx and rx dma. See the DMA client binding,
19 - dma-names: DMA request names should include "tx" and "rx" if present.
30 dma-names = "tx", "rx";
Domap-des.txt14 - dmas: DMA specifiers for tx and rx dma. See the DMA client binding,
17 - dma-names: DMA request names should include "tx" and "rx" if present
27 dma-names = "tx", "rx";
/linux-4.4.14/drivers/media/usb/dvb-usb/
Dttusb2.c123 u8 rx[60];/* (64 -4) */ in tt3650_ci_msg() local
124 ret = ttusb2_msg(d, cmd, data, write_len, rx, read_len); in tt3650_ci_msg()
126 memcpy(data, rx, read_len); in tt3650_ci_msg()
433 u8 rx[9]; /* A CMD_GET_IR_CODE reply is 9 bytes long */ in tt3650_rc_query() local
435 ret = ttusb2_msg(d, CMD_GET_IR_CODE, NULL, 0, rx, sizeof(rx)); in tt3650_rc_query()
439 if (rx[8] & 0x01) { in tt3650_rc_query()
441 st->last_rc_key = RC_SCANCODE_RC5(rx[3], rx[2]); in tt3650_rc_query()
442 deb_info("%s: cmd=0x%02x sys=0x%02x\n", __func__, rx[2], rx[3]); in tt3650_rc_query()
443 rc_keydown(d->rc_dev, RC_TYPE_RC5, st->last_rc_key, rx[1]); in tt3650_rc_query()
Dpctv452e.c503 u8 rx[PCTV_ANSWER_LEN]; in pctv452e_power_ctrl() local
523 ret = dvb_usb_generic_rw(d, b0, sizeof(b0), rx, PCTV_ANSWER_LEN, 0); in pctv452e_power_ctrl()
530 ret = dvb_usb_generic_rw(d, b0, sizeof(b0), rx, PCTV_ANSWER_LEN, 0); in pctv452e_power_ctrl()
543 u8 rx[PCTV_ANSWER_LEN]; in pctv452e_rc_query() local
554 ret = dvb_usb_generic_rw(d, b, 4, rx, PCTV_ANSWER_LEN, 0); in pctv452e_rc_query()
559 info("%s: read: %2d: %*ph: ", __func__, ret, 3, rx); in pctv452e_rc_query()
560 for (i = 0; (i < rx[3]) && ((i+3) < PCTV_ANSWER_LEN); i++) in pctv452e_rc_query()
561 info(" %02x", rx[i+3]); in pctv452e_rc_query()
566 if ((rx[3] == 9) && (rx[12] & 0x01)) { in pctv452e_rc_query()
568 state->last_rc_key = RC_SCANCODE_RC5(rx[7], rx[6]); in pctv452e_rc_query()
[all …]
/linux-4.4.14/drivers/thunderbolt/
Dctl.c31 struct tb_ring *rx; member
389 ring_rx(pkg->ctl->rx, &pkg->frame); /* in tb_ctl_rx_submit()
411 goto rx; in tb_ctl_rx_callback()
419 goto rx; in tb_ctl_rx_callback()
425 goto rx; in tb_ctl_rx_callback()
429 goto rx; in tb_ctl_rx_callback()
433 rx: in tb_ctl_rx_callback()
495 ctl->rx = ring_alloc_rx(nhi, 0, 10); in tb_ctl_alloc()
496 if (!ctl->rx) in tb_ctl_alloc()
523 if (ctl->rx) in tb_ctl_free()
[all …]
/linux-4.4.14/drivers/iio/imu/
Dadis_buffer.c30 __be16 *tx, *rx; in adis_update_scan_mode() local
45 rx = adis->buffer; in adis_update_scan_mode()
46 tx = rx + scan_count; in adis_update_scan_mode()
59 adis->xfer[j].rx_buf = &rx[j - 1]; in adis_update_scan_mode()
/linux-4.4.14/sound/soc/fsl/
Dfsl_ssi.c111 struct fsl_ssi_reg_val rx; member
379 vals->rx.sier | vals->tx.sier, in fsl_ssi_rxtx_config()
380 vals->rx.sier | vals->tx.sier); in fsl_ssi_rxtx_config()
382 vals->rx.srcr | vals->tx.srcr, in fsl_ssi_rxtx_config()
383 vals->rx.srcr | vals->tx.srcr); in fsl_ssi_rxtx_config()
385 vals->rx.stcr | vals->tx.stcr, in fsl_ssi_rxtx_config()
386 vals->rx.stcr | vals->tx.stcr); in fsl_ssi_rxtx_config()
389 vals->rx.srcr | vals->tx.srcr, 0); in fsl_ssi_rxtx_config()
391 vals->rx.stcr | vals->tx.stcr, 0); in fsl_ssi_rxtx_config()
393 vals->rx.sier | vals->tx.sier, 0); in fsl_ssi_rxtx_config()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/mailbox/
Domap-mailbox.txt16 programmable through a set of interrupt configuration registers, and have a rx
18 is achieved through the appropriate programming of the rx and tx interrupt
63 - ti,mbox-rx: sub-mailbox descriptor property defining a Rx fifo
67 Each of the above ti,mbox-tx and ti,mbox-rx properties should have 3 cells of
70 (ti,mbox-tx) or for receiving (ti,mbox-rx)
76 associated with generating a tx/rx fifo interrupt.
112 ti,mbox-rx = <1 0 0>;
116 ti,mbox-rx = <2 0 0>;
137 ti,mbox-rx = <0 0 3>;
/linux-4.4.14/drivers/staging/wilc1000/
Dwilc_wfi_cfgoperations.h64 .rx = BIT(IEEE80211_STYPE_ACTION >> 4) |
69 .rx = BIT(IEEE80211_STYPE_ASSOC_REQ >> 4) |
79 .rx = BIT(IEEE80211_STYPE_ACTION >> 4) |
/linux-4.4.14/drivers/net/wireless/iwlegacy/
D3945-debug.c81 ofdm = &il->_3945.stats.rx.ofdm; in il3945_ucode_rx_stats_read()
82 cck = &il->_3945.stats.rx.cck; in il3945_ucode_rx_stats_read()
83 general = &il->_3945.stats.rx.general; in il3945_ucode_rx_stats_read()
84 accum_ofdm = &il->_3945.accum_stats.rx.ofdm; in il3945_ucode_rx_stats_read()
85 accum_cck = &il->_3945.accum_stats.rx.cck; in il3945_ucode_rx_stats_read()
86 accum_general = &il->_3945.accum_stats.rx.general; in il3945_ucode_rx_stats_read()
87 delta_ofdm = &il->_3945.delta_stats.rx.ofdm; in il3945_ucode_rx_stats_read()
88 delta_cck = &il->_3945.delta_stats.rx.cck; in il3945_ucode_rx_stats_read()
89 delta_general = &il->_3945.delta_stats.rx.general; in il3945_ucode_rx_stats_read()
90 max_ofdm = &il->_3945.max_delta.rx.ofdm; in il3945_ucode_rx_stats_read()
[all …]
D4965-debug.c90 ofdm = &il->_4965.stats.rx.ofdm; in il4965_ucode_rx_stats_read()
91 cck = &il->_4965.stats.rx.cck; in il4965_ucode_rx_stats_read()
92 general = &il->_4965.stats.rx.general; in il4965_ucode_rx_stats_read()
93 ht = &il->_4965.stats.rx.ofdm_ht; in il4965_ucode_rx_stats_read()
94 accum_ofdm = &il->_4965.accum_stats.rx.ofdm; in il4965_ucode_rx_stats_read()
95 accum_cck = &il->_4965.accum_stats.rx.cck; in il4965_ucode_rx_stats_read()
96 accum_general = &il->_4965.accum_stats.rx.general; in il4965_ucode_rx_stats_read()
97 accum_ht = &il->_4965.accum_stats.rx.ofdm_ht; in il4965_ucode_rx_stats_read()
98 delta_ofdm = &il->_4965.delta_stats.rx.ofdm; in il4965_ucode_rx_stats_read()
99 delta_cck = &il->_4965.delta_stats.rx.cck; in il4965_ucode_rx_stats_read()
[all …]
/linux-4.4.14/drivers/net/wireless/hostap/
Dhostap_main.c522 void hostap_dump_rx_header(const char *name, const struct hfa384x_rx_frame *rx) in hostap_dump_rx_header() argument
526 status = __le16_to_cpu(rx->status); in hostap_dump_rx_header()
532 rx->silence, rx->signal, rx->rate, rx->rxflow, jiffies); in hostap_dump_rx_header()
534 fc = __le16_to_cpu(rx->frame_control); in hostap_dump_rx_header()
539 __le16_to_cpu(rx->duration_id), __le16_to_cpu(rx->seq_ctrl), in hostap_dump_rx_header()
540 __le16_to_cpu(rx->data_len), in hostap_dump_rx_header()
545 rx->addr1, rx->addr2, rx->addr3, rx->addr4); in hostap_dump_rx_header()
548 rx->dst_addr, rx->src_addr, in hostap_dump_rx_header()
549 __be16_to_cpu(rx->len)); in hostap_dump_rx_header()
/linux-4.4.14/Documentation/devicetree/bindings/net/can/
Dxilinx_can.txt18 - rx-fifo-depth : Can Rx fifo depth.
32 rx-fifo-depth = <0x40>;
43 rx-fifo-depth = <0x40>;
/linux-4.4.14/drivers/net/wimax/i2400m/
DMakefile13 rx.o
21 usb-rx.o \
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dbcmsysport.c206 STAT_MIB_RX("rx_64_octets", mib.rx.pkt_cnt.cnt_64),
207 STAT_MIB_RX("rx_65_127_oct", mib.rx.pkt_cnt.cnt_127),
208 STAT_MIB_RX("rx_128_255_oct", mib.rx.pkt_cnt.cnt_255),
209 STAT_MIB_RX("rx_256_511_oct", mib.rx.pkt_cnt.cnt_511),
210 STAT_MIB_RX("rx_512_1023_oct", mib.rx.pkt_cnt.cnt_1023),
211 STAT_MIB_RX("rx_1024_1518_oct", mib.rx.pkt_cnt.cnt_1518),
212 STAT_MIB_RX("rx_vlan_1519_1522_oct", mib.rx.pkt_cnt.cnt_mgv),
213 STAT_MIB_RX("rx_1522_2047_oct", mib.rx.pkt_cnt.cnt_2047),
214 STAT_MIB_RX("rx_2048_4095_oct", mib.rx.pkt_cnt.cnt_4095),
215 STAT_MIB_RX("rx_4096_9216_oct", mib.rx.pkt_cnt.cnt_9216),
[all …]
/linux-4.4.14/drivers/net/wireless/cw1200/
Dbh.c426 int rx, tx, term, suspend; in cw1200_bh() local
460 rx = atomic_xchg(&priv->bh_rx, 0); in cw1200_bh()
465 (rx || tx || term || suspend || priv->bh_error); in cw1200_bh()
469 rx, tx, term, suspend, priv->bh_error, status); in cw1200_bh()
483 if (priv->hw_bufs_used && (!rx || !tx)) { in cw1200_bh()
487 rx = 1; in cw1200_bh()
547 rx: in cw1200_bh()
597 goto rx; in cw1200_bh()
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/4xx/
Demac.txt27 - mal-rx-channel : 1 cell, index of the rx channel on McMAL associated
33 - rx-fifo-size : 1 cell, Rx fifo size in bytes for 10 and 100 Mb/sec
74 - rx-fifo-size-gige : 1 cell, Rx fifo size in bytes for 1000 Mb/sec
76 rx-fifo-size). For Axon, either absent or 2048.
96 mal-rx-channel = <0>;
99 rx-fifo-size = <1000>;
126 - num-rx-chans : 1 cell, number of Rx channels
/linux-4.4.14/drivers/usb/gadget/function/
Df_phonet.c49 } rx; member
331 spin_lock_irqsave(&fp->rx.lock, flags); in pn_rx_complete()
332 skb = fp->rx.skb; in pn_rx_complete()
334 skb = fp->rx.skb = netdev_alloc_skb(dev, 12); in pn_rx_complete()
336 fp->rx.skb = NULL; in pn_rx_complete()
337 spin_unlock_irqrestore(&fp->rx.lock, flags); in pn_rx_complete()
396 if (fp->rx.skb) { in __pn_reset()
397 dev_kfree_skb_irq(fp->rx.skb); in __pn_reset()
398 fp->rx.skb = NULL; in __pn_reset()
693 spin_lock_init(&fp->rx.lock); in phonet_alloc()
/linux-4.4.14/Documentation/networking/
Dcxgb.txt30 Adaptive Interrupts (adaptive-rx)
41 By default, adaptive-rx is disabled.
42 To enable adaptive-rx:
44 ethtool -C <interface> adaptive-rx on
46 To disable adaptive-rx, use ethtool:
48 ethtool -C <interface> adaptive-rx off
50 After disabling adaptive-rx, the timer latency value will be set to 50us.
51 You may set the timer latency after disabling adaptive-rx:
53 ethtool -C <interface> rx-usecs <microseconds>
57 ethtool -C eth0 rx-usecs 100
[all …]
/linux-4.4.14/arch/s390/kvm/
Ddiag.c75 u16 rx = (vcpu->arch.sie_block->ipa & 0xf0) >> 4; in __diag_page_ref_service() local
79 vcpu->run->s.regs.gprs[rx]); in __diag_page_ref_service()
81 if (vcpu->run->s.regs.gprs[rx] & 7) in __diag_page_ref_service()
83 rc = read_guest(vcpu, vcpu->run->s.regs.gprs[rx], rx, &parm, sizeof(parm)); in __diag_page_ref_service()
/linux-4.4.14/Documentation/devicetree/bindings/misc/
Datmel-ssc.txt16 the memory interface and SSC DMA channel ID (for tx and rx).
18 - dma-names: Must be "tx", "rx".
45 dma-names = "tx", "rx";
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_mbx.c233 u32 *tail = mbx->rx.buffer + fm10k_fifo_tail_offset(&mbx->rx, 0); in fm10k_mbx_pushed_tail_len()
315 struct fm10k_mbx_fifo *fifo = &mbx->rx; in fm10k_mbx_validate_msg_size()
439 struct fm10k_mbx_fifo *fifo = &mbx->rx; in fm10k_mbx_read_copy()
486 struct fm10k_mbx_fifo *fifo = &mbx->rx; in fm10k_mbx_push_tail()
651 struct fm10k_mbx_fifo *fifo = &mbx->rx; in fm10k_mbx_verify_remote_crc()
675 u16 msg_size = fm10k_fifo_head_len(&mbx->rx); in fm10k_mbx_rx_ready()
677 return msg_size && (fm10k_fifo_used(&mbx->rx) >= msg_size); in fm10k_mbx_rx_ready()
716 struct fm10k_mbx_fifo *fifo = &mbx->rx; in fm10k_mbx_dequeue_rx()
853 FM10K_MSG_HDR_FIELD_SET(mbx->rx.size - 1, CONNECT_SIZE); in fm10k_mbx_create_connect_hdr()
1073 mbx->max_size = mbx->rx.size - 1; in fm10k_mbx_reset_work()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/qe/
Ducc.txt24 - rx-clock-name: the UCC receive clock source
32 The following two properties are deprecated. rx-clock has been replaced
33 with rx-clock-name, and tx-clock has been replaced with tx-clock-name.
37 - rx-clock : represents the UCC receive clock source.
65 rx-clock = "none";
/linux-4.4.14/drivers/soc/qcom/
Dsmd.c230 struct smd_channel_info rx; member
252 struct smd_channel_info_word rx; member
257 BUILD_BUG_ON(sizeof(channel->info->rx.param) != sizeof(u8)); \
259 le32_to_cpu(channel->info_word->rx.param) : \
260 channel->info->rx.param; \
265 BUILD_BUG_ON(sizeof(channel->info->rx.param) != sizeof(u32)); \
267 channel->info_word->rx.param : \
268 channel->info->rx.param); \
273 BUILD_BUG_ON(sizeof(channel->info->rx.param) != sizeof(u8)); \
275 channel->info_word->rx.param = cpu_to_le32(value); \
[all …]
/linux-4.4.14/drivers/net/arcnet/
Drfc1051.c40 static void rx(struct net_device *dev, int bufnum,
51 .rx = rx,
121 static void rx(struct net_device *dev, int bufnum, in rx() function
/linux-4.4.14/drivers/iio/accel/
Dkxsd9.c56 u8 rx[KXSD9_STATE_RX_SIZE] ____cacheline_aligned; member
108 .rx_buf = st->rx, in kxsd9_read()
116 ret = (((u16)(st->rx[0])) << 8) | (st->rx[1] & 0xF0); in kxsd9_read()
/linux-4.4.14/drivers/net/xen-netback/
Dnetback.c168 prod = queue->rx.sring->req_prod; in xenvif_rx_ring_slots_available()
169 cons = queue->rx.req_cons; in xenvif_rx_ring_slots_available()
174 queue->rx.sring->req_event = prod + 1; in xenvif_rx_ring_slots_available()
180 } while (queue->rx.sring->req_prod != prod); in xenvif_rx_ring_slots_available()
263 RING_COPY_REQUEST(&queue->rx, queue->rx.req_cons++, &req); in get_next_rx_buffer()
331 queue->rx.req_cons++; in xenvif_setup_copy_gop()
446 RING_COPY_REQUEST(&queue->rx, queue->rx.req_cons++, &req); in xenvif_gop_skb()
454 RING_COPY_REQUEST(&queue->rx, queue->rx.req_cons++, &req); in xenvif_gop_skb()
591 resp = RING_GET_RESPONSE(&queue->rx, in xenvif_rx_action()
592 queue->rx.rsp_prod_pvt++); in xenvif_rx_action()
[all …]
/linux-4.4.14/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c1292 myri10ge_alloc_rx_pages(struct myri10ge_priv *mgp, struct myri10ge_rx_buf *rx, in myri10ge_alloc_rx_pages() argument
1302 if (unlikely(rx->watchdog_needed && !watchdog)) in myri10ge_alloc_rx_pages()
1306 while (rx->fill_cnt != (rx->cnt + rx->mask + 1)) { in myri10ge_alloc_rx_pages()
1307 idx = rx->fill_cnt & rx->mask; in myri10ge_alloc_rx_pages()
1308 if (rx->page_offset + bytes <= MYRI10GE_ALLOC_SIZE) { in myri10ge_alloc_rx_pages()
1310 get_page(rx->page); in myri10ge_alloc_rx_pages()
1317 if (rx->fill_cnt - rx->cnt < 16) in myri10ge_alloc_rx_pages()
1318 rx->watchdog_needed = 1; in myri10ge_alloc_rx_pages()
1327 if (rx->fill_cnt - rx->cnt < 16) in myri10ge_alloc_rx_pages()
1328 rx->watchdog_needed = 1; in myri10ge_alloc_rx_pages()
[all …]
/linux-4.4.14/arch/mips/netlogic/xlp/
Dcop2-ex.c52 : "r"(r->tx), "r"(r->rx)); in nlm_cop2_save()
82 : : "m"(*r), "r"(r->tx), "r"(r->rx)); in nlm_cop2_restore()
/linux-4.4.14/Documentation/devicetree/bindings/mmc/
Dfsl-imx-mmc.txt11 - dma-names: Has to be "rx-tx".
20 dma-names = "rx-tx";

123456