Searched refs:fns (Results 1 – 3 of 3) sorted by relevance
34 const struct io_pgtable_init_fns *fns; in alloc_io_pgtable_ops() local39 fns = io_pgtable_init_table[fmt]; in alloc_io_pgtable_ops()40 if (!fns) in alloc_io_pgtable_ops()43 iop = fns->alloc(cfg, cookie); in alloc_io_pgtable_ops()
210 idle_fn *fns; in qcom_cpuidle_init() local247 fns = devm_kcalloc(get_cpu_device(cpu), state_count, sizeof(*fns), in qcom_cpuidle_init()249 if (!fns) in qcom_cpuidle_init()253 fns[i] = idle_fns[i]; in qcom_cpuidle_init()262 per_cpu(qcom_idle_ops, cpu) = fns; in qcom_cpuidle_init()
656 void sa1100_register_uart_fns(struct sa1100_port_fns *fns) in sa1100_register_uart_fns() argument658 if (fns->get_mctrl) in sa1100_register_uart_fns()659 sa1100_pops.get_mctrl = fns->get_mctrl; in sa1100_register_uart_fns()660 if (fns->set_mctrl) in sa1100_register_uart_fns()661 sa1100_pops.set_mctrl = fns->set_mctrl; in sa1100_register_uart_fns()663 sa1100_pops.pm = fns->pm; in sa1100_register_uart_fns()