Home
last modified time | relevance | path

Searched refs:ocd (Results 1 – 4 of 4) sorted by relevance

/freebsd-13.1/sys/dev/uart/
H A Duart_bus_fdt.c107 const struct ofw_compat_data *ocd; in uart_fdt_find_device() local
111 if (ocd->ocd_data != 0) in uart_fdt_find_device()
112 return (ocd->ocd_data); in uart_fdt_find_device()
142 const struct ofw_compat_data *ocd; in uart_fdt_find_compatible() local
144 for (ocd = cd; ocd->ocd_str != NULL; ocd++) { in uart_fdt_find_compatible()
146 return (ocd); in uart_fdt_find_compatible()
155 const struct ofw_compat_data *ocd; in uart_fdt_find_by_node() local
160 if ((ocd != NULL) && (ocd->ocd_data != 0)) in uart_fdt_find_by_node()
161 return (ocd->ocd_data); in uart_fdt_find_by_node()
166 if ((ocd != NULL) && (ocd->ocd_data != 0)) in uart_fdt_find_by_node()
[all …]
/freebsd-13.1/sys/mips/cavium/cryptocteon/
H A Dcryptocteon.c165 struct octo_sess *ocd) in cryptocteon_calc_hash() argument
172 ocd->octo_hminner, ocd->octo_hmouter); in cryptocteon_calc_hash()
181 struct octo_sess *ocd; in cryptocteon_newsession() local
185 ocd = crypto_get_driver_session(cses); in cryptocteon_newsession()
187 ocd->octo_encklen = csp->csp_cipher_klen; in cryptocteon_newsession()
190 ocd->octo_encklen); in cryptocteon_newsession()
195 ocd->octo_mlen = csp->csp_auth_mlen; in cryptocteon_newsession()
199 ocd->octo_mlen = SHA1_HASH_LEN; in cryptocteon_newsession()
216 ocd->octo_encrypt = octo_aes_cbc_encrypt; in cryptocteon_newsession()
217 ocd->octo_decrypt = octo_aes_cbc_decrypt; in cryptocteon_newsession()
[all …]
/freebsd-13.1/sys/dev/psci/
H A Dpsci.c208 const struct ofw_compat_data *ocd; in psci_fdt_probe() local
213 ocd = ofw_bus_search_compatible(dev, compat_data); in psci_fdt_probe()
214 if (ocd->ocd_str == NULL) in psci_fdt_probe()
225 const struct ofw_compat_data *ocd; in psci_fdt_attach() local
228 ocd = ofw_bus_search_compatible(dev, compat_data); in psci_fdt_attach()
229 psci_init_def = (struct psci_init_def *)ocd->ocd_data; in psci_fdt_attach()
/freebsd-13.1/sys/arm/ti/omap4/
H A Domap4_prcm_clks.c1393 const struct ofw_compat_data *ocd; in omap4_prcm_probe() local
1398 ocd = ofw_bus_search_compatible(dev, compat_data); in omap4_prcm_probe()
1399 if ((int)ocd->ocd_data == 0) in omap4_prcm_probe()
1402 switch ((int)ocd->ocd_data) { in omap4_prcm_probe()
1413 device_printf(dev, "unknown instance type: %d\n", (int)ocd->ocd_data); in omap4_prcm_probe()
1440 const struct ofw_compat_data *ocd; in omap4_prcm_attach() local
1443 ocd = ofw_bus_search_compatible(dev, compat_data); in omap4_prcm_attach()
1444 sc->sc_instance = (int)ocd->ocd_data; in omap4_prcm_attach()