/sound/firewire/ |
D | cmp.c | 51 dev_err(&c->resources.unit->device, "%cPCR%u: %pV", in cmp_error() 87 c->resources.unit, TCODE_LOCK_COMPARE_SWAP, in pcr_modify() 89 FW_FIXED_GENERATION | c->resources.generation); in pcr_modify() 139 err = fw_iso_resources_init(&c->resources, unit); in cmp_connection_init() 166 c->resources.unit, TCODE_READ_QUADLET_REQUEST, in cmp_connection_check_used() 184 fw_iso_resources_destroy(&c->resources); in cmp_connection_destroy() 195 if (WARN_ON(c->resources.allocated)) { in cmp_connection_reserve() 201 fw_parent_device(c->resources.unit)->max_speed); in cmp_connection_reserve() 203 err = fw_iso_resources_allocate(&c->resources, max_payload_bytes, in cmp_connection_reserve() 215 fw_iso_resources_free(&c->resources); in cmp_connection_release() [all …]
|
D | isight.c | 57 struct fw_iso_resources resources; member 218 ch = fw_iso_resources_allocate(&isight->resources, in isight_connect() 230 isight->resources.generation); in isight_connect() 232 fw_iso_resources_free(&isight->resources); in isight_connect() 241 fw_iso_resources_free(&isight->resources); in isight_connect() 317 fw_iso_resources_free(&isight->resources); in isight_stop_streaming() 363 isight->resources.channel, in isight_start_streaming() 394 fw_iso_resources_free(&isight->resources); in isight_start_streaming() 597 fw_iso_resources_destroy(&isight->resources); in isight_card_free() 636 fw_iso_resources_init(&isight->resources, unit); in isight_probe() [all …]
|
D | cmp.h | 31 struct fw_iso_resources resources; member
|
D | Makefile | 5 snd-firewire-lib-objs := lib.o iso-resources.o packets-buffer.o \
|
/sound/firewire/dice/ |
D | dice-stream.c | 156 struct fw_iso_resources *resources, unsigned int rate, in keep_resources() argument 192 return fw_iso_resources_allocate(resources, in keep_resources() 212 struct fw_iso_resources *resources; in keep_dual_resources() local 219 resources = &dice->tx_resources[i]; in keep_dual_resources() 227 resources = &dice->rx_resources[i]; in keep_dual_resources() 247 err = keep_resources(dice, stream, resources, rate, pcm_chs, in keep_dual_resources() 335 struct fw_iso_resources *resources; in start_streams() local 340 resources = dice->tx_resources + i; in start_streams() 343 resources = dice->rx_resources + i; in start_streams() 346 reg = cpu_to_be32(resources->channel); in start_streams() [all …]
|
/sound/firewire/digi00x/ |
D | digi00x-stream.c | 191 struct fw_iso_resources *resources; in keep_resources() local 204 resources = &dg00x->tx_resources; in keep_resources() 206 resources = &dg00x->rx_resources; in keep_resources() 213 return fw_iso_resources_allocate(resources, in keep_resources() 220 struct fw_iso_resources *resources; in init_stream() local 225 resources = &dg00x->tx_resources; in init_stream() 228 resources = &dg00x->rx_resources; in init_stream() 232 err = fw_iso_resources_init(resources, dg00x->unit); in init_stream() 238 fw_iso_resources_destroy(resources); in init_stream()
|
/sound/firewire/motu/ |
D | motu-stream.c | 31 struct fw_iso_resources *resources; in keep_resources() local 37 resources = &motu->rx_resources; in keep_resources() 44 resources = &motu->tx_resources; in keep_resources() 57 return fw_iso_resources_allocate(resources, in keep_resources() 324 struct fw_iso_resources *resources; in init_stream() local 329 resources = &motu->tx_resources; in init_stream() 332 resources = &motu->rx_resources; in init_stream() 336 err = fw_iso_resources_init(resources, motu->unit); in init_stream() 342 fw_iso_resources_destroy(resources); in init_stream()
|
/sound/firewire/tascam/ |
D | tascam-stream.c | 284 struct fw_iso_resources *resources; in keep_resources() local 288 resources = &tscm->tx_resources; in keep_resources() 290 resources = &tscm->rx_resources; in keep_resources() 296 return fw_iso_resources_allocate(resources, in keep_resources() 303 struct fw_iso_resources *resources; in init_stream() local 309 resources = &tscm->tx_resources; in init_stream() 313 resources = &tscm->rx_resources; in init_stream() 323 err = fw_iso_resources_init(resources, tscm->unit); in init_stream() 329 fw_iso_resources_free(resources); in init_stream()
|
/sound/firewire/fireface/ |
D | ff-stream.c | 41 struct fw_iso_resources *resources; in init_stream() local 46 resources = &ff->tx_resources; in init_stream() 49 resources = &ff->rx_resources; in init_stream() 53 err = fw_iso_resources_init(resources, ff->unit); in init_stream() 59 fw_iso_resources_destroy(resources); in init_stream()
|
/sound/aoa/soundbus/i2sbus/ |
D | core.c | 255 if (i2sbus_get_and_fixup_rsrc(np,i,layout,&dev->resources[i])) in i2sbus_add_dev() 262 request_mem_region(dev->resources[i].start, in i2sbus_add_dev() 263 resource_size(&dev->resources[i]), in i2sbus_add_dev() 271 r = &dev->resources[aoa_resource_i2smmio]; in i2sbus_add_dev() 277 r = &dev->resources[aoa_resource_txdbdma]; in i2sbus_add_dev() 283 r = &dev->resources[aoa_resource_rxdbdma]; in i2sbus_add_dev()
|
D | i2sbus.h | 64 struct resource resources[3]; member
|
/sound/pci/au88x0/ |
D | au88x0_core.c | 2009 resinuse |= vortex->dma_adb[i].resources[restype]; in vortex_adb_checkinout() 2018 vortex->dma_adb[i].resources[restype] |= (1 << i); in vortex_adb_checkinout() 2119 vortex->dma_adb[dma].resources, en, in vortex_adb_allocroute() 2144 stream->resources, en, in vortex_adb_allocroute() 2147 memset(stream->resources, 0, in vortex_adb_allocroute() 2148 sizeof(stream->resources)); in vortex_adb_allocroute() 2153 stream->resources, in vortex_adb_allocroute() 2157 memset(stream->resources, in vortex_adb_allocroute() 2159 sizeof(stream->resources)); in vortex_adb_allocroute() 2168 stream->resources, en, in vortex_adb_allocroute() [all …]
|
D | au88x0.h | 118 u32 resources[5]; member
|
/sound/soc/intel/skylake/ |
D | skl-messages.c | 449 struct skl_module_res *res = &module->resources[mconfig->res_idx]; in skl_set_base_module_format() 500 struct skl_module_res *res = &module->resources[mconfig->res_idx]; in skl_set_base_ext_module_format() 640 res = &mconfig->module->resources[mconfig->res_idx]; in skl_setup_cpr_gateway_cfg() 644 res = &mconfig->module->resources[res_idx]; in skl_setup_cpr_gateway_cfg() 857 res = &module->resources[mconfig->res_idx]; in skl_get_module_param_size()
|
D | skl-debug.c | 72 struct skl_module_res *res = &module->resources[mconfig->res_idx]; in module_read()
|
D | skl-topology.c | 242 res = &mcfg->module->resources[mcfg->res_idx]; in skl_tplg_update_buffer_size() 1641 res = &mconfig->module->resources[mconfig->res_idx]; in skl_tplg_update_pipe_params() 2389 res = &mconfig->module->resources[res_idx]; in skl_tplg_get_token() 2817 mconfig->module->resources[0].cpc = dfw->max_mcps / 1000; in skl_tplg_get_pvt_data_v4() 2818 mconfig->module->resources[0].ibs = dfw->ibs; in skl_tplg_get_pvt_data_v4() 2819 mconfig->module->resources[0].obs = dfw->obs; in skl_tplg_get_pvt_data_v4() 2833 mconfig->module->resources[0].is_pages = dfw->mem_pages; in skl_tplg_get_pvt_data_v4() 3334 res = &mod->resources[res_val_idx]; in skl_tplg_get_int_tkn()
|
D | skl-topology.h | 381 struct skl_module_res resources[SKL_MAX_MODULE_RESOURCES]; member
|
/sound/firewire/fireworks/ |
D | fireworks_stream.c | 82 conn->resources.channel, conn->speed); in start_stream()
|
/sound/firewire/oxfw/ |
D | oxfw-stream.c | 118 conn->resources.channel, conn->speed); in start_stream()
|
/sound/firewire/bebob/ |
D | bebob_stream.c | 428 conn->resources.channel, conn->speed); in start_stream()
|