Home
last modified time | relevance | path

Searched refs:params (Results 1 – 25 of 1100) sorted by relevance

12345678910>>...44

/drivers/staging/media/atomisp/pci/
Dia_css_isp_params.c73 struct ia_css_isp_parameters *params) in ia_css_process_aa() argument
82 … &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset]; in ia_css_process_aa()
83 t->strength = params->aa_config.strength; in ia_css_process_aa()
93 struct ia_css_isp_parameters *params) in ia_css_process_anr() argument
95 assert(params); in ia_css_process_anr()
109 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset], in ia_css_process_anr()
110 &params->anr_config, in ia_css_process_anr()
112 params->isp_params_changed = true; in ia_css_process_anr()
113 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = in ia_css_process_anr()
128 struct ia_css_isp_parameters *params) in ia_css_process_anr2() argument
[all …]
Dsh_css_params.c710 struct ia_css_isp_parameters *params,
721 struct ia_css_isp_parameters *params,
727 struct ia_css_isp_parameters *params,
778 convert_allocate_fpntbl(struct ia_css_isp_parameters *params) in convert_allocate_fpntbl() argument
786 assert(params); in convert_allocate_fpntbl()
788 data_ptr = params->fpn_config.data; in convert_allocate_fpntbl()
789 isp_format_data_size = params->fpn_config.height * params->fpn_config.width * in convert_allocate_fpntbl()
799 for (i = 0; i < params->fpn_config.height; i++) { in convert_allocate_fpntbl()
801 j < params->fpn_config.width; in convert_allocate_fpntbl()
814 store_fpntbl(struct ia_css_isp_parameters *params, ia_css_ptr ptr) in store_fpntbl() argument
[all …]
Dia_css_isp_params.h153 struct ia_css_isp_parameters *params);
158 ia_css_set_dp_config(struct ia_css_isp_parameters *params,
164 ia_css_set_wb_config(struct ia_css_isp_parameters *params,
170 ia_css_set_tnr_config(struct ia_css_isp_parameters *params,
176 ia_css_set_ob_config(struct ia_css_isp_parameters *params,
182 ia_css_set_de_config(struct ia_css_isp_parameters *params,
188 ia_css_set_anr_config(struct ia_css_isp_parameters *params,
194 ia_css_set_anr2_config(struct ia_css_isp_parameters *params,
200 ia_css_set_ce_config(struct ia_css_isp_parameters *params,
206 ia_css_set_ecd_config(struct ia_css_isp_parameters *params,
[all …]
/drivers/media/platform/rockchip/rkisp1/
Drkisp1-params.c37 rkisp1_param_set_bits(struct rkisp1_params *params, u32 reg, u32 bit_mask) in rkisp1_param_set_bits() argument
41 val = rkisp1_read(params->rkisp1, reg); in rkisp1_param_set_bits()
42 rkisp1_write(params->rkisp1, reg, val | bit_mask); in rkisp1_param_set_bits()
46 rkisp1_param_clear_bits(struct rkisp1_params *params, u32 reg, u32 bit_mask) in rkisp1_param_clear_bits() argument
50 val = rkisp1_read(params->rkisp1, reg); in rkisp1_param_clear_bits()
51 rkisp1_write(params->rkisp1, reg, val & ~bit_mask); in rkisp1_param_clear_bits()
55 static void rkisp1_dpcc_config(struct rkisp1_params *params, in rkisp1_dpcc_config() argument
67 mode = rkisp1_read(params->rkisp1, RKISP1_CIF_ISP_DPCC_MODE); in rkisp1_dpcc_config()
70 rkisp1_write(params->rkisp1, RKISP1_CIF_ISP_DPCC_MODE, mode); in rkisp1_dpcc_config()
72 rkisp1_write(params->rkisp1, RKISP1_CIF_ISP_DPCC_OUTPUT_MODE, in rkisp1_dpcc_config()
[all …]
/drivers/media/usb/gspca/
Dcpia1.c214 #define FIRMWARE_VERSION(x, y) (sd->params.version.firmwareVersion == (x) && \
215 sd->params.version.firmwareRevision == (y))
355 struct cam_params params; /* camera settings */ member
480 sd->params.version.firmwareVersion = gspca_dev->usb_buf[0]; in do_command()
481 sd->params.version.firmwareRevision = gspca_dev->usb_buf[1]; in do_command()
482 sd->params.version.vcVersion = gspca_dev->usb_buf[2]; in do_command()
483 sd->params.version.vcRevision = gspca_dev->usb_buf[3]; in do_command()
486 sd->params.pnpID.vendor = in do_command()
488 sd->params.pnpID.product = in do_command()
490 sd->params.pnpID.deviceRevision = in do_command()
[all …]
/drivers/gpu/drm/amd/display/dc/bios/
Dcommand_table.c37 #define EXEC_BIOS_CMD_TABLE(command, params)\ argument
40 (uint32_t *)&params) == 0)
200 DIG_ENCODER_CONTROL_PARAMETERS_V2 params = {0}; in encoder_control_dig1_v1() local
202 bp->cmd_helper->assign_control_parameter(bp->cmd_helper, cntl, &params); in encoder_control_dig1_v1()
204 if (EXEC_BIOS_CMD_TABLE(DIG1EncoderControl, params)) in encoder_control_dig1_v1()
215 DIG_ENCODER_CONTROL_PARAMETERS_V2 params = {0}; in encoder_control_dig2_v1() local
217 bp->cmd_helper->assign_control_parameter(bp->cmd_helper, cntl, &params); in encoder_control_dig2_v1()
219 if (EXEC_BIOS_CMD_TABLE(DIG2EncoderControl, params)) in encoder_control_dig2_v1()
230 DIG_ENCODER_CONTROL_PARAMETERS_V3 params = {0}; in encoder_control_digx_v3() local
233 params.acConfig.ucDPLinkRate = 1; /* dual link 2.7GHz */ in encoder_control_digx_v3()
[all …]
/drivers/usb/gadget/function/
Drndis.c70 static rndis_resp_t *rndis_add_response(struct rndis_params *params,
169 static int gen_ndis_query_resp(struct rndis_params *params, u32 OID, u8 *buf, in gen_ndis_query_resp() argument
201 net = params->dev; in gen_ndis_query_resp()
234 *outbuf = cpu_to_le32(params->medium); in gen_ndis_query_resp()
242 *outbuf = cpu_to_le32(params->medium); in gen_ndis_query_resp()
249 if (params->dev) { in gen_ndis_query_resp()
250 *outbuf = cpu_to_le32(params->dev->mtu); in gen_ndis_query_resp()
259 if (params->media_state == RNDIS_MEDIA_STATE_DISCONNECTED) in gen_ndis_query_resp()
262 *outbuf = cpu_to_le32(params->speed); in gen_ndis_query_resp()
269 if (params->dev) { in gen_ndis_query_resp()
[all …]
/drivers/phy/broadcom/
Dphy-brcm-usb-init.c141 #define USB_CTRL_MASK_FAMILY(params, reg, field) \ argument
142 (params->usb_reg_bits_map[USB_CTRL_##reg##_##field##_SELECTOR])
144 #define USB_CTRL_SET_FAMILY(params, reg, field) \ argument
145 usb_ctrl_set_family(params, USB_CTRL_##reg, \
147 #define USB_CTRL_UNSET_FAMILY(params, reg, field) \ argument
148 usb_ctrl_unset_family(params, USB_CTRL_##reg, \
448 void usb_ctrl_unset_family(struct brcm_usb_init_params *params, in usb_ctrl_unset_family() argument
453 mask = params->usb_reg_bits_map[field]; in usb_ctrl_unset_family()
454 brcm_usb_ctrl_unset(params->regs[BRCM_REGS_CTRL] + reg_offset, mask); in usb_ctrl_unset_family()
458 void usb_ctrl_set_family(struct brcm_usb_init_params *params, in usb_ctrl_set_family() argument
[all …]
Dphy-brcm-usb-init-synopsys.c98 static void usb_mdio_write_7211b0(struct brcm_usb_init_params *params, in usb_mdio_write_7211b0() argument
101 void __iomem *usb_mdio = params->regs[BRCM_REGS_USB_MDIO]; in usb_mdio_write_7211b0()
117 struct brcm_usb_init_params *params, uint8_t addr) in usb_mdio_read_7211b0() argument
119 void __iomem *usb_mdio = params->regs[BRCM_REGS_USB_MDIO]; in usb_mdio_read_7211b0()
134 static void usb2_eye_fix_7211b0(struct brcm_usb_init_params *params) in usb2_eye_fix_7211b0() argument
137 usb_mdio_write_7211b0(params, 0x1f, 0x80a0); in usb2_eye_fix_7211b0()
140 usb_mdio_write_7211b0(params, 0x0a, 0xc6a0); in usb2_eye_fix_7211b0()
143 static void xhci_soft_reset(struct brcm_usb_init_params *params, in xhci_soft_reset() argument
146 void __iomem *ctrl = params->regs[BRCM_REGS_CTRL]; in xhci_soft_reset()
147 void __iomem *xhci_gbl = params->regs[BRCM_REGS_XHCI_GBL]; in xhci_soft_reset()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c218 u16 mlx5e_get_linear_rq_headroom(struct mlx5e_params *params, in mlx5e_get_linear_rq_headroom() argument
227 if (params->xdp_prog) in mlx5e_get_linear_rq_headroom()
235 static u32 mlx5e_rx_get_linear_sz_xsk(struct mlx5e_params *params, in mlx5e_rx_get_linear_sz_xsk() argument
238 u32 hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_rx_get_linear_sz_xsk()
243 static u32 mlx5e_rx_get_linear_sz_skb(struct mlx5e_params *params, bool xsk) in mlx5e_rx_get_linear_sz_skb() argument
246 u16 headroom = xsk ? 0 : mlx5e_get_linear_rq_headroom(params, NULL); in mlx5e_rx_get_linear_sz_skb()
247 u32 hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_rx_get_linear_sz_skb()
253 struct mlx5e_params *params, in mlx5e_rx_get_linear_stride_sz() argument
265 sz = roundup_pow_of_two(mlx5e_rx_get_linear_sz_skb(params, false)); in mlx5e_rx_get_linear_stride_sz()
270 return params->xdp_prog && sz < PAGE_SIZE ? PAGE_SIZE : sz; in mlx5e_rx_get_linear_stride_sz()
[all …]
Dparams.h80 void mlx5e_reset_tx_moderation(struct mlx5e_params *params, u8 cq_period_mode);
81 void mlx5e_reset_rx_moderation(struct mlx5e_params *params, u8 cq_period_mode);
82 void mlx5e_set_tx_cq_mode_params(struct mlx5e_params *params, u8 cq_period_mode);
83 void mlx5e_set_rx_cq_mode_params(struct mlx5e_params *params, u8 cq_period_mode);
86 int mlx5e_mpwrq_validate_regular(struct mlx5_core_dev *mdev, struct mlx5e_params *params);
87 int mlx5e_mpwrq_validate_xsk(struct mlx5_core_dev *mdev, struct mlx5e_params *params,
89 void mlx5e_build_rq_params(struct mlx5_core_dev *mdev, struct mlx5e_params *params);
90 void mlx5e_set_rq_type(struct mlx5_core_dev *mdev, struct mlx5e_params *params);
91 void mlx5e_init_rq_type_params(struct mlx5_core_dev *mdev, struct mlx5e_params *params);
93 u16 mlx5e_get_linear_rq_headroom(struct mlx5e_params *params,
[all …]
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c33 struct link_params *params,
215 static int bnx2x_check_half_open_conn(struct link_params *params,
218 struct link_params *params);
246 static int bnx2x_check_lfa(struct link_params *params) in bnx2x_check_lfa() argument
251 struct bnx2x *bp = params->bp; in bnx2x_check_lfa()
254 REG_RD(bp, params->lfa_base + in bnx2x_check_lfa()
262 REG_WR(bp, params->lfa_base + in bnx2x_check_lfa()
269 link_status = REG_RD(bp, params->shmem_base + in bnx2x_check_lfa()
271 port_mb[params->port].link_status)); in bnx2x_check_lfa()
278 if (params->feature_config_flags & FEATURE_CONFIG_BOOT_FROM_SAN) in bnx2x_check_lfa()
[all …]
/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_mmhubbub.c77 struct mcif_warmup_params *params) in mmhubbub32_warmup_mcif() argument
80 union large_integer start_address_shift = {.quad_part = params->start_address.quad_part >> 5}; in mmhubbub32_warmup_mcif()
85 REG_SET(MMHUBBUB_WARMUP_ADDR_REGION, 0, MMHUBBUB_WARMUP_ADDR_REGION, params->region_size >> 5); in mmhubbub32_warmup_mcif()
91 MMHUBBUB_WARMUP_INC_ADDR, params->address_increment >> 5); in mmhubbub32_warmup_mcif()
104 struct mcif_buf_params *params, in mmhubbub32_config_mcif_buf() argument
110 REG_UPDATE(MCIF_WB_BUF_1_ADDR_Y, MCIF_WB_BUF_1_ADDR_Y, MCIF_ADDR(params->luma_address[0])); in mmhubbub32_config_mcif_buf()
111 …REG_UPDATE(MCIF_WB_BUF_1_ADDR_Y_HIGH, MCIF_WB_BUF_1_ADDR_Y_HIGH, MCIF_ADDR_HIGH(params->luma_addre… in mmhubbub32_config_mcif_buf()
114 REG_UPDATE(MCIF_WB_BUF_1_ADDR_C, MCIF_WB_BUF_1_ADDR_C, MCIF_ADDR(params->chroma_address[0])); in mmhubbub32_config_mcif_buf()
115 …REG_UPDATE(MCIF_WB_BUF_1_ADDR_C_HIGH, MCIF_WB_BUF_1_ADDR_C_HIGH, MCIF_ADDR_HIGH(params->chroma_add… in mmhubbub32_config_mcif_buf()
118 REG_UPDATE(MCIF_WB_BUF_2_ADDR_Y, MCIF_WB_BUF_2_ADDR_Y, MCIF_ADDR(params->luma_address[1])); in mmhubbub32_config_mcif_buf()
[all …]
/drivers/gpu/drm/amd/display/dc/dce/
Ddce_opp.c106 const struct bit_depth_reduction_params *params) in set_truncation() argument
115 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in set_truncation()
117 if (params->flags.TRUNCATE_DEPTH == 1) in set_truncation()
122 else if (params->flags.TRUNCATE_DEPTH == 2) in set_truncation()
131 if (params->flags.TRUNCATE_ENABLED == 0) in set_truncation()
137 params->flags.TRUNCATE_DEPTH, in set_truncation()
139 params->flags.TRUNCATE_MODE); in set_truncation()
151 const struct bit_depth_reduction_params *params) in dce60_set_truncation() argument
160 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in dce60_set_truncation()
162 if (params->flags.TRUNCATE_DEPTH == 1) in dce60_set_truncation()
[all …]
/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_mmhubbub.c77 struct mcif_warmup_params *params) in mmhubbub3_warmup_mcif() argument
80 union large_integer start_address_shift = {.quad_part = params->start_address.quad_part >> 5}; in mmhubbub3_warmup_mcif()
85 REG_SET(MMHUBBUB_WARMUP_ADDR_REGION, 0, MMHUBBUB_WARMUP_ADDR_REGION, params->region_size >> 5); in mmhubbub3_warmup_mcif()
91 MMHUBBUB_WARMUP_INC_ADDR, params->address_increment >> 5); in mmhubbub3_warmup_mcif()
104 struct mcif_buf_params *params, in mmhubbub3_config_mcif_buf() argument
110 REG_UPDATE(MCIF_WB_BUF_1_ADDR_Y, MCIF_WB_BUF_1_ADDR_Y, MCIF_ADDR(params->luma_address[0])); in mmhubbub3_config_mcif_buf()
111 …REG_UPDATE(MCIF_WB_BUF_1_ADDR_Y_HIGH, MCIF_WB_BUF_1_ADDR_Y_HIGH, MCIF_ADDR_HIGH(params->luma_addre… in mmhubbub3_config_mcif_buf()
114 REG_UPDATE(MCIF_WB_BUF_1_ADDR_C, MCIF_WB_BUF_1_ADDR_C, MCIF_ADDR(params->chroma_address[0])); in mmhubbub3_config_mcif_buf()
115 …REG_UPDATE(MCIF_WB_BUF_1_ADDR_C_HIGH, MCIF_WB_BUF_1_ADDR_C_HIGH, MCIF_ADDR_HIGH(params->chroma_add… in mmhubbub3_config_mcif_buf()
118 REG_UPDATE(MCIF_WB_BUF_2_ADDR_Y, MCIF_WB_BUF_2_ADDR_Y, MCIF_ADDR(params->luma_address[1])); in mmhubbub3_config_mcif_buf()
[all …]
/drivers/media/platform/ti/omap3isp/
Disppreview.c150 const struct prev_params *params) in preview_config_luma_enhancement() argument
153 const struct omap3isp_prev_luma *yt = &params->luma; in preview_config_luma_enhancement()
199 const struct prev_params *params) in preview_config_hmed() argument
202 const struct omap3isp_prev_hmed *hmed = &params->hmed; in preview_config_hmed()
234 const struct prev_params *params) in preview_config_cfa() argument
242 const unsigned int *order = cfa_coef_order[prev->params.cfa_order]; in preview_config_cfa()
243 const struct omap3isp_prev_cfa *cfa = &params->cfa; in preview_config_cfa()
270 const struct prev_params *params) in preview_config_chroma_suppression() argument
273 const struct omap3isp_prev_csup *cs = &params->csup; in preview_config_chroma_suppression()
304 const struct prev_params *params) in preview_config_whitebalance() argument
[all …]
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_mmhubbub.c77 struct mcif_buf_params *params, in mmhubbub2_config_mcif_buf() argument
83 REG_UPDATE(MCIF_WB_BUFMGR_SW_CONTROL, MCIF_WB_BUFMGR_SW_LOCK, params->swlock); in mmhubbub2_config_mcif_buf()
86 REG_UPDATE(MCIF_WB_BUF_1_ADDR_Y, MCIF_WB_BUF_1_ADDR_Y, MCIF_ADDR(params->luma_address[0])); in mmhubbub2_config_mcif_buf()
87 …REG_UPDATE(MCIF_WB_BUF_1_ADDR_Y_HIGH, MCIF_WB_BUF_1_ADDR_Y_HIGH, MCIF_ADDR_HIGH(params->luma_addre… in mmhubbub2_config_mcif_buf()
92 REG_UPDATE(MCIF_WB_BUF_1_ADDR_C, MCIF_WB_BUF_1_ADDR_C, MCIF_ADDR(params->chroma_address[0])); in mmhubbub2_config_mcif_buf()
93 …REG_UPDATE(MCIF_WB_BUF_1_ADDR_C_HIGH, MCIF_WB_BUF_1_ADDR_C_HIGH, MCIF_ADDR_HIGH(params->chroma_add… in mmhubbub2_config_mcif_buf()
98 REG_UPDATE(MCIF_WB_BUF_2_ADDR_Y, MCIF_WB_BUF_2_ADDR_Y, MCIF_ADDR(params->luma_address[1])); in mmhubbub2_config_mcif_buf()
99 …REG_UPDATE(MCIF_WB_BUF_2_ADDR_Y_HIGH, MCIF_WB_BUF_2_ADDR_Y_HIGH, MCIF_ADDR_HIGH(params->luma_addre… in mmhubbub2_config_mcif_buf()
104 REG_UPDATE(MCIF_WB_BUF_2_ADDR_C, MCIF_WB_BUF_2_ADDR_C, MCIF_ADDR(params->chroma_address[1])); in mmhubbub2_config_mcif_buf()
105 …REG_UPDATE(MCIF_WB_BUF_2_ADDR_C_HIGH, MCIF_WB_BUF_2_ADDR_C_HIGH, MCIF_ADDR_HIGH(params->chroma_add… in mmhubbub2_config_mcif_buf()
[all …]
Ddcn20_dwb.c72 void dwb2_config_dwb_cnv(struct dwbc *dwbc, struct dc_dwb_params *params) in dwb2_config_dwb_cnv() argument
78 REG_UPDATE_2(CNV_SOURCE_SIZE, CNV_SOURCE_WIDTH, params->cnv_params.src_width, in dwb2_config_dwb_cnv()
79 CNV_SOURCE_HEIGHT, params->cnv_params.src_height); in dwb2_config_dwb_cnv()
82 if (params->cnv_params.crop_en) { in dwb2_config_dwb_cnv()
84 REG_UPDATE(CNV_WINDOW_START, CNV_WINDOW_START_X, params->cnv_params.crop_x); in dwb2_config_dwb_cnv()
85 REG_UPDATE(CNV_WINDOW_START, CNV_WINDOW_START_Y, params->cnv_params.crop_y); in dwb2_config_dwb_cnv()
86 REG_UPDATE(CNV_WINDOW_SIZE, CNV_WINDOW_WIDTH, params->cnv_params.crop_width); in dwb2_config_dwb_cnv()
87 REG_UPDATE(CNV_WINDOW_SIZE, CNV_WINDOW_HEIGHT, params->cnv_params.crop_height); in dwb2_config_dwb_cnv()
93 REG_UPDATE(CNV_MODE, CNV_FRAME_CAPTURE_RATE, params->capture_rate); in dwb2_config_dwb_cnv()
96 REG_UPDATE(CNV_MODE, CNV_OUT_BPC, params->cnv_params.cnv_out_bpc); in dwb2_config_dwb_cnv()
[all …]
/drivers/gpu/drm/amd/display/dc/core/
Ddc_hw_sequencer.c489 block_sequence[*num_steps].params.subvp_pipe_control_lock_fast_params.dc = dc; in hwss_build_fast_sequence()
490 block_sequence[*num_steps].params.subvp_pipe_control_lock_fast_params.lock = true; in hwss_build_fast_sequence()
491 block_sequence[*num_steps].params.subvp_pipe_control_lock_fast_params.pipe_ctx = pipe_ctx; in hwss_build_fast_sequence()
496 block_sequence[*num_steps].params.pipe_control_lock_params.dc = dc; in hwss_build_fast_sequence()
497 block_sequence[*num_steps].params.pipe_control_lock_params.lock = true; in hwss_build_fast_sequence()
498 block_sequence[*num_steps].params.pipe_control_lock_params.pipe_ctx = pipe_ctx; in hwss_build_fast_sequence()
504 block_sequence[*num_steps].params.send_dmcub_cmd_params.ctx = dc->ctx; in hwss_build_fast_sequence()
505 block_sequence[*num_steps].params.send_dmcub_cmd_params.cmd = &(dc_dmub_cmd[i].dmub_cmd); in hwss_build_fast_sequence()
506 block_sequence[*num_steps].params.send_dmcub_cmd_params.wait_type = dc_dmub_cmd[i].wait_type; in hwss_build_fast_sequence()
516 block_sequence[*num_steps].params.set_flip_control_gsl_params.pipe_ctx = current_mpc_pipe; in hwss_build_fast_sequence()
[all …]
/drivers/staging/media/atomisp/pci/runtime/isp_param/src/
Disp_param.c30 mem_init->params[pclass][mem].address = address; in ia_css_isp_param_set_mem_init()
31 mem_init->params[pclass][mem].size = (uint32_t)size; in ia_css_isp_param_set_mem_init()
41 mem_init->params[pclass][mem].address = address; in ia_css_isp_param_set_css_mem_init()
42 mem_init->params[pclass][mem].size = (uint32_t)size; in ia_css_isp_param_set_css_mem_init()
52 mem_init->params[pclass][mem].address = address; in ia_css_isp_param_set_isp_mem_init()
53 mem_init->params[pclass][mem].size = (uint32_t)size; in ia_css_isp_param_set_isp_mem_init()
63 return &mem_init->params[pclass][mem]; in ia_css_isp_param_get_mem_init()
72 return &mem_init->params[pclass][mem]; in ia_css_isp_param_get_css_mem_init()
81 return &mem_init->params[pclass][mem]; in ia_css_isp_param_get_isp_mem_init()
93 memset(isp_mem_if->params[pclass], 0, sizeof(isp_mem_if->params[pclass])); in ia_css_init_memory_interface()
[all …]
/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c465 static void iwl_scan_build_ssids(struct iwl_mvm_scan_params *params, in iwl_scan_build_ssids() argument
478 for (i = 0, j = params->n_match_sets - 1; in iwl_scan_build_ssids()
482 if (!params->match_sets[j].ssid.ssid_len) in iwl_scan_build_ssids()
485 ssids[i].len = params->match_sets[j].ssid.ssid_len; in iwl_scan_build_ssids()
486 memcpy(ssids[i].ssid, params->match_sets[j].ssid.ssid, in iwl_scan_build_ssids()
491 for (j = params->n_ssids - 1; in iwl_scan_build_ssids()
494 index = iwl_ssid_exist(params->ssids[j].ssid, in iwl_scan_build_ssids()
495 params->ssids[j].ssid_len, in iwl_scan_build_ssids()
499 ssids[i].len = params->ssids[j].ssid_len; in iwl_scan_build_ssids()
500 memcpy(ssids[i].ssid, params->ssids[j].ssid, in iwl_scan_build_ssids()
[all …]
/drivers/soundwire/
Dgeneric_bandwidth_allocation.c40 struct sdw_bus_params *b_params = &m_rt->bus->params; in sdw_compute_slave_ports()
45 rate = m_rt->stream->params.rate; in sdw_compute_slave_ports()
46 bps = m_rt->stream->params.bps; in sdw_compute_slave_ports()
47 sample_int = (m_rt->bus->params.curr_dr_freq / rate); in sdw_compute_slave_ports()
85 struct sdw_group_params *params, in sdw_compute_master_ports() argument
91 struct sdw_bus_params *b_params = &bus->params; in sdw_compute_master_ports()
95 rate = m_rt->stream->params.rate; in sdw_compute_master_ports()
96 bps = m_rt->stream->params.bps; in sdw_compute_master_ports()
98 sample_int = (bus->params.curr_dr_freq / rate); in sdw_compute_master_ports()
100 if (rate != params->rate) in sdw_compute_master_ports()
[all …]
/drivers/firmware/
Dedd.c134 if (isprint(info->params.host_bus_type[i])) { in edd_show_host_bus()
135 p += scnprintf(p, left, "%c", info->params.host_bus_type[i]); in edd_show_host_bus()
141 if (!strncmp(info->params.host_bus_type, "ISA", 3)) { in edd_show_host_bus()
143 info->params.interface_path.isa.base_address); in edd_show_host_bus()
144 } else if (!strncmp(info->params.host_bus_type, "PCIX", 4) || in edd_show_host_bus()
145 !strncmp(info->params.host_bus_type, "PCI", 3) || in edd_show_host_bus()
146 !strncmp(info->params.host_bus_type, "XPRS", 4)) { in edd_show_host_bus()
149 info->params.interface_path.pci.bus, in edd_show_host_bus()
150 info->params.interface_path.pci.slot, in edd_show_host_bus()
151 info->params.interface_path.pci.function, in edd_show_host_bus()
[all …]
/drivers/media/pci/cx23885/
Dcx23885-input.c65 struct v4l2_subdev_ir_parameters params; in cx23885_input_rx_work_handler() local
106 v4l2_subdev_call(dev->sd_ir, ir, rx_g_parameters, &params); in cx23885_input_rx_work_handler()
107 params.enable = false; in cx23885_input_rx_work_handler()
109 params.shutdown = atomic_read(&dev->ir_input_stopping); in cx23885_input_rx_work_handler()
110 v4l2_subdev_call(dev->sd_ir, ir, rx_s_parameters, &params); in cx23885_input_rx_work_handler()
118 params.enable = true; in cx23885_input_rx_work_handler()
120 params.shutdown = atomic_read(&dev->ir_input_stopping); in cx23885_input_rx_work_handler()
121 v4l2_subdev_call(dev->sd_ir, ir, rx_s_parameters, &params); in cx23885_input_rx_work_handler()
127 struct v4l2_subdev_ir_parameters params; in cx23885_input_ir_start() local
134 v4l2_subdev_call(dev->sd_ir, ir, rx_g_parameters, &params); in cx23885_input_ir_start()
[all …]
/drivers/mtd/spi-nor/
Dspansion.c81 const struct spansion_nor_params *priv_params = nor->params->priv; in spansion_nor_clear_sr()
101 struct spi_nor_flash_parameter *params = nor->params; in cypress_nor_sr_ready_and_clear_reg() local
103 CYPRESS_NOR_RD_ANY_REG_OP(params->addr_mode_nbytes, addr, in cypress_nor_sr_ready_and_clear_reg()
108 op.dummy.nbytes = params->rdsr_dummy; in cypress_nor_sr_ready_and_clear_reg()
143 struct spi_nor_flash_parameter *params = nor->params; in cypress_nor_sr_ready_and_clear() local
148 for (i = 0; i < params->n_dice; i++) { in cypress_nor_sr_ready_and_clear()
149 addr = params->vreg_offset[i] + SPINOR_REG_CYPRESS_STR1; in cypress_nor_sr_ready_and_clear()
165 u8 addr_mode_nbytes = nor->params->addr_mode_nbytes; in cypress_nor_set_memlat()
198 CYPRESS_NOR_WR_ANY_REG_OP(nor->params->addr_mode_nbytes, in cypress_nor_set_octal_dtr_bits()
206 const struct spi_nor_flash_parameter *params = nor->params; in cypress_nor_octal_dtr_en() local
[all …]

12345678910>>...44