Home
last modified time | relevance | path

Searched refs:sprop (Results 1 – 9 of 9) sorted by relevance

/linux-4.1.27/drivers/of/
Dresolver.c119 struct property *sprop; in __of_adjust_phandle_ref() local
173 for_each_property_of_node(refnode, sprop) { in __of_adjust_phandle_ref()
174 if (of_prop_cmp(sprop->name, propstr) == 0) in __of_adjust_phandle_ref()
178 if (!sprop) { in __of_adjust_phandle_ref()
186 *(__be32 *)(sprop->value + offset) = cpu_to_be32(phandle); in __of_adjust_phandle_ref()
215 struct property *rprop, *sprop; in __of_adjust_tree_phandle_references() local
239 for_each_property_of_node(target, sprop) { in __of_adjust_tree_phandle_references()
240 if (of_prop_cmp(sprop->name, rprop->name) == 0) in __of_adjust_tree_phandle_references()
244 if (sprop == NULL) { in __of_adjust_tree_phandle_references()
253 if (off >= sprop->length || in __of_adjust_tree_phandle_references()
[all …]
/linux-4.1.27/sound/soc/fsl/
Dmpc8610_hpcd.c198 const char *sprop; in mpc8610_hpcd_probe() local
240 sprop = of_get_property(np, "fsl,mode", NULL); in mpc8610_hpcd_probe()
241 if (!sprop) { in mpc8610_hpcd_probe()
247 if (strcasecmp(sprop, "i2s-slave") == 0) { in mpc8610_hpcd_probe()
265 } else if (strcasecmp(sprop, "i2s-master") == 0) { in mpc8610_hpcd_probe()
270 } else if (strcasecmp(sprop, "lj-slave") == 0) { in mpc8610_hpcd_probe()
275 } else if (strcasecmp(sprop, "lj-master") == 0) { in mpc8610_hpcd_probe()
280 } else if (strcasecmp(sprop, "rj-slave") == 0) { in mpc8610_hpcd_probe()
285 } else if (strcasecmp(sprop, "rj-master") == 0) { in mpc8610_hpcd_probe()
290 } else if (strcasecmp(sprop, "ac97-slave") == 0) { in mpc8610_hpcd_probe()
[all …]
Dp1022_ds.c208 const char *sprop; in p1022_ds_probe() local
250 sprop = of_get_property(np, "fsl,mode", NULL); in p1022_ds_probe()
251 if (!sprop) { in p1022_ds_probe()
257 if (strcasecmp(sprop, "i2s-slave") == 0) { in p1022_ds_probe()
275 } else if (strcasecmp(sprop, "i2s-master") == 0) { in p1022_ds_probe()
280 } else if (strcasecmp(sprop, "lj-slave") == 0) { in p1022_ds_probe()
285 } else if (strcasecmp(sprop, "lj-master") == 0) { in p1022_ds_probe()
290 } else if (strcasecmp(sprop, "rj-slave") == 0) { in p1022_ds_probe()
295 } else if (strcasecmp(sprop, "rj-master") == 0) { in p1022_ds_probe()
300 } else if (strcasecmp(sprop, "ac97-slave") == 0) { in p1022_ds_probe()
[all …]
Dfsl_ssi.c1289 const char *p, *sprop; in fsl_ssi_probe() local
1315 sprop = of_get_property(np, "fsl,mode", NULL); in fsl_ssi_probe()
1316 if (sprop) { in fsl_ssi_probe()
1317 if (!strcmp(sprop, "ac97-slave")) in fsl_ssi_probe()
1423 sprop = of_get_property(of_find_node_by_path("/"), "compatible", NULL); in fsl_ssi_probe()
1425 p = strrchr(sprop, ','); in fsl_ssi_probe()
1427 sprop = p + 1; in fsl_ssi_probe()
1428 snprintf(name, sizeof(name), "snd-soc-%s", sprop); in fsl_ssi_probe()
/linux-4.1.27/arch/powerpc/sysdev/
Dscom.c57 const __be32 *prop, *sprop; in scom_map_device() local
76 sprop = of_get_property(parent, "#scom-cells", NULL); in scom_map_device()
79 sprop = of_get_property(parent, "#address-cells", NULL); in scom_map_device()
83 cells = sprop ? be32_to_cpup(sprop) : 1; in scom_map_device()
/linux-4.1.27/drivers/usb/host/
Dfhci-hcd.c575 const char *sprop; in of_fhci_probe() local
585 sprop = of_get_property(node, "mode", NULL); in of_fhci_probe()
586 if (sprop && strcmp(sprop, "host")) in of_fhci_probe()
709 sprop = of_get_property(node, "fsl,fullspeed-clock", NULL); in of_fhci_probe()
710 if (sprop) { in of_fhci_probe()
711 fhci->fullspeed_clk = qe_clock_source(sprop); in of_fhci_probe()
719 sprop = of_get_property(node, "fsl,lowspeed-clock", NULL); in of_fhci_probe()
720 if (sprop) { in of_fhci_probe()
721 fhci->lowspeed_clk = qe_clock_source(sprop); in of_fhci_probe()
/linux-4.1.27/arch/powerpc/sysdev/qe_lib/
Dqe.c543 const char *sprop; in qe_get_firmware_info() local
584 sprop = of_get_property(fw, "id", NULL); in qe_get_firmware_info()
585 if (sprop) in qe_get_firmware_info()
586 strlcpy(qe_firmware_info.id, sprop, in qe_get_firmware_info()
/linux-4.1.27/drivers/tty/serial/
Ducc_uart.c1197 const char *sprop; /* String OF properties */ in ucc_uart_probe() local
1304 sprop = of_get_property(np, "rx-clock-name", NULL); in ucc_uart_probe()
1305 if (!sprop) { in ucc_uart_probe()
1311 qe_port->us_info.rx_clock = qe_clock_source(sprop); in ucc_uart_probe()
1323 sprop = of_get_property(np, "tx-clock-name", NULL); in ucc_uart_probe()
1324 if (!sprop) { in ucc_uart_probe()
1329 qe_port->us_info.tx_clock = qe_clock_source(sprop); in ucc_uart_probe()
/linux-4.1.27/drivers/net/ethernet/freescale/
Ducc_geth.c3697 const char *sprop; in ucc_geth_probe() local
3736 sprop = of_get_property(np, "rx-clock-name", NULL); in ucc_geth_probe()
3737 if (sprop) { in ucc_geth_probe()
3738 ug_info->uf_info.rx_clock = qe_clock_source(sprop); in ucc_geth_probe()
3759 sprop = of_get_property(np, "tx-clock-name", NULL); in ucc_geth_probe()
3760 if (sprop) { in ucc_geth_probe()
3761 ug_info->uf_info.tx_clock = qe_clock_source(sprop); in ucc_geth_probe()