Lines Matching refs:ctl
91 static int dma_port_read(struct tb_ctl *ctl, void *buffer, u64 route, in dma_port_read() argument
121 res = tb_cfg_request_sync(ctl, req, timeout_msec); in dma_port_read()
132 static int dma_port_write(struct tb_ctl *ctl, const void *buffer, u64 route, in dma_port_write() argument
164 res = tb_cfg_request_sync(ctl, req, timeout_msec); in dma_port_write()
184 ret = dma_port_read(sw->tb->ctl, &type, tb_route(sw), ports[i], in dma_find_port()
252 ret = dma_port_read(sw->tb->ctl, &in, tb_route(sw), dma->port, in dma_port_wait_for_completion()
288 ret = dma_port_write(sw->tb->ctl, &in, tb_route(sw), dma->port, in dma_port_request()
297 ret = dma_port_read(sw->tb->ctl, &out, tb_route(sw), dma->port, in dma_port_request()
325 return dma_port_read(sw->tb->ctl, buf, tb_route(sw), dma->port, in dma_port_flash_read_block()
339 ret = dma_port_write(sw->tb->ctl, buf, tb_route(sw), dma->port, in dma_port_flash_write_block()
491 ret = dma_port_read(sw->tb->ctl, &out, tb_route(sw), dma->port, in dma_port_flash_update_auth_status()