/linux-6.12.1/io_uring/ |
D | kbuf.c | 43 struct io_buffer_list *bl, unsigned int bgid) in io_buffer_add_list() argument 50 bl->bgid = bgid; in io_buffer_add_list() 51 atomic_set(&bl->refs, 1); in io_buffer_add_list() 52 return xa_err(xa_store(&ctx->io_bl_xa, bgid, bl, GFP_KERNEL)); in io_buffer_add_list() 58 struct io_buffer_list *bl; in io_kbuf_recycle_legacy() local 64 bl = io_buffer_get_list(ctx, buf->bgid); in io_kbuf_recycle_legacy() 65 list_add(&buf->list, &bl->buf_list); in io_kbuf_recycle_legacy() 101 struct io_buffer_list *bl) in io_provided_buffer_select() argument 103 if (!list_empty(&bl->buf_list)) { in io_provided_buffer_select() 106 kbuf = list_first_entry(&bl->buf_list, struct io_buffer, list); in io_provided_buffer_select() [all …]
|
/linux-6.12.1/drivers/video/backlight/ |
D | lm3533_bl.c | 33 static inline int lm3533_bl_get_ctrlbank_id(struct lm3533_bl *bl) in lm3533_bl_get_ctrlbank_id() argument 35 return bl->id; in lm3533_bl_get_ctrlbank_id() 40 struct lm3533_bl *bl = bl_get_data(bd); in lm3533_bl_update_status() local 42 return lm3533_ctrlbank_set_brightness(&bl->cb, backlight_get_brightness(bd)); in lm3533_bl_update_status() 47 struct lm3533_bl *bl = bl_get_data(bd); in lm3533_bl_get_brightness() local 51 ret = lm3533_ctrlbank_get_brightness(&bl->cb, &val); in lm3533_bl_get_brightness() 66 struct lm3533_bl *bl = dev_get_drvdata(dev); in show_id() local 68 return scnprintf(buf, PAGE_SIZE, "%d\n", bl->id); in show_id() 74 struct lm3533_bl *bl = dev_get_drvdata(dev); in show_als_channel() local 75 unsigned channel = lm3533_bl_get_ctrlbank_id(bl); in show_als_channel() [all …]
|
D | omap1_bl.c | 39 static void omapbl_enable(struct omap_backlight *bl, bool enable) in omapbl_enable() argument 42 omapbl_send_intensity(bl->current_intensity); in omapbl_enable() 54 struct omap_backlight *bl = bl_get_data(bl_dev); in omapbl_suspend() local 56 omapbl_enable(bl, false); in omapbl_suspend() 63 struct omap_backlight *bl = bl_get_data(bl_dev); in omapbl_resume() local 65 omapbl_enable(bl, bl->enabled); in omapbl_resume() 72 struct omap_backlight *bl = bl_get_data(dev); in omapbl_set_enabled() local 74 omapbl_enable(bl, enable); in omapbl_set_enabled() 75 bl->enabled = enable; in omapbl_set_enabled() 80 struct omap_backlight *bl = bl_get_data(dev); in omapbl_update_status() local [all …]
|
D | lp8788_bl.c | 38 static int lp8788_backlight_configure(struct lp8788_bl *bl) in lp8788_backlight_configure() argument 45 ret = lp8788_write_byte(bl->lp, LP8788_BL_RAMP, val); in lp8788_backlight_configure() 56 return lp8788_write_byte(bl->lp, LP8788_BL_CONFIG, val); in lp8788_backlight_configure() 61 struct lp8788_bl *bl = bl_get_data(bl_dev); in lp8788_bl_update_status() local 66 lp8788_write_byte(bl->lp, LP8788_BL_BRIGHTNESS, bl_dev->props.brightness); in lp8788_bl_update_status() 76 static int lp8788_backlight_register(struct lp8788_bl *bl) in lp8788_backlight_register() argument 89 bl_dev = backlight_device_register(DEFAULT_BL_NAME, bl->lp->dev, bl, in lp8788_backlight_register() 94 bl->bl_dev = bl_dev; in lp8788_backlight_register() 99 static void lp8788_backlight_unregister(struct lp8788_bl *bl) in lp8788_backlight_unregister() argument 101 struct backlight_device *bl_dev = bl->bl_dev; in lp8788_backlight_unregister() [all …]
|
D | ep93xx_bl.c | 26 static int ep93xxbl_set(struct backlight_device *bl, int brightness) in ep93xxbl_set() argument 28 struct ep93xxbl *ep93xxbl = bl_get_data(bl); in ep93xxbl_set() 37 static int ep93xxbl_update_status(struct backlight_device *bl) in ep93xxbl_update_status() argument 39 return ep93xxbl_set(bl, backlight_get_brightness(bl)); in ep93xxbl_update_status() 42 static int ep93xxbl_get_brightness(struct backlight_device *bl) in ep93xxbl_get_brightness() argument 44 struct ep93xxbl *ep93xxbl = bl_get_data(bl); in ep93xxbl_get_brightness() 57 struct backlight_device *bl; in ep93xxbl_probe() local 86 bl = devm_backlight_device_register(&dev->dev, dev->name, &dev->dev, in ep93xxbl_probe() 88 if (IS_ERR(bl)) in ep93xxbl_probe() 89 return PTR_ERR(bl); in ep93xxbl_probe() [all …]
|
D | as3711_bl.c | 30 struct backlight_device *bl; member 102 static int as3711_bl_update_status(struct backlight_device *bl) in as3711_bl_update_status() argument 104 struct as3711_bl_data *data = bl_get_data(bl); in as3711_bl_update_status() 110 brightness = backlight_get_brightness(bl); in as3711_bl_update_status() 161 static int as3711_bl_get_brightness(struct backlight_device *bl) in as3711_bl_get_brightness() argument 163 struct as3711_bl_data *data = bl_get_data(bl); in as3711_bl_get_brightness() 226 struct backlight_device *bl; in as3711_bl_register() local 231 bl = devm_backlight_device_register(&pdev->dev, in as3711_bl_register() 236 if (IS_ERR(bl)) { in as3711_bl_register() 238 return PTR_ERR(bl); in as3711_bl_register() [all …]
|
D | gpio_backlight.c | 23 static int gpio_backlight_update_status(struct backlight_device *bl) in gpio_backlight_update_status() argument 25 struct gpio_backlight *gbl = bl_get_data(bl); in gpio_backlight_update_status() 27 gpiod_set_value_cansleep(gbl->gpiod, backlight_get_brightness(bl)); in gpio_backlight_update_status() 32 static bool gpio_backlight_controls_device(struct backlight_device *bl, in gpio_backlight_controls_device() argument 35 struct gpio_backlight *gbl = bl_get_data(bl); in gpio_backlight_controls_device() 52 struct backlight_device *bl; in gpio_backlight_probe() local 73 bl = devm_backlight_device_register(dev, dev_name(dev), dev, gbl, in gpio_backlight_probe() 75 if (IS_ERR(bl)) { in gpio_backlight_probe() 77 return PTR_ERR(bl); in gpio_backlight_probe() 83 bl->props.power = def_value ? BACKLIGHT_POWER_ON in gpio_backlight_probe() [all …]
|
D | pcf50633-backlight.c | 19 struct backlight_device *bl; member 43 backlight_update_status(pcf_bl->bl); in pcf50633_bl_set_brightness_limit() 48 static int pcf50633_bl_update_status(struct backlight_device *bl) in pcf50633_bl_update_status() argument 50 struct pcf50633_bl *pcf_bl = bl_get_data(bl); in pcf50633_bl_update_status() 54 if (bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK) || in pcf50633_bl_update_status() 55 bl->props.power != BACKLIGHT_POWER_ON) in pcf50633_bl_update_status() 57 else if (bl->props.brightness < pcf_bl->brightness_limit) in pcf50633_bl_update_status() 58 new_brightness = bl->props.brightness; in pcf50633_bl_update_status() 80 static int pcf50633_bl_get_brightness(struct backlight_device *bl) in pcf50633_bl_get_brightness() argument 82 struct pcf50633_bl *pcf_bl = bl_get_data(bl); in pcf50633_bl_get_brightness() [all …]
|
D | ktd253-backlight.c | 32 struct backlight_device *bl; member 74 static int ktd253_backlight_update_status(struct backlight_device *bl) in ktd253_backlight_update_status() argument 76 struct ktd253_backlight *ktd253 = bl_get_data(bl); in ktd253_backlight_update_status() 77 int brightness = backlight_get_brightness(bl); in ktd253_backlight_update_status() 145 struct backlight_device *bl; in ktd253_backlight_probe() local 182 bl = devm_backlight_device_register(dev, dev_name(dev), dev, ktd253, in ktd253_backlight_probe() 184 if (IS_ERR(bl)) { in ktd253_backlight_probe() 186 return PTR_ERR(bl); in ktd253_backlight_probe() 188 bl->props.max_brightness = max_brightness; in ktd253_backlight_probe() 191 bl->props.brightness = brightness; in ktd253_backlight_probe() [all …]
|
D | da903x_bl.c | 40 static int da903x_backlight_set(struct backlight_device *bl, int brightness) in da903x_backlight_set() argument 42 struct da903x_backlight_data *data = bl_get_data(bl); in da903x_backlight_set() 78 static int da903x_backlight_update_status(struct backlight_device *bl) in da903x_backlight_update_status() argument 80 return da903x_backlight_set(bl, backlight_get_brightness(bl)); in da903x_backlight_update_status() 83 static int da903x_backlight_get_brightness(struct backlight_device *bl) in da903x_backlight_get_brightness() argument 85 struct da903x_backlight_data *data = bl_get_data(bl); in da903x_backlight_get_brightness() 100 struct backlight_device *bl; in da903x_backlight_probe() local 133 bl = devm_backlight_device_register(&pdev->dev, pdev->name, in da903x_backlight_probe() 136 if (IS_ERR(bl)) { in da903x_backlight_probe() 138 return PTR_ERR(bl); in da903x_backlight_probe() [all …]
|
D | da9052_bl.c | 82 static int da9052_backlight_update_status(struct backlight_device *bl) in da9052_backlight_update_status() argument 84 int brightness = bl->props.brightness; in da9052_backlight_update_status() 85 struct da9052_bl *wleds = bl_get_data(bl); in da9052_backlight_update_status() 93 static int da9052_backlight_get_brightness(struct backlight_device *bl) in da9052_backlight_get_brightness() argument 95 struct da9052_bl *wleds = bl_get_data(bl); in da9052_backlight_get_brightness() 107 struct backlight_device *bl; in da9052_backlight_probe() local 124 bl = devm_backlight_device_register(&pdev->dev, pdev->name, in da9052_backlight_probe() 127 if (IS_ERR(bl)) { in da9052_backlight_probe() 129 return PTR_ERR(bl); in da9052_backlight_probe() 132 bl->props.max_brightness = DA9052_MAX_BRIGHTNESS; in da9052_backlight_probe() [all …]
|
D | pandora_bl.c | 39 static int pandora_backlight_update_status(struct backlight_device *bl) in pandora_backlight_update_status() argument 41 int brightness = bl->props.brightness; in pandora_backlight_update_status() 42 struct pandora_private *priv = bl_get_data(bl); in pandora_backlight_update_status() 45 if (bl->props.power != BACKLIGHT_POWER_ON) in pandora_backlight_update_status() 47 if (bl->props.state & BL_CORE_FBBLANK) in pandora_backlight_update_status() 49 if (bl->props.state & BL_CORE_SUSPENDED) in pandora_backlight_update_status() 111 struct backlight_device *bl; in pandora_backlight_probe() local 122 bl = devm_backlight_device_register(&pdev->dev, pdev->name, &pdev->dev, in pandora_backlight_probe() 124 if (IS_ERR(bl)) { in pandora_backlight_probe() 126 return PTR_ERR(bl); in pandora_backlight_probe() [all …]
|
D | adp5520_bl.c | 26 static int adp5520_bl_set(struct backlight_device *bl, int brightness) in adp5520_bl_set() argument 28 struct adp5520_bl *data = bl_get_data(bl); in adp5520_bl_set() 66 static int adp5520_bl_update_status(struct backlight_device *bl) in adp5520_bl_update_status() argument 68 return adp5520_bl_set(bl, backlight_get_brightness(bl)); in adp5520_bl_update_status() 71 static int adp5520_bl_get_brightness(struct backlight_device *bl) in adp5520_bl_get_brightness() argument 73 struct adp5520_bl *data = bl_get_data(bl); in adp5520_bl_get_brightness() 87 static int adp5520_bl_setup(struct backlight_device *bl) in adp5520_bl_setup() argument 89 struct adp5520_bl *data = bl_get_data(bl); in adp5520_bl_setup() 283 struct backlight_device *bl; in adp5520_bl_probe() local 307 bl = devm_backlight_device_register(&pdev->dev, pdev->name, in adp5520_bl_probe() [all …]
|
D | max8925_bl.c | 32 static int max8925_backlight_set(struct backlight_device *bl, int brightness) in max8925_backlight_set() argument 34 struct max8925_backlight_data *data = bl_get_data(bl); in max8925_backlight_set() 65 static int max8925_backlight_update_status(struct backlight_device *bl) in max8925_backlight_update_status() argument 67 return max8925_backlight_set(bl, backlight_get_brightness(bl)); in max8925_backlight_update_status() 70 static int max8925_backlight_get_brightness(struct backlight_device *bl) in max8925_backlight_get_brightness() argument 72 struct max8925_backlight_data *data = bl_get_data(bl); in max8925_backlight_get_brightness() 124 struct backlight_device *bl; in max8925_backlight_probe() local 154 bl = devm_backlight_device_register(&pdev->dev, "max8925-backlight", in max8925_backlight_probe() 157 if (IS_ERR(bl)) { in max8925_backlight_probe() 159 return PTR_ERR(bl); in max8925_backlight_probe() [all …]
|
/linux-6.12.1/fs/bcachefs/ |
D | journal_seq_blacklist.c | 41 struct bch_sb_field_journal_seq_blacklist *bl; in sb_blacklist_u64s() local 43 return (sizeof(*bl) + sizeof(bl->start[0]) * nr) / sizeof(u64); in sb_blacklist_u64s() 48 struct bch_sb_field_journal_seq_blacklist *bl; in bch2_journal_seq_blacklist_add() local 53 bl = bch2_sb_field_get(c->disk_sb.sb, journal_seq_blacklist); in bch2_journal_seq_blacklist_add() 54 nr = blacklist_nr_entries(bl); in bch2_journal_seq_blacklist_add() 58 bl->start + i; in bch2_journal_seq_blacklist_add() 75 array_remove_item(bl->start, nr, i); in bch2_journal_seq_blacklist_add() 78 bl = bch2_sb_field_resize(&c->disk_sb, journal_seq_blacklist, in bch2_journal_seq_blacklist_add() 80 if (!bl) { in bch2_journal_seq_blacklist_add() 85 array_insert_item(bl->start, nr, i, ((struct journal_seq_blacklist_entry) { in bch2_journal_seq_blacklist_add() [all …]
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | cpu_setup_e500.S | 97 bl setup_altivec_ivors 102 bl setup_lrat_ivor 105 bl setup_pw20_idle 106 bl setup_altivec_idle 107 bl __setup_cpu_e5500 118 bl __e500_icache_setup 119 bl __e500_dcache_setup 120 bl __setup_e500_ivors 133 bl __e500_icache_setup 134 bl __e500_dcache_setup [all …]
|
/linux-6.12.1/drivers/gpu/drm/nouveau/ |
D | nouveau_backlight.c | 49 struct nouveau_backlight *bl) in nouveau_get_backlight_name() argument 59 bl->id = nb; in nouveau_get_backlight_name() 230 nv50_backlight_init(struct nouveau_backlight *bl, in nv50_backlight_init() argument 264 ret = drm_edp_backlight_init(&nv_conn->aux, &bl->edp_info, 0, edp_dpcd, in nv50_backlight_init() 269 ret = drm_edp_backlight_enable(&nv_conn->aux, &bl->edp_info, current_level); in nv50_backlight_init() 278 props->max_brightness = bl->edp_info.max; in nv50_backlight_init() 279 bl->uses_dpcd = true; in nv50_backlight_init() 293 struct nouveau_backlight *bl; in nouveau_backlight_init() local 316 bl = kzalloc(sizeof(*bl), GFP_KERNEL); in nouveau_backlight_init() 317 if (!bl) in nouveau_backlight_init() [all …]
|
/linux-6.12.1/tools/testing/selftests/arm64/fp/ |
D | sve-test.S | 115 bl pattern 119 bl memcpy 123 bl setz 136 bl pattern 140 bl memcpy 144 bl setp 174 bl memclr 178 bl setp 226 bl memfill_ae 230 bl getz [all …]
|
D | fpsimd-test.S | 80 bl pattern 84 bl memcpy 88 bl setv 124 bl memfill_ae 128 bl getv 169 bl putdec 172 bl putdec 175 bl putdecn 195 bl memclr 223 bl setsignal [all …]
|
D | za-test.S | 90 bl pattern // Get pattern in scratch buffer 94 bl memcpy // length set up in x2 by _adrza 140 bl memfill_ae 185 bl putdec 188 bl putdec 191 bl putdecn 211 bl memclr 239 bl setsignal 244 bl setsignal 250 bl setsignal [all …]
|
D | zt-test.S | 63 bl pattern // Get pattern in scratch buffer 67 bl memcpy 108 bl memfill_ae 154 bl putdec 157 bl putdec 160 bl putdecn 180 bl memclr 208 bl setsignal 213 bl setsignal 219 bl setsignal [all …]
|
/linux-6.12.1/include/linux/ |
D | bio.h | 494 static inline int bio_list_empty(const struct bio_list *bl) in bio_list_empty() argument 496 return bl->head == NULL; in bio_list_empty() 499 static inline void bio_list_init(struct bio_list *bl) in bio_list_init() argument 501 bl->head = bl->tail = NULL; in bio_list_init() 506 #define bio_list_for_each(bio, bl) \ argument 507 for (bio = (bl)->head; bio; bio = bio->bi_next) 509 static inline unsigned bio_list_size(const struct bio_list *bl) in bio_list_size() argument 514 bio_list_for_each(bio, bl) in bio_list_size() 520 static inline void bio_list_add(struct bio_list *bl, struct bio *bio) in bio_list_add() argument 524 if (bl->tail) in bio_list_add() [all …]
|
/linux-6.12.1/drivers/target/iscsi/ |
D | iscsi_target_seq_pdu_list.c | 203 struct iscsi_build_list *bl, in iscsit_determine_counts_for_list() argument 218 if ((bl->type == PDULIST_IMMEDIATE) || in iscsit_determine_counts_for_list() 219 (bl->type == PDULIST_IMMEDIATE_AND_UNSOLICITED)) in iscsit_determine_counts_for_list() 222 if ((bl->type == PDULIST_UNSOLICITED) || in iscsit_determine_counts_for_list() 223 (bl->type == PDULIST_IMMEDIATE_AND_UNSOLICITED)) in iscsit_determine_counts_for_list() 232 offset += bl->immediate_data_length; in iscsit_determine_counts_for_list() 236 bl->immediate_data_length; in iscsit_determine_counts_for_list() 287 struct iscsi_build_list *bl) in iscsit_do_build_pdu_and_seq_lists() argument 304 if ((bl->type == PDULIST_IMMEDIATE) || in iscsit_do_build_pdu_and_seq_lists() 305 (bl->type == PDULIST_IMMEDIATE_AND_UNSOLICITED)) in iscsit_do_build_pdu_and_seq_lists() [all …]
|
/linux-6.12.1/lib/crypto/mpi/ |
D | longlong.h | 114 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 122 "rI" ((USItype)(bl))) 123 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 131 "rI" ((USItype)(bl))) 176 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 184 "rI" ((USItype)(bl))) 185 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 193 "rI" ((USItype)(bl))) 263 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 271 "g" ((USItype)(bl))) [all …]
|
/linux-6.12.1/fs/nfs/blocklayout/ |
D | extent_tree.c | 255 ext_tree_insert(struct pnfs_block_layout *bl, struct pnfs_block_extent *new) in ext_tree_insert() argument 264 root = &bl->bl_ext_rw; in ext_tree_insert() 268 root = &bl->bl_ext_ro; in ext_tree_insert() 275 spin_lock(&bl->bl_ext_lock); in ext_tree_insert() 317 spin_unlock(&bl->bl_ext_lock); in ext_tree_insert() 345 ext_tree_lookup(struct pnfs_block_layout *bl, sector_t isect, in ext_tree_lookup() argument 350 spin_lock(&bl->bl_ext_lock); in ext_tree_lookup() 352 found = __ext_tree_lookup(&bl->bl_ext_ro, isect, ret); in ext_tree_lookup() 354 found = __ext_tree_lookup(&bl->bl_ext_rw, isect, ret); in ext_tree_lookup() 355 spin_unlock(&bl->bl_ext_lock); in ext_tree_lookup() [all …]
|