| /sound/soc/generic/ |
| A D | simple-card.c | 40 struct device_node *node, in simple_parse_platform() argument 46 if (!node) in simple_parse_platform() 74 if (!node) in simple_parse_dai() 376 struct device_node *node; in __simple_for_each_link() local 383 if (!node) { in __simple_for_each_link() 384 node = of_node_get(top); in __simple_for_each_link() 396 if (node == add_devs) { in __simple_for_each_link() 397 node = of_get_next_child(top, node); in __simple_for_each_link() 455 node = of_get_next_child(top, node); in __simple_for_each_link() 459 of_node_put(node); in __simple_for_each_link() [all …]
|
| A D | simple-card-utils.c | 108 struct device_node *node, in simple_util_parse_daifmt() argument 261 struct device_node *node, in simple_util_parse_clk() argument 276 node, "system-clock-fixed"); in simple_util_parse_clk() 742 if (!of_property_present(node, prop)) in simple_util_parse_routing() 760 if (of_property_present(node, prop)) in simple_util_parse_widgets() 1088 for_each_of_graph_port(node, p) { in graph_get_dai_id() 1106 struct device_node *node; in graph_util_parse_dai() local 1114 node = of_graph_get_port_parent(ep); in graph_util_parse_dai() 1129 dlc->of_node = node; in graph_util_parse_dai() 1137 args.np = node; in graph_util_parse_dai() [all …]
|
| /sound/soc/meson/ |
| A D | meson-card-utils.c | 76 struct device_node *node, in meson_card_parse_dai() argument 81 if (!dlc || !node) in meson_card_parse_dai() 94 struct device_node *node, in meson_card_set_link_name() argument 98 prefix, node->full_name); in meson_card_set_link_name() 137 struct device_node *node) in meson_card_set_be_link() argument 142 num_codecs = of_get_child_count(node); in meson_card_set_be_link() 145 node->full_name); in meson_card_set_be_link() 156 for_each_child_of_node_scoped(node, np) { in meson_card_set_be_link() 174 struct device_node *node, in meson_card_set_fe_link() argument 200 num = of_get_child_count(node); in meson_card_add_links() [all …]
|
| A D | meson-card.h | 21 struct device_node *node, 31 unsigned int meson_card_parse_daifmt(struct device_node *node, 41 struct device_node *node, 45 struct device_node *node); 48 struct device_node *node,
|
| A D | axg-card.c | 158 struct device_node *node, in axg_card_parse_cpu_tdm_slots() argument 174 snd_soc_of_get_slot_mask(node, propname, &be->tx_mask[i]); in axg_card_parse_cpu_tdm_slots() 184 snd_soc_of_get_slot_mask(node, propname, &be->rx_mask[i]); in axg_card_parse_cpu_tdm_slots() 198 of_property_read_u32(node, "dai-tdm-slot-num", &be->slots); in axg_card_parse_cpu_tdm_slots() 214 of_property_read_u32(node, "dai-tdm-slot-width", &be->slot_width); in axg_card_parse_cpu_tdm_slots() 221 struct device_node *node, in axg_card_parse_codecs_masks() argument 233 for_each_child_of_node_scoped(node, np) { in axg_card_parse_codecs_masks() 246 struct device_node *node, in axg_card_parse_tdm() argument 265 of_property_read_u32(node, "mclk-fs", &be->mclk_fs); in axg_card_parse_tdm() 267 ret = axg_card_parse_cpu_tdm_slots(card, link, node, be); in axg_card_parse_tdm() [all …]
|
| /sound/soc/ |
| A D | soc-usb.c | 18 struct device_node *node; in snd_soc_find_phandle() local 20 node = of_parse_phandle(dev->of_node, "usb-soc-be", 0); in snd_soc_find_phandle() 21 if (!node) in snd_soc_find_phandle() 24 return node; in snd_soc_find_phandle() 31 if (!node) in snd_soc_usb_ctx_lookup() 35 if (ctx->component->dev->of_node == node) in snd_soc_usb_ctx_lookup() 45 struct device_node *node; in snd_soc_find_usb_ctx() local 47 node = snd_soc_find_phandle(dev); in snd_soc_find_usb_ctx() 48 if (!IS_ERR(node)) { in snd_soc_find_usb_ctx() 49 ctx = snd_soc_usb_ctx_lookup(node); in snd_soc_find_usb_ctx() [all …]
|
| /sound/soc/intel/avs/ |
| A D | path.c | 35 list_for_each_entry(mod, &ppl->mod_list, node) in avs_path_find_module() 46 list_for_each_entry(ppl, &path->ppl_list, node) in avs_path_find_pipeline() 836 INIT_LIST_HEAD(&mod->node); in avs_path_module_create() 923 INIT_LIST_HEAD(&binding->node); in avs_path_binding_create() 942 struct avs_path_module, node)) in avs_path_pipeline_arm() 947 sink = list_next_entry(mod, node); in avs_path_pipeline_arm() 965 list_del(&binding->node); in avs_path_pipeline_free() 979 list_del(&ppl->node); in avs_path_pipeline_free() 1000 INIT_LIST_HEAD(&ppl->node); in avs_path_pipeline_create() 1053 INIT_LIST_HEAD(&path->node); in avs_path_init() [all …]
|
| A D | path.h | 24 struct list_head node; member 35 struct list_head node; member 46 struct list_head node; member 58 struct list_head node; member
|
| A D | utils.c | 241 list_for_each_entry(entry, &adev->fw_list, node) { in avs_request_firmware() 268 list_add_tail(&entry->node, &adev->fw_list); in avs_request_firmware() 281 entry = list_last_entry(&adev->fw_list, typeof(*entry), node); in avs_release_last_firmware() 283 list_del(&entry->node); in avs_release_last_firmware() 296 list_for_each_entry_safe(entry, tmp, &adev->fw_list, node) { in avs_release_firmwares() 297 list_del(&entry->node); in avs_release_firmwares()
|
| A D | topology.h | 162 struct list_head node; member 184 struct list_head node; member 197 struct list_head node; member 214 struct list_head node; member
|
| /sound/soc/codecs/ |
| A D | max98504.c | 313 struct device_node *node = dev->of_node; in max98504_i2c_probe() local 321 if (node) { in max98504_i2c_probe() 322 if (!of_property_read_u32(node, "maxim,brownout-threshold", in max98504_i2c_probe() 326 of_property_read_u32(node, "maxim,brownout-attenuation", in max98504_i2c_probe() 328 of_property_read_u32(node, "maxim,brownout-attack-hold-ms", in max98504_i2c_probe() 330 of_property_read_u32(node, "maxim,brownout-timed-hold-ms", in max98504_i2c_probe() 332 of_property_read_u32(node, "maxim,brownout-release-rate-ms", in max98504_i2c_probe()
|
| A D | mt6359-accdet.c | 552 struct device_node *node = NULL; in mt6359_accdet_parse_dt() local 557 if (!node) in mt6359_accdet_parse_dt() 560 ret = of_property_read_u32(node, "mediatek,mic-vol", in mt6359_accdet_parse_dt() 570 ret = of_property_read_u32(node, "mediatek,mic-mode", in mt6359_accdet_parse_dt() 581 ret = of_property_read_u32(node, "mediatek,eint-level-pol", in mt6359_accdet_parse_dt() 611 ret = of_property_read_u32(node, "mediatek,eint-trig-mode", in mt6359_accdet_parse_dt() 627 ret = of_property_read_u32(node, "mediatek,eint-comp-vth", in mt6359_accdet_parse_dt() 639 ret = of_property_read_u32_array(node, in mt6359_accdet_parse_dt() 650 ret = of_property_read_u32_array(node, in mt6359_accdet_parse_dt() 665 ret = of_property_read_u32_array(node, in mt6359_accdet_parse_dt() [all …]
|
| /sound/ppc/ |
| A D | pmac.c | 806 if (chip->node) in snd_pmac_free() 832 if (chip->node) { in snd_pmac_free() 842 of_node_put(chip->node); in snd_pmac_free() 926 if (!chip->node) in snd_pmac_detect() 932 if (! chip->node) { in snd_pmac_detect() 934 if (chip->node && chip->node->parent && in snd_pmac_detect() 941 if (! chip->node) in snd_pmac_detect() 950 of_node_put(chip->node); in snd_pmac_detect() 951 chip->node = NULL; in snd_pmac_detect() 965 chip->node = NULL; in snd_pmac_detect() [all …]
|
| /sound/soc/renesas/rcar/ |
| A D | ssiu.c | 475 struct device_node *node = rsnd_ssiu_of_node(priv); in rsnd_parse_connect_ssiu() local 480 if (node) { in rsnd_parse_connect_ssiu() 483 for_each_child_of_node_scoped(node, np) { in rsnd_parse_connect_ssiu() 499 of_node_put(node); in rsnd_parse_connect_ssiu() 512 struct device_node *node; in rsnd_ssiu_probe() local 525 node = rsnd_ssiu_of_node(priv); in rsnd_ssiu_probe() 526 if (node) in rsnd_ssiu_probe() 527 nr = rsnd_node_count(priv, node, SSIU_NAME); in rsnd_ssiu_probe() 548 if ((node) && in rsnd_ssiu_probe() 571 if (node) { in rsnd_ssiu_probe()
|
| A D | ctu.c | 318 struct device_node *node; in rsnd_ctu_probe() local 325 node = rsnd_ctu_of_node(priv); in rsnd_ctu_probe() 326 if (!node) in rsnd_ctu_probe() 329 nr = of_get_child_count(node); in rsnd_ctu_probe() 346 for_each_child_of_node_scoped(node, np) { in rsnd_ctu_probe() 372 of_node_put(node); in rsnd_ctu_probe()
|
| A D | core.c | 1093 if (!node) in rsnd_parse_tdm_split_mode() 1097 if (np == node) { in rsnd_parse_tdm_split_mode() 1103 of_node_put(node); in rsnd_parse_tdm_split_mode() 1150 struct device_node *node, in rsnd_parse_connect_common() argument 1158 if (!node) in rsnd_parse_connect_common() 1178 of_node_put(node); in rsnd_parse_connect_common() 1209 of_node_full_name(node)); in rsnd_node_fixed_index() 1246 struct device_node *node; in rsnd_dai_of_node() local 1261 if (!node) in rsnd_dai_of_node() 1264 of_node_put(node); in rsnd_dai_of_node() [all …]
|
| A D | mix.c | 290 struct device_node *node; in rsnd_mix_probe() local 297 node = rsnd_mix_of_node(priv); in rsnd_mix_probe() 298 if (!node) in rsnd_mix_probe() 301 nr = of_get_child_count(node); in rsnd_mix_probe() 318 for_each_child_of_node_scoped(node, np) { in rsnd_mix_probe() 339 of_node_put(node); in rsnd_mix_probe()
|
| A D | dvc.c | 326 struct device_node *node; in rsnd_dvc_probe() local 333 node = rsnd_dvc_of_node(priv); in rsnd_dvc_probe() 334 if (!node) in rsnd_dvc_probe() 337 nr = of_get_child_count(node); in rsnd_dvc_probe() 354 for_each_child_of_node_scoped(node, np) { in rsnd_dvc_probe() 375 of_node_put(node); in rsnd_dvc_probe()
|
| /sound/soc/mediatek/mt8186/ |
| A D | mt8186-mt6366-common.c | 44 struct device_node *node, in mt8186_mt6366_card_set_be_link() argument 49 if (node && strcmp(link->name, link_name) == 0) { in mt8186_mt6366_card_set_be_link() 50 ret = snd_soc_of_get_dai_link_codecs(card->dev, node, link); in mt8186_mt6366_card_set_be_link()
|
| /sound/soc/qcom/qdsp6/ |
| A D | q6adm.c | 52 struct list_head node; member 98 list_for_each_entry(c, &adm->copps_list, node) { in q6adm_find_copp() 120 list_del(&c->node); in q6adm_free_copp() 308 list_for_each_entry(c, &adm->copps_list, node) { in q6adm_find_matching_copp() 411 list_add_tail(&copp->node, &adm->copps_list); in q6adm_open() 464 struct q6adm_session_map_node_v5 *node; in q6adm_matrix_map() local 472 pkt_size = (APR_HDR_SIZE + sizeof(*route) + sizeof(*node) + in q6adm_matrix_map() 481 node = matrix_map + APR_HDR_SIZE + sizeof(*route); in q6adm_matrix_map() 482 copps_list = matrix_map + APR_HDR_SIZE + sizeof(*route) + sizeof(*node); in q6adm_matrix_map() 504 node->session_id = payload_map.session_id; in q6adm_matrix_map() [all …]
|
| /sound/soc/ti/ |
| A D | omap-abe-twl6040.c | 213 struct device_node *node = pdev->dev.of_node; in omap_abe_probe() local 220 if (!node) { in omap_abe_probe() 248 dai_node = of_parse_phandle(node, "ti,mcpdm", 0); in omap_abe_probe() 267 dai_node = of_parse_phandle(node, "ti,dmic", 0); in omap_abe_probe() 286 priv->jack_detection = of_property_read_bool(node, "ti,jack-detection"); in omap_abe_probe() 287 of_property_read_u32(node, "ti,mclk-freq", &priv->mclk_freq); in omap_abe_probe()
|
| A D | omap-twl4030.c | 241 struct device_node *node = pdev->dev.of_node; in omap_twl4030_probe() local 252 if (node) { in omap_twl4030_probe() 261 dai_node = of_parse_phandle(node, "ti,mcbsp", 0); in omap_twl4030_probe() 272 dai_node = of_parse_phandle(node, "ti,mcbsp-voice", 0); in omap_twl4030_probe() 284 prop = of_find_property(node, "ti,audio-routing", NULL); in omap_twl4030_probe()
|
| /sound/xen/ |
| A D | xen_snd_front_cfg.c | 393 char node[3]; in cfg_device() local 417 snprintf(node, sizeof(node), "%d", num_streams); in cfg_device() 418 if (!xenbus_exists(XBT_NIL, device_path, node)) in cfg_device() 481 char node[3]; in xen_snd_front_cfg_card() local 486 scnprintf(node, sizeof(node), "%d", num_devices); in xen_snd_front_cfg_card() 487 if (!xenbus_exists(XBT_NIL, xb_dev->nodename, node)) in xen_snd_front_cfg_card()
|
| /sound/soc/xilinx/ |
| A D | xlnx_i2s.c | 177 struct device_node *node = dev->of_node; in xlnx_i2s_probe() local 187 ret = of_property_read_u32(node, "xlnx,num-channels", &drv_data->channels); in xlnx_i2s_probe() 194 ret = of_property_read_u32(node, "xlnx,dwidth", &drv_data->data_width); in xlnx_i2s_probe() 210 if (of_device_is_compatible(node, "xlnx,i2s-transmitter-1.0")) { in xlnx_i2s_probe() 218 } else if (of_device_is_compatible(node, "xlnx,i2s-receiver-1.0")) { in xlnx_i2s_probe()
|
| /sound/hda/codecs/side-codecs/ |
| A D | cirrus_scodec_test.c | 169 struct software_node *node; in cirrus_scodec_test_set_spkid_swnode() local 171 node = kunit_kzalloc(test, sizeof(*node), GFP_KERNEL); in cirrus_scodec_test_set_spkid_swnode() 172 if (!node) in cirrus_scodec_test_set_spkid_swnode() 180 node->properties = props; in cirrus_scodec_test_set_spkid_swnode() 182 return device_add_software_node(dev, node); in cirrus_scodec_test_set_spkid_swnode()
|