Home
last modified time | relevance | path

Searched refs:token (Results 1 – 25 of 233) sorted by relevance

12345678910

/drivers/net/ethernet/freescale/dpaa2/
Ddpni.h89 u16 *token);
93 u16 token);
115 u16 token,
120 u16 token);
124 u16 token);
128 u16 token,
133 u16 token);
147 u16 token,
153 u16 token,
159 u16 token,
[all …]
Ddpsw.h23 int dpsw_open(struct fsl_mc_io *mc_io, u32 cmd_flags, int dpsw_id, u16 *token);
25 int dpsw_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
85 int dpsw_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
87 int dpsw_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
89 int dpsw_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
118 int dpsw_set_irq_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
121 int dpsw_set_irq_mask(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
124 int dpsw_get_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
127 int dpsw_clear_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
169 int dpsw_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
[all …]
Ddpni.c98 u16 *token) in dpni_open() argument
118 *token = mc_cmd_hdr_read_token(&cmd); in dpni_open()
136 u16 token) in dpni_close() argument
143 token); in dpni_close()
163 u16 token, in dpni_set_pools() argument
173 token); in dpni_set_pools()
198 u16 token) in dpni_enable() argument
205 token); in dpni_enable()
221 u16 token) in dpni_disable() argument
228 token); in dpni_disable()
[all …]
Ddpsw.c39 int dpsw_open(struct fsl_mc_io *mc_io, u32 cmd_flags, int dpsw_id, u16 *token) in dpsw_open() argument
58 *token = mc_cmd_hdr_read_token(&cmd); in dpsw_open()
74 int dpsw_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_close() argument
81 token); in dpsw_close()
95 int dpsw_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_enable() argument
102 token); in dpsw_enable()
116 int dpsw_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_disable() argument
123 token); in dpsw_disable()
137 int dpsw_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_reset() argument
144 token); in dpsw_reset()
[all …]
Ddprtc.c32 u16 *token) in dprtc_open() argument
48 *token = mc_cmd_hdr_read_token(&cmd); in dprtc_open()
66 u16 token) in dprtc_close() argument
71 token); in dprtc_close()
93 u16 token, in dprtc_set_irq_enable() argument
102 token); in dprtc_set_irq_enable()
122 u16 token, in dprtc_get_irq_enable() argument
133 token); in dprtc_get_irq_enable()
165 u16 token, in dprtc_set_irq_mask() argument
174 token); in dprtc_set_irq_mask()
[all …]
/drivers/bus/fsl-mc/
Dfsl-mc-uapi.c25 bool token; member
84 .token = true,
90 .token = true,
96 .token = false,
102 .token = true,
109 .token = true,
116 .token = true,
123 .token = true,
130 .token = true,
136 .token = true,
[all …]
Ddpcon.c31 u16 *token) in dpcon_open() argument
50 *token = mc_cmd_hdr_read_token(&cmd); in dpcon_open()
69 u16 token) in dpcon_close() argument
76 token); in dpcon_close()
93 u16 token) in dpcon_enable() argument
100 token); in dpcon_enable()
117 u16 token) in dpcon_disable() argument
124 token); in dpcon_disable()
141 u16 token) in dpcon_reset() argument
147 cmd_flags, token); in dpcon_reset()
[all …]
Ddprc.c33 u16 *token) in dprc_open() argument
51 *token = mc_cmd_hdr_read_token(&cmd); in dprc_open()
70 u16 token) in dprc_close() argument
76 token); in dprc_close()
114 u16 token, in dprc_reset_container() argument
144 cmd.header = mc_encode_cmd_header(cmdid, cmd_flags, token); in dprc_reset_container()
166 u16 token, in dprc_set_irq() argument
176 token); in dprc_set_irq()
204 u16 token, in dprc_set_irq_enable() argument
213 cmd_flags, token); in dprc_set_irq_enable()
[all …]
Ddpbp.c31 u16 *token) in dpbp_open() argument
49 *token = mc_cmd_hdr_read_token(&cmd); in dpbp_open()
68 u16 token) in dpbp_close() argument
74 token); in dpbp_close()
91 u16 token) in dpbp_enable() argument
97 token); in dpbp_enable()
114 u16 token) in dpbp_disable() argument
120 cmd_flags, token); in dpbp_disable()
137 u16 token) in dpbp_reset() argument
143 cmd_flags, token); in dpbp_reset()
[all …]
/drivers/dma/fsl-dpaa2-qdma/
Ddpdmai.c69 int dpdmai_id, u16 *token) in dpdmai_open() argument
88 *token = mc_cmd_hdr_read_token(&cmd); in dpdmai_open()
105 int dpdmai_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpdmai_close() argument
111 cmd_flags, token); in dpdmai_close()
141 const struct dpdmai_cfg *cfg, u16 *token) in dpdmai_create() argument
157 *token = mc_cmd_hdr_read_token(&cmd); in dpdmai_create()
170 int dpdmai_destroy(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpdmai_destroy() argument
176 cmd_flags, token); in dpdmai_destroy()
191 int dpdmai_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpdmai_enable() argument
197 cmd_flags, token); in dpdmai_enable()
[all …]
Ddpdmai.h162 int dpdmai_id, u16 *token);
163 int dpdmai_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
164 int dpdmai_destroy(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
166 const struct dpdmai_cfg *cfg, u16 *token);
167 int dpdmai_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
168 int dpdmai_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
169 int dpdmai_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
171 u16 token, struct dpdmai_attr *attr);
172 int dpdmai_set_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
174 int dpdmai_get_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
[all …]
/drivers/soc/fsl/dpio/
Ddpio.c38 u16 *token) in dpio_open() argument
56 *token = mc_cmd_hdr_read_token(&cmd); in dpio_open()
71 u16 token) in dpio_close() argument
78 token); in dpio_close()
93 u16 token) in dpio_enable() argument
100 token); in dpio_enable()
115 u16 token) in dpio_disable() argument
122 token); in dpio_disable()
138 u16 token, in dpio_get_attributes() argument
148 token); in dpio_get_attributes()
[all …]
/drivers/staging/media/atomisp/pci/runtime/inputfifo/src/
Dinputfifo.c95 _sh_css_fifo_snd(unsigned int token) in _sh_css_fifo_snd() argument
99 event_send_token(STR2MIPI_EVENT_ID, token); in _sh_css_fifo_snd()
107 unsigned int token = (1 << HIVE_STR_TO_MIPI_VALID_A_BIT) | in inputfifo_send_data_a() local
109 _sh_css_fifo_snd(token); in inputfifo_send_data_a()
117 unsigned int token = (1 << HIVE_STR_TO_MIPI_VALID_B_BIT) | in inputfifo_send_data_b() local
119 _sh_css_fifo_snd(token); in inputfifo_send_data_b()
128 unsigned int token = ((1 << HIVE_STR_TO_MIPI_VALID_A_BIT) | in inputfifo_send_data() local
132 _sh_css_fifo_snd(token); in inputfifo_send_data()
139 hrt_data token = inputfifo_wrap_marker( in inputfifo_send_sol() local
142 _sh_css_fifo_snd(token); in inputfifo_send_sol()
[all …]
/drivers/crypto/caam/
Ddpseci.c28 u16 *token) in dpseci_open() argument
43 *token = mc_cmd_hdr_read_token(&cmd); in dpseci_open()
59 int dpseci_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpseci_close() argument
65 token); in dpseci_close()
77 int dpseci_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpseci_enable() argument
83 token); in dpseci_enable()
95 int dpseci_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpseci_disable() argument
101 token); in dpseci_disable()
114 int dpseci_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpseci_reset() argument
120 token); in dpseci_reset()
[all …]
Ddpseci.h31 u16 *token);
33 int dpseci_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
58 int dpseci_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
60 int dpseci_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
62 int dpseci_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
64 int dpseci_is_enabled(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
82 int dpseci_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
155 int dpseci_set_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
174 int dpseci_get_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
187 int dpseci_get_tx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
[all …]
/drivers/net/wireless/ath/ath6kl/
Ddebug.c1085 char *sptr, *token; in ath6kl_regwrite_write() local
1096 token = strsep(&sptr, "="); in ath6kl_regwrite_write()
1097 if (!token) in ath6kl_regwrite_write()
1100 if (kstrtou32(token, 0, &reg_addr)) in ath6kl_regwrite_write()
1400 char *sptr, *token; in ath6kl_create_qos_write() local
1415 token = strsep(&sptr, " "); in ath6kl_create_qos_write()
1416 if (!token) in ath6kl_create_qos_write()
1418 if (kstrtou8(token, 0, &pstream.user_pri)) in ath6kl_create_qos_write()
1421 token = strsep(&sptr, " "); in ath6kl_create_qos_write()
1422 if (!token) in ath6kl_create_qos_write()
[all …]
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hwrm.c370 struct bnxt_hwrm_wait_token *token; in __hwrm_acquire_token() local
372 token = kzalloc(sizeof(*token), GFP_KERNEL); in __hwrm_acquire_token()
373 if (!token) in __hwrm_acquire_token()
378 token->dst = dst; in __hwrm_acquire_token()
379 token->state = BNXT_HWRM_PENDING; in __hwrm_acquire_token()
381 token->seq_id = bp->hwrm_cmd_seq++; in __hwrm_acquire_token()
382 hlist_add_head_rcu(&token->node, &bp->hwrm_pending_list); in __hwrm_acquire_token()
384 token->seq_id = bp->hwrm_cmd_kong_seq++; in __hwrm_acquire_token()
387 return token; in __hwrm_acquire_token()
391 __hwrm_release_token(struct bnxt *bp, struct bnxt_hwrm_wait_token *token) in __hwrm_release_token() argument
[all …]
/drivers/nvme/host/
Dfabrics.c559 int token, ret = 0; in nvmf_parse_options() local
585 token = match_token(p, opt_tokens, args); in nvmf_parse_options()
586 opts->mask |= token; in nvmf_parse_options()
587 switch (token) { in nvmf_parse_options()
635 if (match_int(args, &token)) { in nvmf_parse_options()
639 if (token < NVMF_MIN_QUEUE_SIZE || in nvmf_parse_options()
640 token > NVMF_MAX_QUEUE_SIZE) { in nvmf_parse_options()
641 pr_err("Invalid queue_size %d\n", token); in nvmf_parse_options()
645 opts->queue_size = token; in nvmf_parse_options()
648 if (match_int(args, &token)) { in nvmf_parse_options()
[all …]
/drivers/usb/host/
Dehci-q.c38 size_t len, int token, int maxpacket) in qtd_fill() argument
70 qtd->hw_token = cpu_to_hc32(ehci, (count << 16) | token); in qtd_fill()
156 struct urb *urb, u32 token) in ehci_clear_tt_buffer() argument
171 usb_pipeendpoint(urb->pipe), token); in ehci_clear_tt_buffer()
191 u32 token in qtd_copy_status() argument
197 if (likely(QTD_PID(token) != PID_CODE_SETUP)) in qtd_copy_status()
198 urb->actual_length += length - QTD_LENGTH (token); in qtd_copy_status()
205 if (unlikely (IS_SHORT_READ (token))) in qtd_copy_status()
209 if (token & QTD_STS_HALT) { in qtd_copy_status()
210 if (token & QTD_STS_BABBLE) { in qtd_copy_status()
[all …]
/drivers/mtd/devices/
Dphram.c139 static int parse_num64(uint64_t *num64, char *token) in parse_num64() argument
145 len = strlen(token); in parse_num64()
148 if (token[len - 1] == 'i') { in parse_num64()
149 switch (token[len - 2]) { in parse_num64()
158 token[len - 2] = 0; in parse_num64()
166 ret = kstrtou64(token, 0, num64); in parse_num64()
172 static int parse_name(char **pname, const char *token) in parse_name() argument
177 len = strlen(token) + 1; in parse_name()
181 name = kstrdup(token, GFP_KERNEL); in parse_name()
220 char *token[4]; in phram_setup() local
[all …]
Dpowernv_flash.c51 int token; in powernv_flash_async_op() local
58 token = opal_async_get_token_interruptible(); in powernv_flash_async_op()
59 if (token < 0) { in powernv_flash_async_op()
60 if (token != -ERESTARTSYS) in powernv_flash_async_op()
63 token = -EINTR; in powernv_flash_async_op()
64 return token; in powernv_flash_async_op()
69 rc = opal_flash_read(info->id, offset, __pa(buf), len, token); in powernv_flash_async_op()
72 rc = opal_flash_write(info->id, offset, __pa(buf), len, token); in powernv_flash_async_op()
75 rc = opal_flash_erase(info->id, offset, len, token); in powernv_flash_async_op()
79 opal_async_release_token(token); in powernv_flash_async_op()
[all …]
/drivers/rtc/
Drtc-opal.c118 int rc, token; in opal_get_tpo_time() local
122 token = opal_async_get_token_interruptible(); in opal_get_tpo_time()
123 if (token < 0) { in opal_get_tpo_time()
124 if (token != -ERESTARTSYS) in opal_get_tpo_time()
127 return token; in opal_get_tpo_time()
130 rc = opal_tpo_read(token, &__y_m_d, &__h_m); in opal_get_tpo_time()
136 rc = opal_async_wait_response(token, &msg); in opal_get_tpo_time()
163 opal_async_release_token(token); in opal_get_tpo_time()
173 int token, rc; in opal_set_tpo_time() local
184 token = opal_async_get_token_interruptible(); in opal_set_tpo_time()
[all …]
/drivers/scsi/aic94xx/
Daic94xx_hwi.h236 static inline void asd_dmatok_free(struct asd_dma_tok *token) in asd_dmatok_free() argument
238 kmem_cache_free(asd_dma_token_cache, token); in asd_dmatok_free()
245 struct asd_dma_tok *token = asd_dmatok_alloc(flags); in asd_alloc_coherent() local
246 if (token) { in asd_alloc_coherent()
247 token->size = size; in asd_alloc_coherent()
248 token->vaddr = dma_alloc_coherent(&asd_ha->pcidev->dev, in asd_alloc_coherent()
249 token->size, in asd_alloc_coherent()
250 &token->dma_handle, in asd_alloc_coherent()
252 if (!token->vaddr) { in asd_alloc_coherent()
253 asd_dmatok_free(token); in asd_alloc_coherent()
[all …]
/drivers/net/wireless/mediatek/mt76/mt7615/
Dmt7615_trace.h22 #define TOKEN_ENTRY __field(u16, token)
23 #define TOKEN_ASSIGN __entry->token = token
25 #define TOKEN_PR_ARG __entry->token
28 TP_PROTO(struct mt7615_dev *dev, u16 token),
29 TP_ARGS(dev, token),
45 TP_PROTO(struct mt7615_dev *dev, u16 token),
46 TP_ARGS(dev, token)
/drivers/media/cec/core/
Dcec-pin-error-inj.c79 char *token; in cec_pin_error_inj_parse_line() local
89 token = strsep(&p, delims); in cec_pin_error_inj_parse_line()
90 if (!strcmp(token, "clear")) { in cec_pin_error_inj_parse_line()
99 if (!strcmp(token, "rx-clear")) { in cec_pin_error_inj_parse_line()
105 if (!strcmp(token, "tx-clear")) { in cec_pin_error_inj_parse_line()
115 if (!strcmp(token, "tx-ignore-nack-until-eom")) { in cec_pin_error_inj_parse_line()
119 if (!strcmp(token, "tx-custom-pulse")) { in cec_pin_error_inj_parse_line()
128 if (!strcmp(token, "tx-custom-low-usecs")) { in cec_pin_error_inj_parse_line()
136 if (!strcmp(token, "tx-custom-high-usecs")) { in cec_pin_error_inj_parse_line()
145 comma = strchr(token, ','); in cec_pin_error_inj_parse_line()
[all …]

12345678910