Home
last modified time | relevance | path

Searched refs:api_info (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/arch/sparc/kernel/
Dhvapi.c17 struct api_info { struct
26 static struct api_info api_table[] = { argument
46 static struct api_info *__get_info(unsigned long group) in __get_info()
57 static void __get_ref(struct api_info *p) in __get_ref()
62 static void __put_ref(struct api_info *p) in __put_ref()
86 struct api_info *p; in sun4v_hvapi_register()
136 struct api_info *p; in sun4v_hvapi_unregister()
151 struct api_info *p; in sun4v_hvapi_get()
/linux-2.6.39/drivers/media/video/ivtv/
Divtv-mailbox.c52 static const struct ivtv_api_info api_info[256] = { variable
228 cmd < 0 || cmd > 255 || api_info[cmd].name == NULL) { in ivtv_api_call()
233 if (api_info[cmd].flags & API_HIGH_VOL) { in ivtv_api_call()
234 IVTV_DEBUG_HI_MB("MB Call: %s\n", api_info[cmd].name); in ivtv_api_call()
237 IVTV_DEBUG_MB("MB Call: %s\n", api_info[cmd].name); in ivtv_api_call()
256 flags = api_info[cmd].flags; in ivtv_api_call()
267 api_info[cmd].name, mb, readl(&mbdata->mbox[mb].flags)); in ivtv_api_call()
269 IVTV_WARN("Could not find free DMA mailbox for %s\n", api_info[cmd].name); in ivtv_api_call()
279 IVTV_DEBUG_WARN("No free mailbox found (%s)\n", api_info[cmd].name); in ivtv_api_call()
306 IVTV_DEBUG_WARN("Could not get result (%s)\n", api_info[cmd].name); in ivtv_api_call()
[all …]
/linux-2.6.39/drivers/media/video/cx18/
Dcx18-mailbox.c48 static const struct cx18_api_info api_info[] = { variable
98 for (i = 0; api_info[i].cmd; i++) in find_api_info()
99 if (api_info[i].cmd == cmd) in find_api_info()
100 return &api_info[i]; in find_api_info()