Searched refs:num_fields (Results 1 – 1 of 1) sorted by relevance
45 int num_fields; in mmio_mux_probe() local56 num_fields = dev_read_size(dev, "mux-reg-masks"); in mmio_mux_probe()57 if (num_fields < 0) in mmio_mux_probe()60 num_fields /= sizeof(u32); in mmio_mux_probe()61 if (num_fields == 0 || num_fields % 2) in mmio_mux_probe()63 num_fields = num_fields / 2; in mmio_mux_probe()65 ret = mux_alloc_controllers(dev, num_fields); in mmio_mux_probe()69 fields = devm_kmalloc(dev, num_fields * sizeof(*fields), __GFP_ZERO); in mmio_mux_probe()74 mux_reg_masks = devm_kmalloc(dev, num_fields * 2 * sizeof(u32), in mmio_mux_probe()80 num_fields * 2); in mmio_mux_probe()[all …]
Completed in 3 milliseconds