Searched refs:mbdata (Results 1 – 2 of 2) sorted by relevance
/drivers/media/pci/ivtv/ |
D | ivtv-mailbox.c | 145 static int try_mailbox(struct ivtv *itv, struct ivtv_mailbox_data *mbdata, int mb) in try_mailbox() argument 147 u32 flags = readl(&mbdata->mbox[mb].flags); in try_mailbox() 151 if (is_free && !test_and_set_bit(mb, &mbdata->busy)) { in try_mailbox() 152 write_sync(IVTV_MBOX_DRIVER_BUSY, &mbdata->mbox[mb].flags); in try_mailbox() 160 static int get_mailbox(struct ivtv *itv, struct ivtv_mailbox_data *mbdata, int flags) in get_mailbox() argument 164 int max_mbox = mbdata->max_mbox; in get_mailbox() 175 if (try_mailbox(itv, mbdata, mb)) in get_mailbox() 202 static void clear_all_mailboxes(struct ivtv *itv, struct ivtv_mailbox_data *mbdata) in clear_all_mailboxes() argument 206 for (i = 0; i <= mbdata->max_mbox; i++) { in clear_all_mailboxes() 208 i, readl(&mbdata->mbox[i].cmd), readl(&mbdata->mbox[i].flags)); in clear_all_mailboxes() [all …]
|
D | ivtv-mailbox.h | 27 void ivtv_api_get_data(struct ivtv_mailbox_data *mbdata, int mb,
|