/linux-6.12.1/drivers/gpu/drm/mediatek/ |
D | mtk_ddp_comp.h | 102 static inline int mtk_ddp_comp_power_on(struct mtk_ddp_comp *comp) in mtk_ddp_comp_power_on() argument 104 if (comp->funcs && comp->funcs->power_on) in mtk_ddp_comp_power_on() 105 return comp->funcs->power_on(comp->dev); in mtk_ddp_comp_power_on() 107 return pm_runtime_resume_and_get(comp->dev); in mtk_ddp_comp_power_on() 111 static inline void mtk_ddp_comp_power_off(struct mtk_ddp_comp *comp) in mtk_ddp_comp_power_off() argument 113 if (comp->funcs && comp->funcs->power_off) in mtk_ddp_comp_power_off() 114 comp->funcs->power_off(comp->dev); in mtk_ddp_comp_power_off() 116 pm_runtime_put(comp->dev); in mtk_ddp_comp_power_off() 119 static inline int mtk_ddp_comp_clk_enable(struct mtk_ddp_comp *comp) in mtk_ddp_comp_clk_enable() argument 121 if (comp->funcs && comp->funcs->clk_enable) in mtk_ddp_comp_clk_enable() [all …]
|
D | mtk_crtc.c | 138 struct mtk_ddp_comp *comp; in mtk_crtc_destroy() local 140 comp = mtk_crtc->ddp_comp[i]; in mtk_crtc_destroy() 141 mtk_ddp_comp_unregister_vblank_cb(comp); in mtk_crtc_destroy() 254 struct mtk_ddp_comp *comp; in mtk_ddp_comp_for_plane() local 259 comp = mtk_crtc->ddp_comp[i]; in mtk_ddp_comp_for_plane() 260 if (local_index < (count + mtk_ddp_comp_layer_nr(comp))) { in mtk_ddp_comp_for_plane() 262 return comp; in mtk_ddp_comp_for_plane() 264 count += mtk_ddp_comp_layer_nr(comp); in mtk_ddp_comp_for_plane() 392 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[i]; in mtk_crtc_ddp_hw_init() local 395 mtk_ddp_comp_bgclr_in_on(comp); in mtk_crtc_ddp_hw_init() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | devcom.c | 39 struct mlx5_devcom_comp *comp; member 113 struct mlx5_devcom_comp *comp; in mlx5_devcom_comp_alloc() local 115 comp = kzalloc(sizeof(*comp), GFP_KERNEL); in mlx5_devcom_comp_alloc() 116 if (!comp) in mlx5_devcom_comp_alloc() 119 comp->id = id; in mlx5_devcom_comp_alloc() 120 comp->key = key; in mlx5_devcom_comp_alloc() 121 comp->handler = handler; in mlx5_devcom_comp_alloc() 122 init_rwsem(&comp->sem); in mlx5_devcom_comp_alloc() 123 lockdep_register_key(&comp->lock_key); in mlx5_devcom_comp_alloc() 124 lockdep_set_class(&comp->sem, &comp->lock_key); in mlx5_devcom_comp_alloc() [all …]
|
/linux-6.12.1/drivers/block/zram/ |
D | zcomp.c | 46 static void zcomp_strm_free(struct zcomp *comp, struct zcomp_strm *zstrm) in zcomp_strm_free() argument 48 comp->ops->destroy_ctx(&zstrm->ctx); in zcomp_strm_free() 53 static int zcomp_strm_init(struct zcomp *comp, struct zcomp_strm *zstrm) in zcomp_strm_init() argument 57 ret = comp->ops->create_ctx(comp->params, &zstrm->ctx); in zcomp_strm_init() 67 zcomp_strm_free(comp, zstrm); in zcomp_strm_init() 73 static const struct zcomp_ops *lookup_backend_ops(const char *comp) in lookup_backend_ops() argument 78 if (sysfs_streq(comp, backends[i]->name)) in lookup_backend_ops() 85 bool zcomp_available_algorithm(const char *comp) in zcomp_available_algorithm() argument 87 return lookup_backend_ops(comp) != NULL; in zcomp_available_algorithm() 91 ssize_t zcomp_available_show(const char *comp, char *buf) in zcomp_available_show() argument [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/infiniband/ |
D | hisilicon-hns-roce.txt | 25 - hns-roce-comp-0 ~ hns-roce-comp-31: 32 complete event irq 74 interrupt-names = "hns-roce-comp-0", 75 "hns-roce-comp-1", 76 "hns-roce-comp-2", 77 "hns-roce-comp-3", 78 "hns-roce-comp-4", 79 "hns-roce-comp-5", 80 "hns-roce-comp-6", 81 "hns-roce-comp-7", 82 "hns-roce-comp-8", [all …]
|
/linux-6.12.1/drivers/clk/actions/ |
D | owl-composite.c | 18 struct owl_composite *comp = hw_to_owl_comp(hw); in owl_comp_get_parent() local 20 return owl_mux_helper_get_parent(&comp->common, &comp->mux_hw); in owl_comp_get_parent() 25 struct owl_composite *comp = hw_to_owl_comp(hw); in owl_comp_set_parent() local 27 return owl_mux_helper_set_parent(&comp->common, &comp->mux_hw, index); in owl_comp_set_parent() 32 struct owl_composite *comp = hw_to_owl_comp(hw); in owl_comp_disable() local 33 struct owl_clk_common *common = &comp->common; in owl_comp_disable() 35 owl_gate_set(common, &comp->gate_hw, false); in owl_comp_disable() 40 struct owl_composite *comp = hw_to_owl_comp(hw); in owl_comp_enable() local 41 struct owl_clk_common *common = &comp->common; in owl_comp_enable() 43 owl_gate_set(common, &comp->gate_hw, true); in owl_comp_enable() [all …]
|
/linux-6.12.1/sound/soc/codecs/ |
D | wcd-clsh-v2.c | 19 struct snd_soc_component *comp; member 122 struct snd_soc_component *comp = ctrl->comp; in wcd_enable_clsh_block() local 126 snd_soc_component_update_bits(comp, WCD9XXX_A_CDC_CLSH_CRC, in wcd_enable_clsh_block() 133 static inline void wcd_clsh_set_buck_mode(struct snd_soc_component *comp, in wcd_clsh_set_buck_mode() argument 138 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_buck_mode() 142 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_buck_mode() 161 static inline void wcd_clsh_set_flyback_mode(struct snd_soc_component *comp, in wcd_clsh_set_flyback_mode() argument 166 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_flyback_mode() 170 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_flyback_mode() 179 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_buck_ctrl() local [all …]
|
D | wcd9335.c | 1638 struct snd_soc_component *comp = dai->component; in wcd9335_set_prim_interpolator_rate() local 1639 struct wcd9335_codec *wcd = dev_get_drvdata(comp->dev); in wcd9335_set_prim_interpolator_rate() 1652 cfg0 = snd_soc_component_read(comp, in wcd9335_set_prim_interpolator_rate() 1654 cfg1 = snd_soc_component_read(comp, in wcd9335_set_prim_interpolator_rate() 1671 snd_soc_component_update_bits(comp, in wcd9335_set_prim_interpolator_rate() 1789 struct snd_soc_component *comp = dai->component; in wcd9335_set_decimator_rate() local 1790 struct wcd9335_codec *wcd = snd_soc_component_get_drvdata(comp); in wcd9335_set_decimator_rate() 1826 tx_mux_sel = snd_soc_component_read(comp, tx_port_reg) & in wcd9335_set_decimator_rate() 1845 snd_soc_component_update_bits(comp, in wcd9335_set_decimator_rate() 2177 int comp = ((struct soc_mixer_control *)kc->private_value)->shift; in wcd9335_get_compander() local [all …]
|
/linux-6.12.1/drivers/media/platform/mediatek/mdp/ |
D | mtk_mdp_comp.c | 14 void mtk_mdp_comp_clock_on(struct device *dev, struct mtk_mdp_comp *comp) in mtk_mdp_comp_clock_on() argument 18 for (i = 0; i < ARRAY_SIZE(comp->clk); i++) { in mtk_mdp_comp_clock_on() 19 if (IS_ERR(comp->clk[i])) in mtk_mdp_comp_clock_on() 21 err = clk_prepare_enable(comp->clk[i]); in mtk_mdp_comp_clock_on() 25 err, comp->type, i); in mtk_mdp_comp_clock_on() 29 void mtk_mdp_comp_clock_off(struct device *dev, struct mtk_mdp_comp *comp) in mtk_mdp_comp_clock_off() argument 33 for (i = 0; i < ARRAY_SIZE(comp->clk); i++) { in mtk_mdp_comp_clock_off() 34 if (IS_ERR(comp->clk[i])) in mtk_mdp_comp_clock_off() 36 clk_disable_unprepare(comp->clk[i]); in mtk_mdp_comp_clock_off() 41 struct mtk_mdp_comp *comp, in mtk_mdp_comp_init() argument [all …]
|
D | mtk_mdp_core.c | 94 struct mtk_mdp_comp *comp) in mtk_mdp_register_component() argument 96 list_add(&comp->node, &mdp->comp_list); in mtk_mdp_register_component() 100 struct mtk_mdp_comp *comp) in mtk_mdp_unregister_component() argument 102 list_del(&comp->node); in mtk_mdp_unregister_component() 110 struct mtk_mdp_comp *comp, *comp_temp; in mtk_mdp_probe() local 152 comp = devm_kzalloc(dev, sizeof(*comp), GFP_KERNEL); in mtk_mdp_probe() 153 if (!comp) { in mtk_mdp_probe() 159 ret = mtk_mdp_comp_init(dev, node, comp, comp_type); in mtk_mdp_probe() 165 mtk_mdp_register_component(mdp, comp); in mtk_mdp_probe() 229 list_for_each_entry_safe(comp, comp_temp, &mdp->comp_list, node) { in mtk_mdp_probe() [all …]
|
/linux-6.12.1/drivers/counter/ |
D | counter-sysfs.c | 31 * @comp: Counter component callbacks and data 39 struct counter_comp comp; member 115 err = a->comp.device_u8_read(counter, &data); in counter_comp_u8_show() 118 err = a->comp.signal_u8_read(counter, a->parent, &data); in counter_comp_u8_show() 121 err = a->comp.count_u8_read(counter, a->parent, &data); in counter_comp_u8_show() 129 if (a->comp.type == COUNTER_COMP_BOOL) in counter_comp_u8_show() 146 if (a->comp.type == COUNTER_COMP_BOOL) { in counter_comp_u8_store() 156 err = a->comp.device_u8_write(counter, data); in counter_comp_u8_store() 159 err = a->comp.signal_u8_write(counter, a->parent, data); in counter_comp_u8_store() 162 err = a->comp.count_u8_write(counter, a->parent, data); in counter_comp_u8_store() [all …]
|
D | counter-chrdev.c | 29 struct counter_comp comp; member 49 #define counter_comp_read_is_set(comp) \ argument 50 (comp.action_read || \ 51 comp.device_u8_read || \ 52 comp.count_u8_read || \ 53 comp.signal_u8_read || \ 54 comp.device_u32_read || \ 55 comp.count_u32_read || \ 56 comp.signal_u32_read || \ 57 comp.device_u64_read || \ [all …]
|
/linux-6.12.1/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-comp.c | 12 #include "mtk-mdp3-comp.h" 39 return ctx->comp->mdp_dev->mdp_data->mdp_cfg; in __get_plat_cfg() 47 rdma0 = mdp_cfg_get_id_inner(ctx->comp->mdp_dev, MDP_COMP_RDMA0); in get_comp_flag() 48 rsz1 = mdp_cfg_get_id_inner(ctx->comp->mdp_dev, MDP_COMP_RSZ1); in get_comp_flag() 53 if (ctx->comp->inner_id == rdma0) in get_comp_flag() 56 return BIT(ctx->comp->inner_id); in get_comp_flag() 62 phys_addr_t base = ctx->comp->reg_base; in init_rdma() 63 u8 subsys_id = ctx->comp->subsys_id; in init_rdma() 66 rdma0 = mdp_cfg_get_id_inner(ctx->comp->mdp_dev, MDP_COMP_RDMA0); in init_rdma() 71 struct mdp_comp *prz1 = ctx->comp->mdp_dev->comp[MDP_COMP_RSZ1]; in init_rdma() [all …]
|
/linux-6.12.1/sound/soc/intel/avs/ |
D | topology.c | 127 int (*parse)(struct snd_soc_component *comp, void *elem, void *object, u32 offset); 131 avs_parse_uuid_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_uuid_token() argument 142 avs_parse_bool_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_bool_token() argument 153 avs_parse_byte_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_byte_token() argument 164 avs_parse_short_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_short_token() argument 175 avs_parse_word_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_word_token() argument 186 avs_parse_string_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_string_token() argument 196 static int avs_parse_uuid_tokens(struct snd_soc_component *comp, void *object, in avs_parse_uuid_tokens() argument 213 ret = parsers[j].parse(comp, tuple, object, parsers[j].offset); in avs_parse_uuid_tokens() 222 static int avs_parse_string_tokens(struct snd_soc_component *comp, void *object, in avs_parse_string_tokens() argument [all …]
|
/linux-6.12.1/drivers/net/slip/ |
D | slhc.c | 96 struct slcompress *comp; in slhc_init() local 101 comp = kzalloc(sizeof(struct slcompress), GFP_KERNEL); in slhc_init() 102 if (! comp) in slhc_init() 107 comp->rstate = kzalloc(rsize, GFP_KERNEL); in slhc_init() 108 if (! comp->rstate) in slhc_init() 110 comp->rslot_limit = rslots - 1; in slhc_init() 115 comp->tstate = kzalloc(tsize, GFP_KERNEL); in slhc_init() 116 if (! comp->tstate) in slhc_init() 118 comp->tslot_limit = tslots - 1; in slhc_init() 121 comp->xmit_oldest = 0; in slhc_init() [all …]
|
/linux-6.12.1/sound/pci/hda/ |
D | hda_component.c | 21 struct hda_component *comp; in hda_component_acpi_device_notify() local 26 comp = hda_component_from_index(parent, i); in hda_component_acpi_device_notify() 27 if (comp->dev && comp->acpi_notify) in hda_component_acpi_device_notify() 28 comp->acpi_notify(acpi_device_handle(comp->adev), event, comp->dev); in hda_component_acpi_device_notify() 40 struct hda_component *comp; in hda_component_manager_bind_acpi_notifications() local 49 comp = hda_component_from_index(parent, i); in hda_component_manager_bind_acpi_notifications() 51 comp->acpi_notifications_supported; in hda_component_manager_bind_acpi_notifications() 89 struct hda_component *comp; in hda_component_manager_playback_hook() local 94 comp = hda_component_from_index(parent, i); in hda_component_manager_playback_hook() 95 if (comp->dev && comp->pre_playback_hook) in hda_component_manager_playback_hook() [all …]
|
/linux-6.12.1/drivers/most/ |
D | core.c | 33 struct most_component *comp; member 450 struct most_component *comp; in match_component() local 452 list_for_each_entry(comp, &comp_list, list) { in match_component() 453 if (!strcmp(comp->name, name)) in match_component() 454 return comp; in match_component() 473 if (c->pipe0.comp) { in print_links() 477 c->pipe0.comp->name, in print_links() 481 if (c->pipe1.comp) { in print_links() 485 c->pipe1.comp->name, in print_links() 517 struct most_component *comp; in components_show() local [all …]
|
D | most_cdev.c | 28 } comp; variable 52 return channel_has_mbo(c->iface, c->channel_id, &comp.cc) > 0; in ch_has_mbo() 58 *mbo = most_get_mbo(c->iface, c->channel_id, &comp.cc); in ch_get_mbo() 87 most_stop_channel(c->iface, c->channel_id, &comp.cc); in stop_channel() 94 device_destroy(comp.class, c->devno); in destroy_cdev() 103 ida_free(&comp.minor_id, MINOR(c->devno)); in destroy_channel() 143 ret = most_start_channel(c->iface, c->channel_id, &comp.cc); in comp_open() 428 current_minor = ida_alloc(&comp.minor_id, GFP_KERNEL); in comp_probe() 438 c->devno = MKDEV(comp.major, current_minor); in comp_probe() 458 c->dev = device_create(comp.class, NULL, c->devno, NULL, "%s", name); in comp_probe() [all …]
|
/linux-6.12.1/drivers/vdpa/pds/ |
D | cmds.c | 25 union pds_core_adminq_comp comp = {}; in pds_vdpa_init_hw() local 30 &comp, 0); in pds_vdpa_init_hw() 33 comp.status, ERR_PTR(err)); in pds_vdpa_init_hw() 47 union pds_core_adminq_comp comp = {}; in pds_vdpa_cmd_reset() local 50 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa), &comp, 0); in pds_vdpa_cmd_reset() 53 comp.status, ERR_PTR(err)); in pds_vdpa_cmd_reset() 68 union pds_core_adminq_comp comp = {}; in pds_vdpa_cmd_set_status() local 71 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa_status), &comp, 0); in pds_vdpa_cmd_set_status() 74 status, comp.status, ERR_PTR(err)); in pds_vdpa_cmd_set_status() 89 union pds_core_adminq_comp comp = {}; in pds_vdpa_cmd_set_mac() local [all …]
|
/linux-6.12.1/tools/perf/tests/ |
D | sample-parsing.c | 20 #define COMP(m) do { \ macro 50 COMP(id); in samples_same() 53 COMP(ip); in samples_same() 56 COMP(pid); in samples_same() 57 COMP(tid); in samples_same() 61 COMP(time); in samples_same() 64 COMP(addr); in samples_same() 67 COMP(id); in samples_same() 70 COMP(stream_id); in samples_same() 73 COMP(cpu); in samples_same() [all …]
|
/linux-6.12.1/drivers/net/ethernet/amd/pds_core/ |
D | adminq.c | 15 union pds_core_notifyq_comp *comp; in pdsc_process_notifyq() local 23 comp = cq_info->comp; in pdsc_process_notifyq() 24 eid = le64_to_cpu(comp->event.eid); in pdsc_process_notifyq() 26 u16 ecode = le16_to_cpu(comp->event.ecode); in pdsc_process_notifyq() 32 pdsc_notify(PDS_EVENT_LINK_CHANGE, comp); in pdsc_process_notifyq() 38 pdsc_notify(PDS_EVENT_RESET, comp); in pdsc_process_notifyq() 55 comp = cq_info->comp; in pdsc_process_notifyq() 56 eid = le64_to_cpu(comp->event.eid); in pdsc_process_notifyq() 77 union pds_core_adminq_comp *comp; in pdsc_process_adminq() local 107 comp = cq->info[cq->tail_idx].comp; in pdsc_process_adminq() [all …]
|
/linux-6.12.1/include/linux/mfd/ |
D | stm32-timers.h | 21 #define TIM_CCMR1 0x18 /* Capt/Comp 1 Mode Reg */ 22 #define TIM_CCMR2 0x1C /* Capt/Comp 2 Mode Reg */ 23 #define TIM_CCER 0x20 /* Capt/Comp Enable Reg */ 27 #define TIM_CCRx(x) (0x34 + 4 * ((x) - 1)) /* Capt/Comp Register x (x ∈ {1, .. 4}) */ 28 #define TIM_CCR1 TIM_CCRx(1) /* Capt/Comp Register 1 */ 29 #define TIM_CCR2 TIM_CCRx(2) /* Capt/Comp Register 2 */ 30 #define TIM_CCR3 TIM_CCRx(3) /* Capt/Comp Register 3 */ 31 #define TIM_CCR4 TIM_CCRx(4) /* Capt/Comp Register 4 */ 75 #define TIM_CCER_CCxE(x) BIT(0 + 4 * ((x) - 1)) /* Capt/Comp x out Ena (x ∈ {1, .. 4}) */ 76 #define TIM_CCER_CCxP(x) BIT(1 + 4 * ((x) - 1)) /* Capt/Comp x Polarity (x ∈ {1, .. 4}) */ [all …]
|
/linux-6.12.1/drivers/vfio/pci/pds/ |
D | cmds.c | 99 union pds_core_adminq_comp comp = {}; in pds_vfio_suspend_wait_device_cmd() local 108 err = pds_vfio_client_adminq_cmd(pds_vfio, &cmd, &comp, true); in pds_vfio_suspend_wait_device_cmd() 116 dev_dbg(dev, "%s: vf%u: Suspend comp received in %d msecs\n", __func__, in pds_vfio_suspend_wait_device_cmd() 121 dev_err(dev, "%s: vf%u: Suspend comp timeout\n", __func__, in pds_vfio_suspend_wait_device_cmd() 139 union pds_core_adminq_comp comp = {}; in pds_vfio_suspend_device_cmd() local 149 err = pds_vfio_client_adminq_cmd(pds_vfio, &cmd, &comp, true); in pds_vfio_suspend_device_cmd() 173 union pds_core_adminq_comp comp = {}; in pds_vfio_resume_device_cmd() local 177 return pds_vfio_client_adminq_cmd(pds_vfio, &cmd, &comp, true); in pds_vfio_resume_device_cmd() 189 union pds_core_adminq_comp comp = {}; in pds_vfio_get_lm_state_size_cmd() local 194 err = pds_vfio_client_adminq_cmd(pds_vfio, &cmd, &comp, false); in pds_vfio_get_lm_state_size_cmd() [all …]
|
/linux-6.12.1/drivers/gpu/drm/omapdrm/dss/ |
D | base.c | 203 struct omapdss_comp_node *comp; in omapdss_list_contains() local 205 list_for_each_entry(comp, &omapdss_comp_list, list) { in omapdss_list_contains() 206 if (comp->node == node) in omapdss_list_contains() 216 struct omapdss_comp_node *comp; in omapdss_walk_device() local 225 comp = devm_kzalloc(dev, sizeof(*comp), GFP_KERNEL); in omapdss_walk_device() 226 if (comp) { in omapdss_walk_device() 227 comp->node = node; in omapdss_walk_device() 228 comp->dss_core_component = dss_core; in omapdss_walk_device() 229 comp->compat = compat; in omapdss_walk_device() 230 list_add(&comp->list, &omapdss_comp_list); in omapdss_walk_device() [all …]
|
/linux-6.12.1/drivers/infiniband/sw/rxe/ |
D | rxe_comp.c | 35 [COMPST_COMP_WQE] = "COMP WQE", 36 [COMPST_COMP_ACK] = "COMP ACK", 42 [COMPST_UPDATE_COMP] = "UPDATE COMP", 124 qp->comp.timeout = 1; in retransmit_timer() 167 qp->comp.retry_cnt = qp->attr.retry_cnt; in reset_retry_counters() 168 qp->comp.rnr_retry = qp->attr.rnr_retry; in reset_retry_counters() 169 qp->comp.started_retry = 0; in reset_retry_counters() 195 diff = psn_compare(pkt->psn, qp->comp.psn); in check_psn() 203 (qp->comp.opcode == IB_OPCODE_RC_RDMA_READ_RESPONSE_FIRST || in check_psn() 204 qp->comp.opcode == IB_OPCODE_RC_RDMA_READ_RESPONSE_MIDDLE)) in check_psn() [all …]
|