Home
last modified time | relevance | path

Searched refs:pconfig (Results 1 - 25 of 30) sorted by relevance

12

/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dcs42l43-sdw.c27 struct sdw_port_config pconfig = {0}; in cs42l43_sdw_add_peripheral() local
33 snd_sdw_params_to_config(substream, params, &sconfig, &pconfig); in cs42l43_sdw_add_peripheral()
36 pconfig.num = dai->id; in cs42l43_sdw_add_peripheral()
38 pconfig.num = dai->id; in cs42l43_sdw_add_peripheral()
40 ret = sdw_stream_add_slave(sdw, &sconfig, &pconfig, 1, sdw_stream); in cs42l43_sdw_add_peripheral()
H A Dcs35l56.c664 struct sdw_port_config pconfig; in cs35l56_sdw_dai_hw_params() local
676 memset(&pconfig, 0, sizeof(pconfig)); in cs35l56_sdw_dai_hw_params()
683 pconfig.num = CS35L56_SDW1_PLAYBACK_PORT; in cs35l56_sdw_dai_hw_params()
684 pconfig.ch_mask = cs35l56->rx_mask; in cs35l56_sdw_dai_hw_params()
687 pconfig.num = CS35L56_SDW1_CAPTURE_PORT; in cs35l56_sdw_dai_hw_params()
688 pconfig.ch_mask = cs35l56->tx_mask; in cs35l56_sdw_dai_hw_params()
691 if (pconfig.ch_mask == 0) { in cs35l56_sdw_dai_hw_params()
693 pconfig.ch_mask = GENMASK(sconfig.ch_count - 1, 0); in cs35l56_sdw_dai_hw_params()
695 sconfig.ch_count = hweight32(pconfig in cs35l56_sdw_dai_hw_params()
[all...]
/kernel/linux/linux-5.10/drivers/phy/socionext/
H A Dphy-uniphier-usb3hs.c83 void (*trim_func)(struct uniphier_u3hsphy_priv *priv, u32 *pconfig,
88 u32 *pconfig, in uniphier_u3hsphy_trim_ld20()
91 *pconfig &= ~HSPHY_CFG0_RTERM_MASK; in uniphier_u3hsphy_trim_ld20()
92 *pconfig |= FIELD_PREP(HSPHY_CFG0_RTERM_MASK, pt->rterm); in uniphier_u3hsphy_trim_ld20()
94 *pconfig &= ~HSPHY_CFG0_SEL_T_MASK; in uniphier_u3hsphy_trim_ld20()
95 *pconfig |= FIELD_PREP(HSPHY_CFG0_SEL_T_MASK, pt->sel_t); in uniphier_u3hsphy_trim_ld20()
97 *pconfig &= ~HSPHY_CFG0_HS_I_MASK; in uniphier_u3hsphy_trim_ld20()
98 *pconfig |= FIELD_PREP(HSPHY_CFG0_HS_I_MASK, pt->hs_i); in uniphier_u3hsphy_trim_ld20()
143 u32 *pconfig) in uniphier_u3hsphy_update_config()
159 priv->data->trim_func(priv, pconfig, in uniphier_u3hsphy_update_config()
87 uniphier_u3hsphy_trim_ld20(struct uniphier_u3hsphy_priv *priv, u32 *pconfig, struct uniphier_u3hsphy_trim_param *pt) uniphier_u3hsphy_trim_ld20() argument
142 uniphier_u3hsphy_update_config(struct uniphier_u3hsphy_priv *priv, u32 *pconfig) uniphier_u3hsphy_update_config() argument
[all...]
/kernel/linux/linux-6.6/drivers/phy/socionext/
H A Dphy-uniphier-usb3hs.c83 void (*trim_func)(struct uniphier_u3hsphy_priv *priv, u32 *pconfig,
88 u32 *pconfig, in uniphier_u3hsphy_trim_ld20()
91 *pconfig &= ~HSPHY_CFG0_RTERM_MASK; in uniphier_u3hsphy_trim_ld20()
92 *pconfig |= FIELD_PREP(HSPHY_CFG0_RTERM_MASK, pt->rterm); in uniphier_u3hsphy_trim_ld20()
94 *pconfig &= ~HSPHY_CFG0_SEL_T_MASK; in uniphier_u3hsphy_trim_ld20()
95 *pconfig |= FIELD_PREP(HSPHY_CFG0_SEL_T_MASK, pt->sel_t); in uniphier_u3hsphy_trim_ld20()
97 *pconfig &= ~HSPHY_CFG0_HS_I_MASK; in uniphier_u3hsphy_trim_ld20()
98 *pconfig |= FIELD_PREP(HSPHY_CFG0_HS_I_MASK, pt->hs_i); in uniphier_u3hsphy_trim_ld20()
143 u32 *pconfig) in uniphier_u3hsphy_update_config()
159 priv->data->trim_func(priv, pconfig, in uniphier_u3hsphy_update_config()
87 uniphier_u3hsphy_trim_ld20(struct uniphier_u3hsphy_priv *priv, u32 *pconfig, struct uniphier_u3hsphy_trim_param *pt) uniphier_u3hsphy_trim_ld20() argument
142 uniphier_u3hsphy_update_config(struct uniphier_u3hsphy_priv *priv, u32 *pconfig) uniphier_u3hsphy_update_config() argument
[all...]
/kernel/linux/linux-5.10/drivers/soundwire/
H A Dqcom.c106 struct qcom_swrm_port_config pconfig[QCOM_SDW_MAX_PORTS]; member
467 pcfg = &ctrl->pconfig[p_rt->num - 1]; in qcom_swrm_compute_params()
477 pcfg = &ctrl->pconfig[i]; in qcom_swrm_compute_params()
533 struct sdw_port_config pconfig[QCOM_SDW_MAX_PORTS]; in qcom_swrm_stream_alloc_ports() local
561 pconfig[nports].num = pn + 1; in qcom_swrm_stream_alloc_ports()
562 pconfig[nports].ch_mask = p_rt->ch_mask; in qcom_swrm_stream_alloc_ports()
578 sdw_stream_add_master(&ctrl->bus, &sconfig, pconfig, in qcom_swrm_stream_alloc_ports()
583 clear_bit(pconfig[i].num - 1, port_mask); in qcom_swrm_stream_alloc_ports()
776 ctrl->pconfig[i].si = si[i]; in qcom_swrm_get_port_config()
777 ctrl->pconfig[ in qcom_swrm_get_port_config()
[all...]
H A Dintel.c915 struct sdw_port_config *pconfig; in intel_hw_params() local
973 pconfig = kcalloc(1, sizeof(*pconfig), GFP_KERNEL); in intel_hw_params()
974 if (!pconfig) { in intel_hw_params()
979 pconfig->num = pdi->num; in intel_hw_params()
980 pconfig->ch_mask = (1 << ch) - 1; in intel_hw_params()
983 pconfig, 1, dma->stream); in intel_hw_params()
987 kfree(pconfig); in intel_hw_params()
/kernel/linux/linux-6.6/drivers/soundwire/
H A Dintel_ace2x.c250 struct sdw_port_config *pconfig; in intel_hw_params() local
295 pconfig = kzalloc(sizeof(*pconfig), GFP_KERNEL); in intel_hw_params()
296 if (!pconfig) { in intel_hw_params()
301 pconfig->num = pdi->num; in intel_hw_params()
302 pconfig->ch_mask = (1 << ch) - 1; in intel_hw_params()
305 pconfig, 1, dai_runtime->stream); in intel_hw_params()
309 kfree(pconfig); in intel_hw_params()
H A Dqcom.c205 struct qcom_swrm_port_config pconfig[QCOM_SDW_MAX_PORTS + 1]; member
965 pcfg = &ctrl->pconfig[params->port_num]; in qcom_swrm_transport_params()
1064 pcfg = &ctrl->pconfig[p_rt->num]; in qcom_swrm_compute_params()
1081 pcfg = &ctrl->pconfig[m_port]; in qcom_swrm_compute_params()
1083 pcfg = &ctrl->pconfig[i]; in qcom_swrm_compute_params()
1141 struct sdw_port_config pconfig[QCOM_SDW_MAX_PORTS]; in qcom_swrm_stream_alloc_ports() local
1177 pconfig[nports].num = pn; in qcom_swrm_stream_alloc_ports()
1178 pconfig[nports].ch_mask = p_rt->ch_mask; in qcom_swrm_stream_alloc_ports()
1194 sdw_stream_add_master(&ctrl->bus, &sconfig, pconfig, in qcom_swrm_stream_alloc_ports()
1199 clear_bit(pconfig[ in qcom_swrm_stream_alloc_ports()
[all...]
H A Dintel.c680 struct sdw_port_config *pconfig; in intel_hw_params() local
726 pconfig = kzalloc(sizeof(*pconfig), GFP_KERNEL); in intel_hw_params()
727 if (!pconfig) { in intel_hw_params()
732 pconfig->num = pdi->num; in intel_hw_params()
733 pconfig->ch_mask = (1 << ch) - 1; in intel_hw_params()
736 pconfig, 1, dai_runtime->stream); in intel_hw_params()
740 kfree(pconfig); in intel_hw_params()
H A Damd_manager.c609 struct sdw_port_config *pconfig; in amd_sdw_hw_params() local
632 pconfig = kzalloc(sizeof(*pconfig), GFP_KERNEL); in amd_sdw_hw_params()
633 if (!pconfig) { in amd_sdw_hw_params()
638 pconfig->num = dai->id; in amd_sdw_hw_params()
639 pconfig->ch_mask = (1 << ch) - 1; in amd_sdw_hw_params()
641 pconfig, 1, dai_runtime->stream); in amd_sdw_hw_params()
645 kfree(pconfig); in amd_sdw_hw_params()
/kernel/linux/linux-5.10/drivers/staging/media/rkisp1/
H A Drkisp1-params.c189 const struct rkisp1_cif_isp_lsc_config *pconfig) in rkisp1_lsc_correct_matrix_config()
215 data = RKISP1_CIF_ISP_LSC_TABLE_DATA(pconfig->r_data_tbl[i][j], in rkisp1_lsc_correct_matrix_config()
216 pconfig->r_data_tbl[i][j + 1]); in rkisp1_lsc_correct_matrix_config()
220 data = RKISP1_CIF_ISP_LSC_TABLE_DATA(pconfig->gr_data_tbl[i][j], in rkisp1_lsc_correct_matrix_config()
221 pconfig->gr_data_tbl[i][j + 1]); in rkisp1_lsc_correct_matrix_config()
225 data = RKISP1_CIF_ISP_LSC_TABLE_DATA(pconfig->gb_data_tbl[i][j], in rkisp1_lsc_correct_matrix_config()
226 pconfig->gb_data_tbl[i][j + 1]); in rkisp1_lsc_correct_matrix_config()
230 data = RKISP1_CIF_ISP_LSC_TABLE_DATA(pconfig->b_data_tbl[i][j], in rkisp1_lsc_correct_matrix_config()
231 pconfig->b_data_tbl[i][j + 1]); in rkisp1_lsc_correct_matrix_config()
235 data = RKISP1_CIF_ISP_LSC_TABLE_DATA(pconfig in rkisp1_lsc_correct_matrix_config()
188 rkisp1_lsc_correct_matrix_config(struct rkisp1_params *params, const struct rkisp1_cif_isp_lsc_config *pconfig) rkisp1_lsc_correct_matrix_config() argument
[all...]
/kernel/linux/linux-5.10/arch/mips/include/asm/sgi/
H A Dhpc3.h95 volatile u32 pconfig; /* PIO configuration register */ member
146 volatile u32 pconfig; /* PIO configuration register */ member
/kernel/linux/linux-6.6/arch/mips/include/asm/sgi/
H A Dhpc3.h95 volatile u32 pconfig; /* PIO configuration register */ member
146 volatile u32 pconfig; /* PIO configuration register */ member
/kernel/linux/linux-5.10/drivers/pinctrl/freescale/
H A Dpinctrl-mxs.c68 unsigned long *pconfig; in mxs_dt_node_to_map() local
112 pconfig = kmemdup(&config, sizeof(config), GFP_KERNEL); in mxs_dt_node_to_map()
113 if (!pconfig) { in mxs_dt_node_to_map()
121 new_map[i].data.configs.configs = pconfig; in mxs_dt_node_to_map()
/kernel/linux/linux-6.6/drivers/pinctrl/freescale/
H A Dpinctrl-mxs.c71 unsigned long *pconfig; in mxs_dt_node_to_map() local
115 pconfig = kmemdup(&config, sizeof(config), GFP_KERNEL); in mxs_dt_node_to_map()
116 if (!pconfig) { in mxs_dt_node_to_map()
124 new_map[i].data.configs.configs = pconfig; in mxs_dt_node_to_map()
/kernel/linux/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_ioctl.h69 struct vchiq_config __user *pconfig; member
/kernel/linux/linux-6.6/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_ioctl.h70 struct vchiq_config __user *pconfig; member
H A Dvchiq_dev.c809 if (copy_to_user(args.pconfig, &config, args.config_size)) { in vchiq_ioctl()
1114 compat_uptr_t pconfig; member
1135 ptr = compat_ptr(args32.pconfig); in vchiq_compat_ioctl_get_config()
/kernel/linux/linux-6.6/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-params.c199 const struct rkisp1_cif_isp_lsc_config *pconfig) in rkisp1_lsc_matrix_config_v10()
218 const __u16 *r_tbl = pconfig->r_data_tbl[i]; in rkisp1_lsc_matrix_config_v10()
219 const __u16 *gr_tbl = pconfig->gr_data_tbl[i]; in rkisp1_lsc_matrix_config_v10()
220 const __u16 *gb_tbl = pconfig->gb_data_tbl[i]; in rkisp1_lsc_matrix_config_v10()
221 const __u16 *b_tbl = pconfig->b_data_tbl[i]; in rkisp1_lsc_matrix_config_v10()
259 const struct rkisp1_cif_isp_lsc_config *pconfig) in rkisp1_lsc_matrix_config_v12()
278 const __u16 *r_tbl = pconfig->r_data_tbl[i]; in rkisp1_lsc_matrix_config_v12()
279 const __u16 *gr_tbl = pconfig->gr_data_tbl[i]; in rkisp1_lsc_matrix_config_v12()
280 const __u16 *gb_tbl = pconfig->gb_data_tbl[i]; in rkisp1_lsc_matrix_config_v12()
281 const __u16 *b_tbl = pconfig in rkisp1_lsc_matrix_config_v12()
198 rkisp1_lsc_matrix_config_v10(struct rkisp1_params *params, const struct rkisp1_cif_isp_lsc_config *pconfig) rkisp1_lsc_matrix_config_v10() argument
258 rkisp1_lsc_matrix_config_v12(struct rkisp1_params *params, const struct rkisp1_cif_isp_lsc_config *pconfig) rkisp1_lsc_matrix_config_v12() argument
[all...]
H A Drkisp1-common.h347 const struct rkisp1_cif_isp_lsc_config *pconfig);
/kernel/linux/linux-6.6/drivers/dma/xilinx/
H A Dxilinx_dpdma.c1277 struct xilinx_dpdma_peripheral_config *pconfig; in xilinx_dpdma_config() local
1292 pconfig = config->peripheral_config; in xilinx_dpdma_config()
1293 if (WARN_ON(pconfig && config->peripheral_size != sizeof(*pconfig))) in xilinx_dpdma_config()
1297 if (chan->id <= ZYNQMP_DPDMA_VIDEO2 && pconfig) in xilinx_dpdma_config()
1298 chan->video_group = pconfig->video_group; in xilinx_dpdma_config()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_cfg.c1156 struct mdp5_cfg_platform *pconfig; in mdp5_cfg_init() local
1199 pconfig = mdp5_get_config(pdev); in mdp5_cfg_init()
1200 memcpy(&cfg_handler->config.platform, pconfig, sizeof(*pconfig)); in mdp5_cfg_init()
/kernel/linux/linux-6.6/drivers/gpu/drm/xlnx/
H A Dzynqmp_disp.c959 * Set pconfig for each DMA channel to indicate they're part of a in zynqmp_disp_layer_set_format()
964 struct xilinx_dpdma_peripheral_config pconfig = { in zynqmp_disp_layer_set_format() local
969 .peripheral_config = &pconfig, in zynqmp_disp_layer_set_format()
970 .peripheral_size = sizeof(pconfig), in zynqmp_disp_layer_set_format()
/kernel/linux/linux-5.10/drivers/net/ethernet/seeq/
H A Dsgiseeq.c779 sp->hregs->pconfig = 0x161; in sgiseeq_probe()
784 sp->hregs->pconfig = 0x161; in sgiseeq_probe()
/kernel/linux/linux-6.6/drivers/net/ethernet/seeq/
H A Dsgiseeq.c779 sp->hregs->pconfig = 0x161; in sgiseeq_probe()
784 sp->hregs->pconfig = 0x161; in sgiseeq_probe()

Completed in 30 milliseconds

12