Home
last modified time | relevance | path

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

/Linux-v5.4/arch/sparc/kernel/
Dhvapi.c18 struct api_info { struct
27 static struct api_info api_table[] = { argument
59 static struct api_info *__get_info(unsigned long group) in __get_info()
70 static void __get_ref(struct api_info *p) in __get_ref()
75 static void __put_ref(struct api_info *p) in __put_ref()
99 struct api_info *p; in sun4v_hvapi_register()
149 struct api_info *p; in sun4v_hvapi_unregister()
164 struct api_info *p; in sun4v_hvapi_get()
/Linux-v5.4/drivers/media/pci/ivtv/
Divtv-mailbox.c38 static const struct ivtv_api_info api_info[256] = { variable
214 cmd < 0 || cmd > 255 || api_info[cmd].name == NULL) { in ivtv_api_call()
219 if (api_info[cmd].flags & API_HIGH_VOL) { in ivtv_api_call()
220 IVTV_DEBUG_HI_MB("MB Call: %s\n", api_info[cmd].name); in ivtv_api_call()
223 IVTV_DEBUG_MB("MB Call: %s\n", api_info[cmd].name); in ivtv_api_call()
242 flags = api_info[cmd].flags; in ivtv_api_call()
253 api_info[cmd].name, mb, readl(&mbdata->mbox[mb].flags)); in ivtv_api_call()
255 IVTV_WARN("Could not find free DMA mailbox for %s\n", api_info[cmd].name); in ivtv_api_call()
265 IVTV_DEBUG_WARN("No free mailbox found (%s)\n", api_info[cmd].name); in ivtv_api_call()
292 IVTV_DEBUG_WARN("Could not get result (%s)\n", api_info[cmd].name); in ivtv_api_call()
[all …]
/Linux-v5.4/drivers/media/pci/cx18/
Dcx18-mailbox.c34 static const struct cx18_api_info api_info[] = { variable
85 for (i = 0; api_info[i].cmd; i++) in find_api_info()
86 if (api_info[i].cmd == cmd) in find_api_info()
87 return &api_info[i]; in find_api_info()