/drivers/s390/cio/ |
D | idset.c | 26 struct idset *set; in idset_new() local 28 set = vmalloc(sizeof(struct idset) + bitmap_size(num_ssid, num_id)); in idset_new() 29 if (set) { in idset_new() 30 set->num_ssid = num_ssid; in idset_new() 31 set->num_id = num_id; in idset_new() 32 memset(set->bitmap, 0, bitmap_size(num_ssid, num_id)); in idset_new() 34 return set; in idset_new() 37 void idset_free(struct idset *set) in idset_free() argument 39 vfree(set); in idset_free() 42 void idset_fill(struct idset *set) in idset_fill() argument [all …]
|
D | idset.h | 14 void idset_free(struct idset *set); 15 void idset_fill(struct idset *set); 18 void idset_sch_add(struct idset *set, struct subchannel_id id); 19 void idset_sch_del(struct idset *set, struct subchannel_id id); 20 void idset_sch_del_subseq(struct idset *set, struct subchannel_id schid); 21 int idset_sch_contains(struct idset *set, struct subchannel_id id); 22 int idset_is_empty(struct idset *set);
|
/drivers/gpu/drm/ |
D | drm_crtc_helper.c | 516 int drm_crtc_helper_set_config(struct drm_mode_set *set, in drm_crtc_helper_set_config() argument 534 BUG_ON(!set); in drm_crtc_helper_set_config() 535 BUG_ON(!set->crtc); in drm_crtc_helper_set_config() 536 BUG_ON(!set->crtc->helper_private); in drm_crtc_helper_set_config() 539 BUG_ON(!set->mode && set->fb); in drm_crtc_helper_set_config() 540 BUG_ON(set->fb && set->num_connectors == 0); in drm_crtc_helper_set_config() 542 crtc_funcs = set->crtc->helper_private; in drm_crtc_helper_set_config() 544 dev = set->crtc->dev; in drm_crtc_helper_set_config() 547 if (!set->mode) in drm_crtc_helper_set_config() 548 set->fb = NULL; in drm_crtc_helper_set_config() [all …]
|
D | drm_crtc.c | 99 struct drm_mode_set set = { in drm_crtc_force_disable() local 105 return drm_mode_set_config_internal(&set); in drm_crtc_force_disable() 526 static int __drm_mode_set_config_internal(struct drm_mode_set *set, in __drm_mode_set_config_internal() argument 529 struct drm_crtc *crtc = set->crtc; in __drm_mode_set_config_internal() 547 fb = set->fb; in __drm_mode_set_config_internal() 549 ret = crtc->funcs->set_config(set, ctx); in __drm_mode_set_config_internal() 583 int drm_mode_set_config_internal(struct drm_mode_set *set) in drm_mode_set_config_internal() argument 585 WARN_ON(drm_drv_uses_atomic_modeset(set->crtc->dev)); in drm_mode_set_config_internal() 587 return __drm_mode_set_config_internal(set, NULL); in drm_mode_set_config_internal() 643 struct drm_mode_set set; in drm_mode_setcrtc() local [all …]
|
/drivers/gpu/drm/amd/display/modules/power/ |
D | power_helpers.c | 283 unsigned int set = params.set; in fill_iram_v_2() local 294 ram_table->min_reduction[0][0] = min_reduction_table[abm_config[set][0]]; in fill_iram_v_2() 295 ram_table->min_reduction[1][0] = min_reduction_table[abm_config[set][0]]; in fill_iram_v_2() 296 ram_table->min_reduction[2][0] = min_reduction_table[abm_config[set][0]]; in fill_iram_v_2() 297 ram_table->min_reduction[3][0] = min_reduction_table[abm_config[set][0]]; in fill_iram_v_2() 298 ram_table->min_reduction[4][0] = min_reduction_table[abm_config[set][0]]; in fill_iram_v_2() 299 ram_table->max_reduction[0][0] = max_reduction_table[abm_config[set][0]]; in fill_iram_v_2() 300 ram_table->max_reduction[1][0] = max_reduction_table[abm_config[set][0]]; in fill_iram_v_2() 301 ram_table->max_reduction[2][0] = max_reduction_table[abm_config[set][0]]; in fill_iram_v_2() 302 ram_table->max_reduction[3][0] = max_reduction_table[abm_config[set][0]]; in fill_iram_v_2() [all …]
|
/drivers/gpu/drm/i915/gt/ |
D | intel_rc6.c | 51 static void set(struct intel_uncore *uncore, i915_reg_t reg, u32 val) in set() function 70 set(uncore, GEN6_RC6_WAKE_RATE_LIMIT, 54 << 16 | 85); in gen11_rc6_enable() 71 set(uncore, GEN10_MEDIA_WAKE_RATE_LIMIT, 150); in gen11_rc6_enable() 73 set(uncore, GEN6_RC_EVALUATION_INTERVAL, 125000); /* 12500 * 1280ns */ in gen11_rc6_enable() 74 set(uncore, GEN6_RC_IDLE_HYSTERSIS, 25); /* 25 * 1280ns */ in gen11_rc6_enable() 76 set(uncore, RING_MAX_IDLE(engine->mmio_base), 10); in gen11_rc6_enable() 78 set(uncore, GUC_MAX_IDLE_COUNT, 0xA); in gen11_rc6_enable() 80 set(uncore, GEN6_RC_SLEEP, 0); in gen11_rc6_enable() 82 set(uncore, GEN6_RC6_THRESHOLD, 50000); /* 50/125ms per EI */ in gen11_rc6_enable() 103 set(uncore, GEN9_MEDIA_PG_IDLE_HYSTERESIS, 60); in gen11_rc6_enable() [all …]
|
/drivers/infiniband/hw/hfi1/ |
D | affinity.c | 34 static inline void init_cpu_mask_set(struct cpu_mask_set *set) in init_cpu_mask_set() argument 36 cpumask_clear(&set->mask); in init_cpu_mask_set() 37 cpumask_clear(&set->used); in init_cpu_mask_set() 38 set->gen = 0; in init_cpu_mask_set() 42 static void _cpu_mask_set_gen_inc(struct cpu_mask_set *set) in _cpu_mask_set_gen_inc() argument 44 if (cpumask_equal(&set->mask, &set->used)) { in _cpu_mask_set_gen_inc() 49 set->gen++; in _cpu_mask_set_gen_inc() 50 cpumask_clear(&set->used); in _cpu_mask_set_gen_inc() 54 static void _cpu_mask_set_gen_dec(struct cpu_mask_set *set) in _cpu_mask_set_gen_dec() argument 56 if (cpumask_empty(&set->used) && set->gen) { in _cpu_mask_set_gen_dec() [all …]
|
D | exp_rcv.h | 10 #define EXP_TID_SET_EMPTY(set) (set.count == 0 && list_empty(&set.list)) argument 106 struct exp_tid_set *set) in tid_group_add_tail() argument 108 list_add_tail(&grp->list, &set->list); in tid_group_add_tail() 109 set->count++; in tid_group_add_tail() 113 struct exp_tid_set *set) in tid_group_remove() argument 116 set->count--; in tid_group_remove() 127 static inline struct tid_group *tid_group_pop(struct exp_tid_set *set) in tid_group_pop() argument 130 list_first_entry(&set->list, struct tid_group, list); in tid_group_pop() 132 set->count--; in tid_group_pop()
|
/drivers/media/pci/bt8xx/ |
D | bttv-audio-hook.c | 55 void gvbctv3pci_audio(struct bttv *btv, struct v4l2_tuner *t, int set) in gvbctv3pci_audio() argument 59 if (!set) { in gvbctv3pci_audio() 86 void gvbctv5pci_audio(struct bttv *btv, struct v4l2_tuner *t, int set) in gvbctv5pci_audio() argument 94 if (set) { in gvbctv5pci_audio() 157 void avermedia_tvphone_audio(struct bttv *btv, struct v4l2_tuner *t, int set) in avermedia_tvphone_audio() argument 161 if (!set) { in avermedia_tvphone_audio() 188 void avermedia_tv_stereo_audio(struct bttv *btv, struct v4l2_tuner *t, int set) in avermedia_tv_stereo_audio() argument 192 if (!set) { in avermedia_tv_stereo_audio() 221 void lt9415_audio(struct bttv *btv, struct v4l2_tuner *t, int set) in lt9415_audio() argument 230 if (!set) { in lt9415_audio() [all …]
|
D | bttv-audio-hook.h | 14 void lt9415_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 15 void avermedia_tvphone_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 16 void avermedia_tv_stereo_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 17 void terratv_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 18 void gvbctv3pci_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 19 void gvbctv5pci_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 20 void winfast2000_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 21 void pvbt878p9b_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 22 void fv2000s_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 23 void windvr_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); [all …]
|
D | bttv-risc.c | 637 struct bttv_buffer_set *set) in bttv_buffer_activate_video() argument 640 if (NULL != set->top && NULL != set->bottom) { in bttv_buffer_activate_video() 641 if (set->top == set->bottom) { in bttv_buffer_activate_video() 642 set->top->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video() 643 if (set->top->vb.queue.next) in bttv_buffer_activate_video() 644 list_del(&set->top->vb.queue); in bttv_buffer_activate_video() 646 set->top->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video() 647 set->bottom->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video() 648 if (set->top->vb.queue.next) in bttv_buffer_activate_video() 649 list_del(&set->top->vb.queue); in bttv_buffer_activate_video() [all …]
|
/drivers/md/bcache/ |
D | alloc.c | 80 ca->set->need_gc = max(ca->set->need_gc, bucket_gc_gen(b)); in bch_inc_gen() 81 WARN_ON_ONCE(ca->set->need_gc > BUCKET_GC_GEN_MAX); in bch_inc_gen() 132 BUG_ON(!ca->set->gc_mark_valid); in bch_can_invalidate_bucket() 142 lockdep_assert_held(&ca->set->bucket_lock); in __bch_invalidate_one_bucket() 171 unsigned int min_prio = (INITIAL_PRIO - ca->set->min_prio) / 8; \ 173 (b->prio - ca->set->min_prio + min_prio) * GC_SECTORS_USED(b); \ 208 wake_up_gc(ca->set); in invalidate_buckets_lru() 233 wake_up_gc(ca->set); in invalidate_buckets_fifo() 259 wake_up_gc(ca->set); in invalidate_buckets_random() 289 mutex_unlock(&(ca)->set->bucket_lock); \ [all …]
|
/drivers/video/console/ |
D | newport_con.c | 72 npregs->set.wrmask = 0xffffffff; in newport_render_background() 73 npregs->set.drawmode0 = (NPORT_DMODE0_DRAW | NPORT_DMODE0_BLOCK | in newport_render_background() 76 npregs->set.colori = ci; in newport_render_background() 77 npregs->set.xystarti = in newport_render_background() 117 npregs->set.drawmode0 = (NPORT_DMODE0_DRAW | NPORT_DMODE0_BLOCK | in newport_show_logo() 120 npregs->set.xystarti = ((newport_xsize - logo->width) << 16) | (0); in newport_show_logo() 121 npregs->set.xyendi = ((newport_xsize - 1) << 16); in newport_show_logo() 140 npregs->set.wrmask = 0xffffffff; in newport_clear_screen() 141 npregs->set.drawmode0 = (NPORT_DMODE0_DRAW | NPORT_DMODE0_BLOCK | in newport_clear_screen() 144 npregs->set.colori = ci; in newport_clear_screen() [all …]
|
/drivers/gpu/drm/nouveau/dispnv50/ |
D | head.c | 44 .mask = asyh->clr.mask & ~(flush ? 0 : asyh->set.mask), in nv50_head_flush_clr() 55 if (asyh->set.curs ) head->func->curs_set(head, asyh); in nv50_head_flush_set_wndw() 56 if (asyh->set.olut ) { in nv50_head_flush_set_wndw() 68 if (asyh->set.view ) head->func->view (head, asyh); in nv50_head_flush_set() 69 if (asyh->set.mode ) head->func->mode (head, asyh); in nv50_head_flush_set() 70 if (asyh->set.core ) head->func->core_set(head, asyh); in nv50_head_flush_set() 71 if (asyh->set.base ) head->func->base (head, asyh); in nv50_head_flush_set() 72 if (asyh->set.ovly ) head->func->ovly (head, asyh); in nv50_head_flush_set() 73 if (asyh->set.dither ) head->func->dither (head, asyh); in nv50_head_flush_set() 74 if (asyh->set.procamp) head->func->procamp (head, asyh); in nv50_head_flush_set() [all …]
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_acl_flex_actions.c | 26 MLXSW_ITEM32(afa, set, type, 0xA0, 28, 4); 31 MLXSW_ITEM32(afa, set, next_action_set_ptr, 0xA4, 0, 24); 38 MLXSW_ITEM32(afa, set, goto_g, 0xA4, 29, 1); 50 MLXSW_ITEM32(afa, set, goto_binding_cmd, 0xA4, 24, 3); 56 MLXSW_ITEM32(afa, set, goto_next_binding, 0xA4, 0, 16); 254 static void mlxsw_afa_set_goto_set(struct mlxsw_afa_set *set, in mlxsw_afa_set_goto_set() argument 258 char *actions = set->ht_key.enc_actions; in mlxsw_afa_set_goto_set() 266 static void mlxsw_afa_set_next_set(struct mlxsw_afa_set *set, in mlxsw_afa_set_next_set() argument 269 char *actions = set->ht_key.enc_actions; in mlxsw_afa_set_next_set() 277 struct mlxsw_afa_set *set; in mlxsw_afa_set_create() local [all …]
|
/drivers/staging/media/av7110/ |
D | audio_function_calls.rst | 20 audio-set-mute 21 audio-set-av-sync 22 audio-set-bypass-mode 28 audio-set-id 29 audio-set-mixer 30 audio-set-streamtype
|
/drivers/usb/cdns3/ |
D | cdnsp-ep0.c | 204 int set) in cdnsp_ep0_handle_feature_device() argument 215 pdev->may_wakeup = !!set; in cdnsp_ep0_handle_feature_device() 216 trace_cdnsp_may_wakeup(set); in cdnsp_ep0_handle_feature_device() 222 pdev->u1_allowed = !!set; in cdnsp_ep0_handle_feature_device() 223 trace_cdnsp_u1(set); in cdnsp_ep0_handle_feature_device() 229 pdev->u2_allowed = !!set; in cdnsp_ep0_handle_feature_device() 230 trace_cdnsp_u2(set); in cdnsp_ep0_handle_feature_device() 240 if (!set || (tmode & 0xff) != 0) in cdnsp_ep0_handle_feature_device() 265 int set) in cdnsp_ep0_handle_feature_intf() argument 299 int set) in cdnsp_ep0_handle_feature_endpoint() argument [all …]
|
/drivers/reset/ |
D | reset-lantiq.c | 72 unsigned int set = id & 0x1f; in lantiq_rcu_reset_update() local 73 u32 val = assert ? BIT(set) : 0; in lantiq_rcu_reset_update() 76 ret = regmap_update_bits(priv->regmap, priv->reset_offset, BIT(set), in lantiq_rcu_reset_update() 79 dev_err(priv->dev, "Failed to set reset bit %u\n", set); in lantiq_rcu_reset_update() 87 assert ? "assert" : "deassert", set); in lantiq_rcu_reset_update() 155 unsigned int status, set; in lantiq_rcu_reset_xlate() local 157 set = reset_spec->args[0]; in lantiq_rcu_reset_xlate() 160 if (set >= rcdev->nr_resets || status >= rcdev->nr_resets) in lantiq_rcu_reset_xlate() 163 return (status << 8) | set; in lantiq_rcu_reset_xlate()
|
/drivers/soc/ti/ |
D | ti_sci_inta_msi.c | 77 int set, i, count = 0; in ti_sci_inta_msi_alloc_descs() local 79 for (set = 0; set < res->sets; set++) { in ti_sci_inta_msi_alloc_descs() 80 for (i = 0; i < res->desc[set].num; i++) { in ti_sci_inta_msi_alloc_descs() 87 msi_desc->inta.dev_index = res->desc[set].start + i; in ti_sci_inta_msi_alloc_descs() 92 for (i = 0; i < res->desc[set].num_sec; i++) { in ti_sci_inta_msi_alloc_descs() 99 msi_desc->inta.dev_index = res->desc[set].start_sec + i; in ti_sci_inta_msi_alloc_descs()
|
/drivers/gpio/ |
D | gpio-mmio.c | 341 gc->set(gc, gpio, val); in bgpio_simple_dir_out() 406 gc->set(gc, gpio, val); in bgpio_dir_out_dir_first() 413 gc->set(gc, gpio, val); in bgpio_dir_out_val_first() 490 void __iomem *set, in bgpio_setup_io() argument 499 if (set && clr) { in bgpio_setup_io() 500 gc->reg_set = set; in bgpio_setup_io() 502 gc->set = bgpio_set_with_clear; in bgpio_setup_io() 504 } else if (set && !clr) { in bgpio_setup_io() 505 gc->reg_set = set; in bgpio_setup_io() 506 gc->set = bgpio_set_set; in bgpio_setup_io() [all …]
|
/drivers/clocksource/ |
D | timer-armada-370-xp.c | 91 static void local_timer_ctrl_clrset(u32 clr, u32 set) in local_timer_ctrl_clrset() argument 93 writel((readl(local_base + TIMER_CTRL_OFF) & ~clr) | set, in local_timer_ctrl_clrset() 176 u32 clr = 0, set = 0; in armada_370_xp_timer_starting_cpu() local 179 set = TIMER0_25MHZ; in armada_370_xp_timer_starting_cpu() 182 local_timer_ctrl_clrset(clr, set); in armada_370_xp_timer_starting_cpu() 245 u32 clr = 0, set = 0; in armada_370_xp_timer_common_init() local 261 set = TIMER0_25MHZ; in armada_370_xp_timer_common_init() 267 atomic_io_modify(timer_base + TIMER_CTRL_OFF, clr | set, set); in armada_370_xp_timer_common_init() 268 local_timer_ctrl_clrset(clr, set); in armada_370_xp_timer_common_init()
|
/drivers/net/phy/ |
D | phy-core.c | 587 int phy_modify_changed(struct phy_device *phydev, u32 regnum, u16 mask, u16 set) in phy_modify_changed() argument 592 ret = __phy_modify_changed(phydev, regnum, mask, set); in phy_modify_changed() 610 int __phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set) in __phy_modify() argument 614 ret = __phy_modify_changed(phydev, regnum, mask, set); in __phy_modify() 631 int phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set) in phy_modify() argument 636 ret = __phy_modify(phydev, regnum, mask, set); in phy_modify() 657 u16 mask, u16 set) in __phy_modify_mmd_changed() argument 665 new = (ret & ~mask) | set; in __phy_modify_mmd_changed() 690 u16 mask, u16 set) in phy_modify_mmd_changed() argument 695 ret = __phy_modify_mmd_changed(phydev, devad, regnum, mask, set); in phy_modify_mmd_changed() [all …]
|
/drivers/memory/ |
D | stm32-fmc2-ebi.c | 172 int (*set)(struct stm32_fmc2_ebi *ebi, member 723 .set = stm32_fmc2_ebi_set_trans_type, 731 .set = stm32_fmc2_ebi_set_bit_field, 739 .set = stm32_fmc2_ebi_set_bit_field, 744 .set = stm32_fmc2_ebi_set_buswidth, 751 .set = stm32_fmc2_ebi_set_bit_field, 759 .set = stm32_fmc2_ebi_set_bit_field, 767 .set = stm32_fmc2_ebi_set_bit_field, 775 .set = stm32_fmc2_ebi_set_bit_field, 780 .set = stm32_fmc2_ebi_set_cpsize, [all …]
|
/drivers/clk/sprd/ |
D | gate.c | 17 bool set = sg->flags & CLK_GATE_SET_TO_DISABLE ? true : false; in clk_gate_toggle() local 19 set ^= en; in clk_gate_toggle() 23 if (set) in clk_gate_toggle() 34 bool set = sg->flags & CLK_GATE_SET_TO_DISABLE ? 1 : 0; in clk_sc_gate_toggle() local 37 set ^= en; in clk_sc_gate_toggle() 45 offset = set ? sg->sc_offset : sg->sc_offset * 2; in clk_sc_gate_toggle()
|
/drivers/net/bonding/ |
D | bond_options.c | 238 .set = bond_option_mode_set 246 .set = bond_option_pps_set 253 .set = bond_option_xmit_hash_policy_set 262 .set = bond_option_arp_validate_set 269 .set = bond_option_arp_all_targets_set 277 .set = bond_option_fail_over_mac_set 286 .set = bond_option_arp_interval_set 295 .set = bond_option_missed_max_set 302 .set = bond_option_arp_ip_targets_set 309 .set = bond_option_downdelay_set [all …]
|