/drivers/staging/media/atomisp/pci/ |
D | ia_css_isp_params.c | 73 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 ¶ms->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 …]
|
D | sh_css_params.c | 700 struct ia_css_isp_parameters *params, 711 struct ia_css_isp_parameters *params, 717 struct ia_css_isp_parameters *params, 768 convert_allocate_fpntbl(struct ia_css_isp_parameters *params) in convert_allocate_fpntbl() argument 776 assert(params); in convert_allocate_fpntbl() 778 data_ptr = params->fpn_config.data; in convert_allocate_fpntbl() 779 isp_format_data_size = params->fpn_config.height * params->fpn_config.width * in convert_allocate_fpntbl() 789 for (i = 0; i < params->fpn_config.height; i++) { in convert_allocate_fpntbl() 791 j < params->fpn_config.width; in convert_allocate_fpntbl() 804 store_fpntbl(struct ia_css_isp_parameters *params, ia_css_ptr ptr) in store_fpntbl() argument [all …]
|
D | ia_css_isp_params.h | 153 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/ |
D | rkisp1-params.c | 37 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/ |
D | cpia1.c | 214 #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/ |
D | command_table.c | 37 #define EXEC_BIOS_CMD_TABLE(command, params)\ argument 40 (uint32_t *)¶ms) == 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, ¶ms); 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, ¶ms); 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/phy/broadcom/ |
D | phy-brcm-usb-init.c | 134 #define USB_CTRL_MASK_FAMILY(params, reg, field) \ argument 135 (params->usb_reg_bits_map[USB_CTRL_##reg##_##field##_SELECTOR]) 137 #define USB_CTRL_SET_FAMILY(params, reg, field) \ argument 138 usb_ctrl_set_family(params, USB_CTRL_##reg, \ 140 #define USB_CTRL_UNSET_FAMILY(params, reg, field) \ argument 141 usb_ctrl_unset_family(params, USB_CTRL_##reg, \ 421 void usb_ctrl_unset_family(struct brcm_usb_init_params *params, in usb_ctrl_unset_family() argument 426 mask = params->usb_reg_bits_map[field]; in usb_ctrl_unset_family() 427 brcm_usb_ctrl_unset(params->regs[BRCM_REGS_CTRL] + reg_offset, mask); in usb_ctrl_unset_family() 431 void usb_ctrl_set_family(struct brcm_usb_init_params *params, in usb_ctrl_set_family() argument [all …]
|
D | phy-brcm-usb-init-synopsys.c | 93 static void usb_mdio_write_7211b0(struct brcm_usb_init_params *params, in usb_mdio_write_7211b0() argument 96 void __iomem *usb_mdio = params->regs[BRCM_REGS_USB_MDIO]; in usb_mdio_write_7211b0() 112 struct brcm_usb_init_params *params, uint8_t addr) in usb_mdio_read_7211b0() argument 114 void __iomem *usb_mdio = params->regs[BRCM_REGS_USB_MDIO]; in usb_mdio_read_7211b0() 129 static void usb2_eye_fix_7211b0(struct brcm_usb_init_params *params) in usb2_eye_fix_7211b0() argument 132 usb_mdio_write_7211b0(params, 0x1f, 0x80a0); in usb2_eye_fix_7211b0() 135 usb_mdio_write_7211b0(params, 0x0a, 0xc6a0); in usb2_eye_fix_7211b0() 138 static void xhci_soft_reset(struct brcm_usb_init_params *params, in xhci_soft_reset() argument 141 void __iomem *ctrl = params->regs[BRCM_REGS_CTRL]; in xhci_soft_reset() 151 static void usb_init_ipp(struct brcm_usb_init_params *params) in usb_init_ipp() argument [all …]
|
/drivers/usb/gadget/function/ |
D | rndis.c | 70 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/net/ethernet/mellanox/mlx5/core/en/ |
D | params.c | 217 u16 mlx5e_get_linear_rq_headroom(struct mlx5e_params *params, in mlx5e_get_linear_rq_headroom() argument 226 if (params->xdp_prog) in mlx5e_get_linear_rq_headroom() 234 static u32 mlx5e_rx_get_linear_sz_xsk(struct mlx5e_params *params, in mlx5e_rx_get_linear_sz_xsk() argument 237 u32 hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_rx_get_linear_sz_xsk() 242 static u32 mlx5e_rx_get_linear_sz_skb(struct mlx5e_params *params, bool xsk) in mlx5e_rx_get_linear_sz_skb() argument 245 u16 headroom = xsk ? 0 : mlx5e_get_linear_rq_headroom(params, NULL); in mlx5e_rx_get_linear_sz_skb() 246 u32 hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_rx_get_linear_sz_skb() 252 struct mlx5e_params *params, in mlx5e_rx_get_linear_stride_sz() argument 263 if (params->xdp_prog) in mlx5e_rx_get_linear_stride_sz() 266 return roundup_pow_of_two(mlx5e_rx_get_linear_sz_skb(params, false)); in mlx5e_rx_get_linear_stride_sz() [all …]
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 33 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/ |
D | dcn32_mmhubbub.c | 77 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/ |
D | dce_opp.c | 106 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/ |
D | dcn30_mmhubbub.c | 77 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/ |
D | isppreview.c | 150 const struct prev_params *params) in preview_config_luma_enhancement() argument 153 const struct omap3isp_prev_luma *yt = ¶ms->luma; in preview_config_luma_enhancement() 199 const struct prev_params *params) in preview_config_hmed() argument 202 const struct omap3isp_prev_hmed *hmed = ¶ms->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 = ¶ms->cfa; in preview_config_cfa() 270 const struct prev_params *params) in preview_config_chroma_suppression() argument 273 const struct omap3isp_prev_csup *cs = ¶ms->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/ |
D | dcn20_mmhubbub.c | 77 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 …]
|
D | dcn20_dwb.c | 72 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/staging/media/atomisp/pci/runtime/isp_param/src/ |
D | isp_param.c | 30 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/ |
D | scan.c | 459 static void iwl_scan_build_ssids(struct iwl_mvm_scan_params *params, in iwl_scan_build_ssids() argument 472 for (i = 0, j = params->n_match_sets - 1; in iwl_scan_build_ssids() 476 if (!params->match_sets[j].ssid.ssid_len) in iwl_scan_build_ssids() 479 ssids[i].len = params->match_sets[j].ssid.ssid_len; in iwl_scan_build_ssids() 480 memcpy(ssids[i].ssid, params->match_sets[j].ssid.ssid, in iwl_scan_build_ssids() 485 for (j = params->n_ssids - 1; in iwl_scan_build_ssids() 488 index = iwl_ssid_exist(params->ssids[j].ssid, in iwl_scan_build_ssids() 489 params->ssids[j].ssid_len, in iwl_scan_build_ssids() 493 ssids[i].len = params->ssids[j].ssid_len; in iwl_scan_build_ssids() 494 memcpy(ssids[i].ssid, params->ssids[j].ssid, in iwl_scan_build_ssids() [all …]
|
/drivers/soundwire/ |
D | generic_bandwidth_allocation.c | 46 struct sdw_bus_params *b_params = &m_rt->bus->params; in sdw_compute_slave_ports() 51 rate = m_rt->stream->params.rate; in sdw_compute_slave_ports() 52 bps = m_rt->stream->params.bps; in sdw_compute_slave_ports() 53 sample_int = (m_rt->bus->params.curr_dr_freq / rate); in sdw_compute_slave_ports() 90 struct sdw_group_params *params, in sdw_compute_master_ports() argument 96 struct sdw_bus_params *b_params = &bus->params; in sdw_compute_master_ports() 100 rate = m_rt->stream->params.rate; in sdw_compute_master_ports() 101 bps = m_rt->stream->params.bps; in sdw_compute_master_ports() 103 sample_int = (bus->params.curr_dr_freq / rate); in sdw_compute_master_ports() 105 if (rate != params->rate) in sdw_compute_master_ports() [all …]
|
/drivers/firmware/ |
D | edd.c | 134 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/ |
D | cx23885-input.c | 65 struct v4l2_subdev_ir_parameters params; in cx23885_input_rx_work_handler() local 106 v4l2_subdev_call(dev->sd_ir, ir, rx_g_parameters, ¶ms); 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, ¶ms); 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, ¶ms); 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, ¶ms); in cx23885_input_ir_start() [all …]
|
/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_vbif.c | 83 u32 *ot_lim, struct dpu_vbif_set_ot_params *params) in _dpu_vbif_apply_dynamic_ot_limit() argument 93 if (!params->is_wfd) in _dpu_vbif_apply_dynamic_ot_limit() 96 pps = params->frame_rate; in _dpu_vbif_apply_dynamic_ot_limit() 97 pps *= params->width; in _dpu_vbif_apply_dynamic_ot_limit() 98 pps *= params->height; in _dpu_vbif_apply_dynamic_ot_limit() 100 tbl = params->rd ? &vbif->cap->dynamic_ot_rd_tbl : in _dpu_vbif_apply_dynamic_ot_limit() 111 dpu_vbif_name(vbif->idx), params->xin_id, in _dpu_vbif_apply_dynamic_ot_limit() 112 params->width, params->height, params->frame_rate, in _dpu_vbif_apply_dynamic_ot_limit() 123 struct dpu_vbif_set_ot_params *params) in _dpu_vbif_get_ot_limit() argument 133 if (vbif->cap->default_ot_wr_limit && !params->rd) in _dpu_vbif_get_ot_limit() [all …]
|
/drivers/tee/optee/ |
D | rpc.c | 21 if ((arg->params[0].attr & OPTEE_MSG_ATTR_TYPE_MASK) != in handle_rpc_func_cmd_get_time() 26 arg->params[0].u.value.a = ts.tv_sec; in handle_rpc_func_cmd_get_time() 27 arg->params[0].u.value.b = ts.tv_nsec; in handle_rpc_func_cmd_get_time() 40 struct tee_param *params; in handle_rpc_func_cmd_i2c_transfer() local 57 params = kmalloc_array(arg->num_params, sizeof(struct tee_param), in handle_rpc_func_cmd_i2c_transfer() 59 if (!params) { in handle_rpc_func_cmd_i2c_transfer() 64 if (optee->ops->from_msg_param(optee, params, arg->num_params, in handle_rpc_func_cmd_i2c_transfer() 65 arg->params)) in handle_rpc_func_cmd_i2c_transfer() 69 if (params[i].attr != attr[i]) in handle_rpc_func_cmd_i2c_transfer() 73 adapter = i2c_get_adapter(params[0].u.value.b); in handle_rpc_func_cmd_i2c_transfer() [all …]
|
/drivers/net/ethernet/intel/ice/ |
D | ice_flow.c | 662 static u16 ice_flow_calc_seg_sz(struct ice_flow_prof_params *params, u8 seg) in ice_flow_calc_seg_sz() argument 667 sz = (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_VLAN) ? in ice_flow_calc_seg_sz() 671 if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_IPV4) in ice_flow_calc_seg_sz() 673 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_IPV6) in ice_flow_calc_seg_sz() 675 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_ARP) in ice_flow_calc_seg_sz() 677 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDRS_L4_MASK) in ice_flow_calc_seg_sz() 682 if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_ICMP) in ice_flow_calc_seg_sz() 684 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_TCP) in ice_flow_calc_seg_sz() 686 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_UDP) in ice_flow_calc_seg_sz() 688 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_SCTP) in ice_flow_calc_seg_sz() [all …]
|