| /linux/tools/tracing/rtla/src/ |
| H A D | common.c | 31 static void set_signals(struct common_params *params) in set_signals() argument 34 if (params->duration) { in set_signals() 36 alarm(params->duration); in set_signals() 44 common_apply_config(struct osnoise_tool *tool, struct common_params *params) in common_apply_config() argument 48 if (!params->sleep_time) in common_apply_config() 49 params->sleep_time = 1; in common_apply_config() 51 retval = osnoise_set_cpus(tool->context, params->cpus ? params->cpus : "all"); in common_apply_config() 57 if (!params->cpus) { in common_apply_config() 59 CPU_SET(i, ¶ms->monitored_cpus); in common_apply_config() 62 if (params->hk_cpus) { in common_apply_config() [all …]
|
| H A D | timerlat_hist.c | 141 struct timerlat_params *params = to_timerlat_params(tool->params); in timerlat_hist_update() local 147 if (params->common.output_divisor) in timerlat_hist_update() 148 latency = latency / params->common.output_divisor; in timerlat_hist_update() 288 struct timerlat_params *params = to_timerlat_params(tool->params); in timerlat_hist_header() local 294 if (params->common.hist.no_header) in timerlat_hist_header() 300 params->common.output_divisor == 1 ? "nanoseconds" : "microseconds", in timerlat_hist_header() 301 params->common.output_divisor == 1 ? "ns" : "us"); in timerlat_hist_header() 305 if (!params->common.hist.no_index) in timerlat_hist_header() 308 for_each_monitored_cpu(cpu, data->nr_cpus, ¶ms->common) { in timerlat_hist_header() 313 if (!params->common.hist.no_irq) in timerlat_hist_header() [all …]
|
| H A D | timerlat.c | 29 timerlat_apply_config(struct osnoise_tool *tool, struct timerlat_params *params) in timerlat_apply_config() argument 39 params->mode = TRACING_MODE_TRACEFS; in timerlat_apply_config() 42 params->mode = TRACING_MODE_TRACEFS; in timerlat_apply_config() 44 retval = timerlat_bpf_init(params); in timerlat_apply_config() 47 params->mode = TRACING_MODE_TRACEFS; in timerlat_apply_config() 51 if (params->mode != TRACING_MODE_BPF) { in timerlat_apply_config() 56 retval = osnoise_set_stop_us(tool->context, params->common.stop_us); in timerlat_apply_config() 62 retval = osnoise_set_stop_total_us(tool->context, params->common.stop_total_us); in timerlat_apply_config() 71 params->timerlat_period_us ? in timerlat_apply_config() 72 params->timerlat_period_us : in timerlat_apply_config() [all …]
|
| H A D | timerlat_top.c | 135 struct timerlat_params *params = to_timerlat_params(tool->params); in timerlat_top_update() local 139 if (params->common.output_divisor) in timerlat_top_update() 140 latency = latency / params->common.output_divisor; in timerlat_top_update() 177 if (!top->params->aa_only) { in timerlat_top_handler() 260 static void timerlat_top_header(struct timerlat_params *params, struct osnoise_tool *top) in timerlat_top_header() argument 263 bool pretty = params->common.pretty_output; in timerlat_top_header() 272 if (params->common.user_data) in timerlat_top_header() 280 params->common.output_divisor == 1 ? "ns" : "us", in timerlat_top_header() 281 params->common.output_divisor == 1 ? "ns" : "us"); in timerlat_top_header() 283 if (params->common.user_data) { in timerlat_top_header() [all …]
|
| H A D | osnoise_hist.c | 103 struct osnoise_params *params = to_osnoise_params(tool->params); in osnoise_hist_update_multiple() local 110 if (params->common.output_divisor) in osnoise_hist_update_multiple() 111 duration = duration / params->common.output_divisor; in osnoise_hist_update_multiple() 145 struct osnoise_params *params = to_osnoise_params(tool->params); in osnoise_init_trace_hist() local 154 bucket_size = params->common.output_divisor * params->common.hist.bucket_size; in osnoise_init_trace_hist() 230 struct osnoise_params *params = to_osnoise_params(tool->params); in osnoise_hist_header() local 236 if (params->common.hist.no_header) in osnoise_hist_header() 242 params->common.output_divisor == 1 ? "nanoseconds" : "microseconds", in osnoise_hist_header() 243 params->common.output_divisor == 1 ? "ns" : "us"); in osnoise_hist_header() 247 if (!params->common.hist.no_index) in osnoise_hist_header() [all …]
|
| H A D | osnoise_top.c | 130 struct osnoise_params *params = to_osnoise_params(top->params); in osnoise_top_header() local 132 bool pretty = params->common.pretty_output; in osnoise_top_header() 142 if (params->mode == MODE_OSNOISE) { in osnoise_top_header() 145 } else if (params->mode == MODE_HWNOISE) { in osnoise_top_header() 166 if (params->mode == MODE_HWNOISE) in osnoise_top_header() 191 struct osnoise_params *params = to_osnoise_params(tool->params); in osnoise_top_print() local 217 if (params->mode == MODE_HWNOISE) { in osnoise_top_print() 233 struct osnoise_params *params = to_osnoise_params(top->params); in osnoise_print_stats() local 241 if (!params->common.quiet) in osnoise_print_stats() 246 for_each_monitored_cpu(i, nr_cpus, ¶ms->common) { in osnoise_print_stats() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_hw_sequencer.c | 698 struct drr_params *params) in set_drr_and_clear_adjust_pending() argument 704 pipe_ctx->stream_res.tg, params); in set_drr_and_clear_adjust_pending() 752 block_sequence[*num_steps].params.wait_for_dcc_meta_propagation_params.dc = dc; in hwss_build_fast_sequence() 753 …block_sequence[*num_steps].params.wait_for_dcc_meta_propagation_params.top_pipe_to_program = pipe_… in hwss_build_fast_sequence() 758 block_sequence[*num_steps].params.subvp_pipe_control_lock_fast_params.dc = dc; in hwss_build_fast_sequence() 759 block_sequence[*num_steps].params.subvp_pipe_control_lock_fast_params.lock = true; in hwss_build_fast_sequence() 760 block_sequence[*num_steps].params.subvp_pipe_control_lock_fast_params.subvp_immediate_flip = in hwss_build_fast_sequence() 766 block_sequence[*num_steps].params.dmub_hw_control_lock_fast_params.dc = dc; in hwss_build_fast_sequence() 767 block_sequence[*num_steps].params.dmub_hw_control_lock_fast_params.lock = true; in hwss_build_fast_sequence() 768 block_sequence[*num_steps].params.dmub_hw_control_lock_fast_params.is_required = in hwss_build_fast_sequence() [all …]
|
| /linux/drivers/media/usb/gspca/ |
| H A 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 …]
|
| /linux/sound/soc/atmel/ |
| H A D | atmel-pcm-pdc.c | 77 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/tools/testing/selftests/alsa/ |
| H A D | test-pcmtest-driver.c | 84 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, ¶ms->rate, 0); in setup_handle() 100 snd_pcm_hw_params_set_period_size_near(*handle, hwparams, ¶ms->period_size, 0); in setup_handle() 101 snd_pcm_hw_params_set_buffer_size_near(*handle, hwparams, ¶ms->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, ¶ms->buffer_size); in setup_handle() 108 snd_pcm_hw_params_set_period_size_near(*handle, hwparams, ¶ms->period_size, 0); in setup_handle() [all …]
|
| /linux/drivers/usb/gadget/function/ |
| H A 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 …]
|
| /linux/crypto/ |
| H A D | dh_helper.c | 40 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, ¶ms->key_size, in crypto_dh_encode_key() 54 sizeof(params->key_size)); in crypto_dh_encode_key() 55 ptr = dh_pack_data(ptr, end, ¶ms->p_size, sizeof(params->p_size)); in crypto_dh_encode_key() 56 ptr = dh_pack_data(ptr, end, ¶ms->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(¶ms->key_size, ptr, sizeof(params->key_size)); in __crypto_dh_decode_key() [all …]
|
| /linux/security/keys/ |
| H A D | keyctl_pkey.c | 17 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/drivers/phy/broadcom/ |
| H A D | phy-brcm-usb-init-synopsys.c | 107 static void usb_mdio_write_7211b0(struct brcm_usb_init_params *params, in usb_mdio_write_7211b0() argument 110 void __iomem *usb_mdio = params->regs[BRCM_REGS_USB_MDIO]; in usb_mdio_write_7211b0() 126 struct brcm_usb_init_params *params, uint8_t addr) in usb_mdio_read_7211b0() argument 128 void __iomem *usb_mdio = params->regs[BRCM_REGS_USB_MDIO]; in usb_mdio_read_7211b0() 143 static void usb2_eye_fix_7211b0(struct brcm_usb_init_params *params) in usb2_eye_fix_7211b0() argument 146 usb_mdio_write_7211b0(params, 0x1f, 0x80a0); in usb2_eye_fix_7211b0() 149 usb_mdio_write_7211b0(params, 0x0a, 0xc6a0); in usb2_eye_fix_7211b0() 152 static void xhci_soft_reset(struct brcm_usb_init_params *params, in xhci_soft_reset() argument 155 void __iomem *ctrl = params->regs[BRCM_REGS_CTRL]; in xhci_soft_reset() 156 void __iomem *xhci_gbl = params->regs[BRCM_REGS_XHCI_GBL]; in xhci_soft_reset() [all …]
|
| /linux/drivers/tee/optee/ |
| H A D | rpc.c | 22 if ((arg->params[0].attr & OPTEE_MSG_ATTR_TYPE_MASK) != in handle_rpc_func_cmd_get_time() 27 arg->params[0].u.value.a = ts.tv_sec; in handle_rpc_func_cmd_get_time() 28 arg->params[0].u.value.b = ts.tv_nsec; in handle_rpc_func_cmd_get_time() 41 struct tee_param *params; in handle_rpc_func_cmd_i2c_transfer() local 58 params = kmalloc_array(arg->num_params, sizeof(struct tee_param), in handle_rpc_func_cmd_i2c_transfer() 60 if (!params) { in handle_rpc_func_cmd_i2c_transfer() 65 if (optee->ops->from_msg_param(optee, params, arg->num_params, in handle_rpc_func_cmd_i2c_transfer() 66 arg->params)) in handle_rpc_func_cmd_i2c_transfer() 70 if (params[i].attr != attr[i]) in handle_rpc_func_cmd_i2c_transfer() 74 adapter = i2c_get_adapter(params[0].u.value.b); in handle_rpc_func_cmd_i2c_transfer() [all …]
|
| /linux/include/net/tc_act/ |
| H A D | tc_police.h | 26 struct tcf_police_params __rcu *params; member 51 struct tcf_police_params *params; in tcf_police_rate_bytes_ps() local 53 params = rcu_dereference_protected(police->params, in tcf_police_rate_bytes_ps() 55 return params->rate.rate_bytes_ps; in tcf_police_rate_bytes_ps() 61 struct tcf_police_params *params; in tcf_police_burst() local 64 params = rcu_dereference_protected(police->params, in tcf_police_burst() 90 burst = div_u64(params->tcfp_burst * params->rate.rate_bytes_ps, in tcf_police_burst() 99 struct tcf_police_params *params; in tcf_police_rate_pkt_ps() local 101 params = rcu_dereference_protected(police->params, in tcf_police_rate_pkt_ps() 103 return params->ppsrate.rate_pkts_ps; in tcf_police_rate_pkt_ps() [all …]
|
| /linux/drivers/thermal/ |
| H A D | gov_power_allocator.c | 118 struct power_allocator_params *params = tz->governor_data; in estimate_sustainable_power() local 119 const struct thermal_trip_desc *td = trip_to_trip_desc(params->trip_max); in estimate_sustainable_power() 198 struct power_allocator_params *params, in get_sustainable_power() argument 209 if (sustainable_power != params->sustainable_power) { in get_sustainable_power() 211 params->trip_switch_on, control_temp); in get_sustainable_power() 215 params->sustainable_power = sustainable_power; in get_sustainable_power() 243 struct power_allocator_params *params = tz->governor_data; in pid_controller() local 250 sustainable_power = get_sustainable_power(tz, params, control_temp); in pid_controller() 264 i = mul_frac(tz->tzp->k_i, params->err_integral); in pid_controller() 271 params->err_integral += err; in pid_controller() [all …]
|
| /linux/arch/x86/kernel/ |
| H A D | kexec-bzimage64.c | 59 static int setup_initrd(struct boot_params *params, in setup_initrd() argument 62 params->hdr.ramdisk_image = initrd_load_addr & 0xffffffffUL; in setup_initrd() 63 params->hdr.ramdisk_size = initrd_len & 0xffffffffUL; in setup_initrd() 65 params->ext_ramdisk_image = initrd_load_addr >> 32; in setup_initrd() 66 params->ext_ramdisk_size = initrd_len >> 32; in setup_initrd() 71 static int setup_cmdline(struct kimage *image, struct boot_params *params, in setup_cmdline() argument 76 char *cmdline_ptr = ((char *)params) + cmdline_offset; in setup_cmdline() 98 params->hdr.cmd_line_ptr = cmdline_low_32; in setup_cmdline() 100 params->ext_cmd_line_ptr = cmdline_ext_32; in setup_cmdline() 105 static int setup_e820_entries(struct boot_params *params) in setup_e820_entries() argument [all …]
|
| /linux/tools/perf/bench/ |
| H A D | futex-requeue.c | 44 static struct bench_futex_parameters params = { variable 54 OPT_INTEGER( 'b', "buckets", ¶ms.nbuckets, "Specify amount of hash buckets"), 55 OPT_UINTEGER('t', "threads", ¶ms.nthreads, "Specify amount of threads"), 56 OPT_UINTEGER('q', "nrequeue", ¶ms.nrequeue, "Specify amount of threads to requeue at once"), 57 OPT_BOOLEAN( 's', "silent", ¶ms.silent, "Silent mode: do not display data/details"), 58 OPT_BOOLEAN( 'S', "shared", ¶ms.fshared, "Use shared futexes instead of private ones"), 59 OPT_BOOLEAN( 'm', "mlockall", ¶ms.mlockall, "Lock all current and future memory"), 60 OPT_BOOLEAN( 'B', "broadcast", ¶ms.broadcast, "Requeue all threads at once"), 61 OPT_BOOLEAN( 'p', "pi", ¶ms.pi, "Use PI-aware variants of FUTEX_CMP_REQUEUE"), 79 params.nthreads, in print_summary() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/mmhubbub/dcn32/ |
| H A 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 …]
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A 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 …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | params.c | 227 u16 mlx5e_get_linear_rq_headroom(struct mlx5e_params *params, in mlx5e_get_linear_rq_headroom() argument 236 if (params->xdp_prog) in mlx5e_get_linear_rq_headroom() 244 static u32 mlx5e_rx_get_linear_sz_xsk(struct mlx5e_params *params, in mlx5e_rx_get_linear_sz_xsk() argument 247 u32 hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_rx_get_linear_sz_xsk() 252 static u32 mlx5e_rx_get_linear_sz_skb(struct mlx5e_params *params, bool no_head_tail_room) in mlx5e_rx_get_linear_sz_skb() argument 254 u32 hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); in mlx5e_rx_get_linear_sz_skb() 259 headroom = mlx5e_get_linear_rq_headroom(params, NULL); in mlx5e_rx_get_linear_sz_skb() 265 struct mlx5e_params *params, in mlx5e_rx_get_linear_stride_sz() argument 278 no_head_tail_room = params->xdp_prog && mpwqe && !mlx5e_rx_is_linear_skb(mdev, params, xsk); in mlx5e_rx_get_linear_stride_sz() 284 sz = roundup_pow_of_two(mlx5e_rx_get_linear_sz_skb(params, no_head_tail_room)); in mlx5e_rx_get_linear_stride_sz() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
| H A 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 …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| H A 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 …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | epoll_busy_poll.c | 47 struct epoll_params params; in FIXTURE() local 73 ret = ioctl(self->invalid_fd, EPIOCGPARAMS, &self->params); in TEST_F() 81 memset(&self->params, 0, sizeof(struct epoll_params)); in TEST_F() 83 ret = ioctl(self->invalid_fd, EPIOCSPARAMS, &self->params); in TEST_F() 95 struct epoll_params params; in FIXTURE() local 135 self->params.busy_poll_usecs = 0xff; in TEST_F() 136 self->params.busy_poll_budget = 0xff; in TEST_F() 137 self->params.prefer_busy_poll = 1; in TEST_F() 138 self->params.__pad = 0xf; in TEST_F() 140 ret = ioctl(self->fd, EPIOCGPARAMS, &self->params); in TEST_F() [all …]
|