Searched refs:mbdata (Results 1 – 2 of 2) sorted by relevance
/drivers/media/pci/ivtv/ |
D | ivtv-mailbox.c | 131 static int try_mailbox(struct ivtv *itv, struct ivtv_mailbox_data *mbdata, int mb) in try_mailbox() argument 133 u32 flags = readl(&mbdata->mbox[mb].flags); in try_mailbox() 137 if (is_free && !test_and_set_bit(mb, &mbdata->busy)) { in try_mailbox() 138 write_sync(IVTV_MBOX_DRIVER_BUSY, &mbdata->mbox[mb].flags); in try_mailbox() 146 static int get_mailbox(struct ivtv *itv, struct ivtv_mailbox_data *mbdata, int flags) in get_mailbox() argument 150 int max_mbox = mbdata->max_mbox; in get_mailbox() 161 if (try_mailbox(itv, mbdata, mb)) in get_mailbox() 188 static void clear_all_mailboxes(struct ivtv *itv, struct ivtv_mailbox_data *mbdata) in clear_all_mailboxes() argument 192 for (i = 0; i <= mbdata->max_mbox; i++) { in clear_all_mailboxes() 194 i, readl(&mbdata->mbox[i].cmd), readl(&mbdata->mbox[i].flags)); in clear_all_mailboxes() [all …]
|
D | ivtv-mailbox.h | 15 void ivtv_api_get_data(struct ivtv_mailbox_data *mbdata, int mb,
|