bl 8 arch/alpha/math-emu/sfp-util.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 9 arch/alpha/math-emu/sfp-util.h ((sl) = (al) + (bl), (sh) = (ah) + (bh) + ((sl) < (al))) bl 11 arch/alpha/math-emu/sfp-util.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 12 arch/alpha/math-emu/sfp-util.h ((sl) = (al) - (bl), (sh) = (ah) - (bh) - ((al) < (bl))) bl 147 arch/arc/include/asm/irqflags-arcv2.h bl trace_hardirqs_off bl 151 arch/arc/include/asm/irqflags-arcv2.h bl trace_hardirqs_on bl 161 arch/arc/include/asm/irqflags-compact.h bl trace_hardirqs_off bl 165 arch/arc/include/asm/irqflags-compact.h bl trace_hardirqs_on bl 115 arch/arm/include/asm/assembler.h bl trace_hardirqs_off bl 131 arch/arm/include/asm/assembler.h bl\cond trace_hardirqs_on bl 335 arch/arm/mach-pxa/palm27x.c void __init palm27x_pwm_init(int bl, int lcd) bl 337 arch/arm/mach-pxa/palm27x.c palm_bl_power = bl; bl 59 arch/arm/mach-pxa/palm27x.h extern void __init palm27x_pwm_init(int bl, int lcd); bl 61 arch/arm/mach-pxa/palm27x.h static inline void palm27x_pwm_init(int bl, int lcd) {} bl 727 arch/arm64/include/asm/assembler.h endif_yield_neon \lbl bl 745 arch/arm64/include/asm/assembler.h bl kernel_neon_end bl 746 arch/arm64/include/asm/assembler.h bl kernel_neon_begin bl 750 arch/arm64/include/asm/assembler.h .ifnb \lbl bl 751 arch/arm64/include/asm/assembler.h b \lbl bl 325 arch/arm64/include/asm/insn.h __AARCH64_INSN_FUNCS(bl, 0xFC000000, 0x94000000) bl 1884 arch/mips/include/asm/octeon/cvmx-lmcx-defs.h uint64_t bl:2; bl 1902 arch/mips/include/asm/octeon/cvmx-lmcx-defs.h uint64_t bl:2; bl 112 arch/nds32/include/asm/sfp-machine.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 115 arch/nds32/include/asm/sfp-machine.h __x = (al) + (bl); \ bl 120 arch/nds32/include/asm/sfp-machine.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 123 arch/nds32/include/asm/sfp-machine.h __x = (al) - (bl); \ bl 57 arch/parisc/include/asm/assembly.h #define BL bl bl 6 arch/powerpc/include/asm/context_tracking.h #define SCHEDULE_USER bl schedule_user bl 8 arch/powerpc/include/asm/context_tracking.h #define SCHEDULE_USER bl schedule bl 174 arch/powerpc/include/asm/exception-64e.h bl tlb_stat_inc; bl 177 arch/powerpc/include/asm/exception-64e.h bl tlb_stat_inc; bl 185 arch/powerpc/include/asm/exception-64e.h 62: bl tlb_stat_inc; bl 27 arch/powerpc/include/asm/irqflags.h bl func; \ bl 32 arch/powerpc/include/asm/irqflags.h bl func; bl 59 arch/powerpc/include/asm/ppc_asm.h bl accumulate_stolen_time; \ bl 309 arch/powerpc/include/asm/ppc_asm.h bl 0f; \ bl 216 arch/powerpc/include/asm/sfp-machine.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 220 arch/powerpc/include/asm/sfp-machine.h : "=r" (sh), "=&r" (sl) : "r" (ah), "%r" (al), "rI" (bl));\ bl 223 arch/powerpc/include/asm/sfp-machine.h : "=r" (sh), "=&r" (sl) : "r" (ah), "%r" (al), "rI" (bl));\ bl 227 arch/powerpc/include/asm/sfp-machine.h : "%r" (ah), "r" (bh), "%r" (al), "rI" (bl)); \ bl 239 arch/powerpc/include/asm/sfp-machine.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 243 arch/powerpc/include/asm/sfp-machine.h : "=r" (sh), "=&r" (sl) : "r" (bh), "rI" (al), "r" (bl));\ bl 246 arch/powerpc/include/asm/sfp-machine.h : "=r" (sh), "=&r" (sl) : "r" (bh), "rI" (al), "r" (bl));\ bl 249 arch/powerpc/include/asm/sfp-machine.h : "=r" (sh), "=&r" (sl) : "r" (ah), "rI" (al), "r" (bl));\ bl 252 arch/powerpc/include/asm/sfp-machine.h : "=r" (sh), "=&r" (sl) : "r" (ah), "rI" (al), "r" (bl));\ bl 256 arch/powerpc/include/asm/sfp-machine.h : "r" (ah), "r" (bh), "rI" (al), "r" (bl)); \ bl 178 arch/powerpc/kernel/head_32.h bl tfer; \ bl 333 arch/powerpc/kernel/head_booke.h bl tfer; \ bl 509 arch/powerpc/kernel/head_booke.h bl load_up_fpu; /* if from user, just load it up */ \ bl 642 arch/powerpc/kvm/book3s_emulate.c u32 bl = (val >> 2) & 0x7ff; bl 643 arch/powerpc/kvm/book3s_emulate.c bat->bepi_mask = (~bl << 17); bl 125 arch/powerpc/mm/book3s32/mmu.c unsigned int bl = (size >> 17) - 1; bl 134 arch/powerpc/mm/book3s32/mmu.c bat[0].batu = virt | (bl << 2) | 2; /* Vs=1, Vp=0 */ bl 252 arch/powerpc/mm/book3s32/mmu.c unsigned int bl; bl 261 arch/powerpc/mm/book3s32/mmu.c bl = (size >> 17) - 1; bl 268 arch/powerpc/mm/book3s32/mmu.c bat[1].batu = virt | (bl << 2) | 2; /* Vs=1, Vp=0 */ bl 282 arch/powerpc/mm/book3s32/mmu.c if (bl > BL_8M) bl 283 arch/powerpc/mm/book3s32/mmu.c bl = BL_8M; bl 289 arch/powerpc/mm/book3s32/mmu.c bat->batl = phys | bl | 0x40; /* V=1 */ bl 293 arch/powerpc/mm/book3s32/mmu.c bat_addrs[index].limit = virt + ((bl + 1) << 17) - 1; bl 74 arch/powerpc/mm/ptdump/bats.c u32 bl = (upper >> 2) & 0x7ff; bl 77 arch/powerpc/mm/ptdump/bats.c u32 size = (bl + 1) << 17; bl 40 arch/sh/kernel/process_64.c unsigned long long ah, al, bh, bl, ch, cl; bl 48 arch/sh/kernel/process_64.c bl = (regs->regs[18]) & 0xffffffff; bl 52 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 57 arch/sh/kernel/process_64.c asm volatile ("getcon " __TEA ", %0" : "=r" (bl)); bl 59 arch/sh/kernel/process_64.c bl = (bl) & 0xffffffff; bl 65 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 70 arch/sh/kernel/process_64.c bl = (regs->regs[1]) & 0xffffffff; bl 74 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 79 arch/sh/kernel/process_64.c bl = (regs->regs[4]) & 0xffffffff; bl 83 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 88 arch/sh/kernel/process_64.c bl = (regs->regs[7]) & 0xffffffff; bl 92 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 97 arch/sh/kernel/process_64.c bl = (regs->regs[10]) & 0xffffffff; bl 101 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 106 arch/sh/kernel/process_64.c bl = (regs->regs[13]) & 0xffffffff; bl 110 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 115 arch/sh/kernel/process_64.c bl = (regs->regs[17]) & 0xffffffff; bl 119 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 124 arch/sh/kernel/process_64.c bl = (regs->regs[21]) & 0xffffffff; bl 128 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 133 arch/sh/kernel/process_64.c bl = (regs->regs[24]) & 0xffffffff; bl 137 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 142 arch/sh/kernel/process_64.c bl = (regs->regs[27]) & 0xffffffff; bl 146 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 151 arch/sh/kernel/process_64.c bl = (regs->regs[30]) & 0xffffffff; bl 155 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 160 arch/sh/kernel/process_64.c bl = (regs->regs[33]) & 0xffffffff; bl 164 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 169 arch/sh/kernel/process_64.c bl = (regs->regs[36]) & 0xffffffff; bl 173 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 178 arch/sh/kernel/process_64.c bl = (regs->regs[39]) & 0xffffffff; bl 182 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 187 arch/sh/kernel/process_64.c bl = (regs->regs[42]) & 0xffffffff; bl 191 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 196 arch/sh/kernel/process_64.c bl = (regs->regs[45]) & 0xffffffff; bl 200 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 205 arch/sh/kernel/process_64.c bl = (regs->regs[48]) & 0xffffffff; bl 209 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 214 arch/sh/kernel/process_64.c bl = (regs->regs[51]) & 0xffffffff; bl 218 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 223 arch/sh/kernel/process_64.c bl = (regs->regs[54]) & 0xffffffff; bl 227 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 232 arch/sh/kernel/process_64.c bl = (regs->regs[57]) & 0xffffffff; bl 236 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 241 arch/sh/kernel/process_64.c bl = (regs->regs[60]) & 0xffffffff; bl 245 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 250 arch/sh/kernel/process_64.c bl = (regs->tregs[0]) & 0xffffffff; bl 254 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 259 arch/sh/kernel/process_64.c bl = (regs->tregs[3]) & 0xffffffff; bl 263 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 268 arch/sh/kernel/process_64.c bl = (regs->tregs[6]) & 0xffffffff; bl 272 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); bl 6 arch/sh/math-emu/sfp-util.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 9 arch/sh/math-emu/sfp-util.h __x = (al) + (bl); \ bl 14 arch/sh/math-emu/sfp-util.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 17 arch/sh/math-emu/sfp-util.h __x = (al) - (bl); \ bl 7 arch/sparc/math-emu/sfp-util_32.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 15 arch/sparc/math-emu/sfp-util_32.h "rI" ((USItype)(bl)) \ bl 17 arch/sparc/math-emu/sfp-util_32.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 25 arch/sparc/math-emu/sfp-util_32.h "rI" ((USItype)(bl)) \ bl 15 arch/sparc/math-emu/sfp-util_64.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 26 arch/sparc/math-emu/sfp-util_64.h "r" ((UDItype)(bl)) \ bl 29 arch/sparc/math-emu/sfp-util_64.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 40 arch/sparc/math-emu/sfp-util_64.h "r" ((UDItype)(bl)) \ bl 260 arch/x86/boot/boot.h u8 bl, bh, ebx2, ebx3; bl 75 arch/x86/boot/video-vga.c ireg.bl = 0x20; bl 80 arch/x86/boot/video-vga.c ireg.bl = 0x34; bl 103 arch/x86/boot/video-vga.c ireg.bl = 0x34; bl 121 arch/x86/boot/video-vga.c ireg.bl = 0x30; bl 252 arch/x86/boot/video-vga.c ireg.bl = 0x10; /* Check EGA/VGA */ bl 260 arch/x86/boot/video-vga.c if (oreg.bl != 0x10) { bl 143 certs/blacklist.c const char *const *bl; bl 161 certs/blacklist.c for (bl = blacklist_hashes; *bl; bl++) bl 162 certs/blacklist.c if (mark_hash_blacklisted(*bl) < 0) bl 195 drivers/auxdisplay/ht16k33.c static int ht16k33_bl_update_status(struct backlight_device *bl) bl 197 drivers/auxdisplay/ht16k33.c int brightness = bl->props.brightness; bl 198 drivers/auxdisplay/ht16k33.c struct ht16k33_priv *priv = bl_get_data(bl); bl 200 drivers/auxdisplay/ht16k33.c if (bl->props.power != FB_BLANK_UNBLANK || bl 201 drivers/auxdisplay/ht16k33.c bl->props.fb_blank != FB_BLANK_UNBLANK || bl 202 drivers/auxdisplay/ht16k33.c bl->props.state & BL_CORE_FBBLANK || brightness == 0) { bl 211 drivers/auxdisplay/ht16k33.c static int ht16k33_bl_check_fb(struct backlight_device *bl, struct fb_info *fi) bl 213 drivers/auxdisplay/ht16k33.c struct ht16k33_priv *priv = bl_get_data(bl); bl 394 drivers/auxdisplay/ht16k33.c struct backlight_device *bl; bl 471 drivers/auxdisplay/ht16k33.c bl = devm_backlight_device_register(&client->dev, DRIVER_NAME"-bl", bl 474 drivers/auxdisplay/ht16k33.c if (IS_ERR(bl)) { bl 476 drivers/auxdisplay/ht16k33.c err = PTR_ERR(bl); bl 491 drivers/auxdisplay/ht16k33.c bl->props.brightness = dft_brightness; bl 492 drivers/auxdisplay/ht16k33.c ht16k33_bl_update_status(bl); bl 215 drivers/auxdisplay/panel.c int bl; bl 715 drivers/auxdisplay/panel.c if (lcd.pins.bl == PIN_NONE) bl 931 drivers/auxdisplay/panel.c lcd.pins.bl = PIN_AUTOLF; bl 998 drivers/auxdisplay/panel.c lcd.pins.bl = lcd_bl_pin; bl 1031 drivers/auxdisplay/panel.c if (lcd.pins.bl == PIN_NOT_SET) bl 1032 drivers/auxdisplay/panel.c lcd.pins.bl = DEFAULT_LCD_PIN_BL; bl 1040 drivers/auxdisplay/panel.c if (lcd.pins.bl == PIN_NOT_SET) bl 1041 drivers/auxdisplay/panel.c lcd.pins.bl = PIN_NONE; bl 1061 drivers/auxdisplay/panel.c pin_to_bits(lcd.pins.bl, lcd_bits[LCD_PORT_D][LCD_BIT_BL], bl 1744 drivers/auxdisplay/panel.c lcd.pins.bl = lcd_bl_pin; bl 679 drivers/crypto/qat/qat_common/qat_algs.c struct qat_alg_buf_list *bl = qat_req->buf.bl; bl 687 drivers/crypto/qat/qat_common/qat_algs.c for (i = 0; i < bl->num_bufs; i++) bl 688 drivers/crypto/qat/qat_common/qat_algs.c dma_unmap_single(dev, bl->bufers[i].addr, bl 689 drivers/crypto/qat/qat_common/qat_algs.c bl->bufers[i].len, DMA_BIDIRECTIONAL); bl 692 drivers/crypto/qat/qat_common/qat_algs.c kfree(bl); bl 749 drivers/crypto/qat/qat_common/qat_algs.c qat_req->buf.bl = bufl; bl 68 drivers/crypto/qat/qat_common/qat_crypto.h struct qat_alg_buf_list *bl; bl 49 drivers/gpu/drm/bridge/parade-ps8622.c struct backlight_device *bl; bl 279 drivers/gpu/drm/bridge/parade-ps8622.c if (ps8622->bl) { bl 287 drivers/gpu/drm/bridge/parade-ps8622.c ps8622->bl->props.brightness); bl 330 drivers/gpu/drm/bridge/parade-ps8622.c static int ps8622_backlight_update(struct backlight_device *bl) bl 332 drivers/gpu/drm/bridge/parade-ps8622.c struct ps8622_bridge *ps8622 = dev_get_drvdata(&bl->dev); bl 333 drivers/gpu/drm/bridge/parade-ps8622.c int ret, brightness = bl->props.brightness; bl 335 drivers/gpu/drm/bridge/parade-ps8622.c if (bl->props.power != FB_BLANK_UNBLANK || bl 336 drivers/gpu/drm/bridge/parade-ps8622.c bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK)) bl 577 drivers/gpu/drm/bridge/parade-ps8622.c ps8622->bl = backlight_device_register("ps8622-backlight", bl 580 drivers/gpu/drm/bridge/parade-ps8622.c if (IS_ERR(ps8622->bl)) { bl 582 drivers/gpu/drm/bridge/parade-ps8622.c ret = PTR_ERR(ps8622->bl); bl 583 drivers/gpu/drm/bridge/parade-ps8622.c ps8622->bl = NULL; bl 586 drivers/gpu/drm/bridge/parade-ps8622.c ps8622->bl->props.max_brightness = PS8622_MAX_BRIGHTNESS; bl 587 drivers/gpu/drm/bridge/parade-ps8622.c ps8622->bl->props.brightness = PS8622_MAX_BRIGHTNESS; bl 603 drivers/gpu/drm/bridge/parade-ps8622.c backlight_device_unregister(ps8622->bl); bl 52 drivers/gpu/drm/nouveau/nouveau_backlight.c struct nouveau_backlight *bl) bl 61 drivers/gpu/drm/nouveau/nouveau_backlight.c bl->id = nb; bl 225 drivers/gpu/drm/nouveau/nouveau_backlight.c struct nouveau_backlight *bl; bl 270 drivers/gpu/drm/nouveau/nouveau_backlight.c bl = kzalloc(sizeof(*bl), GFP_KERNEL); bl 271 drivers/gpu/drm/nouveau/nouveau_backlight.c if (!bl) bl 274 drivers/gpu/drm/nouveau/nouveau_backlight.c if (!nouveau_get_backlight_name(backlight_name, bl)) { bl 279 drivers/gpu/drm/nouveau/nouveau_backlight.c bl->dev = backlight_device_register(backlight_name, connector->kdev, bl 281 drivers/gpu/drm/nouveau/nouveau_backlight.c if (IS_ERR(bl->dev)) { bl 282 drivers/gpu/drm/nouveau/nouveau_backlight.c if (bl->id >= 0) bl 283 drivers/gpu/drm/nouveau/nouveau_backlight.c ida_simple_remove(&bl_ida, bl->id); bl 284 drivers/gpu/drm/nouveau/nouveau_backlight.c ret = PTR_ERR(bl->dev); bl 288 drivers/gpu/drm/nouveau/nouveau_backlight.c nouveau_connector(connector)->backlight = bl; bl 289 drivers/gpu/drm/nouveau/nouveau_backlight.c bl->dev->props.brightness = bl->dev->ops->get_brightness(bl->dev); bl 290 drivers/gpu/drm/nouveau/nouveau_backlight.c backlight_update_status(bl->dev); bl 295 drivers/gpu/drm/nouveau/nouveau_backlight.c kfree(bl); bl 303 drivers/gpu/drm/nouveau/nouveau_backlight.c struct nouveau_backlight *bl = nv_conn->backlight; bl 305 drivers/gpu/drm/nouveau/nouveau_backlight.c if (!bl) bl 308 drivers/gpu/drm/nouveau/nouveau_backlight.c if (bl->id >= 0) bl 309 drivers/gpu/drm/nouveau/nouveau_backlight.c ida_simple_remove(&bl_ida, bl->id); bl 311 drivers/gpu/drm/nouveau/nouveau_backlight.c backlight_device_unregister(bl->dev); bl 313 drivers/gpu/drm/nouveau/nouveau_backlight.c kfree(bl); bl 789 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c void *bl, *blob_data, *hsbl_code, *hsbl_data; bl 800 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c bl = acr->hsbl_blob; bl 803 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c bl = acr->hsbl_unload_blob; bl 810 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c bl_hdr = bl; bl 811 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c hsbl_desc = bl + bl_hdr->header_offset; bl 812 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c blob_data = bl + bl_hdr->data_offset; bl 42 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c ls_ucode_img_build(const struct firmware *bl, const struct firmware *code, bl 45 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c struct fw_bin_header *bin_hdr = (void *)bl->data; bl 46 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c struct fw_bl_desc *bl_desc = (void *)bl->data + bin_hdr->header_offset; bl 47 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c void *bl_data = (void *)bl->data + bin_hdr->data_offset; bl 96 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c const struct firmware *bl, *code, *data, *sig; bl 101 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c ret = nvkm_firmware_get(subdev, f, &bl); bl 127 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c img->ucode_data = ls_ucode_img_build(bl, code, data, bl 143 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c nvkm_firmware_put(bl); bl 4216 drivers/gpu/drm/omapdrm/dss/dsi.c int bl, wc, pps, tot; bl 4220 drivers/gpu/drm/omapdrm/dss/dsi.c bl = t->hss + t->hsa + t->hse + t->hbp + t->hfp; bl 4221 drivers/gpu/drm/omapdrm/dss/dsi.c tot = bl + pps; bl 4230 drivers/gpu/drm/omapdrm/dss/dsi.c bl, pps, tot, bl 4238 drivers/gpu/drm/omapdrm/dss/dsi.c TO_DSI_T(bl), bl 4248 drivers/gpu/drm/omapdrm/dss/dsi.c int hact, bl, tot; bl 4251 drivers/gpu/drm/omapdrm/dss/dsi.c bl = vm->hsync_len + vm->hback_porch + vm->hfront_porch; bl 4252 drivers/gpu/drm/omapdrm/dss/dsi.c tot = hact + bl; bl 4261 drivers/gpu/drm/omapdrm/dss/dsi.c bl, hact, tot, bl 4266 drivers/gpu/drm/omapdrm/dss/dsi.c TO_DISPC_T(bl), bl 327 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c static int dsi_dcs_bl_get_brightness(struct backlight_device *bl) bl 329 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c struct mipi_dsi_device *dsi = bl_get_data(bl); bl 331 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c u16 brightness = bl->props.brightness; bl 344 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c static int dsi_dcs_bl_update_status(struct backlight_device *bl) bl 346 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c struct mipi_dsi_device *dsi = bl_get_data(bl); bl 351 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c ret = mipi_dsi_dcs_set_display_brightness(dsi, bl->props.brightness); bl 466 drivers/gpu/drm/panel/panel-raydium-rm67191.c static int rad_bl_get_brightness(struct backlight_device *bl) bl 468 drivers/gpu/drm/panel/panel-raydium-rm67191.c struct mipi_dsi_device *dsi = bl_get_data(bl); bl 482 drivers/gpu/drm/panel/panel-raydium-rm67191.c bl->props.brightness = brightness; bl 487 drivers/gpu/drm/panel/panel-raydium-rm67191.c static int rad_bl_update_status(struct backlight_device *bl) bl 489 drivers/gpu/drm/panel/panel-raydium-rm67191.c struct mipi_dsi_device *dsi = bl_get_data(bl); bl 498 drivers/gpu/drm/panel/panel-raydium-rm67191.c ret = mipi_dsi_dcs_set_display_brightness(dsi, bl->props.brightness); bl 125 drivers/md/dm-raid1.c struct bio_list *bl; bl 127 drivers/md/dm-raid1.c bl = (rw == WRITE) ? &ms->writes : &ms->reads; bl 129 drivers/md/dm-raid1.c should_wake = !(bl->head); bl 130 drivers/md/dm-raid1.c bio_list_add(bl, bio); bl 1356 drivers/media/i2c/adv7604.c u16 bl, lcf, lcvs; bl 1366 drivers/media/i2c/adv7604.c u32 hfreq = (ADV76XX_FSC * 8) / stdi->bl; bl 1404 drivers/media/i2c/adv7604.c __func__, stdi->lcvs, stdi->lcf, stdi->bl, bl 1422 drivers/media/i2c/adv7604.c stdi->bl = cp_read16(sd, 0xb1, 0x3fff); bl 1451 drivers/media/i2c/adv7604.c if (stdi->lcf < 239 || stdi->bl < 8 || stdi->bl == 0x3fff) { bl 1459 drivers/media/i2c/adv7604.c __func__, stdi->lcf, stdi->bl, stdi->lcvs, bl 2565 drivers/media/i2c/adv7604.c stdi.lcf, stdi.bl, stdi.lcvs, bl 1410 drivers/media/i2c/adv7842.c u16 bl, lcf, lcvs; bl 1420 drivers/media/i2c/adv7842.c u32 hfreq = (ADV7842_fsc * 8) / stdi->bl; bl 1458 drivers/media/i2c/adv7842.c __func__, stdi->lcvs, stdi->lcf, stdi->bl, bl 1473 drivers/media/i2c/adv7842.c stdi->bl = ((cp_read(sd, 0xb1) & 0x3f) << 8) | cp_read(sd, 0xb2); bl 1488 drivers/media/i2c/adv7842.c if (stdi->lcf < 239 || stdi->bl < 8 || stdi->bl == 0x3fff) { bl 1495 drivers/media/i2c/adv7842.c __func__, stdi->lcf, stdi->bl, stdi->lcvs, bl 2759 drivers/media/i2c/adv7842.c u32 bl = ((cp_read(sd, 0xb1) & 0x3f) << 8) | cp_read(sd, 0xb2); bl 2769 drivers/media/i2c/adv7842.c lcf, bl, lcvs, fcl, bl 788 drivers/message/fusion/mptctl.c struct buflist *bl; bl 893 drivers/message/fusion/mptctl.c bl = buflist; bl 908 drivers/message/fusion/mptctl.c if (copy_from_user(bl->kptr, ufwbuf+fw_bytes_copied, bl->len)) { bl 914 drivers/message/fusion/mptctl.c fw_bytes_copied += bl->len; bl 917 drivers/message/fusion/mptctl.c bl++; bl 1161 drivers/message/fusion/mptctl.c struct buflist *bl = buflist; bl 1182 drivers/message/fusion/mptctl.c kptr = bl->kptr; bl 1183 drivers/message/fusion/mptctl.c len = bl->len; bl 1189 drivers/message/fusion/mptctl.c bl++; bl 1200 drivers/message/fusion/mptctl.c kptr = bl->kptr; bl 1201 drivers/message/fusion/mptctl.c len = bl->len; bl 167 drivers/mfd/lm3533-core.c static int lm3533_set_hvled_config(struct lm3533 *lm3533, u8 hvled, u8 bl) bl 177 drivers/mfd/lm3533-core.c if (bl > LM3533_BL_ID_MAX) bl 182 drivers/mfd/lm3533-core.c val = bl << shift; bl 576 drivers/mtd/nand/raw/cafe_nand.c u8 ah, al, bh, bl, ch, cl; bl 581 drivers/mtd/nand/raw/cafe_nand.c bl = b & 0x3f; bl 583 drivers/mtd/nand/raw/cafe_nand.c ch = gf64_mul(ah ^ al, bh ^ bl) ^ gf64_mul(al, bl); bl 584 drivers/mtd/nand/raw/cafe_nand.c cl = gf64_mul(gf64_mul(ah, bh), 0x21) ^ gf64_mul(al, bl); bl 2756 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static inline u16 dpaa_get_headroom(struct dpaa_buffer_layout *bl) bl 2770 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c headroom = (u16)(bl->priv_data_size + DPAA_PARSE_RESULTS_SIZE + bl 1329 drivers/net/wireless/ath/wil6210/main.c } bl; bl 1334 drivers/net/wireless/ath/wil6210/main.c wil_memcpy_fromio_32(&bl, wil->csr + HOSTADDR(RGF_USER_BL), bl 1335 drivers/net/wireless/ath/wil6210/main.c sizeof(bl)); bl 1336 drivers/net/wireless/ath/wil6210/main.c bl_ver = le32_to_cpu(bl.bl0.boot_loader_struct_version); bl 1337 drivers/net/wireless/ath/wil6210/main.c mac = bl.bl0.mac_address; bl 1340 drivers/net/wireless/ath/wil6210/main.c le32_to_cpus(&bl.bl0.rf_type); bl 1341 drivers/net/wireless/ath/wil6210/main.c le32_to_cpus(&bl.bl0.baseband_type); bl 1346 drivers/net/wireless/ath/wil6210/main.c bl.bl0.rf_type, bl.bl0.baseband_type); bl 1349 drivers/net/wireless/ath/wil6210/main.c le16_to_cpus(&bl.bl1.rf_type); bl 1350 drivers/net/wireless/ath/wil6210/main.c rf_status = le16_to_cpu(bl.bl1.rf_status); bl 1351 drivers/net/wireless/ath/wil6210/main.c le32_to_cpus(&bl.bl1.baseband_type); bl 1352 drivers/net/wireless/ath/wil6210/main.c le16_to_cpus(&bl.bl1.bl_version_subminor); bl 1353 drivers/net/wireless/ath/wil6210/main.c le16_to_cpus(&bl.bl1.bl_version_build); bl 1357 drivers/net/wireless/ath/wil6210/main.c bl.bl1.rf_type, rf_status, bl 1358 drivers/net/wireless/ath/wil6210/main.c bl.bl1.baseband_type); bl 1360 drivers/net/wireless/ath/wil6210/main.c bl.bl1.bl_version_major, bl.bl1.bl_version_minor, bl 1361 drivers/net/wireless/ath/wil6210/main.c bl.bl1.bl_version_subminor, bl.bl1.bl_version_build); bl 4343 drivers/net/wireless/atmel/atmel.c bl SP_INIT bl 4345 drivers/net/wireless/atmel/atmel.c bl DELAY9 bl 4346 drivers/net/wireless/atmel/atmel.c bl GET_MAC_ADDR bl 4347 drivers/net/wireless/atmel/atmel.c bl GET_WHOLE_NVRAM bl 4363 drivers/net/wireless/atmel/atmel.c bl NVRAM_XFER bl 4375 drivers/net/wireless/atmel/atmel.c bl NVRAM_XFER bl 4463 drivers/net/wireless/atmel/atmel.c bl NVRAM_INIT bl 4467 drivers/net/wireless/atmel/atmel.c bl DELAY9 bl 4471 drivers/net/wireless/atmel/atmel.c bl NVRAM_XFER2 bl 4522 drivers/net/wireless/atmel/atmel.c bl DELAY9 bl 10 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c bl, bh, event_exp, power_jmp) \ bl 22 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c .b_low = bl, \ bl 526 drivers/perf/arm-ccn.c static CCN_CMP_MASK_ATTR_RO(bl); bl 2582 drivers/platform/x86/asus-wmi.c int bl; bl 2589 drivers/platform/x86/asus-wmi.c bl = !asus_wmi_get_devstate_simple(asus, bl 2591 drivers/platform/x86/asus-wmi.c rfkill_set_sw_state(asus->bluetooth.rfkill, bl); bl 2594 drivers/platform/x86/asus-wmi.c bl = !asus_wmi_get_devstate_simple(asus, ASUS_WMI_DEVID_WIMAX); bl 2595 drivers/platform/x86/asus-wmi.c rfkill_set_sw_state(asus->wimax.rfkill, bl); bl 2598 drivers/platform/x86/asus-wmi.c bl = !asus_wmi_get_devstate_simple(asus, ASUS_WMI_DEVID_WWAN3G); bl 2599 drivers/platform/x86/asus-wmi.c rfkill_set_sw_state(asus->wwan3g.rfkill, bl); bl 2602 drivers/platform/x86/asus-wmi.c bl = !asus_wmi_get_devstate_simple(asus, ASUS_WMI_DEVID_GPS); bl 2603 drivers/platform/x86/asus-wmi.c rfkill_set_sw_state(asus->gps.rfkill, bl); bl 2606 drivers/platform/x86/asus-wmi.c bl = !asus_wmi_get_devstate_simple(asus, ASUS_WMI_DEVID_UWB); bl 2607 drivers/platform/x86/asus-wmi.c rfkill_set_sw_state(asus->uwb.rfkill, bl); bl 30 drivers/ps3/ps3av_cmd.c u32 bl; bl 35 drivers/ps3/ps3av_cmd.c .bl = PS3AV_CMD_AV_CS_8 bl 39 drivers/ps3/ps3av_cmd.c .bl = PS3AV_CMD_AV_CS_8 bl 43 drivers/ps3/ps3av_cmd.c .bl = PS3AV_CMD_AV_CS_8 bl 47 drivers/ps3/ps3av_cmd.c .bl = PS3AV_CMD_AV_CS_8 bl 51 drivers/ps3/ps3av_cmd.c .bl = PS3AV_CMD_AV_CS_10 bl 55 drivers/ps3/ps3av_cmd.c .bl = PS3AV_CMD_AV_CS_10 bl 59 drivers/ps3/ps3av_cmd.c .bl = PS3AV_CMD_AV_CS_10 bl 63 drivers/ps3/ps3av_cmd.c .bl = PS3AV_CMD_AV_CS_10 bl 67 drivers/ps3/ps3av_cmd.c .bl = PS3AV_CMD_AV_CS_12 bl 71 drivers/ps3/ps3av_cmd.c .bl = PS3AV_CMD_AV_CS_12 bl 75 drivers/ps3/ps3av_cmd.c .bl = PS3AV_CMD_AV_CS_12 bl 79 drivers/ps3/ps3av_cmd.c .bl = PS3AV_CMD_AV_CS_12 bl 100 drivers/ps3/ps3av_cmd.c return ps3av_cs_video2av_table[i].bl; bl 233 drivers/s390/net/ctcm_mpc.c int bl = skb->len; bl 279 drivers/s390/net/ctcm_mpc.c if (bl > 32) bl 280 drivers/s390/net/ctcm_mpc.c bl = 32; bl 282 drivers/s390/net/ctcm_mpc.c for (i = 0; i < bl; i++) bl 167 drivers/staging/media/ipu3/ipu3-css-fw.c if (bi->info.bl.sw_state >= css->iomem_length || bl 168 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.bl.num_dma_cmds >= css->iomem_length || bl 169 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.bl.dma_cmd_list >= css->iomem_length) bl 144 drivers/staging/media/ipu3/ipu3-css-fw.h struct imgu_fw_bl_info bl; /* Bootloader info */ bl 530 drivers/staging/media/ipu3/ipu3-css.c struct imgu_fw_info *bi, *bl = &css->fwp->binary_header[css->fw_bl]; bl 538 drivers/staging/media/ipu3/ipu3-css.c base + IMGU_REG_ISP_DMEM_BASE + bl->info.bl.sw_state); bl 540 drivers/staging/media/ipu3/ipu3-css.c base + IMGU_REG_ISP_DMEM_BASE + bl->info.bl.num_dma_cmds); bl 556 drivers/staging/media/ipu3/ipu3-css.c bl->info.bl.dma_cmd_list); bl 559 drivers/staging/media/ipu3/ipu3-css.c writel(bl->info.bl.bl_entry, base + IMGU_REG_ISP_START_ADDR); bl 564 drivers/staging/media/ipu3/ipu3-css.c + bl->info.bl.sw_state, ~0, bl 203 drivers/target/iscsi/iscsi_target_seq_pdu_list.c struct iscsi_build_list *bl, bl 218 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if ((bl->type == PDULIST_IMMEDIATE) || bl 219 drivers/target/iscsi/iscsi_target_seq_pdu_list.c (bl->type == PDULIST_IMMEDIATE_AND_UNSOLICITED)) bl 222 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if ((bl->type == PDULIST_UNSOLICITED) || bl 223 drivers/target/iscsi/iscsi_target_seq_pdu_list.c (bl->type == PDULIST_IMMEDIATE_AND_UNSOLICITED)) bl 232 drivers/target/iscsi/iscsi_target_seq_pdu_list.c offset += bl->immediate_data_length; bl 236 drivers/target/iscsi/iscsi_target_seq_pdu_list.c bl->immediate_data_length; bl 287 drivers/target/iscsi/iscsi_target_seq_pdu_list.c struct iscsi_build_list *bl) bl 304 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if ((bl->type == PDULIST_IMMEDIATE) || bl 305 drivers/target/iscsi/iscsi_target_seq_pdu_list.c (bl->type == PDULIST_IMMEDIATE_AND_UNSOLICITED)) bl 308 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if ((bl->type == PDULIST_UNSOLICITED) || bl 309 drivers/target/iscsi/iscsi_target_seq_pdu_list.c (bl->type == PDULIST_IMMEDIATE_AND_UNSOLICITED)) bl 330 drivers/target/iscsi/iscsi_target_seq_pdu_list.c pdu[i++].length = bl->immediate_data_length; bl 336 drivers/target/iscsi/iscsi_target_seq_pdu_list.c bl->immediate_data_length; bl 338 drivers/target/iscsi/iscsi_target_seq_pdu_list.c offset += bl->immediate_data_length; bl 343 drivers/target/iscsi/iscsi_target_seq_pdu_list.c bl->immediate_data_length; bl 445 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if (bl->data_direction & ISCSI_PDU_WRITE) { bl 446 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if (bl->randomize & RANDOM_R2T_OFFSETS) { bl 447 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if (iscsit_randomize_seq_lists(cmd, bl->type) bl 451 drivers/target/iscsi/iscsi_target_seq_pdu_list.c iscsit_ordered_seq_lists(cmd, bl->type); bl 452 drivers/target/iscsi/iscsi_target_seq_pdu_list.c } else if (bl->data_direction & ISCSI_PDU_READ) { bl 453 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if (bl->randomize & RANDOM_DATAIN_SEQ_OFFSETS) { bl 454 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if (iscsit_randomize_seq_lists(cmd, bl->type) bl 458 drivers/target/iscsi/iscsi_target_seq_pdu_list.c iscsit_ordered_seq_lists(cmd, bl->type); bl 464 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if (bl->data_direction & ISCSI_PDU_WRITE) { bl 465 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if (bl->randomize & RANDOM_DATAOUT_PDU_OFFSETS) { bl 466 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if (iscsit_randomize_pdu_lists(cmd, bl->type) bl 470 drivers/target/iscsi/iscsi_target_seq_pdu_list.c iscsit_ordered_pdu_lists(cmd, bl->type); bl 471 drivers/target/iscsi/iscsi_target_seq_pdu_list.c } else if (bl->data_direction & ISCSI_PDU_READ) { bl 472 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if (bl->randomize & RANDOM_DATAIN_PDU_OFFSETS) { bl 473 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if (iscsit_randomize_pdu_lists(cmd, bl->type) bl 477 drivers/target/iscsi/iscsi_target_seq_pdu_list.c iscsit_ordered_pdu_lists(cmd, bl->type); bl 490 drivers/target/iscsi/iscsi_target_seq_pdu_list.c struct iscsi_build_list bl; bl 510 drivers/target/iscsi/iscsi_target_seq_pdu_list.c memset(&bl, 0, sizeof(struct iscsi_build_list)); bl 513 drivers/target/iscsi/iscsi_target_seq_pdu_list.c bl.data_direction = ISCSI_PDU_READ; bl 514 drivers/target/iscsi/iscsi_target_seq_pdu_list.c bl.type = PDULIST_NORMAL; bl 516 drivers/target/iscsi/iscsi_target_seq_pdu_list.c bl.randomize |= RANDOM_DATAIN_PDU_OFFSETS; bl 518 drivers/target/iscsi/iscsi_target_seq_pdu_list.c bl.randomize |= RANDOM_DATAIN_SEQ_OFFSETS; bl 520 drivers/target/iscsi/iscsi_target_seq_pdu_list.c bl.data_direction = ISCSI_PDU_WRITE; bl 521 drivers/target/iscsi/iscsi_target_seq_pdu_list.c bl.immediate_data_length = immediate_data_length; bl 523 drivers/target/iscsi/iscsi_target_seq_pdu_list.c bl.randomize |= RANDOM_R2T_OFFSETS; bl 526 drivers/target/iscsi/iscsi_target_seq_pdu_list.c bl.type = PDULIST_NORMAL; bl 528 drivers/target/iscsi/iscsi_target_seq_pdu_list.c bl.type = PDULIST_IMMEDIATE; bl 530 drivers/target/iscsi/iscsi_target_seq_pdu_list.c bl.type = PDULIST_UNSOLICITED; bl 532 drivers/target/iscsi/iscsi_target_seq_pdu_list.c bl.type = PDULIST_IMMEDIATE_AND_UNSOLICITED; bl 535 drivers/target/iscsi/iscsi_target_seq_pdu_list.c iscsit_determine_counts_for_list(cmd, &bl, &seq_count, &pdu_count); bl 558 drivers/target/iscsi/iscsi_target_seq_pdu_list.c return iscsit_do_build_pdu_and_seq_lists(cmd, &bl); bl 2066 drivers/target/target_core_configfs.c int bl = 0; bl 2069 drivers/target/target_core_configfs.c transport_dump_dev_state(dev, page, &bl); bl 2070 drivers/target/target_core_configfs.c read_bytes += bl; bl 2302 drivers/target/target_core_configfs.c int bl = 0; bl 2307 drivers/target/target_core_configfs.c bl += sprintf(b + bl, "%u %u\n", bl 2311 drivers/target/target_core_configfs.c bl += sprintf(b + bl, "%llu %llu", bl 2332 drivers/target/target_core_configfs.c bl += sprintf(b + bl, " %d:%c", bl 2335 drivers/target/target_core_configfs.c bl += sprintf(b + bl, "\n"); bl 2338 drivers/target/target_core_configfs.c return bl; bl 804 drivers/target/target_core_file.c ssize_t bl = 0; bl 806 drivers/target/target_core_file.c bl = sprintf(b + bl, "TCM FILEIO ID: %u", fd_dev->fd_dev_id); bl 807 drivers/target/target_core_file.c bl += sprintf(b + bl, " File: %s Size: %llu Mode: %s Async: %d\n", bl 812 drivers/target/target_core_file.c return bl; bl 601 drivers/target/target_core_iblock.c ssize_t bl = 0; bl 604 drivers/target/target_core_iblock.c bl += sprintf(b + bl, "iBlock device: %s", bl 607 drivers/target/target_core_iblock.c bl += sprintf(b + bl, " UDEV PATH: %s", bl 609 drivers/target/target_core_iblock.c bl += sprintf(b + bl, " readonly: %d\n", ib_dev->ibd_readonly); bl 611 drivers/target/target_core_iblock.c bl += sprintf(b + bl, " "); bl 613 drivers/target/target_core_iblock.c bl += sprintf(b + bl, "Major: %d Minor: %d %s\n", bl 618 drivers/target/target_core_iblock.c bl += sprintf(b + bl, "Major: 0 Minor: 0\n"); bl 621 drivers/target/target_core_iblock.c return bl; bl 800 drivers/target/target_core_pscsi.c ssize_t bl; bl 807 drivers/target/target_core_pscsi.c bl = sprintf(b, "SCSI Device Bus Location:" bl 813 drivers/target/target_core_pscsi.c bl += sprintf(b + bl, " Vendor: %." bl 815 drivers/target/target_core_pscsi.c bl += sprintf(b + bl, " Model: %." bl 817 drivers/target/target_core_pscsi.c bl += sprintf(b + bl, " Rev: %." bl 820 drivers/target/target_core_pscsi.c return bl; bl 590 drivers/target/target_core_rd.c ssize_t bl = sprintf(b, "TCM RamDisk ID: %u RamDisk Makeup: rd_mcp\n", bl 592 drivers/target/target_core_rd.c bl += sprintf(b + bl, " PAGES/PAGE_SIZE: %u*%lu" bl 596 drivers/target/target_core_rd.c return bl; bl 959 drivers/target/target_core_transport.c int *bl) bl 961 drivers/target/target_core_transport.c *bl += sprintf(b + *bl, "Status: "); bl 963 drivers/target/target_core_transport.c *bl += sprintf(b + *bl, "ACTIVATED"); bl 965 drivers/target/target_core_transport.c *bl += sprintf(b + *bl, "DEACTIVATED"); bl 967 drivers/target/target_core_transport.c *bl += sprintf(b + *bl, " Max Queue Depth: %d", dev->queue_depth); bl 968 drivers/target/target_core_transport.c *bl += sprintf(b + *bl, " SectorSize: %u HwMaxSectors: %u\n", bl 971 drivers/target/target_core_transport.c *bl += sprintf(b + *bl, " "); bl 2219 drivers/target/target_core_user.c ssize_t bl = 0; bl 2221 drivers/target/target_core_user.c bl = sprintf(b + bl, "Config: %s ", bl 2223 drivers/target/target_core_user.c bl += sprintf(b + bl, "Size: %llu ", udev->dev_size); bl 2224 drivers/target/target_core_user.c bl += sprintf(b + bl, "MaxDataAreaMB: %u\n", bl 2227 drivers/target/target_core_user.c return bl; bl 1149 drivers/usb/gadget/udc/lpc32xx_udc.c int n, i, bl; bl 1164 drivers/usb/gadget/udc/lpc32xx_udc.c bl = bytes - cbytes; bl 1165 drivers/usb/gadget/udc/lpc32xx_udc.c if (bl) { bl 1167 drivers/usb/gadget/udc/lpc32xx_udc.c for (n = 0; n < bl; n++) bl 1179 drivers/usb/gadget/udc/lpc32xx_udc.c bl = bytes - n; bl 1180 drivers/usb/gadget/udc/lpc32xx_udc.c if (bl > 4) bl 1181 drivers/usb/gadget/udc/lpc32xx_udc.c bl = 4; bl 1183 drivers/usb/gadget/udc/lpc32xx_udc.c for (i = 0; i < bl; i++) bl 1200 drivers/usb/gadget/udc/lpc32xx_udc.c bl = bytes - cbytes; bl 1201 drivers/usb/gadget/udc/lpc32xx_udc.c if (bl) { bl 1203 drivers/usb/gadget/udc/lpc32xx_udc.c for (n = 0; n < bl; n++) bl 1250 drivers/usb/gadget/udc/lpc32xx_udc.c int n, i, bl; bl 1265 drivers/usb/gadget/udc/lpc32xx_udc.c bl = bytes - cbytes; bl 1266 drivers/usb/gadget/udc/lpc32xx_udc.c if (bl) { bl 1268 drivers/usb/gadget/udc/lpc32xx_udc.c for (n = 0; n < bl; n++) bl 1279 drivers/usb/gadget/udc/lpc32xx_udc.c bl = bytes - n; bl 1280 drivers/usb/gadget/udc/lpc32xx_udc.c if (bl > 4) bl 1281 drivers/usb/gadget/udc/lpc32xx_udc.c bl = 4; bl 1284 drivers/usb/gadget/udc/lpc32xx_udc.c for (i = 0; i < bl; i++) bl 1303 drivers/usb/gadget/udc/lpc32xx_udc.c bl = bytes - cbytes; bl 1304 drivers/usb/gadget/udc/lpc32xx_udc.c if (bl) { bl 1306 drivers/usb/gadget/udc/lpc32xx_udc.c for (n = 0; n < bl; n++) bl 59 drivers/video/backlight/88pm860x_bl.c static int pm860x_backlight_set(struct backlight_device *bl, int brightness) bl 61 drivers/video/backlight/88pm860x_bl.c struct pm860x_backlight_data *data = bl_get_data(bl); bl 122 drivers/video/backlight/88pm860x_bl.c static int pm860x_backlight_update_status(struct backlight_device *bl) bl 124 drivers/video/backlight/88pm860x_bl.c int brightness = bl->props.brightness; bl 126 drivers/video/backlight/88pm860x_bl.c if (bl->props.power != FB_BLANK_UNBLANK) bl 129 drivers/video/backlight/88pm860x_bl.c if (bl->props.fb_blank != FB_BLANK_UNBLANK) bl 132 drivers/video/backlight/88pm860x_bl.c if (bl->props.state & BL_CORE_SUSPENDED) bl 135 drivers/video/backlight/88pm860x_bl.c return pm860x_backlight_set(bl, brightness); bl 138 drivers/video/backlight/88pm860x_bl.c static int pm860x_backlight_get_brightness(struct backlight_device *bl) bl 140 drivers/video/backlight/88pm860x_bl.c struct pm860x_backlight_data *data = bl_get_data(bl); bl 196 drivers/video/backlight/88pm860x_bl.c struct backlight_device *bl; bl 241 drivers/video/backlight/88pm860x_bl.c bl = devm_backlight_device_register(&pdev->dev, name, &pdev->dev, data, bl 243 drivers/video/backlight/88pm860x_bl.c if (IS_ERR(bl)) { bl 245 drivers/video/backlight/88pm860x_bl.c return PTR_ERR(bl); bl 247 drivers/video/backlight/88pm860x_bl.c bl->props.brightness = MAX_BRIGHTNESS; bl 249 drivers/video/backlight/88pm860x_bl.c platform_set_drvdata(pdev, bl); bl 252 drivers/video/backlight/88pm860x_bl.c ret = pm860x_backlight_get_brightness(bl); bl 256 drivers/video/backlight/88pm860x_bl.c backlight_update_status(bl); bl 26 drivers/video/backlight/adp5520_bl.c static int adp5520_bl_set(struct backlight_device *bl, int brightness) bl 28 drivers/video/backlight/adp5520_bl.c struct adp5520_bl *data = bl_get_data(bl); bl 66 drivers/video/backlight/adp5520_bl.c static int adp5520_bl_update_status(struct backlight_device *bl) bl 68 drivers/video/backlight/adp5520_bl.c int brightness = bl->props.brightness; bl 70 drivers/video/backlight/adp5520_bl.c if (bl->props.power != FB_BLANK_UNBLANK) bl 73 drivers/video/backlight/adp5520_bl.c if (bl->props.fb_blank != FB_BLANK_UNBLANK) bl 76 drivers/video/backlight/adp5520_bl.c return adp5520_bl_set(bl, brightness); bl 79 drivers/video/backlight/adp5520_bl.c static int adp5520_bl_get_brightness(struct backlight_device *bl) bl 81 drivers/video/backlight/adp5520_bl.c struct adp5520_bl *data = bl_get_data(bl); bl 95 drivers/video/backlight/adp5520_bl.c static int adp5520_bl_setup(struct backlight_device *bl) bl 97 drivers/video/backlight/adp5520_bl.c struct adp5520_bl *data = bl_get_data(bl); bl 291 drivers/video/backlight/adp5520_bl.c struct backlight_device *bl; bl 315 drivers/video/backlight/adp5520_bl.c bl = devm_backlight_device_register(&pdev->dev, pdev->name, bl 318 drivers/video/backlight/adp5520_bl.c if (IS_ERR(bl)) { bl 320 drivers/video/backlight/adp5520_bl.c return PTR_ERR(bl); bl 323 drivers/video/backlight/adp5520_bl.c bl->props.brightness = ADP5020_MAX_BRIGHTNESS; bl 325 drivers/video/backlight/adp5520_bl.c ret = sysfs_create_group(&bl->dev.kobj, bl 333 drivers/video/backlight/adp5520_bl.c platform_set_drvdata(pdev, bl); bl 334 drivers/video/backlight/adp5520_bl.c ret = adp5520_bl_setup(bl); bl 338 drivers/video/backlight/adp5520_bl.c sysfs_remove_group(&bl->dev.kobj, bl 343 drivers/video/backlight/adp5520_bl.c backlight_update_status(bl); bl 350 drivers/video/backlight/adp5520_bl.c struct backlight_device *bl = platform_get_drvdata(pdev); bl 351 drivers/video/backlight/adp5520_bl.c struct adp5520_bl *data = bl_get_data(bl); bl 356 drivers/video/backlight/adp5520_bl.c sysfs_remove_group(&bl->dev.kobj, bl 365 drivers/video/backlight/adp5520_bl.c struct backlight_device *bl = dev_get_drvdata(dev); bl 367 drivers/video/backlight/adp5520_bl.c return adp5520_bl_set(bl, 0); bl 372 drivers/video/backlight/adp5520_bl.c struct backlight_device *bl = dev_get_drvdata(dev); bl 374 drivers/video/backlight/adp5520_bl.c backlight_update_status(bl); bl 107 drivers/video/backlight/adp8860_bl.c struct backlight_device *bl; bl 324 drivers/video/backlight/adp8860_bl.c static int adp8860_bl_set(struct backlight_device *bl, int brightness) bl 326 drivers/video/backlight/adp8860_bl.c struct adp8860_bl *data = bl_get_data(bl); bl 362 drivers/video/backlight/adp8860_bl.c static int adp8860_bl_update_status(struct backlight_device *bl) bl 364 drivers/video/backlight/adp8860_bl.c int brightness = bl->props.brightness; bl 366 drivers/video/backlight/adp8860_bl.c if (bl->props.power != FB_BLANK_UNBLANK) bl 369 drivers/video/backlight/adp8860_bl.c if (bl->props.fb_blank != FB_BLANK_UNBLANK) bl 372 drivers/video/backlight/adp8860_bl.c return adp8860_bl_set(bl, brightness); bl 375 drivers/video/backlight/adp8860_bl.c static int adp8860_bl_get_brightness(struct backlight_device *bl) bl 377 drivers/video/backlight/adp8860_bl.c struct adp8860_bl *data = bl_get_data(bl); bl 387 drivers/video/backlight/adp8860_bl.c static int adp8860_bl_setup(struct backlight_device *bl) bl 389 drivers/video/backlight/adp8860_bl.c struct adp8860_bl *data = bl_get_data(bl); bl 662 drivers/video/backlight/adp8860_bl.c struct backlight_device *bl; bl 719 drivers/video/backlight/adp8860_bl.c bl = devm_backlight_device_register(&client->dev, bl 722 drivers/video/backlight/adp8860_bl.c if (IS_ERR(bl)) { bl 724 drivers/video/backlight/adp8860_bl.c return PTR_ERR(bl); bl 727 drivers/video/backlight/adp8860_bl.c bl->props.brightness = ADP8860_MAX_BRIGHTNESS; bl 729 drivers/video/backlight/adp8860_bl.c data->bl = bl; bl 732 drivers/video/backlight/adp8860_bl.c ret = sysfs_create_group(&bl->dev.kobj, bl 740 drivers/video/backlight/adp8860_bl.c ret = adp8860_bl_setup(bl); bl 746 drivers/video/backlight/adp8860_bl.c backlight_update_status(bl); bl 758 drivers/video/backlight/adp8860_bl.c sysfs_remove_group(&data->bl->dev.kobj, bl 774 drivers/video/backlight/adp8860_bl.c sysfs_remove_group(&data->bl->dev.kobj, bl 109 drivers/video/backlight/adp8870_bl.c struct backlight_device *bl; bl 350 drivers/video/backlight/adp8870_bl.c static int adp8870_bl_set(struct backlight_device *bl, int brightness) bl 352 drivers/video/backlight/adp8870_bl.c struct adp8870_bl *data = bl_get_data(bl); bl 400 drivers/video/backlight/adp8870_bl.c static int adp8870_bl_update_status(struct backlight_device *bl) bl 402 drivers/video/backlight/adp8870_bl.c int brightness = bl->props.brightness; bl 404 drivers/video/backlight/adp8870_bl.c if (bl->props.power != FB_BLANK_UNBLANK) bl 407 drivers/video/backlight/adp8870_bl.c if (bl->props.fb_blank != FB_BLANK_UNBLANK) bl 410 drivers/video/backlight/adp8870_bl.c return adp8870_bl_set(bl, brightness); bl 413 drivers/video/backlight/adp8870_bl.c static int adp8870_bl_get_brightness(struct backlight_device *bl) bl 415 drivers/video/backlight/adp8870_bl.c struct adp8870_bl *data = bl_get_data(bl); bl 425 drivers/video/backlight/adp8870_bl.c static int adp8870_bl_setup(struct backlight_device *bl) bl 427 drivers/video/backlight/adp8870_bl.c struct adp8870_bl *data = bl_get_data(bl); bl 851 drivers/video/backlight/adp8870_bl.c struct backlight_device *bl; bl 894 drivers/video/backlight/adp8870_bl.c bl = devm_backlight_device_register(&client->dev, bl 897 drivers/video/backlight/adp8870_bl.c if (IS_ERR(bl)) { bl 899 drivers/video/backlight/adp8870_bl.c return PTR_ERR(bl); bl 902 drivers/video/backlight/adp8870_bl.c data->bl = bl; bl 905 drivers/video/backlight/adp8870_bl.c ret = sysfs_create_group(&bl->dev.kobj, bl 913 drivers/video/backlight/adp8870_bl.c ret = adp8870_bl_setup(bl); bl 919 drivers/video/backlight/adp8870_bl.c backlight_update_status(bl); bl 930 drivers/video/backlight/adp8870_bl.c sysfs_remove_group(&data->bl->dev.kobj, bl 946 drivers/video/backlight/adp8870_bl.c sysfs_remove_group(&data->bl->dev.kobj, bl 89 drivers/video/backlight/arcxcnn_bl.c struct backlight_device *bl; bl 130 drivers/video/backlight/arcxcnn_bl.c static int arcxcnn_bl_update_status(struct backlight_device *bl) bl 132 drivers/video/backlight/arcxcnn_bl.c struct arcxcnn *lp = bl_get_data(bl); bl 133 drivers/video/backlight/arcxcnn_bl.c u32 brightness = bl->props.brightness; bl 136 drivers/video/backlight/arcxcnn_bl.c if (bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK)) bl 145 drivers/video/backlight/arcxcnn_bl.c (bl->props.power == 0) ? 0 : ARCXCNN_CMD_STDBY); bl 170 drivers/video/backlight/arcxcnn_bl.c lp->bl = devm_backlight_device_register(lp->dev, name, lp->dev, lp, bl 172 drivers/video/backlight/arcxcnn_bl.c return PTR_ERR_OR_ZERO(lp->bl); bl 351 drivers/video/backlight/arcxcnn_bl.c backlight_update_status(lp->bl); bl 376 drivers/video/backlight/arcxcnn_bl.c lp->bl->props.brightness = 0; bl 378 drivers/video/backlight/arcxcnn_bl.c backlight_update_status(lp->bl); bl 30 drivers/video/backlight/as3711_bl.c struct backlight_device *bl; bl 102 drivers/video/backlight/as3711_bl.c static int as3711_bl_update_status(struct backlight_device *bl) bl 104 drivers/video/backlight/as3711_bl.c struct as3711_bl_data *data = bl_get_data(bl); bl 107 drivers/video/backlight/as3711_bl.c int brightness = bl->props.brightness; bl 110 drivers/video/backlight/as3711_bl.c dev_dbg(&bl->dev, "%s(): brightness %u, pwr %x, blank %x, state %x\n", bl 111 drivers/video/backlight/as3711_bl.c __func__, bl->props.brightness, bl->props.power, bl 112 drivers/video/backlight/as3711_bl.c bl->props.fb_blank, bl->props.state); bl 114 drivers/video/backlight/as3711_bl.c if (bl->props.power != FB_BLANK_UNBLANK || bl 115 drivers/video/backlight/as3711_bl.c bl->props.fb_blank != FB_BLANK_UNBLANK || bl 116 drivers/video/backlight/as3711_bl.c bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK)) bl 168 drivers/video/backlight/as3711_bl.c static int as3711_bl_get_brightness(struct backlight_device *bl) bl 170 drivers/video/backlight/as3711_bl.c struct as3711_bl_data *data = bl_get_data(bl); bl 233 drivers/video/backlight/as3711_bl.c struct backlight_device *bl; bl 238 drivers/video/backlight/as3711_bl.c bl = devm_backlight_device_register(&pdev->dev, bl 243 drivers/video/backlight/as3711_bl.c if (IS_ERR(bl)) { bl 245 drivers/video/backlight/as3711_bl.c return PTR_ERR(bl); bl 248 drivers/video/backlight/as3711_bl.c bl->props.brightness = props.max_brightness; bl 250 drivers/video/backlight/as3711_bl.c backlight_update_status(bl); bl 252 drivers/video/backlight/as3711_bl.c su->bl = bl; bl 260 drivers/video/backlight/as3711_bl.c struct device_node *bl, *fb; bl 263 drivers/video/backlight/as3711_bl.c bl = of_get_child_by_name(dev->parent->of_node, "backlight"); bl 264 drivers/video/backlight/as3711_bl.c if (!bl) { bl 269 drivers/video/backlight/as3711_bl.c fb = of_parse_phandle(bl, "su1-dev", 0); bl 275 drivers/video/backlight/as3711_bl.c ret = of_property_read_u32(bl, "su1-max-uA", &pdata->su1_max_uA); bl 282 drivers/video/backlight/as3711_bl.c fb = of_parse_phandle(bl, "su2-dev", 0); bl 290 drivers/video/backlight/as3711_bl.c ret = of_property_read_u32(bl, "su2-max-uA", &pdata->su2_max_uA); bl 296 drivers/video/backlight/as3711_bl.c if (of_find_property(bl, "su2-feedback-voltage", NULL)) { bl 300 drivers/video/backlight/as3711_bl.c if (of_find_property(bl, "su2-feedback-curr1", NULL)) { bl 304 drivers/video/backlight/as3711_bl.c if (of_find_property(bl, "su2-feedback-curr2", NULL)) { bl 308 drivers/video/backlight/as3711_bl.c if (of_find_property(bl, "su2-feedback-curr3", NULL)) { bl 312 drivers/video/backlight/as3711_bl.c if (of_find_property(bl, "su2-feedback-curr-auto", NULL)) { bl 322 drivers/video/backlight/as3711_bl.c if (of_find_property(bl, "su2-fbprot-lx-sd4", NULL)) { bl 326 drivers/video/backlight/as3711_bl.c if (of_find_property(bl, "su2-fbprot-gpio2", NULL)) { bl 330 drivers/video/backlight/as3711_bl.c if (of_find_property(bl, "su2-fbprot-gpio3", NULL)) { bl 334 drivers/video/backlight/as3711_bl.c if (of_find_property(bl, "su2-fbprot-gpio4", NULL)) { bl 344 drivers/video/backlight/as3711_bl.c if (of_find_property(bl, "su2-auto-curr1", NULL)) { bl 348 drivers/video/backlight/as3711_bl.c if (of_find_property(bl, "su2-auto-curr2", NULL)) { bl 352 drivers/video/backlight/as3711_bl.c if (of_find_property(bl, "su2-auto-curr3", NULL)) { bl 367 drivers/video/backlight/as3711_bl.c of_node_put(bl); bl 372 drivers/video/backlight/as3711_bl.c of_node_put(bl); bl 40 drivers/video/backlight/da903x_bl.c static int da903x_backlight_set(struct backlight_device *bl, int brightness) bl 42 drivers/video/backlight/da903x_bl.c struct da903x_backlight_data *data = bl_get_data(bl); bl 78 drivers/video/backlight/da903x_bl.c static int da903x_backlight_update_status(struct backlight_device *bl) bl 80 drivers/video/backlight/da903x_bl.c int brightness = bl->props.brightness; bl 82 drivers/video/backlight/da903x_bl.c if (bl->props.power != FB_BLANK_UNBLANK) bl 85 drivers/video/backlight/da903x_bl.c if (bl->props.fb_blank != FB_BLANK_UNBLANK) bl 88 drivers/video/backlight/da903x_bl.c if (bl->props.state & BL_CORE_SUSPENDED) bl 91 drivers/video/backlight/da903x_bl.c return da903x_backlight_set(bl, brightness); bl 94 drivers/video/backlight/da903x_bl.c static int da903x_backlight_get_brightness(struct backlight_device *bl) bl 96 drivers/video/backlight/da903x_bl.c struct da903x_backlight_data *data = bl_get_data(bl); bl 111 drivers/video/backlight/da903x_bl.c struct backlight_device *bl; bl 144 drivers/video/backlight/da903x_bl.c bl = devm_backlight_device_register(&pdev->dev, pdev->name, bl 147 drivers/video/backlight/da903x_bl.c if (IS_ERR(bl)) { bl 149 drivers/video/backlight/da903x_bl.c return PTR_ERR(bl); bl 152 drivers/video/backlight/da903x_bl.c bl->props.brightness = max_brightness; bl 154 drivers/video/backlight/da903x_bl.c platform_set_drvdata(pdev, bl); bl 155 drivers/video/backlight/da903x_bl.c backlight_update_status(bl); bl 82 drivers/video/backlight/da9052_bl.c static int da9052_backlight_update_status(struct backlight_device *bl) bl 84 drivers/video/backlight/da9052_bl.c int brightness = bl->props.brightness; bl 85 drivers/video/backlight/da9052_bl.c struct da9052_bl *wleds = bl_get_data(bl); bl 93 drivers/video/backlight/da9052_bl.c static int da9052_backlight_get_brightness(struct backlight_device *bl) bl 95 drivers/video/backlight/da9052_bl.c struct da9052_bl *wleds = bl_get_data(bl); bl 107 drivers/video/backlight/da9052_bl.c struct backlight_device *bl; bl 123 drivers/video/backlight/da9052_bl.c bl = devm_backlight_device_register(&pdev->dev, pdev->name, bl 126 drivers/video/backlight/da9052_bl.c if (IS_ERR(bl)) { bl 128 drivers/video/backlight/da9052_bl.c return PTR_ERR(bl); bl 131 drivers/video/backlight/da9052_bl.c bl->props.max_brightness = DA9052_MAX_BRIGHTNESS; bl 132 drivers/video/backlight/da9052_bl.c bl->props.brightness = 0; bl 133 drivers/video/backlight/da9052_bl.c platform_set_drvdata(pdev, bl); bl 140 drivers/video/backlight/da9052_bl.c struct backlight_device *bl = platform_get_drvdata(pdev); bl 141 drivers/video/backlight/da9052_bl.c struct da9052_bl *wleds = bl_get_data(bl); bl 26 drivers/video/backlight/ep93xx_bl.c static int ep93xxbl_set(struct backlight_device *bl, int brightness) bl 28 drivers/video/backlight/ep93xx_bl.c struct ep93xxbl *ep93xxbl = bl_get_data(bl); bl 37 drivers/video/backlight/ep93xx_bl.c static int ep93xxbl_update_status(struct backlight_device *bl) bl 39 drivers/video/backlight/ep93xx_bl.c int brightness = bl->props.brightness; bl 41 drivers/video/backlight/ep93xx_bl.c if (bl->props.power != FB_BLANK_UNBLANK || bl 42 drivers/video/backlight/ep93xx_bl.c bl->props.fb_blank != FB_BLANK_UNBLANK) bl 45 drivers/video/backlight/ep93xx_bl.c return ep93xxbl_set(bl, brightness); bl 48 drivers/video/backlight/ep93xx_bl.c static int ep93xxbl_get_brightness(struct backlight_device *bl) bl 50 drivers/video/backlight/ep93xx_bl.c struct ep93xxbl *ep93xxbl = bl_get_data(bl); bl 63 drivers/video/backlight/ep93xx_bl.c struct backlight_device *bl; bl 92 drivers/video/backlight/ep93xx_bl.c bl = devm_backlight_device_register(&dev->dev, dev->name, &dev->dev, bl 94 drivers/video/backlight/ep93xx_bl.c if (IS_ERR(bl)) bl 95 drivers/video/backlight/ep93xx_bl.c return PTR_ERR(bl); bl 97 drivers/video/backlight/ep93xx_bl.c bl->props.brightness = EP93XX_DEF_BRIGHT; bl 99 drivers/video/backlight/ep93xx_bl.c platform_set_drvdata(dev, bl); bl 101 drivers/video/backlight/ep93xx_bl.c ep93xxbl_update_status(bl); bl 109 drivers/video/backlight/ep93xx_bl.c struct backlight_device *bl = dev_get_drvdata(dev); bl 111 drivers/video/backlight/ep93xx_bl.c return ep93xxbl_set(bl, 0); bl 116 drivers/video/backlight/ep93xx_bl.c struct backlight_device *bl = dev_get_drvdata(dev); bl 118 drivers/video/backlight/ep93xx_bl.c backlight_update_status(bl); bl 29 drivers/video/backlight/gpio_backlight.c static int gpio_backlight_update_status(struct backlight_device *bl) bl 31 drivers/video/backlight/gpio_backlight.c struct gpio_backlight *gbl = bl_get_data(bl); bl 32 drivers/video/backlight/gpio_backlight.c int brightness = bl->props.brightness; bl 34 drivers/video/backlight/gpio_backlight.c if (bl->props.power != FB_BLANK_UNBLANK || bl 35 drivers/video/backlight/gpio_backlight.c bl->props.fb_blank != FB_BLANK_UNBLANK || bl 36 drivers/video/backlight/gpio_backlight.c bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK)) bl 44 drivers/video/backlight/gpio_backlight.c static int gpio_backlight_check_fb(struct backlight_device *bl, bl 47 drivers/video/backlight/gpio_backlight.c struct gpio_backlight *gbl = bl_get_data(bl); bl 101 drivers/video/backlight/gpio_backlight.c struct backlight_device *bl; bl 145 drivers/video/backlight/gpio_backlight.c bl = devm_backlight_device_register(&pdev->dev, dev_name(&pdev->dev), bl 148 drivers/video/backlight/gpio_backlight.c if (IS_ERR(bl)) { bl 150 drivers/video/backlight/gpio_backlight.c return PTR_ERR(bl); bl 153 drivers/video/backlight/gpio_backlight.c bl->props.power = gpio_backlight_initial_power_state(gbl); bl 154 drivers/video/backlight/gpio_backlight.c bl->props.brightness = 1; bl 156 drivers/video/backlight/gpio_backlight.c backlight_update_status(bl); bl 158 drivers/video/backlight/gpio_backlight.c platform_set_drvdata(pdev, bl); bl 34 drivers/video/backlight/lm3533_bl.c static inline int lm3533_bl_get_ctrlbank_id(struct lm3533_bl *bl) bl 36 drivers/video/backlight/lm3533_bl.c return bl->id; bl 41 drivers/video/backlight/lm3533_bl.c struct lm3533_bl *bl = bl_get_data(bd); bl 49 drivers/video/backlight/lm3533_bl.c return lm3533_ctrlbank_set_brightness(&bl->cb, (u8)brightness); bl 54 drivers/video/backlight/lm3533_bl.c struct lm3533_bl *bl = bl_get_data(bd); bl 58 drivers/video/backlight/lm3533_bl.c ret = lm3533_ctrlbank_get_brightness(&bl->cb, &val); bl 73 drivers/video/backlight/lm3533_bl.c struct lm3533_bl *bl = dev_get_drvdata(dev); bl 75 drivers/video/backlight/lm3533_bl.c return scnprintf(buf, PAGE_SIZE, "%d\n", bl->id); bl 81 drivers/video/backlight/lm3533_bl.c struct lm3533_bl *bl = dev_get_drvdata(dev); bl 82 drivers/video/backlight/lm3533_bl.c unsigned channel = lm3533_bl_get_ctrlbank_id(bl); bl 90 drivers/video/backlight/lm3533_bl.c struct lm3533_bl *bl = dev_get_drvdata(dev); bl 91 drivers/video/backlight/lm3533_bl.c int ctrlbank = lm3533_bl_get_ctrlbank_id(bl); bl 97 drivers/video/backlight/lm3533_bl.c ret = lm3533_read(bl->lm3533, LM3533_REG_CTRLBANK_AB_BCONF, &val); bl 111 drivers/video/backlight/lm3533_bl.c struct lm3533_bl *bl = dev_get_drvdata(dev); bl 112 drivers/video/backlight/lm3533_bl.c int ctrlbank = lm3533_bl_get_ctrlbank_id(bl); bl 128 drivers/video/backlight/lm3533_bl.c ret = lm3533_update(bl->lm3533, LM3533_REG_CTRLBANK_AB_BCONF, val, bl 139 drivers/video/backlight/lm3533_bl.c struct lm3533_bl *bl = dev_get_drvdata(dev); bl 145 drivers/video/backlight/lm3533_bl.c ret = lm3533_read(bl->lm3533, LM3533_REG_CTRLBANK_AB_BCONF, &val); bl 149 drivers/video/backlight/lm3533_bl.c mask = 1 << (2 * lm3533_bl_get_ctrlbank_id(bl) + 1); bl 163 drivers/video/backlight/lm3533_bl.c struct lm3533_bl *bl = dev_get_drvdata(dev); bl 172 drivers/video/backlight/lm3533_bl.c mask = 1 << (2 * lm3533_bl_get_ctrlbank_id(bl) + 1); bl 179 drivers/video/backlight/lm3533_bl.c ret = lm3533_update(bl->lm3533, LM3533_REG_CTRLBANK_AB_BCONF, val, bl 191 drivers/video/backlight/lm3533_bl.c struct lm3533_bl *bl = dev_get_drvdata(dev); bl 195 drivers/video/backlight/lm3533_bl.c ret = lm3533_ctrlbank_get_pwm(&bl->cb, &val); bl 206 drivers/video/backlight/lm3533_bl.c struct lm3533_bl *bl = dev_get_drvdata(dev); bl 213 drivers/video/backlight/lm3533_bl.c ret = lm3533_ctrlbank_set_pwm(&bl->cb, val); bl 239 drivers/video/backlight/lm3533_bl.c struct lm3533_bl *bl = dev_get_drvdata(dev); bl 244 drivers/video/backlight/lm3533_bl.c if (!bl->lm3533->have_als) bl 256 drivers/video/backlight/lm3533_bl.c static int lm3533_bl_setup(struct lm3533_bl *bl, bl 261 drivers/video/backlight/lm3533_bl.c ret = lm3533_ctrlbank_set_max_current(&bl->cb, pdata->max_current); bl 265 drivers/video/backlight/lm3533_bl.c return lm3533_ctrlbank_set_pwm(&bl->cb, pdata->pwm); bl 272 drivers/video/backlight/lm3533_bl.c struct lm3533_bl *bl; bl 294 drivers/video/backlight/lm3533_bl.c bl = devm_kzalloc(&pdev->dev, sizeof(*bl), GFP_KERNEL); bl 295 drivers/video/backlight/lm3533_bl.c if (!bl) bl 298 drivers/video/backlight/lm3533_bl.c bl->lm3533 = lm3533; bl 299 drivers/video/backlight/lm3533_bl.c bl->id = pdev->id; bl 301 drivers/video/backlight/lm3533_bl.c bl->cb.lm3533 = lm3533; bl 302 drivers/video/backlight/lm3533_bl.c bl->cb.id = lm3533_bl_get_ctrlbank_id(bl); bl 303 drivers/video/backlight/lm3533_bl.c bl->cb.dev = NULL; /* until registered */ bl 310 drivers/video/backlight/lm3533_bl.c pdev->dev.parent, bl, &lm3533_bl_ops, bl 317 drivers/video/backlight/lm3533_bl.c bl->bd = bd; bl 318 drivers/video/backlight/lm3533_bl.c bl->cb.dev = &bl->bd->dev; bl 320 drivers/video/backlight/lm3533_bl.c platform_set_drvdata(pdev, bl); bl 330 drivers/video/backlight/lm3533_bl.c ret = lm3533_bl_setup(bl, pdata); bl 334 drivers/video/backlight/lm3533_bl.c ret = lm3533_ctrlbank_enable(&bl->cb); bl 348 drivers/video/backlight/lm3533_bl.c struct lm3533_bl *bl = platform_get_drvdata(pdev); bl 349 drivers/video/backlight/lm3533_bl.c struct backlight_device *bd = bl->bd; bl 356 drivers/video/backlight/lm3533_bl.c lm3533_ctrlbank_disable(&bl->cb); bl 365 drivers/video/backlight/lm3533_bl.c struct lm3533_bl *bl = dev_get_drvdata(dev); bl 369 drivers/video/backlight/lm3533_bl.c return lm3533_ctrlbank_disable(&bl->cb); bl 374 drivers/video/backlight/lm3533_bl.c struct lm3533_bl *bl = dev_get_drvdata(dev); bl 378 drivers/video/backlight/lm3533_bl.c return lm3533_ctrlbank_enable(&bl->cb); bl 386 drivers/video/backlight/lm3533_bl.c struct lm3533_bl *bl = platform_get_drvdata(pdev); bl 390 drivers/video/backlight/lm3533_bl.c lm3533_ctrlbank_disable(&bl->cb); bl 181 drivers/video/backlight/lm3630a_bl.c static int lm3630a_bank_a_update_status(struct backlight_device *bl) bl 184 drivers/video/backlight/lm3630a_bl.c struct lm3630a_chip *pchip = bl_get_data(bl); bl 189 drivers/video/backlight/lm3630a_bl.c lm3630a_pwm_ctrl(pchip, bl->props.brightness, bl 190 drivers/video/backlight/lm3630a_bl.c bl->props.max_brightness); bl 191 drivers/video/backlight/lm3630a_bl.c return bl->props.brightness; bl 200 drivers/video/backlight/lm3630a_bl.c ret = lm3630a_write(pchip, REG_BRT_A, bl->props.brightness); bl 201 drivers/video/backlight/lm3630a_bl.c if (bl->props.brightness < 0x4) bl 212 drivers/video/backlight/lm3630a_bl.c return bl->props.brightness; bl 215 drivers/video/backlight/lm3630a_bl.c static int lm3630a_bank_a_get_brightness(struct backlight_device *bl) bl 218 drivers/video/backlight/lm3630a_bl.c struct lm3630a_chip *pchip = bl_get_data(bl); bl 244 drivers/video/backlight/lm3630a_bl.c bl->props.brightness = brightness; bl 245 drivers/video/backlight/lm3630a_bl.c return bl->props.brightness; bl 258 drivers/video/backlight/lm3630a_bl.c static int lm3630a_bank_b_update_status(struct backlight_device *bl) bl 261 drivers/video/backlight/lm3630a_bl.c struct lm3630a_chip *pchip = bl_get_data(bl); bl 266 drivers/video/backlight/lm3630a_bl.c lm3630a_pwm_ctrl(pchip, bl->props.brightness, bl 267 drivers/video/backlight/lm3630a_bl.c bl->props.max_brightness); bl 268 drivers/video/backlight/lm3630a_bl.c return bl->props.brightness; bl 277 drivers/video/backlight/lm3630a_bl.c ret = lm3630a_write(pchip, REG_BRT_B, bl->props.brightness); bl 278 drivers/video/backlight/lm3630a_bl.c if (bl->props.brightness < 0x4) bl 289 drivers/video/backlight/lm3630a_bl.c return bl->props.brightness; bl 292 drivers/video/backlight/lm3630a_bl.c static int lm3630a_bank_b_get_brightness(struct backlight_device *bl) bl 295 drivers/video/backlight/lm3630a_bl.c struct lm3630a_chip *pchip = bl_get_data(bl); bl 321 drivers/video/backlight/lm3630a_bl.c bl->props.brightness = brightness; bl 322 drivers/video/backlight/lm3630a_bl.c return bl->props.brightness; bl 94 drivers/video/backlight/lm3639_bl.c static int lm3639_bled_update_status(struct backlight_device *bl) bl 98 drivers/video/backlight/lm3639_bl.c struct lm3639_chip_data *pchip = bl_get_data(bl); bl 111 drivers/video/backlight/lm3639_bl.c pdata->pwm_set_intensity(bl->props.brightness, bl 116 drivers/video/backlight/lm3639_bl.c return bl->props.brightness; bl 120 drivers/video/backlight/lm3639_bl.c ret = regmap_write(pchip->regmap, REG_BL_CONF_4, bl->props.brightness); bl 123 drivers/video/backlight/lm3639_bl.c ret = regmap_write(pchip->regmap, REG_BL_CONF_3, bl->props.brightness); bl 127 drivers/video/backlight/lm3639_bl.c if (!bl->props.brightness) bl 134 drivers/video/backlight/lm3639_bl.c return bl->props.brightness; bl 137 drivers/video/backlight/lm3639_bl.c return bl->props.brightness; bl 140 drivers/video/backlight/lm3639_bl.c static int lm3639_bled_get_brightness(struct backlight_device *bl) bl 144 drivers/video/backlight/lm3639_bl.c struct lm3639_chip_data *pchip = bl_get_data(bl); bl 149 drivers/video/backlight/lm3639_bl.c bl->props.brightness = pdata->pwm_get_intensity(); bl 153 drivers/video/backlight/lm3639_bl.c return bl->props.brightness; bl 165 drivers/video/backlight/lm3639_bl.c bl->props.brightness = reg_val; bl 167 drivers/video/backlight/lm3639_bl.c return bl->props.brightness; bl 170 drivers/video/backlight/lm3639_bl.c return bl->props.brightness; bl 69 drivers/video/backlight/lp855x_bl.c struct backlight_device *bl; bl 262 drivers/video/backlight/lp855x_bl.c static int lp855x_bl_update_status(struct backlight_device *bl) bl 264 drivers/video/backlight/lp855x_bl.c struct lp855x *lp = bl_get_data(bl); bl 265 drivers/video/backlight/lp855x_bl.c int brightness = bl->props.brightness; bl 267 drivers/video/backlight/lp855x_bl.c if (bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK)) bl 271 drivers/video/backlight/lp855x_bl.c lp855x_pwm_ctrl(lp, brightness, bl->props.max_brightness); bl 285 drivers/video/backlight/lp855x_bl.c struct backlight_device *bl; bl 299 drivers/video/backlight/lp855x_bl.c bl = devm_backlight_device_register(lp->dev, name, lp->dev, lp, bl 301 drivers/video/backlight/lp855x_bl.c if (IS_ERR(bl)) bl 302 drivers/video/backlight/lp855x_bl.c return PTR_ERR(bl); bl 304 drivers/video/backlight/lp855x_bl.c lp->bl = bl; bl 490 drivers/video/backlight/lp855x_bl.c backlight_update_status(lp->bl); bl 498 drivers/video/backlight/lp855x_bl.c lp->bl->props.brightness = 0; bl 499 drivers/video/backlight/lp855x_bl.c backlight_update_status(lp->bl); bl 71 drivers/video/backlight/lp8788_bl.c static int lp8788_backlight_configure(struct lp8788_bl *bl) bl 73 drivers/video/backlight/lp8788_bl.c struct lp8788_backlight_platform_data *pdata = bl->pdata; bl 93 drivers/video/backlight/lp8788_bl.c ret = lp8788_write_byte(bl->lp, LP8788_BL_RAMP, val); bl 112 drivers/video/backlight/lp8788_bl.c dev_err(bl->lp->dev, "invalid mode: %d\n", cfg->bl_mode); bl 116 drivers/video/backlight/lp8788_bl.c bl->mode = cfg->bl_mode; bl 118 drivers/video/backlight/lp8788_bl.c return lp8788_write_byte(bl->lp, LP8788_BL_CONFIG, val); bl 121 drivers/video/backlight/lp8788_bl.c static void lp8788_pwm_ctrl(struct lp8788_bl *bl, int br, int max_br) bl 128 drivers/video/backlight/lp8788_bl.c if (!bl->pdata) bl 131 drivers/video/backlight/lp8788_bl.c period = bl->pdata->period_ns; bl 133 drivers/video/backlight/lp8788_bl.c dev = bl->lp->dev; bl 136 drivers/video/backlight/lp8788_bl.c if (!bl->pwm) { bl 143 drivers/video/backlight/lp8788_bl.c bl->pwm = pwm; bl 152 drivers/video/backlight/lp8788_bl.c pwm_config(bl->pwm, duty, period); bl 154 drivers/video/backlight/lp8788_bl.c pwm_enable(bl->pwm); bl 156 drivers/video/backlight/lp8788_bl.c pwm_disable(bl->pwm); bl 161 drivers/video/backlight/lp8788_bl.c struct lp8788_bl *bl = bl_get_data(bl_dev); bl 162 drivers/video/backlight/lp8788_bl.c enum lp8788_bl_ctrl_mode mode = bl->mode; bl 171 drivers/video/backlight/lp8788_bl.c lp8788_pwm_ctrl(bl, brt, max); bl 175 drivers/video/backlight/lp8788_bl.c lp8788_write_byte(bl->lp, LP8788_BL_BRIGHTNESS, brt); bl 186 drivers/video/backlight/lp8788_bl.c static int lp8788_backlight_register(struct lp8788_bl *bl) bl 190 drivers/video/backlight/lp8788_bl.c struct lp8788_backlight_platform_data *pdata = bl->pdata; bl 212 drivers/video/backlight/lp8788_bl.c bl_dev = backlight_device_register(name, bl->lp->dev, bl, bl 217 drivers/video/backlight/lp8788_bl.c bl->bl_dev = bl_dev; bl 222 drivers/video/backlight/lp8788_bl.c static void lp8788_backlight_unregister(struct lp8788_bl *bl) bl 224 drivers/video/backlight/lp8788_bl.c struct backlight_device *bl_dev = bl->bl_dev; bl 232 drivers/video/backlight/lp8788_bl.c struct lp8788_bl *bl = dev_get_drvdata(dev); bl 233 drivers/video/backlight/lp8788_bl.c enum lp8788_bl_ctrl_mode mode = bl->mode; bl 260 drivers/video/backlight/lp8788_bl.c struct lp8788_bl *bl; bl 263 drivers/video/backlight/lp8788_bl.c bl = devm_kzalloc(lp->dev, sizeof(struct lp8788_bl), GFP_KERNEL); bl 264 drivers/video/backlight/lp8788_bl.c if (!bl) bl 267 drivers/video/backlight/lp8788_bl.c bl->lp = lp; bl 269 drivers/video/backlight/lp8788_bl.c bl->pdata = lp->pdata->bl_pdata; bl 271 drivers/video/backlight/lp8788_bl.c platform_set_drvdata(pdev, bl); bl 273 drivers/video/backlight/lp8788_bl.c ret = lp8788_backlight_configure(bl); bl 279 drivers/video/backlight/lp8788_bl.c ret = lp8788_backlight_register(bl); bl 291 drivers/video/backlight/lp8788_bl.c backlight_update_status(bl->bl_dev); bl 296 drivers/video/backlight/lp8788_bl.c lp8788_backlight_unregister(bl); bl 303 drivers/video/backlight/lp8788_bl.c struct lp8788_bl *bl = platform_get_drvdata(pdev); bl 304 drivers/video/backlight/lp8788_bl.c struct backlight_device *bl_dev = bl->bl_dev; bl 309 drivers/video/backlight/lp8788_bl.c lp8788_backlight_unregister(bl); bl 32 drivers/video/backlight/max8925_bl.c static int max8925_backlight_set(struct backlight_device *bl, int brightness) bl 34 drivers/video/backlight/max8925_bl.c struct max8925_backlight_data *data = bl_get_data(bl); bl 65 drivers/video/backlight/max8925_bl.c static int max8925_backlight_update_status(struct backlight_device *bl) bl 67 drivers/video/backlight/max8925_bl.c int brightness = bl->props.brightness; bl 69 drivers/video/backlight/max8925_bl.c if (bl->props.power != FB_BLANK_UNBLANK) bl 72 drivers/video/backlight/max8925_bl.c if (bl->props.fb_blank != FB_BLANK_UNBLANK) bl 75 drivers/video/backlight/max8925_bl.c if (bl->props.state & BL_CORE_SUSPENDED) bl 78 drivers/video/backlight/max8925_bl.c return max8925_backlight_set(bl, brightness); bl 81 drivers/video/backlight/max8925_bl.c static int max8925_backlight_get_brightness(struct backlight_device *bl) bl 83 drivers/video/backlight/max8925_bl.c struct max8925_backlight_data *data = bl_get_data(bl); bl 135 drivers/video/backlight/max8925_bl.c struct backlight_device *bl; bl 165 drivers/video/backlight/max8925_bl.c bl = devm_backlight_device_register(&pdev->dev, "max8925-backlight", bl 168 drivers/video/backlight/max8925_bl.c if (IS_ERR(bl)) { bl 170 drivers/video/backlight/max8925_bl.c return PTR_ERR(bl); bl 172 drivers/video/backlight/max8925_bl.c bl->props.brightness = MAX_BRIGHTNESS; bl 174 drivers/video/backlight/max8925_bl.c platform_set_drvdata(pdev, bl); bl 192 drivers/video/backlight/max8925_bl.c backlight_update_status(bl); bl 40 drivers/video/backlight/omap1_bl.c static void omapbl_blank(struct omap_backlight *bl, int mode) bl 42 drivers/video/backlight/omap1_bl.c if (bl->pdata->set_power) bl 43 drivers/video/backlight/omap1_bl.c bl->pdata->set_power(bl->dev, mode); bl 55 drivers/video/backlight/omap1_bl.c omapbl_send_intensity(bl->current_intensity); bl 65 drivers/video/backlight/omap1_bl.c struct omap_backlight *bl = bl_get_data(bl_dev); bl 67 drivers/video/backlight/omap1_bl.c omapbl_blank(bl, FB_BLANK_POWERDOWN); bl 74 drivers/video/backlight/omap1_bl.c struct omap_backlight *bl = bl_get_data(bl_dev); bl 76 drivers/video/backlight/omap1_bl.c omapbl_blank(bl, bl->powermode); bl 83 drivers/video/backlight/omap1_bl.c struct omap_backlight *bl = bl_get_data(dev); bl 85 drivers/video/backlight/omap1_bl.c omapbl_blank(bl, state); bl 86 drivers/video/backlight/omap1_bl.c bl->powermode = state; bl 93 drivers/video/backlight/omap1_bl.c struct omap_backlight *bl = bl_get_data(dev); bl 95 drivers/video/backlight/omap1_bl.c if (bl->current_intensity != dev->props.brightness) { bl 96 drivers/video/backlight/omap1_bl.c if (bl->powermode == FB_BLANK_UNBLANK) bl 98 drivers/video/backlight/omap1_bl.c bl->current_intensity = dev->props.brightness; bl 101 drivers/video/backlight/omap1_bl.c if (dev->props.fb_blank != bl->powermode) bl 109 drivers/video/backlight/omap1_bl.c struct omap_backlight *bl = bl_get_data(dev); bl 111 drivers/video/backlight/omap1_bl.c return bl->current_intensity; bl 123 drivers/video/backlight/omap1_bl.c struct omap_backlight *bl; bl 129 drivers/video/backlight/omap1_bl.c bl = devm_kzalloc(&pdev->dev, sizeof(struct omap_backlight), bl 131 drivers/video/backlight/omap1_bl.c if (unlikely(!bl)) bl 138 drivers/video/backlight/omap1_bl.c bl, &omapbl_ops, &props); bl 142 drivers/video/backlight/omap1_bl.c bl->powermode = FB_BLANK_POWERDOWN; bl 143 drivers/video/backlight/omap1_bl.c bl->current_intensity = 0; bl 145 drivers/video/backlight/omap1_bl.c bl->pdata = pdata; bl 146 drivers/video/backlight/omap1_bl.c bl->dev = &pdev->dev; bl 41 drivers/video/backlight/ot200_bl.c static int ot200_backlight_update_status(struct backlight_device *bl) bl 43 drivers/video/backlight/ot200_bl.c struct ot200_backlight_data *data = bl_get_data(bl); bl 44 drivers/video/backlight/ot200_bl.c int brightness = bl->props.brightness; bl 46 drivers/video/backlight/ot200_bl.c if (bl->props.state & BL_CORE_FBBLANK) bl 66 drivers/video/backlight/ot200_bl.c static int ot200_backlight_get_brightness(struct backlight_device *bl) bl 68 drivers/video/backlight/ot200_bl.c struct ot200_backlight_data *data = bl_get_data(bl); bl 79 drivers/video/backlight/ot200_bl.c struct backlight_device *bl; bl 118 drivers/video/backlight/ot200_bl.c bl = devm_backlight_device_register(&pdev->dev, dev_name(&pdev->dev), bl 121 drivers/video/backlight/ot200_bl.c if (IS_ERR(bl)) { bl 123 drivers/video/backlight/ot200_bl.c retval = PTR_ERR(bl); bl 127 drivers/video/backlight/ot200_bl.c platform_set_drvdata(pdev, bl); bl 40 drivers/video/backlight/pandora_bl.c static int pandora_backlight_update_status(struct backlight_device *bl) bl 42 drivers/video/backlight/pandora_bl.c int brightness = bl->props.brightness; bl 43 drivers/video/backlight/pandora_bl.c struct pandora_private *priv = bl_get_data(bl); bl 46 drivers/video/backlight/pandora_bl.c if (bl->props.power != FB_BLANK_UNBLANK) bl 48 drivers/video/backlight/pandora_bl.c if (bl->props.state & BL_CORE_FBBLANK) bl 50 drivers/video/backlight/pandora_bl.c if (bl->props.state & BL_CORE_SUSPENDED) bl 112 drivers/video/backlight/pandora_bl.c struct backlight_device *bl; bl 125 drivers/video/backlight/pandora_bl.c bl = devm_backlight_device_register(&pdev->dev, pdev->name, &pdev->dev, bl 127 drivers/video/backlight/pandora_bl.c if (IS_ERR(bl)) { bl 129 drivers/video/backlight/pandora_bl.c return PTR_ERR(bl); bl 132 drivers/video/backlight/pandora_bl.c platform_set_drvdata(pdev, bl); bl 138 drivers/video/backlight/pandora_bl.c bl->props.brightness = MAX_USER_VALUE; bl 139 drivers/video/backlight/pandora_bl.c backlight_update_status(bl); bl 20 drivers/video/backlight/pcf50633-backlight.c struct backlight_device *bl; bl 44 drivers/video/backlight/pcf50633-backlight.c backlight_update_status(pcf_bl->bl); bl 49 drivers/video/backlight/pcf50633-backlight.c static int pcf50633_bl_update_status(struct backlight_device *bl) bl 51 drivers/video/backlight/pcf50633-backlight.c struct pcf50633_bl *pcf_bl = bl_get_data(bl); bl 55 drivers/video/backlight/pcf50633-backlight.c if (bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK) || bl 56 drivers/video/backlight/pcf50633-backlight.c bl->props.power != FB_BLANK_UNBLANK) bl 58 drivers/video/backlight/pcf50633-backlight.c else if (bl->props.brightness < pcf_bl->brightness_limit) bl 59 drivers/video/backlight/pcf50633-backlight.c new_brightness = bl->props.brightness; bl 81 drivers/video/backlight/pcf50633-backlight.c static int pcf50633_bl_get_brightness(struct backlight_device *bl) bl 83 drivers/video/backlight/pcf50633-backlight.c struct pcf50633_bl *pcf_bl = bl_get_data(bl); bl 121 drivers/video/backlight/pcf50633-backlight.c pcf_bl->bl = devm_backlight_device_register(&pdev->dev, pdev->name, bl 125 drivers/video/backlight/pcf50633-backlight.c if (IS_ERR(pcf_bl->bl)) bl 126 drivers/video/backlight/pcf50633-backlight.c return PTR_ERR(pcf_bl->bl); bl 136 drivers/video/backlight/pcf50633-backlight.c pcf_bl->brightness = pcf_bl->bl->props.brightness + 1; bl 138 drivers/video/backlight/pcf50633-backlight.c backlight_update_status(pcf_bl->bl); bl 81 drivers/video/backlight/pm8941-wled.c static int pm8941_wled_update_status(struct backlight_device *bl) bl 83 drivers/video/backlight/pm8941-wled.c struct pm8941_wled *wled = bl_get_data(bl); bl 84 drivers/video/backlight/pm8941-wled.c u16 val = bl->props.brightness; bl 89 drivers/video/backlight/pm8941-wled.c if (bl->props.power != FB_BLANK_UNBLANK || bl 90 drivers/video/backlight/pm8941-wled.c bl->props.fb_blank != FB_BLANK_UNBLANK || bl 91 drivers/video/backlight/pm8941-wled.c bl->props.state & BL_CORE_FBBLANK) bl 368 drivers/video/backlight/pm8941-wled.c struct backlight_device *bl; bl 401 drivers/video/backlight/pm8941-wled.c bl = devm_backlight_device_register(&pdev->dev, wled->name, bl 404 drivers/video/backlight/pm8941-wled.c return PTR_ERR_OR_ZERO(bl); bl 109 drivers/video/backlight/pwm_bl.c static int pwm_backlight_update_status(struct backlight_device *bl) bl 111 drivers/video/backlight/pwm_bl.c struct pwm_bl_data *pb = bl_get_data(bl); bl 112 drivers/video/backlight/pwm_bl.c int brightness = bl->props.brightness; bl 115 drivers/video/backlight/pwm_bl.c if (bl->props.power != FB_BLANK_UNBLANK || bl 116 drivers/video/backlight/pwm_bl.c bl->props.fb_blank != FB_BLANK_UNBLANK || bl 117 drivers/video/backlight/pwm_bl.c bl->props.state & BL_CORE_FBBLANK) bl 137 drivers/video/backlight/pwm_bl.c static int pwm_backlight_check_fb(struct backlight_device *bl, bl 140 drivers/video/backlight/pwm_bl.c struct pwm_bl_data *pb = bl_get_data(bl); bl 450 drivers/video/backlight/pwm_bl.c struct backlight_device *bl; bl 623 drivers/video/backlight/pwm_bl.c bl = backlight_device_register(dev_name(&pdev->dev), &pdev->dev, pb, bl 625 drivers/video/backlight/pwm_bl.c if (IS_ERR(bl)) { bl 627 drivers/video/backlight/pwm_bl.c ret = PTR_ERR(bl); bl 640 drivers/video/backlight/pwm_bl.c bl->props.brightness = data->dft_brightness; bl 641 drivers/video/backlight/pwm_bl.c bl->props.power = pwm_backlight_initial_power_state(pb); bl 642 drivers/video/backlight/pwm_bl.c backlight_update_status(bl); bl 644 drivers/video/backlight/pwm_bl.c platform_set_drvdata(pdev, bl); bl 655 drivers/video/backlight/pwm_bl.c struct backlight_device *bl = platform_get_drvdata(pdev); bl 656 drivers/video/backlight/pwm_bl.c struct pwm_bl_data *pb = bl_get_data(bl); bl 658 drivers/video/backlight/pwm_bl.c backlight_device_unregister(bl); bl 671 drivers/video/backlight/pwm_bl.c struct backlight_device *bl = platform_get_drvdata(pdev); bl 672 drivers/video/backlight/pwm_bl.c struct pwm_bl_data *pb = bl_get_data(bl); bl 680 drivers/video/backlight/pwm_bl.c struct backlight_device *bl = dev_get_drvdata(dev); bl 681 drivers/video/backlight/pwm_bl.c struct pwm_bl_data *pb = bl_get_data(bl); bl 696 drivers/video/backlight/pwm_bl.c struct backlight_device *bl = dev_get_drvdata(dev); bl 698 drivers/video/backlight/pwm_bl.c backlight_update_status(bl); bl 30 drivers/video/backlight/tosa_bl.c struct backlight_device *bl; bl 94 drivers/video/backlight/tosa_bl.c dev_dbg(&data->bl->dev, "Unable to request gpio!\n"); bl 104 drivers/video/backlight/tosa_bl.c data->bl = devm_backlight_device_register(&client->dev, "tosa-bl", bl 107 drivers/video/backlight/tosa_bl.c if (IS_ERR(data->bl)) { bl 108 drivers/video/backlight/tosa_bl.c ret = PTR_ERR(data->bl); bl 112 drivers/video/backlight/tosa_bl.c data->bl->props.brightness = 69; bl 113 drivers/video/backlight/tosa_bl.c data->bl->props.power = FB_BLANK_UNBLANK; bl 115 drivers/video/backlight/tosa_bl.c backlight_update_status(data->bl); bl 120 drivers/video/backlight/tosa_bl.c data->bl = NULL; bl 128 drivers/video/backlight/tosa_bl.c data->bl = NULL; bl 146 drivers/video/backlight/tosa_bl.c backlight_update_status(data->bl); bl 31 drivers/video/backlight/tps65217_bl.c struct backlight_device *bl; bl 76 drivers/video/backlight/tps65217_bl.c static int tps65217_bl_update_status(struct backlight_device *bl) bl 78 drivers/video/backlight/tps65217_bl.c struct tps65217_bl *tps65217_bl = bl_get_data(bl); bl 80 drivers/video/backlight/tps65217_bl.c int brightness = bl->props.brightness; bl 82 drivers/video/backlight/tps65217_bl.c if (bl->props.state & BL_CORE_SUSPENDED) bl 85 drivers/video/backlight/tps65217_bl.c if ((bl->props.power != FB_BLANK_UNBLANK) || bl 86 drivers/video/backlight/tps65217_bl.c (bl->props.fb_blank != FB_BLANK_UNBLANK)) bl 298 drivers/video/backlight/tps65217_bl.c tps65217_bl->bl = devm_backlight_device_register(&pdev->dev, pdev->name, bl 301 drivers/video/backlight/tps65217_bl.c if (IS_ERR(tps65217_bl->bl)) { bl 304 drivers/video/backlight/tps65217_bl.c return PTR_ERR(tps65217_bl->bl); bl 307 drivers/video/backlight/tps65217_bl.c tps65217_bl->bl->props.brightness = pdata->dft_brightness; bl 308 drivers/video/backlight/tps65217_bl.c backlight_update_status(tps65217_bl->bl); bl 26 drivers/video/backlight/wm831x_bl.c static int wm831x_backlight_set(struct backlight_device *bl, int brightness) bl 28 drivers/video/backlight/wm831x_bl.c struct wm831x_backlight_data *data = bl_get_data(bl); bl 92 drivers/video/backlight/wm831x_bl.c static int wm831x_backlight_update_status(struct backlight_device *bl) bl 94 drivers/video/backlight/wm831x_bl.c int brightness = bl->props.brightness; bl 96 drivers/video/backlight/wm831x_bl.c if (bl->props.power != FB_BLANK_UNBLANK) bl 99 drivers/video/backlight/wm831x_bl.c if (bl->props.fb_blank != FB_BLANK_UNBLANK) bl 102 drivers/video/backlight/wm831x_bl.c if (bl->props.state & BL_CORE_SUSPENDED) bl 105 drivers/video/backlight/wm831x_bl.c return wm831x_backlight_set(bl, brightness); bl 108 drivers/video/backlight/wm831x_bl.c static int wm831x_backlight_get_brightness(struct backlight_device *bl) bl 110 drivers/video/backlight/wm831x_bl.c struct wm831x_backlight_data *data = bl_get_data(bl); bl 127 drivers/video/backlight/wm831x_bl.c struct backlight_device *bl; bl 196 drivers/video/backlight/wm831x_bl.c bl = devm_backlight_device_register(&pdev->dev, "wm831x", &pdev->dev, bl 198 drivers/video/backlight/wm831x_bl.c if (IS_ERR(bl)) { bl 200 drivers/video/backlight/wm831x_bl.c return PTR_ERR(bl); bl 203 drivers/video/backlight/wm831x_bl.c bl->props.brightness = max_isel; bl 205 drivers/video/backlight/wm831x_bl.c platform_set_drvdata(pdev, bl); bl 210 drivers/video/backlight/wm831x_bl.c backlight_update_status(bl); bl 109 drivers/video/fbdev/atmel_lcdfb.c static int atmel_bl_update_status(struct backlight_device *bl) bl 111 drivers/video/fbdev/atmel_lcdfb.c struct atmel_lcdfb_info *sinfo = bl_get_data(bl); bl 113 drivers/video/fbdev/atmel_lcdfb.c int brightness = bl->props.brightness; bl 119 drivers/video/fbdev/atmel_lcdfb.c if (bl->props.fb_blank != sinfo->bl_power) bl 120 drivers/video/fbdev/atmel_lcdfb.c power = bl->props.fb_blank; bl 121 drivers/video/fbdev/atmel_lcdfb.c else if (bl->props.power != sinfo->bl_power) bl 122 drivers/video/fbdev/atmel_lcdfb.c power = bl->props.power; bl 136 drivers/video/fbdev/atmel_lcdfb.c bl->props.fb_blank = bl->props.power = sinfo->bl_power = power; bl 141 drivers/video/fbdev/atmel_lcdfb.c static int atmel_bl_get_brightness(struct backlight_device *bl) bl 143 drivers/video/fbdev/atmel_lcdfb.c struct atmel_lcdfb_info *sinfo = bl_get_data(bl); bl 156 drivers/video/fbdev/atmel_lcdfb.c struct backlight_device *bl; bl 166 drivers/video/fbdev/atmel_lcdfb.c bl = backlight_device_register("backlight", &sinfo->pdev->dev, sinfo, bl 168 drivers/video/fbdev/atmel_lcdfb.c if (IS_ERR(bl)) { bl 170 drivers/video/fbdev/atmel_lcdfb.c PTR_ERR(bl)); bl 173 drivers/video/fbdev/atmel_lcdfb.c sinfo->backlight = bl; bl 175 drivers/video/fbdev/atmel_lcdfb.c bl->props.power = FB_BLANK_UNBLANK; bl 176 drivers/video/fbdev/atmel_lcdfb.c bl->props.fb_blank = FB_BLANK_UNBLANK; bl 177 drivers/video/fbdev/atmel_lcdfb.c bl->props.brightness = atmel_bl_get_brightness(bl); bl 132 drivers/video/fbdev/matrox/matroxfb_g450.c static void g450_compute_bwlevel(const struct matrox_fb_info *minfo, int *bl, bl 138 drivers/video/fbdev/matrox/matroxfb_g450.c *bl = max(b - c, BLMIN); bl 359 drivers/video/fbdev/matrox/matroxfb_maven.c int *bl, int *wl) { bl 363 drivers/video/fbdev/matrox/matroxfb_maven.c *bl = max(b - c, BLMIN); bl 504 drivers/video/fbdev/matrox/matroxfb_maven.c int bl, wl; bl 505 drivers/video/fbdev/matrox/matroxfb_maven.c maven_compute_bwlevel (md, &bl, &wl); bl 506 drivers/video/fbdev/matrox/matroxfb_maven.c data->regs[0x0e] = bl >> 2; bl 507 drivers/video/fbdev/matrox/matroxfb_maven.c data->regs[0x0f] = bl & 3; bl 242 drivers/video/fbdev/mx3fb.c struct backlight_device *bl; bl 276 drivers/video/fbdev/mx3fb.c static int mx3fb_bl_get_brightness(struct backlight_device *bl) bl 278 drivers/video/fbdev/mx3fb.c struct mx3fb_data *fbd = bl_get_data(bl); bl 283 drivers/video/fbdev/mx3fb.c static int mx3fb_bl_update_status(struct backlight_device *bl) bl 285 drivers/video/fbdev/mx3fb.c struct mx3fb_data *fbd = bl_get_data(bl); bl 286 drivers/video/fbdev/mx3fb.c int brightness = bl->props.brightness; bl 288 drivers/video/fbdev/mx3fb.c if (bl->props.power != FB_BLANK_UNBLANK) bl 290 drivers/video/fbdev/mx3fb.c if (bl->props.fb_blank != FB_BLANK_UNBLANK) bl 308 drivers/video/fbdev/mx3fb.c struct backlight_device *bl; bl 310 drivers/video/fbdev/mx3fb.c if (fbd->bl) bl 318 drivers/video/fbdev/mx3fb.c bl = backlight_device_register("mx3fb-bl", fbd->dev, fbd, bl 320 drivers/video/fbdev/mx3fb.c if (IS_ERR(bl)) { bl 322 drivers/video/fbdev/mx3fb.c PTR_ERR(bl)); bl 326 drivers/video/fbdev/mx3fb.c fbd->bl = bl; bl 327 drivers/video/fbdev/mx3fb.c bl->props.power = FB_BLANK_UNBLANK; bl 328 drivers/video/fbdev/mx3fb.c bl->props.fb_blank = FB_BLANK_UNBLANK; bl 329 drivers/video/fbdev/mx3fb.c bl->props.brightness = mx3fb_bl_get_brightness(bl); bl 334 drivers/video/fbdev/mx3fb.c backlight_device_unregister(fbd->bl); bl 4320 drivers/video/fbdev/omap2/omapfb/dss/dsi.c int bl, wc, pps, tot; bl 4324 drivers/video/fbdev/omap2/omapfb/dss/dsi.c bl = t->hss + t->hsa + t->hse + t->hbp + t->hfp; bl 4325 drivers/video/fbdev/omap2/omapfb/dss/dsi.c tot = bl + pps; bl 4334 drivers/video/fbdev/omap2/omapfb/dss/dsi.c bl, pps, tot, bl 4342 drivers/video/fbdev/omap2/omapfb/dss/dsi.c TO_DSI_T(bl), bl 4352 drivers/video/fbdev/omap2/omapfb/dss/dsi.c int hact, bl, tot; bl 4355 drivers/video/fbdev/omap2/omapfb/dss/dsi.c bl = t->hsw + t->hbp + t->hfp; bl 4356 drivers/video/fbdev/omap2/omapfb/dss/dsi.c tot = hact + bl; bl 4365 drivers/video/fbdev/omap2/omapfb/dss/dsi.c bl, hact, tot, bl 4370 drivers/video/fbdev/omap2/omapfb/dss/dsi.c TO_DISPC_T(bl), bl 1058 drivers/video/fbdev/sh_mobile_lcdcfb.c if (ch->bl) { bl 1059 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->bl->props.power = FB_BLANK_UNBLANK; bl 1060 drivers/video/fbdev/sh_mobile_lcdcfb.c backlight_update_status(ch->bl); bl 1091 drivers/video/fbdev/sh_mobile_lcdcfb.c if (ch->bl) { bl 1092 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->bl->props.power = FB_BLANK_POWERDOWN; bl 1093 drivers/video/fbdev/sh_mobile_lcdcfb.c backlight_update_status(ch->bl); bl 2005 drivers/video/fbdev/sh_mobile_lcdcfb.c info->bl_dev = ch->bl; bl 2160 drivers/video/fbdev/sh_mobile_lcdcfb.c struct backlight_device *bl; bl 2162 drivers/video/fbdev/sh_mobile_lcdcfb.c bl = backlight_device_register(ch->cfg->bl_info.name, parent, ch, bl 2164 drivers/video/fbdev/sh_mobile_lcdcfb.c if (IS_ERR(bl)) { bl 2166 drivers/video/fbdev/sh_mobile_lcdcfb.c PTR_ERR(bl)); bl 2170 drivers/video/fbdev/sh_mobile_lcdcfb.c bl->props.max_brightness = ch->cfg->bl_info.max_brightness; bl 2171 drivers/video/fbdev/sh_mobile_lcdcfb.c bl->props.brightness = bl->props.max_brightness; bl 2172 drivers/video/fbdev/sh_mobile_lcdcfb.c backlight_update_status(bl); bl 2174 drivers/video/fbdev/sh_mobile_lcdcfb.c return bl; bl 2293 drivers/video/fbdev/sh_mobile_lcdcfb.c if (ch->bl) bl 2294 drivers/video/fbdev/sh_mobile_lcdcfb.c sh_mobile_lcdc_bl_remove(ch->bl); bl 2565 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->bl = sh_mobile_lcdc_bl_probe(&pdev->dev, ch); bl 91 drivers/video/fbdev/sh_mobile_lcdcfb.h struct backlight_device *bl; bl 592 drivers/video/fbdev/ssd1307fb.c struct backlight_device *bl; bl 746 drivers/video/fbdev/ssd1307fb.c bl = backlight_device_register(bl_name, &client->dev, par, bl 748 drivers/video/fbdev/ssd1307fb.c if (IS_ERR(bl)) { bl 749 drivers/video/fbdev/ssd1307fb.c ret = PTR_ERR(bl); bl 755 drivers/video/fbdev/ssd1307fb.c bl->props.brightness = par->contrast; bl 756 drivers/video/fbdev/ssd1307fb.c bl->props.max_brightness = MAX_CONTRAST; bl 757 drivers/video/fbdev/ssd1307fb.c info->bl_dev = bl; bl 42 fs/hpfs/dentry.c unsigned bl = name->len; bl 52 fs/hpfs/dentry.c if (hpfs_chk_name(name->name, &bl)) bl 54 fs/hpfs/dentry.c if (hpfs_compare_names(dentry->d_sb, str, al, name->name, bl, 0)) bl 194 fs/nfs/blocklayout/blocklayout.c struct pnfs_block_layout *bl = BLK_LSEG2EXT(header->lseg); bl 203 fs/nfs/blocklayout/blocklayout.c if (!ext_tree_lookup(bl, isect, &be, rw)) bl 255 fs/nfs/blocklayout/blocklayout.c struct pnfs_block_layout *bl = BLK_LSEG2EXT(header->lseg); bl 289 fs/nfs/blocklayout/blocklayout.c if (!ext_tree_lookup(bl, isect, &be, false)) { bl 373 fs/nfs/blocklayout/blocklayout.c struct pnfs_block_layout *bl = BLK_LSEG2EXT(hdr->lseg); bl 379 fs/nfs/blocklayout/blocklayout.c ext_tree_mark_written(bl, start >> SECTOR_SHIFT, bl 400 fs/nfs/blocklayout/blocklayout.c struct pnfs_block_layout *bl = BLK_LSEG2EXT(header->lseg); bl 436 fs/nfs/blocklayout/blocklayout.c if (!ext_tree_lookup(bl, isect, &be, true)) { bl 471 fs/nfs/blocklayout/blocklayout.c struct pnfs_block_layout *bl = BLK_LO2EXT(lo); bl 476 fs/nfs/blocklayout/blocklayout.c err = ext_tree_remove(bl, true, 0, LLONG_MAX); bl 479 fs/nfs/blocklayout/blocklayout.c kfree(bl); bl 485 fs/nfs/blocklayout/blocklayout.c struct pnfs_block_layout *bl; bl 488 fs/nfs/blocklayout/blocklayout.c bl = kzalloc(sizeof(*bl), gfp_flags); bl 489 fs/nfs/blocklayout/blocklayout.c if (!bl) bl 492 fs/nfs/blocklayout/blocklayout.c bl->bl_ext_rw = RB_ROOT; bl 493 fs/nfs/blocklayout/blocklayout.c bl->bl_ext_ro = RB_ROOT; bl 494 fs/nfs/blocklayout/blocklayout.c spin_lock_init(&bl->bl_ext_lock); bl 496 fs/nfs/blocklayout/blocklayout.c bl->bl_scsi_layout = is_scsi_layout; bl 497 fs/nfs/blocklayout/blocklayout.c return &bl->bl_layout; bl 677 fs/nfs/blocklayout/blocklayout.c struct pnfs_block_layout *bl = BLK_LO2EXT(lo); bl 740 fs/nfs/blocklayout/blocklayout.c status = ext_tree_insert(bl, be); bl 769 fs/nfs/blocklayout/blocklayout.c struct pnfs_block_layout *bl = BLK_LO2EXT(lo); bl 790 fs/nfs/blocklayout/blocklayout.c ext_tree_remove(bl, range->iomode & IOMODE_RW, offset, end); bl 180 fs/nfs/blocklayout/blocklayout.h int ext_tree_insert(struct pnfs_block_layout *bl, bl 182 fs/nfs/blocklayout/blocklayout.h int ext_tree_remove(struct pnfs_block_layout *bl, bool rw, sector_t start, bl 184 fs/nfs/blocklayout/blocklayout.h int ext_tree_mark_written(struct pnfs_block_layout *bl, sector_t start, bl 186 fs/nfs/blocklayout/blocklayout.h bool ext_tree_lookup(struct pnfs_block_layout *bl, sector_t isect, bl 255 fs/nfs/blocklayout/extent_tree.c ext_tree_insert(struct pnfs_block_layout *bl, struct pnfs_block_extent *new) bl 264 fs/nfs/blocklayout/extent_tree.c root = &bl->bl_ext_rw; bl 268 fs/nfs/blocklayout/extent_tree.c root = &bl->bl_ext_ro; bl 275 fs/nfs/blocklayout/extent_tree.c spin_lock(&bl->bl_ext_lock); bl 317 fs/nfs/blocklayout/extent_tree.c spin_unlock(&bl->bl_ext_lock); bl 345 fs/nfs/blocklayout/extent_tree.c ext_tree_lookup(struct pnfs_block_layout *bl, sector_t isect, bl 350 fs/nfs/blocklayout/extent_tree.c spin_lock(&bl->bl_ext_lock); bl 352 fs/nfs/blocklayout/extent_tree.c found = __ext_tree_lookup(&bl->bl_ext_ro, isect, ret); bl 354 fs/nfs/blocklayout/extent_tree.c found = __ext_tree_lookup(&bl->bl_ext_rw, isect, ret); bl 355 fs/nfs/blocklayout/extent_tree.c spin_unlock(&bl->bl_ext_lock); bl 360 fs/nfs/blocklayout/extent_tree.c int ext_tree_remove(struct pnfs_block_layout *bl, bool rw, bl 366 fs/nfs/blocklayout/extent_tree.c spin_lock(&bl->bl_ext_lock); bl 367 fs/nfs/blocklayout/extent_tree.c err = __ext_tree_remove(&bl->bl_ext_ro, start, end, &tmp); bl 369 fs/nfs/blocklayout/extent_tree.c err2 = __ext_tree_remove(&bl->bl_ext_rw, start, end, &tmp); bl 373 fs/nfs/blocklayout/extent_tree.c spin_unlock(&bl->bl_ext_lock); bl 405 fs/nfs/blocklayout/extent_tree.c ext_tree_mark_written(struct pnfs_block_layout *bl, sector_t start, bl 408 fs/nfs/blocklayout/extent_tree.c struct rb_root *root = &bl->bl_ext_rw; bl 414 fs/nfs/blocklayout/extent_tree.c spin_lock(&bl->bl_ext_lock); bl 418 fs/nfs/blocklayout/extent_tree.c err = __ext_tree_remove(&bl->bl_ext_ro, start, end, &tmp); bl 475 fs/nfs/blocklayout/extent_tree.c if (bl->bl_lwb < lwb) bl 476 fs/nfs/blocklayout/extent_tree.c bl->bl_lwb = lwb; bl 477 fs/nfs/blocklayout/extent_tree.c spin_unlock(&bl->bl_ext_lock); bl 483 fs/nfs/blocklayout/extent_tree.c static size_t ext_tree_layoutupdate_size(struct pnfs_block_layout *bl, size_t count) bl 485 fs/nfs/blocklayout/extent_tree.c if (bl->bl_scsi_layout) bl 523 fs/nfs/blocklayout/extent_tree.c static int ext_tree_encode_commit(struct pnfs_block_layout *bl, __be32 *p, bl 529 fs/nfs/blocklayout/extent_tree.c spin_lock(&bl->bl_ext_lock); bl 530 fs/nfs/blocklayout/extent_tree.c for (be = ext_tree_first(&bl->bl_ext_rw); be; be = ext_tree_next(be)) { bl 536 fs/nfs/blocklayout/extent_tree.c if (ext_tree_layoutupdate_size(bl, *count) > buffer_size) { bl 542 fs/nfs/blocklayout/extent_tree.c if (bl->bl_scsi_layout) bl 548 fs/nfs/blocklayout/extent_tree.c *lastbyte = bl->bl_lwb - 1; bl 549 fs/nfs/blocklayout/extent_tree.c bl->bl_lwb = 0; bl 550 fs/nfs/blocklayout/extent_tree.c spin_unlock(&bl->bl_ext_lock); bl 558 fs/nfs/blocklayout/extent_tree.c struct pnfs_block_layout *bl = BLK_LO2EXT(NFS_I(arg->inode)->layout); bl 572 fs/nfs/blocklayout/extent_tree.c ret = ext_tree_encode_commit(bl, start_p + 1, buffer_size, &count, &arg->lastbytewritten); bl 576 fs/nfs/blocklayout/extent_tree.c buffer_size = ext_tree_layoutupdate_size(bl, count); bl 595 fs/nfs/blocklayout/extent_tree.c arg->layoutupdate_len = ext_tree_layoutupdate_size(bl, count); bl 617 fs/nfs/blocklayout/extent_tree.c struct pnfs_block_layout *bl = BLK_LO2EXT(NFS_I(arg->inode)->layout); bl 618 fs/nfs/blocklayout/extent_tree.c struct rb_root *root = &bl->bl_ext_rw; bl 625 fs/nfs/blocklayout/extent_tree.c spin_lock(&bl->bl_ext_lock); bl 646 fs/nfs/blocklayout/extent_tree.c spin_unlock(&bl->bl_ext_lock); bl 430 fs/reiserfs/journal.c long bl) bl 433 fs/reiserfs/journal.c cn = journal_hash(table, sb, bl); bl 435 fs/reiserfs/journal.c if (cn->blocknr == bl && cn->sb == sb) bl 469 fs/reiserfs/journal.c unsigned long bl; bl 499 fs/reiserfs/journal.c bl = bmap_nr * (sb->s_blocksize << 3) + bit_nr; bl 503 fs/reiserfs/journal.c get_journal_hash_dev(sb, journal->j_list_hash_table, bl))) { bl 508 fs/reiserfs/journal.c if ((cn = get_journal_hash_dev(sb, journal->j_hash_table, bl))) { bl 580 include/linux/bio.h static inline int bio_list_empty(const struct bio_list *bl) bl 582 include/linux/bio.h return bl->head == NULL; bl 585 include/linux/bio.h static inline void bio_list_init(struct bio_list *bl) bl 587 include/linux/bio.h bl->head = bl->tail = NULL; bl 592 include/linux/bio.h #define bio_list_for_each(bio, bl) \ bl 593 include/linux/bio.h for (bio = (bl)->head; bio; bio = bio->bi_next) bl 595 include/linux/bio.h static inline unsigned bio_list_size(const struct bio_list *bl) bl 600 include/linux/bio.h bio_list_for_each(bio, bl) bl 606 include/linux/bio.h static inline void bio_list_add(struct bio_list *bl, struct bio *bio) bl 610 include/linux/bio.h if (bl->tail) bl 611 include/linux/bio.h bl->tail->bi_next = bio; bl 613 include/linux/bio.h bl->head = bio; bl 615 include/linux/bio.h bl->tail = bio; bl 618 include/linux/bio.h static inline void bio_list_add_head(struct bio_list *bl, struct bio *bio) bl 620 include/linux/bio.h bio->bi_next = bl->head; bl 622 include/linux/bio.h bl->head = bio; bl 624 include/linux/bio.h if (!bl->tail) bl 625 include/linux/bio.h bl->tail = bio; bl 628 include/linux/bio.h static inline void bio_list_merge(struct bio_list *bl, struct bio_list *bl2) bl 633 include/linux/bio.h if (bl->tail) bl 634 include/linux/bio.h bl->tail->bi_next = bl2->head; bl 636 include/linux/bio.h bl->head = bl2->head; bl 638 include/linux/bio.h bl->tail = bl2->tail; bl 641 include/linux/bio.h static inline void bio_list_merge_head(struct bio_list *bl, bl 647 include/linux/bio.h if (bl->head) bl 648 include/linux/bio.h bl2->tail->bi_next = bl->head; bl 650 include/linux/bio.h bl->tail = bl2->tail; bl 652 include/linux/bio.h bl->head = bl2->head; bl 655 include/linux/bio.h static inline struct bio *bio_list_peek(struct bio_list *bl) bl 657 include/linux/bio.h return bl->head; bl 660 include/linux/bio.h static inline struct bio *bio_list_pop(struct bio_list *bl) bl 662 include/linux/bio.h struct bio *bio = bl->head; bl 665 include/linux/bio.h bl->head = bl->head->bi_next; bl 666 include/linux/bio.h if (!bl->head) bl 667 include/linux/bio.h bl->tail = NULL; bl 675 include/linux/bio.h static inline struct bio *bio_list_get(struct bio_list *bl) bl 677 include/linux/bio.h struct bio *bio = bl->head; bl 679 include/linux/bio.h bl->head = bl->tail = NULL; bl 2119 kernel/rcu/tree.c long bl, count; bl 2143 kernel/rcu/tree.c bl = max(rdp->blimit, pending >> rcu_divisor); bl 2144 kernel/rcu/tree.c if (unlikely(bl > 100)) bl 2148 kernel/rcu/tree.c rcu_segcblist_n_cbs(&rdp->cblist), bl); bl 2164 kernel/rcu/tree.c if (-rcl.len >= bl && !offloaded && bl 186 kernel/trace/fgraph.c ftrace_suspend_notifier_call(struct notifier_block *bl, unsigned long state, bl 592 lib/inflate.c int bl, /* number of bits decoded by tl[] */ bl 613 lib/inflate.c ml = mask_bits[bl]; /* precompute masks for speed */ bl 617 lib/inflate.c NEEDBITS((unsigned)bl) bl 773 lib/inflate.c int bl; /* lookup bits for tl */ bl 792 lib/inflate.c bl = 7; bl 793 lib/inflate.c if ((i = huft_build(l, 288, 257, cplens, cplext, &tl, &bl)) != 0) { bl 813 lib/inflate.c if (inflate_codes(tl, td, bl, bd)) { bl 839 lib/inflate.c int bl; /* lookup bits for tl */ bl 900 lib/inflate.c bl = 7; bl 901 lib/inflate.c if ((i = huft_build(ll, 19, 19, NULL, NULL, &tl, &bl)) != 0) bl 913 lib/inflate.c m = mask_bits[bl]; bl 917 lib/inflate.c NEEDBITS((unsigned)bl) bl 977 lib/inflate.c bl = lbits; bl 978 lib/inflate.c if ((i = huft_build(ll, nl, 257, cplens, cplext, &tl, &bl)) != 0) bl 1010 lib/inflate.c if (inflate_codes(tl, td, bl, bd)) { bl 114 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 122 lib/mpi/longlong.h "rI" ((USItype)(bl))) bl 123 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 131 lib/mpi/longlong.h "rI" ((USItype)(bl))) bl 176 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 184 lib/mpi/longlong.h "rI" ((USItype)(bl))) bl 185 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 193 lib/mpi/longlong.h "rI" ((USItype)(bl))) bl 263 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 271 lib/mpi/longlong.h "g" ((USItype)(bl))) bl 272 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 280 lib/mpi/longlong.h "g" ((USItype)(bl))) bl 300 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 308 lib/mpi/longlong.h "rM" ((USItype)(bl))) bl 309 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 317 lib/mpi/longlong.h "rM" ((USItype)(bl))) bl 397 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 405 lib/mpi/longlong.h "g" ((USItype)(bl))) bl 406 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 414 lib/mpi/longlong.h "g" ((USItype)(bl))) bl 450 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 459 lib/mpi/longlong.h "dI" ((USItype)(bl))) bl 460 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 469 lib/mpi/longlong.h "dI" ((USItype)(bl))) bl 515 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 523 lib/mpi/longlong.h "g" ((USItype)(bl))) bl 524 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 532 lib/mpi/longlong.h "g" ((USItype)(bl))) bl 594 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 602 lib/mpi/longlong.h "rJ" ((USItype)(bl))) bl 603 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 611 lib/mpi/longlong.h "rJ" ((USItype)(bl))) bl 721 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 729 lib/mpi/longlong.h "rI" ((USItype)(bl))); \ bl 736 lib/mpi/longlong.h "rI" ((USItype)(bl))); \ bl 744 lib/mpi/longlong.h "rI" ((USItype)(bl))); \ bl 746 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 754 lib/mpi/longlong.h "r" ((USItype)(bl))); \ bl 761 lib/mpi/longlong.h "r" ((USItype)(bl))); \ bl 768 lib/mpi/longlong.h "r" ((USItype)(bl))); \ bl 775 lib/mpi/longlong.h "r" ((USItype)(bl))); \ bl 783 lib/mpi/longlong.h "r" ((USItype)(bl))); \ bl 839 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 847 lib/mpi/longlong.h "g" ((USItype)(bl))) bl 848 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 856 lib/mpi/longlong.h "g" ((USItype)(bl))) bl 874 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 882 lib/mpi/longlong.h "r" ((USItype)(bl))) bl 883 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 891 lib/mpi/longlong.h "r" ((USItype)(bl))) bl 950 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 958 lib/mpi/longlong.h "rI" ((USItype)(bl)) \ bl 960 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 968 lib/mpi/longlong.h "rI" ((USItype)(bl)) \ bl 1145 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 1153 lib/mpi/longlong.h "g" ((USItype)(bl))) bl 1154 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 1162 lib/mpi/longlong.h "g" ((USItype)(bl))) bl 1193 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 1200 lib/mpi/longlong.h "rQR" ((unsigned int)(bl))) bl 1201 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 1208 lib/mpi/longlong.h "rQR" ((unsigned int)(bl))) bl 1250 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ bl 1253 lib/mpi/longlong.h __x = (al) + (bl); \ bl 1260 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ bl 1263 lib/mpi/longlong.h __x = (al) - (bl); \ bl 69 tools/perf/arch/x86/util/perf_regs.c SDT_NAME_REG(bl, bx), bl 59 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h bl accumulate_stolen_time; \ bl 309 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h bl 0f; \