| /kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/ |
| D | mtk_drm_ddp_comp.h | 42 void (*config)(struct mtk_ddp_comp *comp, unsigned int w, 45 void (*start)(struct mtk_ddp_comp *comp); 46 void (*stop)(struct mtk_ddp_comp *comp); 47 void (*enable_vblank)(struct mtk_ddp_comp *comp, struct drm_crtc *crtc); 48 void (*disable_vblank)(struct mtk_ddp_comp *comp); 49 unsigned int (*supported_rotations)(struct mtk_ddp_comp *comp); 50 unsigned int (*layer_nr)(struct mtk_ddp_comp *comp); 51 int (*layer_check)(struct mtk_ddp_comp *comp, 54 void (*layer_config)(struct mtk_ddp_comp *comp, unsigned int idx, 57 void (*gamma_set)(struct mtk_ddp_comp *comp, [all …]
|
| D | mtk_drm_ddp_comp.c | 91 struct mtk_ddp_comp *comp, unsigned int offset) in mtk_ddp_write() argument 95 cmdq_pkt_write(cmdq_pkt, comp->subsys, in mtk_ddp_write() 96 comp->regs_pa + offset, value); in mtk_ddp_write() 99 writel(value, comp->regs + offset); in mtk_ddp_write() 103 struct mtk_ddp_comp *comp, in mtk_ddp_write_relaxed() argument 108 cmdq_pkt_write(cmdq_pkt, comp->subsys, in mtk_ddp_write_relaxed() 109 comp->regs_pa + offset, value); in mtk_ddp_write_relaxed() 112 writel_relaxed(value, comp->regs + offset); in mtk_ddp_write_relaxed() 117 struct mtk_ddp_comp *comp, in mtk_ddp_write_mask() argument 123 cmdq_pkt_write_mask(cmdq_pkt, comp->subsys, in mtk_ddp_write_mask() [all …]
|
| D | mtk_disp_ovl.c | 77 static inline struct mtk_disp_ovl *comp_to_ovl(struct mtk_ddp_comp *comp) in comp_to_ovl() argument 79 return container_of(comp, struct mtk_disp_ovl, ddp_comp); in comp_to_ovl() 98 static void mtk_ovl_enable_vblank(struct mtk_ddp_comp *comp, in mtk_ovl_enable_vblank() argument 101 struct mtk_disp_ovl *ovl = comp_to_ovl(comp); in mtk_ovl_enable_vblank() 104 writel(0x0, comp->regs + DISP_REG_OVL_INTSTA); in mtk_ovl_enable_vblank() 105 writel_relaxed(OVL_FME_CPL_INT, comp->regs + DISP_REG_OVL_INTEN); in mtk_ovl_enable_vblank() 108 static void mtk_ovl_disable_vblank(struct mtk_ddp_comp *comp) in mtk_ovl_disable_vblank() argument 110 struct mtk_disp_ovl *ovl = comp_to_ovl(comp); in mtk_ovl_disable_vblank() 113 writel_relaxed(0x0, comp->regs + DISP_REG_OVL_INTEN); in mtk_ovl_disable_vblank() 116 static void mtk_ovl_start(struct mtk_ddp_comp *comp) in mtk_ovl_start() argument [all …]
|
| D | mtk_disp_rdma.c | 68 static inline struct mtk_disp_rdma *comp_to_rdma(struct mtk_ddp_comp *comp) in comp_to_rdma() argument 70 return container_of(comp, struct mtk_disp_rdma, ddp_comp); in comp_to_rdma() 89 static void rdma_update_bits(struct mtk_ddp_comp *comp, unsigned int reg, in rdma_update_bits() argument 92 unsigned int tmp = readl(comp->regs + reg); in rdma_update_bits() 95 writel(tmp, comp->regs + reg); in rdma_update_bits() 98 static void mtk_rdma_enable_vblank(struct mtk_ddp_comp *comp, in mtk_rdma_enable_vblank() argument 101 struct mtk_disp_rdma *rdma = comp_to_rdma(comp); in mtk_rdma_enable_vblank() 104 rdma_update_bits(comp, DISP_REG_RDMA_INT_ENABLE, RDMA_FRAME_END_INT, in mtk_rdma_enable_vblank() 108 static void mtk_rdma_disable_vblank(struct mtk_ddp_comp *comp) in mtk_rdma_disable_vblank() argument 110 struct mtk_disp_rdma *rdma = comp_to_rdma(comp); in mtk_rdma_disable_vblank() [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/mediatek/ |
| D | mtk_drm_ddp_comp.h | 75 void (*config)(struct mtk_ddp_comp *comp, unsigned int w, 77 void (*start)(struct mtk_ddp_comp *comp); 78 void (*stop)(struct mtk_ddp_comp *comp); 79 void (*enable_vblank)(struct mtk_ddp_comp *comp, struct drm_crtc *crtc); 80 void (*disable_vblank)(struct mtk_ddp_comp *comp); 81 unsigned int (*layer_nr)(struct mtk_ddp_comp *comp); 82 void (*layer_on)(struct mtk_ddp_comp *comp, unsigned int idx); 83 void (*layer_off)(struct mtk_ddp_comp *comp, unsigned int idx); 84 void (*layer_config)(struct mtk_ddp_comp *comp, unsigned int idx, 86 void (*gamma_set)(struct mtk_ddp_comp *comp, [all …]
|
| D | mtk_drm_ddp_comp.c | 75 void mtk_dither_set(struct mtk_ddp_comp *comp, unsigned int bpc, in mtk_dither_set() argument 83 writel(0, comp->regs + DISP_DITHER_5); in mtk_dither_set() 84 writel(0, comp->regs + DISP_DITHER_7); in mtk_dither_set() 88 comp->regs + DISP_DITHER_15); in mtk_dither_set() 93 comp->regs + DISP_DITHER_16); in mtk_dither_set() 94 writel(DISP_DITHERING, comp->regs + CFG); in mtk_dither_set() 98 static void mtk_od_config(struct mtk_ddp_comp *comp, unsigned int w, in mtk_od_config() argument 102 writel(w << 16 | h, comp->regs + DISP_OD_SIZE); in mtk_od_config() 103 writel(OD_RELAYMODE, comp->regs + DISP_OD_CFG); in mtk_od_config() 104 mtk_dither_set(comp, bpc, DISP_OD_CFG); in mtk_od_config() [all …]
|
| D | mtk_disp_ovl.c | 74 static inline struct mtk_disp_ovl *comp_to_ovl(struct mtk_ddp_comp *comp) in comp_to_ovl() argument 76 return container_of(comp, struct mtk_disp_ovl, ddp_comp); in comp_to_ovl() 95 static void mtk_ovl_enable_vblank(struct mtk_ddp_comp *comp, in mtk_ovl_enable_vblank() argument 98 struct mtk_disp_ovl *ovl = comp_to_ovl(comp); in mtk_ovl_enable_vblank() 101 writel(0x0, comp->regs + DISP_REG_OVL_INTSTA); in mtk_ovl_enable_vblank() 102 writel_relaxed(OVL_FME_CPL_INT, comp->regs + DISP_REG_OVL_INTEN); in mtk_ovl_enable_vblank() 105 static void mtk_ovl_disable_vblank(struct mtk_ddp_comp *comp) in mtk_ovl_disable_vblank() argument 107 struct mtk_disp_ovl *ovl = comp_to_ovl(comp); in mtk_ovl_disable_vblank() 110 writel_relaxed(0x0, comp->regs + DISP_REG_OVL_INTEN); in mtk_ovl_disable_vblank() 113 static void mtk_ovl_start(struct mtk_ddp_comp *comp) in mtk_ovl_start() argument [all …]
|
| D | mtk_disp_rdma.c | 75 static inline struct mtk_disp_rdma *comp_to_rdma(struct mtk_ddp_comp *comp) in comp_to_rdma() argument 77 return container_of(comp, struct mtk_disp_rdma, ddp_comp); in comp_to_rdma() 96 static void rdma_update_bits(struct mtk_ddp_comp *comp, unsigned int reg, in rdma_update_bits() argument 99 unsigned int tmp = readl(comp->regs + reg); in rdma_update_bits() 102 writel(tmp, comp->regs + reg); in rdma_update_bits() 105 static void mtk_rdma_enable_vblank(struct mtk_ddp_comp *comp, in mtk_rdma_enable_vblank() argument 108 struct mtk_disp_rdma *rdma = comp_to_rdma(comp); in mtk_rdma_enable_vblank() 111 rdma_update_bits(comp, DISP_REG_RDMA_INT_ENABLE, RDMA_FRAME_END_INT, in mtk_rdma_enable_vblank() 115 static void mtk_rdma_disable_vblank(struct mtk_ddp_comp *comp) in mtk_rdma_disable_vblank() argument 117 struct mtk_disp_rdma *rdma = comp_to_rdma(comp); in mtk_rdma_disable_vblank() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | wcd-clsh-v2.c | 19 struct snd_soc_component *comp; member 109 struct snd_soc_component *comp = ctrl->comp; in wcd_enable_clsh_block() local 113 snd_soc_component_update_bits(comp, WCD9XXX_A_CDC_CLSH_CRC, in wcd_enable_clsh_block() 120 static inline bool wcd_clsh_enable_status(struct snd_soc_component *comp) in wcd_clsh_enable_status() argument 122 return snd_soc_component_read(comp, WCD9XXX_A_CDC_CLSH_CRC) & in wcd_clsh_enable_status() 126 static inline void wcd_clsh_set_buck_mode(struct snd_soc_component *comp, in wcd_clsh_set_buck_mode() argument 131 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_buck_mode() 135 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_buck_mode() 140 static inline void wcd_clsh_set_flyback_mode(struct snd_soc_component *comp, in wcd_clsh_set_flyback_mode() argument 145 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_flyback_mode() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/mtk-mdp/ |
| D | mtk_mdp_comp.c | 17 void mtk_mdp_comp_clock_on(struct device *dev, struct mtk_mdp_comp *comp) in mtk_mdp_comp_clock_on() argument 21 if (comp->larb_dev) { in mtk_mdp_comp_clock_on() 22 err = mtk_smi_larb_get(comp->larb_dev); in mtk_mdp_comp_clock_on() 26 err, comp->type); in mtk_mdp_comp_clock_on() 29 for (i = 0; i < ARRAY_SIZE(comp->clk); i++) { in mtk_mdp_comp_clock_on() 30 if (IS_ERR(comp->clk[i])) in mtk_mdp_comp_clock_on() 32 err = clk_prepare_enable(comp->clk[i]); in mtk_mdp_comp_clock_on() 36 err, comp->type, i); in mtk_mdp_comp_clock_on() 40 void mtk_mdp_comp_clock_off(struct device *dev, struct mtk_mdp_comp *comp) in mtk_mdp_comp_clock_off() argument 44 for (i = 0; i < ARRAY_SIZE(comp->clk); i++) { in mtk_mdp_comp_clock_off() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/platform/mtk-mdp/ |
| D | mtk_mdp_comp.c | 65 void mtk_mdp_comp_clock_on(struct device *dev, struct mtk_mdp_comp *comp) in mtk_mdp_comp_clock_on() argument 69 if (comp->larb_dev) { in mtk_mdp_comp_clock_on() 70 err = mtk_smi_larb_get(comp->larb_dev); in mtk_mdp_comp_clock_on() 74 err, comp->type, comp->id); in mtk_mdp_comp_clock_on() 77 for (i = 0; i < ARRAY_SIZE(comp->clk); i++) { in mtk_mdp_comp_clock_on() 78 if (IS_ERR(comp->clk[i])) in mtk_mdp_comp_clock_on() 80 err = clk_prepare_enable(comp->clk[i]); in mtk_mdp_comp_clock_on() 84 err, comp->type, comp->id, i); in mtk_mdp_comp_clock_on() 88 void mtk_mdp_comp_clock_off(struct device *dev, struct mtk_mdp_comp *comp) in mtk_mdp_comp_clock_off() argument 92 for (i = 0; i < ARRAY_SIZE(comp->clk); i++) { in mtk_mdp_comp_clock_off() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| D | devcom.c | 9 #define devcom_for_each_component(priv, comp, iter) \ argument 11 comp = &(priv)->components[iter], iter < MLX5_DEVCOM_NUM_COMPONENTS; \ 38 struct mlx5_devcom_component *comp; in mlx5_devcom_list_alloc() local 46 devcom_for_each_component(priv, comp, i) in mlx5_devcom_list_alloc() 47 init_rwsem(&comp->sem); in mlx5_devcom_list_alloc() 153 struct mlx5_devcom_component *comp; in mlx5_devcom_register_component() local 160 comp = &devcom->priv->components[id]; in mlx5_devcom_register_component() 161 down_write(&comp->sem); in mlx5_devcom_register_component() 162 comp->handler = handler; in mlx5_devcom_register_component() 163 comp->device[devcom->idx].data = data; in mlx5_devcom_register_component() [all …]
|
| /kernel/linux/linux-5.10/drivers/block/zram/ |
| D | zcomp.c | 47 static int zcomp_strm_init(struct zcomp_strm *zstrm, struct zcomp *comp) in zcomp_strm_init() argument 49 zstrm->tfm = crypto_alloc_comp(comp->name, 0, 0); in zcomp_strm_init() 62 bool zcomp_available_algorithm(const char *comp) in zcomp_available_algorithm() argument 66 i = sysfs_match_string(backends, comp); in zcomp_available_algorithm() 77 return crypto_has_comp(comp, 0, 0) == 1; in zcomp_available_algorithm() 81 ssize_t zcomp_available_show(const char *comp, char *buf) in zcomp_available_show() argument 88 if (!strcmp(comp, backends[i])) { in zcomp_available_show() 102 if (!known_algorithm && crypto_has_comp(comp, 0, 0) == 1) in zcomp_available_show() 104 "[%s] ", comp); in zcomp_available_show() 110 struct zcomp_strm *zcomp_stream_get(struct zcomp *comp) in zcomp_stream_get() argument [all …]
|
| /kernel/linux/linux-4.19/drivers/block/zram/ |
| D | zcomp.c | 50 static struct zcomp_strm *zcomp_strm_alloc(struct zcomp *comp) in zcomp_strm_alloc() argument 56 zstrm->tfm = crypto_alloc_comp(comp->name, 0, 0); in zcomp_strm_alloc() 69 bool zcomp_available_algorithm(const char *comp) in zcomp_available_algorithm() argument 73 i = __sysfs_match_string(backends, -1, comp); in zcomp_available_algorithm() 84 return crypto_has_comp(comp, 0, 0) == 1; in zcomp_available_algorithm() 88 ssize_t zcomp_available_show(const char *comp, char *buf) in zcomp_available_show() argument 95 if (!strcmp(comp, backends[i])) { in zcomp_available_show() 109 if (!known_algorithm && crypto_has_comp(comp, 0, 0) == 1) in zcomp_available_show() 111 "[%s] ", comp); in zcomp_available_show() 117 struct zcomp_strm *zcomp_stream_get(struct zcomp *comp) in zcomp_stream_get() argument [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-5.10/tools/perf/tests/ |
| D | sample-parsing.c | 19 #define COMP(m) do { \ macro 40 COMP(id); in samples_same() 43 COMP(ip); in samples_same() 46 COMP(pid); in samples_same() 47 COMP(tid); in samples_same() 51 COMP(time); in samples_same() 54 COMP(addr); in samples_same() 57 COMP(id); in samples_same() 60 COMP(stream_id); in samples_same() 63 COMP(cpu); in samples_same() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/omapdrm/dss/ |
| D | base.c | 61 struct omapdss_comp_node *comp; in omapdss_list_contains() local 63 list_for_each_entry(comp, &omapdss_comp_list, list) { in omapdss_list_contains() 64 if (comp->node == node) in omapdss_list_contains() 75 struct omapdss_comp_node *comp = devm_kzalloc(dev, sizeof(*comp), in omapdss_walk_device() local 78 if (comp) { in omapdss_walk_device() 79 comp->node = node; in omapdss_walk_device() 80 comp->dss_core_component = dss_core; in omapdss_walk_device() 81 list_add(&comp->list, &omapdss_comp_list); in omapdss_walk_device() 129 static bool omapdss_component_is_loaded(struct omapdss_comp_node *comp) in omapdss_component_is_loaded() argument 131 if (comp->dss_core_component) in omapdss_component_is_loaded() [all …]
|
| /kernel/linux/linux-4.19/tools/perf/tests/ |
| D | sample-parsing.c | 14 #define COMP(m) do { \ macro 35 COMP(id); in samples_same() 38 COMP(ip); in samples_same() 41 COMP(pid); in samples_same() 42 COMP(tid); in samples_same() 46 COMP(time); in samples_same() 49 COMP(addr); in samples_same() 52 COMP(id); in samples_same() 55 COMP(stream_id); in samples_same() 58 COMP(cpu); in samples_same() [all …]
|
| /kernel/linux/linux-4.19/drivers/staging/most/ |
| D | core.c | 42 struct core_component *comp; member 547 struct core_component *comp; in match_component() local 549 list_for_each_entry(comp, &mc.comp_list, list) { in match_component() 550 if (!strcmp(comp->name, name)) in match_component() 551 return comp; in match_component() 570 if (c->pipe0.comp) { in print_links() 574 c->pipe0.comp->name, in print_links() 578 if (c->pipe1.comp) { in print_links() 582 c->pipe1.comp->name, in print_links() 601 struct core_component *comp; in components_show() local [all …]
|