Lines Matching refs:cl
25 struct mbox_client cl; member
33 static void response_callback(struct mbox_client *cl, void *msg) in response_callback() argument
35 struct rpi_firmware *fw = container_of(cl, struct rpi_firmware, cl); in response_callback()
58 dev_err(fw->cl.dev, "mbox_send_message returned %d\n", ret); in rpi_firmware_transaction()
91 buf = dma_alloc_coherent(fw->cl.dev, PAGE_ALIGN(size), &bus_addr, in rpi_firmware_property_list()
115 dev_err(fw->cl.dev, "Request 0x%08x returned status 0x%08x\n", in rpi_firmware_property_list()
120 dma_free_coherent(fw->cl.dev, PAGE_ALIGN(size), buf, bus_addr); in rpi_firmware_property_list()
179 dev_info(fw->cl.dev, in rpi_firmware_print_firmware_revision()
195 fw->cl.dev = dev; in rpi_firmware_probe()
196 fw->cl.rx_callback = response_callback; in rpi_firmware_probe()
197 fw->cl.tx_block = true; in rpi_firmware_probe()
199 fw->chan = mbox_request_channel(&fw->cl, 0); in rpi_firmware_probe()