Home
last modified time | relevance | path

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

12345678910>>...79

/linux-6.6.21/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 …]
/linux-6.6.21/tools/tracing/rtla/src/
Dtimerlat_top.c160 struct timerlat_top_params *params; in timerlat_top_handler() local
166 params = top->params; in timerlat_top_handler()
168 if (!params->aa_only) { in timerlat_top_handler()
183 struct timerlat_top_params *params = top->params; in timerlat_top_header() local
191 if (params->user_top) in timerlat_top_header()
197 params->output_divisor == 1 ? "ns" : "us", in timerlat_top_header()
198 params->output_divisor == 1 ? "ns" : "us"); in timerlat_top_header()
200 if (params->user_top) { in timerlat_top_header()
202 params->output_divisor == 1 ? "ns" : "us"); in timerlat_top_header()
208 if (params->user_top) in timerlat_top_header()
[all …]
Dtimerlat_hist.c172 struct timerlat_hist_params *params = tool->params; in timerlat_hist_update() local
178 if (params->output_divisor) in timerlat_hist_update()
179 latency = latency / params->output_divisor; in timerlat_hist_update()
236 struct timerlat_hist_params *params = tool->params; in timerlat_hist_header() local
242 if (params->no_header) in timerlat_hist_header()
248 params->output_divisor == 1 ? "nanoseconds" : "microseconds", in timerlat_hist_header()
249 params->output_divisor == 1 ? "ns" : "us"); in timerlat_hist_header()
253 if (!params->no_index) in timerlat_hist_header()
257 if (params->cpus && !CPU_ISSET(cpu, &params->monitored_cpus)) in timerlat_hist_header()
263 if (!params->no_irq) in timerlat_hist_header()
[all …]
Dosnoise_top.c158 struct osnoise_top_params *params = top->params; in osnoise_top_header() local
167 if (params->mode == MODE_OSNOISE) { in osnoise_top_header()
170 } else if (params->mode == MODE_HWNOISE) { in osnoise_top_header()
187 if (params->mode == MODE_HWNOISE) in osnoise_top_header()
211 struct osnoise_top_params *params = tool->params; in osnoise_top_print() local
237 if (params->mode == MODE_HWNOISE) { in osnoise_top_print()
251 osnoise_print_stats(struct osnoise_top_params *params, struct osnoise_tool *top) in osnoise_print_stats() argument
260 if (!params->quiet) in osnoise_print_stats()
266 if (params->cpus && !CPU_ISSET(i, &params->monitored_cpus)) in osnoise_print_stats()
278 static void osnoise_top_usage(struct osnoise_top_params *params, char *usage) in osnoise_top_usage() argument
[all …]
Dosnoise_hist.c128 struct osnoise_hist_params *params = tool->params; in osnoise_hist_update_multiple() local
135 if (params->output_divisor) in osnoise_hist_update_multiple()
136 duration = duration / params->output_divisor; in osnoise_hist_update_multiple()
170 struct osnoise_hist_params *params = tool->params; in osnoise_init_trace_hist() local
179 bucket_size = params->output_divisor * params->bucket_size; in osnoise_init_trace_hist()
255 struct osnoise_hist_params *params = tool->params; in osnoise_hist_header() local
261 if (params->no_header) in osnoise_hist_header()
267 params->output_divisor == 1 ? "nanoseconds" : "microseconds", in osnoise_hist_header()
268 params->output_divisor == 1 ? "ns" : "us"); in osnoise_hist_header()
272 if (!params->no_index) in osnoise_hist_header()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/sound/soc/atmel/
Datmel-pcm-pdc.c77 struct atmel_pcm_dma_params *params; member
92 struct atmel_pcm_dma_params *params = prtd->params; in atmel_pcm_dma_irq() local
97 if (ssc_sr & params->mask->ssc_endbuf) { in atmel_pcm_dma_irq()
101 params->name, ssc_sr, count); in atmel_pcm_dma_irq()
104 ssc_writex(params->ssc->regs, ATMEL_PDC_PTCR, in atmel_pcm_dma_irq()
105 params->mask->pdc_disable); in atmel_pcm_dma_irq()
110 ssc_writex(params->ssc->regs, params->pdc->xpr, in atmel_pcm_dma_irq()
112 ssc_writex(params->ssc->regs, params->pdc->xcr, in atmel_pcm_dma_irq()
113 prtd->period_size / params->pdc_xfer_size); in atmel_pcm_dma_irq()
114 ssc_writex(params->ssc->regs, ATMEL_PDC_PTCR, in atmel_pcm_dma_irq()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/tools/testing/selftests/alsa/
Dtest-pcmtest-driver.c84 snd_pcm_hw_params_t *hwparams, struct pcmtest_test_params *params, in setup_handle() argument
96 snd_pcm_hw_params_set_access(*handle, hwparams, params->access); in setup_handle()
97 snd_pcm_hw_params_set_format(*handle, hwparams, params->format); in setup_handle()
98 snd_pcm_hw_params_set_channels(*handle, hwparams, params->channels); in setup_handle()
99 snd_pcm_hw_params_set_rate_near(*handle, hwparams, &params->rate, 0); in setup_handle()
100 snd_pcm_hw_params_set_period_size_near(*handle, hwparams, &params->period_size, 0); in setup_handle()
101 snd_pcm_hw_params_set_buffer_size_near(*handle, hwparams, &params->buffer_size); in setup_handle()
106 snd_pcm_sw_params_set_avail_min(*handle, swparams, params->period_size); in setup_handle()
107 snd_pcm_hw_params_set_buffer_size_near(*handle, hwparams, &params->buffer_size); in setup_handle()
108 snd_pcm_hw_params_set_period_size_near(*handle, hwparams, &params->period_size, 0); in setup_handle()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/crypto/
Ddh_helper.c40 int crypto_dh_encode_key(char *buf, unsigned int len, const struct dh *params) in crypto_dh_encode_key() argument
53 ptr = dh_pack_data(ptr, end, &params->key_size, in crypto_dh_encode_key()
54 sizeof(params->key_size)); in crypto_dh_encode_key()
55 ptr = dh_pack_data(ptr, end, &params->p_size, sizeof(params->p_size)); in crypto_dh_encode_key()
56 ptr = dh_pack_data(ptr, end, &params->g_size, sizeof(params->g_size)); in crypto_dh_encode_key()
57 ptr = dh_pack_data(ptr, end, params->key, params->key_size); in crypto_dh_encode_key()
58 ptr = dh_pack_data(ptr, end, params->p, params->p_size); in crypto_dh_encode_key()
59 ptr = dh_pack_data(ptr, end, params->g, params->g_size); in crypto_dh_encode_key()
66 int __crypto_dh_decode_key(const char *buf, unsigned int len, struct dh *params) in __crypto_dh_decode_key() argument
78 ptr = dh_unpack_data(&params->key_size, ptr, sizeof(params->key_size)); in __crypto_dh_decode_key()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/security/keys/
Dkeyctl_pkey.c17 static void keyctl_pkey_params_free(struct kernel_pkey_params *params) in keyctl_pkey_params_free() argument
19 kfree(params->info); in keyctl_pkey_params_free()
20 key_put(params->key); in keyctl_pkey_params_free()
38 static int keyctl_pkey_params_parse(struct kernel_pkey_params *params) in keyctl_pkey_params_parse() argument
42 char *c = params->info, *p, *q; in keyctl_pkey_params_parse()
59 params->encoding = q; in keyctl_pkey_params_parse()
63 params->hash_algo = q; in keyctl_pkey_params_parse()
80 struct kernel_pkey_params *params) in keyctl_pkey_params_get() argument
86 memset(params, 0, sizeof(*params)); in keyctl_pkey_params_get()
87 params->encoding = "raw"; in keyctl_pkey_params_get()
[all …]
/linux-6.6.21/include/net/tc_act/
Dtc_police.h25 struct tcf_police_params __rcu *params; member
59 struct tcf_police_params *params; in tcf_police_rate_bytes_ps() local
61 params = rcu_dereference_protected(police->params, in tcf_police_rate_bytes_ps()
63 return params->rate.rate_bytes_ps; in tcf_police_rate_bytes_ps()
69 struct tcf_police_params *params; in tcf_police_burst() local
72 params = rcu_dereference_protected(police->params, in tcf_police_burst()
98 burst = div_u64(params->tcfp_burst * params->rate.rate_bytes_ps, in tcf_police_burst()
107 struct tcf_police_params *params; in tcf_police_rate_pkt_ps() local
109 params = rcu_dereference_protected(police->params, in tcf_police_rate_pkt_ps()
111 return params->ppsrate.rate_pkts_ps; in tcf_police_rate_pkt_ps()
[all …]
/linux-6.6.21/arch/x86/kernel/
Dkexec-bzimage64.c55 static int setup_initrd(struct boot_params *params, in setup_initrd() argument
58 params->hdr.ramdisk_image = initrd_load_addr & 0xffffffffUL; in setup_initrd()
59 params->hdr.ramdisk_size = initrd_len & 0xffffffffUL; in setup_initrd()
61 params->ext_ramdisk_image = initrd_load_addr >> 32; in setup_initrd()
62 params->ext_ramdisk_size = initrd_len >> 32; in setup_initrd()
67 static int setup_cmdline(struct kimage *image, struct boot_params *params, in setup_cmdline() argument
72 char *cmdline_ptr = ((char *)params) + cmdline_offset; in setup_cmdline()
90 params->hdr.cmd_line_ptr = cmdline_low_32; in setup_cmdline()
92 params->ext_cmd_line_ptr = cmdline_ext_32; in setup_cmdline()
97 static int setup_e820_entries(struct boot_params *params) in setup_e820_entries() argument
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/tools/perf/bench/
Dfutex-requeue.c44 static struct bench_futex_parameters params = { variable
53 OPT_UINTEGER('t', "threads", &params.nthreads, "Specify amount of threads"),
54 OPT_UINTEGER('q', "nrequeue", &params.nrequeue, "Specify amount of threads to requeue at once"),
55 OPT_BOOLEAN( 's', "silent", &params.silent, "Silent mode: do not display data/details"),
56 OPT_BOOLEAN( 'S', "shared", &params.fshared, "Use shared futexes instead of private ones"),
57 OPT_BOOLEAN( 'm', "mlockall", &params.mlockall, "Lock all current and future memory"),
58 OPT_BOOLEAN( 'B', "broadcast", &params.broadcast, "Requeue all threads at once"),
59 OPT_BOOLEAN( 'p', "pi", &params.pi, "Use PI-aware variants of FUTEX_CMP_REQUEUE"),
77 params.nthreads, in print_summary()
94 if (!params.pi) { in workerfn()
[all …]
/linux-6.6.21/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 …]

12345678910>>...79