Lines Matching refs:ssi
51 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_port_regs_show() local
52 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_port_regs_show()
193 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_claim_lch() local
194 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_claim_lch()
211 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_start_dma() local
212 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_start_dma()
231 err = dma_map_sg(&ssi->device, msg->sgt.sgl, msg->sgt.nents, in ssi_start_dma()
234 dev_dbg(&ssi->device, "DMA map SG failed !\n"); in ssi_start_dma()
248 err = dma_map_sg(&ssi->device, msg->sgt.sgl, msg->sgt.nents, in ssi_start_dma()
251 dev_dbg(&ssi->device, "DMA map SG failed !\n"); in ssi_start_dma()
265 dev_dbg(&ssi->device, "lch %d cdsp %08x ccr %04x s_addr %08x d_addr %08x\n", in ssi_start_dma()
290 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_start_pio() local
291 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_start_pio()
342 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_async_break() local
343 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_async_break()
418 static u32 ssi_calculate_div(struct hsi_controller *ssi) in ssi_calculate_div() argument
420 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_calculate_div()
427 dev_dbg(&ssi->device, "TX div %d for fck_rate %lu Khz speed %d Kb/s\n", in ssi_calculate_div()
458 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_setup() local
459 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_setup()
470 div = ssi_calculate_div(ssi); in ssi_setup()
523 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_flush() local
524 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_flush()
590 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in start_tx_work() local
591 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in start_tx_work()
620 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_stop_tx() local
621 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_stop_tx()
670 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_cleanup_queues() local
671 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_cleanup_queues()
727 static void ssi_cleanup_gdd(struct hsi_controller *ssi, struct hsi_client *cl) in ssi_cleanup_gdd() argument
729 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_cleanup_gdd()
773 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_release() local
778 ssi_cleanup_gdd(ssi, cl); in ssi_release()
808 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_error() local
809 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_error()
866 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_break_complete() local
867 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_break_complete()
895 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_pio_complete() local
896 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_pio_complete()
960 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_pio_thread() local
962 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_pio_thread()
999 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_wake_thread() local
1001 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_wake_thread()
1013 dev_dbg(&ssi->device, "Wake in high\n"); in ssi_wake_thread()
1020 dev_dbg(&ssi->device, "Wake in low\n"); in ssi_wake_thread()
1130 struct hsi_controller *ssi = dev_get_drvdata(pd->dev.parent); in ssi_port_probe() local
1131 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_port_probe()
1138 if (!ssi->port || !omap_ssi->port) { in ssi_port_probe()
1145 for (port_id = 0; port_id < ssi->num_ports && omap_ssi->port[port_id]; in ssi_port_probe()
1149 if (port_id >= ssi->num_ports) { in ssi_port_probe()
1155 port = ssi->port[port_id]; in ssi_port_probe()
1241 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_port_remove() local
1242 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_port_remove()
1276 void omap_ssi_port_update_fclk(struct hsi_controller *ssi, in omap_ssi_port_update_fclk() argument
1280 u32 div = ssi_calculate_div(ssi); in omap_ssi_port_update_fclk()
1289 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_save_port_ctx() local
1290 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_save_port_ctx()
1301 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_restore_port_ctx() local
1302 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_restore_port_ctx()
1341 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in omap_ssi_port_runtime_suspend() local
1342 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in omap_ssi_port_runtime_suspend()
1349 omap_ssi->get_loss(ssi->device.parent); in omap_ssi_port_runtime_suspend()
1359 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in omap_ssi_port_runtime_resume() local
1360 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in omap_ssi_port_runtime_resume()
1365 omap_ssi->get_loss(ssi->device.parent))) in omap_ssi_port_runtime_resume()