Searched refs:maxbit (Results 1 – 3 of 3) sorted by relevance
| /drivers/clk/bcm/ |
| A D | clk-bcm63268-timer.c | 154 u8 maxbit = 0; in bcm63268_tclk_probe() local 158 maxbit = max(maxbit, entry->bit); in bcm63268_tclk_probe() 159 maxbit++; in bcm63268_tclk_probe() 161 hw = devm_kzalloc(&pdev->dev, struct_size(hw, data.hws, maxbit), in bcm63268_tclk_probe() 170 hw->data.num = maxbit; in bcm63268_tclk_probe() 171 for (i = 0; i < maxbit; i++) in bcm63268_tclk_probe()
|
| A D | clk-bcm63xx-gate.c | 488 u8 maxbit = 0; in clk_bcm63xx_probe() local 496 maxbit = max_t(u8, maxbit, entry->bit); in clk_bcm63xx_probe() 497 maxbit++; in clk_bcm63xx_probe() 499 hw = devm_kzalloc(&pdev->dev, struct_size(hw, data.hws, maxbit), in clk_bcm63xx_probe() 508 hw->data.num = maxbit; in clk_bcm63xx_probe() 509 for (i = 0; i < maxbit; i++) in clk_bcm63xx_probe()
|
| /drivers/input/ |
| A D | evdev.c | 650 len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_to_user() 687 len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_from_user() 704 BITS_TO_LONGS_COMPAT(maxbit) * sizeof(compat_long_t) : in bits_to_user() 705 BITS_TO_LONGS(maxbit) * sizeof(long); in bits_to_user() 722 len = compat ? BITS_TO_LONGS_COMPAT(maxbit) : BITS_TO_LONGS(maxbit); in bits_from_user() 737 int len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_to_user() 753 len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_from_user() 886 unsigned long *bits, unsigned int maxbit, in evdev_handle_get_val() argument 893 mem = bitmap_alloc(maxbit, GFP_KERNEL); in evdev_handle_get_val() 900 bitmap_copy(mem, bits, maxbit); in evdev_handle_get_val() [all …]
|
Completed in 7 milliseconds