/Linux-v6.6/io_uring/ |
D | kbuf.c | 41 struct io_buffer_list *bl, unsigned int bgid) in io_buffer_add_list() argument 43 bl->bgid = bgid; in io_buffer_add_list() 47 return xa_err(xa_store(&ctx->io_bl_xa, bgid, bl, GFP_KERNEL)); in io_buffer_add_list() 53 struct io_buffer_list *bl; in io_kbuf_recycle_legacy() local 68 bl = io_buffer_get_list(ctx, buf->bgid); in io_kbuf_recycle_legacy() 69 list_add(&buf->list, &bl->buf_list); in io_kbuf_recycle_legacy() 111 struct io_buffer_list *bl) in io_provided_buffer_select() argument 113 if (!list_empty(&bl->buf_list)) { in io_provided_buffer_select() 116 kbuf = list_first_entry(&bl->buf_list, struct io_buffer, list); in io_provided_buffer_select() 129 struct io_buffer_list *bl, in io_ring_buffer_select() argument [all …]
|
/Linux-v6.6/drivers/video/backlight/ |
D | lm3533_bl.c | 34 static inline int lm3533_bl_get_ctrlbank_id(struct lm3533_bl *bl) in lm3533_bl_get_ctrlbank_id() argument 36 return bl->id; in lm3533_bl_get_ctrlbank_id() 41 struct lm3533_bl *bl = bl_get_data(bd); in lm3533_bl_update_status() local 43 return lm3533_ctrlbank_set_brightness(&bl->cb, backlight_get_brightness(bd)); in lm3533_bl_update_status() 48 struct lm3533_bl *bl = bl_get_data(bd); in lm3533_bl_get_brightness() local 52 ret = lm3533_ctrlbank_get_brightness(&bl->cb, &val); in lm3533_bl_get_brightness() 67 struct lm3533_bl *bl = dev_get_drvdata(dev); in show_id() local 69 return scnprintf(buf, PAGE_SIZE, "%d\n", bl->id); in show_id() 75 struct lm3533_bl *bl = dev_get_drvdata(dev); in show_als_channel() local 76 unsigned channel = lm3533_bl_get_ctrlbank_id(bl); in show_als_channel() [all …]
|
D | omap1_bl.c | 40 static void omapbl_blank(struct omap_backlight *bl, int mode) in omapbl_blank() argument 42 if (bl->pdata->set_power) in omapbl_blank() 43 bl->pdata->set_power(bl->dev, mode); in omapbl_blank() 55 omapbl_send_intensity(bl->current_intensity); in omapbl_blank() 65 struct omap_backlight *bl = bl_get_data(bl_dev); in omapbl_suspend() local 67 omapbl_blank(bl, FB_BLANK_POWERDOWN); in omapbl_suspend() 74 struct omap_backlight *bl = bl_get_data(bl_dev); in omapbl_resume() local 76 omapbl_blank(bl, bl->powermode); in omapbl_resume() 83 struct omap_backlight *bl = bl_get_data(dev); in omapbl_set_power() local 85 omapbl_blank(bl, state); in omapbl_set_power() [all …]
|
D | lp8788_bl.c | 71 static int lp8788_backlight_configure(struct lp8788_bl *bl) in lp8788_backlight_configure() argument 73 struct lp8788_backlight_platform_data *pdata = bl->pdata; in lp8788_backlight_configure() 93 ret = lp8788_write_byte(bl->lp, LP8788_BL_RAMP, val); in lp8788_backlight_configure() 112 dev_err(bl->lp->dev, "invalid mode: %d\n", cfg->bl_mode); in lp8788_backlight_configure() 116 bl->mode = cfg->bl_mode; in lp8788_backlight_configure() 118 return lp8788_write_byte(bl->lp, LP8788_BL_CONFIG, val); in lp8788_backlight_configure() 121 static void lp8788_pwm_ctrl(struct lp8788_bl *bl, int br, int max_br) in lp8788_pwm_ctrl() argument 128 if (!bl->pdata) in lp8788_pwm_ctrl() 131 period = bl->pdata->period_ns; in lp8788_pwm_ctrl() 133 dev = bl->lp->dev; in lp8788_pwm_ctrl() [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 | 24 static int gpio_backlight_update_status(struct backlight_device *bl) in gpio_backlight_update_status() argument 26 struct gpio_backlight *gbl = bl_get_data(bl); in gpio_backlight_update_status() 28 gpiod_set_value_cansleep(gbl->gpiod, backlight_get_brightness(bl)); in gpio_backlight_update_status() 33 static int gpio_backlight_check_fb(struct backlight_device *bl, in gpio_backlight_check_fb() argument 36 struct gpio_backlight *gbl = bl_get_data(bl); in gpio_backlight_check_fb() 53 struct backlight_device *bl; in gpio_backlight_probe() local 78 bl = devm_backlight_device_register(dev, dev_name(dev), dev, gbl, in gpio_backlight_probe() 80 if (IS_ERR(bl)) { in gpio_backlight_probe() 82 return PTR_ERR(bl); in gpio_backlight_probe() 88 bl->props.power = def_value ? FB_BLANK_UNBLANK in gpio_backlight_probe() [all …]
|
D | pcf50633-backlight.c | 20 struct backlight_device *bl; member 44 backlight_update_status(pcf_bl->bl); in pcf50633_bl_set_brightness_limit() 49 static int pcf50633_bl_update_status(struct backlight_device *bl) in pcf50633_bl_update_status() argument 51 struct pcf50633_bl *pcf_bl = bl_get_data(bl); in pcf50633_bl_update_status() 55 if (bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK) || in pcf50633_bl_update_status() 56 bl->props.power != FB_BLANK_UNBLANK) in pcf50633_bl_update_status() 58 else if (bl->props.brightness < pcf_bl->brightness_limit) in pcf50633_bl_update_status() 59 new_brightness = bl->props.brightness; in pcf50633_bl_update_status() 81 static int pcf50633_bl_get_brightness(struct backlight_device *bl) in pcf50633_bl_get_brightness() argument 83 struct pcf50633_bl *pcf_bl = bl_get_data(bl); in pcf50633_bl_get_brightness() [all …]
|
D | ktd253-backlight.c | 33 struct backlight_device *bl; member 75 static int ktd253_backlight_update_status(struct backlight_device *bl) in ktd253_backlight_update_status() argument 77 struct ktd253_backlight *ktd253 = bl_get_data(bl); in ktd253_backlight_update_status() 78 int brightness = backlight_get_brightness(bl); in ktd253_backlight_update_status() 146 struct backlight_device *bl; in ktd253_backlight_probe() local 183 bl = devm_backlight_device_register(dev, dev_name(dev), dev, ktd253, in ktd253_backlight_probe() 185 if (IS_ERR(bl)) { in ktd253_backlight_probe() 187 return PTR_ERR(bl); in ktd253_backlight_probe() 189 bl->props.max_brightness = max_brightness; in ktd253_backlight_probe() 192 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 123 bl = devm_backlight_device_register(&pdev->dev, pdev->name, in da9052_backlight_probe() 126 if (IS_ERR(bl)) { in da9052_backlight_probe() 128 return PTR_ERR(bl); in da9052_backlight_probe() 131 bl->props.max_brightness = DA9052_MAX_BRIGHTNESS; in da9052_backlight_probe() [all …]
|
D | pandora_bl.c | 40 static int pandora_backlight_update_status(struct backlight_device *bl) in pandora_backlight_update_status() argument 42 int brightness = bl->props.brightness; in pandora_backlight_update_status() 43 struct pandora_private *priv = bl_get_data(bl); in pandora_backlight_update_status() 46 if (bl->props.power != FB_BLANK_UNBLANK) in pandora_backlight_update_status() 48 if (bl->props.state & BL_CORE_FBBLANK) in pandora_backlight_update_status() 50 if (bl->props.state & BL_CORE_SUSPENDED) in pandora_backlight_update_status() 112 struct backlight_device *bl; in pandora_backlight_probe() local 125 bl = devm_backlight_device_register(&pdev->dev, pdev->name, &pdev->dev, in pandora_backlight_probe() 127 if (IS_ERR(bl)) { in pandora_backlight_probe() 129 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 …]
|
D | wm831x_bl.c | 26 static int wm831x_backlight_set(struct backlight_device *bl, int brightness) in wm831x_backlight_set() argument 28 struct wm831x_backlight_data *data = bl_get_data(bl); in wm831x_backlight_set() 92 static int wm831x_backlight_update_status(struct backlight_device *bl) in wm831x_backlight_update_status() argument 94 return wm831x_backlight_set(bl, backlight_get_brightness(bl)); in wm831x_backlight_update_status() 97 static int wm831x_backlight_get_brightness(struct backlight_device *bl) in wm831x_backlight_get_brightness() argument 99 struct wm831x_backlight_data *data = bl_get_data(bl); in wm831x_backlight_get_brightness() 116 struct backlight_device *bl; in wm831x_backlight_probe() local 185 bl = devm_backlight_device_register(&pdev->dev, "wm831x", &pdev->dev, in wm831x_backlight_probe() 187 if (IS_ERR(bl)) { in wm831x_backlight_probe() 189 return PTR_ERR(bl); in wm831x_backlight_probe() [all …]
|
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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() 294 nv50_backlight_init(struct nouveau_backlight *bl, in nv50_backlight_init() argument 329 ret = drm_edp_backlight_init(&nv_conn->aux, &bl->edp_info, 0, edp_dpcd, in nv50_backlight_init() 334 ret = drm_edp_backlight_enable(&nv_conn->aux, &bl->edp_info, current_level); in nv50_backlight_init() 343 props->max_brightness = bl->edp_info.max; in nv50_backlight_init() 344 bl->uses_dpcd = true; in nv50_backlight_init() 365 struct nouveau_backlight *bl; in nouveau_backlight_init() local 388 bl = kzalloc(sizeof(*bl), GFP_KERNEL); in nouveau_backlight_init() 389 if (!bl) in nouveau_backlight_init() [all …]
|
/Linux-v6.6/include/linux/ |
D | bio.h | 552 static inline int bio_list_empty(const struct bio_list *bl) in bio_list_empty() argument 554 return bl->head == NULL; in bio_list_empty() 557 static inline void bio_list_init(struct bio_list *bl) in bio_list_init() argument 559 bl->head = bl->tail = NULL; in bio_list_init() 564 #define bio_list_for_each(bio, bl) \ argument 565 for (bio = (bl)->head; bio; bio = bio->bi_next) 567 static inline unsigned bio_list_size(const struct bio_list *bl) in bio_list_size() argument 572 bio_list_for_each(bio, bl) in bio_list_size() 578 static inline void bio_list_add(struct bio_list *bl, struct bio *bio) in bio_list_add() argument 582 if (bl->tail) in bio_list_add() [all …]
|
/Linux-v6.6/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-v6.6/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 …]
|