Searched refs:token (Results 26 - 50 of 520) sorted by path

1234567891011>>

/linux-master/arch/powerpc/include/asm/
H A Deeh.h295 int eeh_check_failure(const volatile void __iomem *token);
336 static inline int eeh_check_failure(const volatile void __iomem *token) argument
H A Dio.h314 #define PCI_SET_ADDR_TOKEN(addr, token) \
318 __a |= ((unsigned long)(token)) << PCI_IO_IND_TOKEN_SHIFT; \
H A Dopal.h51 int64_t opal_tpo_read(uint64_t token, __be32 *year_mon_day, __be32 *hour_min);
52 int64_t opal_tpo_write(uint64_t token, uint32_t year_mon_day,
158 int64_t opal_check_token(uint64_t token);
186 int64_t opal_write_oppanel_async(uint64_t token, oppanel_line_t *lines,
188 int64_t opal_check_completion(uint64_t buffer, uint64_t size, uint64_t token);
190 int64_t opal_get_param(uint64_t token, uint32_t param_id, uint64_t buffer,
192 int64_t opal_set_param(uint64_t token, uint32_t param_id, uint64_t buffer,
194 int64_t opal_sensor_read(uint32_t sensor_hndl, int token, __be32 *sensor_data);
195 int64_t opal_sensor_read_u64(u32 sensor_hndl, int token, __be64 *sensor_data);
214 int64_t opal_leds_set_ind(uint64_t token, cha
[all...]
H A Dpapr-sysparm.h8 u32 token; member in struct:__anon4
11 #define mk_papr_sysparm(x_) ((papr_sysparm_t){ .token = x_, })
H A Dplpar_wrappers.h350 unsigned long token; local
353 token = -1UL;
355 rc = plpar_hcall(H_GUEST_CREATE, retbuf, flags, token);
360 token = retbuf[0];
365 token = retbuf[0];
H A Drtas-types.h10 __be32 token; member in struct:rtas_args
H A Drtas.h426 int rtas_call(int token, int nargs, int nret, int *outputs, ...);
427 void rtas_call_unlocked(struct rtas_args *args, int token, int nargs,
438 bool rtas_indicator_present(int token, int *maxindex);
H A Dsimple_spinlock.h51 unsigned long tmp, token; local
54 token = LOCK_TOKEN;
64 : "r" (token), "r" (&lock->slock), [eh] "n" (eh)
185 long tmp, token; local
188 token = WRLOCK_TOKEN;
197 : "r" (token), "r" (&rw->lock), [eh] "n" (eh)
H A Dtrace.h183 __field(u32, token)
190 __entry->token = be32_to_cpu(rtas_args->token);
196 TP_printk("token=%u nargs=%u nret=%u params:"
201 __entry->token, __entry->nargs, __entry->nret,
/linux-master/arch/powerpc/include/uapi/asm/
H A Dkvm.h362 __u64 token; /* Use a token of 0 to undefine a mapping */ member in struct:kvm_rtas_token_args
/linux-master/arch/powerpc/kernel/
H A Deeh.c341 * eeh_token_to_phys - Convert EEH address token to phys address
342 * @token: I/O token, should be address in the form 0xA....
347 static inline unsigned long eeh_token_to_phys(unsigned long token) argument
349 return ppc_find_vmap_phys(token);
579 * @token: I/O address
588 int eeh_check_failure(const volatile void __iomem *token) argument
594 addr = eeh_token_to_phys((unsigned long __force) token);
H A Dio-workarounds.c59 int token; local
61 token = PCI_GET_ADDR_TOKEN(addr);
63 if (token && token <= iowa_bus_count)
64 bus = &iowa_busses[token - 1];
H A Dprom_init.c1812 u32 token; local
1822 token = be32_to_cpu(val);
1823 prom_debug("ibm,os-term: %x\n", token);
1824 if (token == 0)
1825 prom_panic("Could not get token for ibm,os-term\n");
1826 os_term_args.token = cpu_to_be32(token);
2514 #define dt_push_token(token, mem_start, mem_end) do { \
2516 *(__be32 *)room = cpu_to_be32(token); \
H A Drtas-proc.c118 unsigned int token; member in struct:individual_sensor
405 sprintf (rstr, SENSOR_PREFIX"%04d", p->token);
411 p->token, j);
442 sensors.sensor[i].token = *utmp++;
514 switch (s->token) {
619 s->token);
H A Drtas.c63 * @token: Value of @name if it exists under the /rtas node.
83 s32 token; member in struct:rtas_function
549 * rtas_function_token() - RTAS function token lookup.
553 * Return: the token value for the function if implemented by this platform,
564 * Various drivers attempt token lookups on non-RTAS
570 return rtas_function_table[index].token;
613 const s32 token = func->token; local
615 if (token == RTAS_UNKNOWN_SERVICE)
619 token, (voi
632 rtas_token_to_function_untrusted(s32 token) argument
643 rtas_token_to_function(s32 token) argument
1051 const s32 token = rtas_function_token(RTAS_FN_RTAS_LAST_ERROR); local
1104 va_rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, va_list list) argument
1140 rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, ...) argument
1149 token_is_restricted_errinjct(s32 token) argument
1213 rtas_call(int token, int nargs, int nret, int *outputs, ...) argument
1462 int token = rtas_function_token(RTAS_FN_GET_POWER_LEVEL); local
1479 int token = rtas_function_token(RTAS_FN_SET_POWER_LEVEL); local
1497 int token = rtas_function_token(RTAS_FN_GET_SENSOR_STATE); local
1515 int token = rtas_function_token(RTAS_FN_GET_SENSOR_STATE); local
1530 rtas_indicator_present(int token, int *maxindex) argument
1534 __be32 token; member in struct:indicator_elem
1557 int token = rtas_function_token(RTAS_FN_SET_INDICATOR); local
1578 int token = rtas_function_token(RTAS_FN_SET_INDICATOR); local
1621 int token = rtas_function_token(RTAS_FN_IBM_SUSPEND_ME); local
1688 s32 token = rtas_function_token(RTAS_FN_IBM_OS_TERM); local
1731 int token = rtas_function_token(RTAS_FN_IBM_ACTIVATE_FIRMWARE); local
1899 int nargs, nret, token; local
[all...]
H A Drtas_flash.c152 unsigned int update_results; /* Update results token */
447 int token = rtas_function_token(RTAS_FN_IBM_VALIDATE_FLASH_IMAGE); local
455 rc = rtas_call(token, 2, 2, &update_results,
723 int token; local
732 token = rtas_function_token(f->handle);
733 if (token == RTAS_UNKNOWN_SERVICE)
/linux-master/arch/powerpc/kvm/
H A Dbook3s_rtas.c133 u64 token; member in struct:rtas_token_definition
156 /* It's not an error to undefine an undefined token */
160 static int rtas_token_define(struct kvm *kvm, char *name, u64 token) argument
170 if (d->token == token)
191 d->token = token;
208 if (args.token)
209 rc = rtas_token_define(kvm, args.name, args.token);
262 if (d->token
[all...]
/linux-master/arch/powerpc/mm/
H A Dhugetlbpage.c351 pgtable_t token = pmd_pgtable(*pmd); local
357 pte_free_tlb(tlb, token, addr);
H A Dioremap_64.c50 void iounmap(volatile void __iomem *token) argument
55 generic_iounmap(PCI_FIX_ADDR(token));
/linux-master/arch/powerpc/mm/nohash/
H A De500_hugetlbpage.c38 int token = smp_processor_id() + 1; local
63 : "r" (&paca->tcd_ptr->lock), "r" (token)
/linux-master/arch/powerpc/platforms/powermac/
H A Dbootx_init.c110 #define dt_push_token(token, mem) \
113 *((u32 *)*(mem)) = token; \
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-async.c44 int i, token = -EBUSY; local
51 token = i;
57 return token;
61 * Note: If the returned token is used in an opal call and opal returns
68 int token; local
70 /* Wait until a token is available */
74 token = __opal_async_get_token();
75 if (token < 0)
78 return token;
82 static int __opal_async_release_token(int token) argument
116 opal_async_release_token(int token) argument
128 opal_async_wait_response(uint64_t token, struct opal_msg *msg) argument
157 opal_async_wait_response_interruptible(uint64_t token, struct opal_msg *msg) argument
218 uint64_t token; local
[all...]
H A Dopal-powercap.c37 int ret, token; local
39 token = opal_async_get_token_interruptible();
40 if (token < 0) {
41 pr_devel("Failed to get token\n");
42 return token;
49 ret = opal_get_powercap(pcap_attr->handle, token, (u32 *)__pa(&pcap));
52 ret = opal_async_wait_response(token, &msg);
77 opal_async_release_token(token);
89 int ret, token; local
95 token
[all...]
H A Dopal-psr.c30 int psr, ret, token; local
32 token = opal_async_get_token_interruptible();
33 if (token < 0) {
34 pr_devel("Failed to get token\n");
35 return token;
42 ret = opal_get_power_shift_ratio(psr_attr->handle, token,
46 ret = opal_async_wait_response(token, &msg);
71 opal_async_release_token(token);
80 int psr, ret, token; local
86 token
[all...]
H A Dopal-sensor-groups.c34 int token, ret; local
36 token = opal_async_get_token_interruptible();
37 if (token < 0)
38 return token;
40 ret = opal_sensor_group_enable(handle, token, enable);
42 ret = opal_async_wait_response(token, &msg);
54 opal_async_release_token(token);
65 int ret, token; local
74 token = opal_async_get_token_interruptible();
75 if (token <
[all...]

Completed in 310 milliseconds

1234567891011>>