Home
last modified time | relevance | path

Searched refs:mode_param (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/staging/sm750fb/
H A Dddk750_mode.c17 display_control_adjust_SM750LE(struct mode_parameter *mode_param, in display_control_adjust_SM750LE() argument
22 x = mode_param->horizontal_display_end; in display_control_adjust_SM750LE()
23 y = mode_param->vertical_display_end; in display_control_adjust_SM750LE()
78 static void program_mode_registers(struct mode_parameter *mode_param, in program_mode_registers() argument
88 tmp = ((mode_param->horizontal_total - 1) << in program_mode_registers()
91 tmp |= (mode_param->horizontal_display_end - 1) & in program_mode_registers()
96 tmp = (mode_param->horizontal_sync_width << in program_mode_registers()
99 tmp |= (mode_param->horizontal_sync_start - 1) & in program_mode_registers()
104 tmp = ((mode_param->vertical_total - 1) << in program_mode_registers()
107 tmp |= (mode_param in program_mode_registers()
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_offload.c314 u32 mode_param) in mlx5e_ipsec_update_esn_state() argument
319 if (mode_param < MLX5E_IPSEC_ESN_SCOPE_MID) { in mlx5e_ipsec_update_esn_state()
470 u32 mode_param = MLX5_GET(ipsec_aso, aso->ctx, mode_parameter); in mlx5e_ipsec_handle_event() local
472 mlx5e_ipsec_update_esn_state(sa_entry, mode_param); in mlx5e_ipsec_handle_event()
H A Dmacsec.c37 u32 mode_param; member
1427 out->mode_param = MLX5_GET(macsec_aso, aso->umr->ctx, mode_parameter); in macsec_aso_query()
1485 struct mlx5e_macsec_sa *sa, u32 obj_id, u32 mode_param) in macsec_epn_update() argument
1490 /* When the bottom of the replay protection window (mode_param) crosses 2^31 (half sequence in macsec_epn_update()
1491 * number wraparound) hence mode_param > MLX5_MACSEC_EPN_SCOPE_MID the SW should update the in macsec_epn_update()
1493 * When the bottom of the replay protection window (mode_param) crosses 2^32 (full sequence in macsec_epn_update()
1494 * number wraparound) hence mode_param < MLX5_MACSEC_EPN_SCOPE_MID since it did a in macsec_epn_update()
1498 if (mode_param < MLX5_MACSEC_EPN_SCOPE_MID) { in macsec_epn_update()
1545 macsec_epn_update(macsec, mdev, macsec_sa, obj_id, out.mode_param); in macsec_async_event()