/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | meter.c | 110 struct mlx5e_flow_meter_handle *meter, in mlx5e_tc_meter_modify() argument 155 flow_meters = meter->flow_meters; in mlx5e_tc_meter_modify() 161 mlx5_aso_build_wqe(aso, ds_cnt, aso_wqe, meter->obj_id, in mlx5e_tc_meter_modify() 170 aso_ctrl->data_mask = cpu_to_be64(0x80FFFFFFULL << (meter->idx ? 0 : 32)); in mlx5e_tc_meter_modify() 174 aso_data->bytewise_data[meter->idx * 8] = cpu_to_be32((0x1 << 31) | /* valid */ in mlx5e_tc_meter_modify() 177 aso_data->bytewise_data[meter->idx * 8] |= in mlx5e_tc_meter_modify() 180 aso_data->bytewise_data[meter->idx * 8] |= in mlx5e_tc_meter_modify() 183 aso_data->bytewise_data[meter->idx * 8 + 2] = cpu_to_be32((cbs_exp << MLX5_CBS_EXP_SHIFT) | in mlx5e_tc_meter_modify() 248 struct mlx5e_flow_meter_handle *meter; in __mlx5e_flow_meter_alloc() local 253 meter = kzalloc(sizeof(*meter), GFP_KERNEL); in __mlx5e_flow_meter_alloc() [all …]
|
D | meter.h | 41 struct mlx5e_flow_meter_handle *meter; member 47 struct mlx5e_flow_meter_handle *meter, 53 mlx5e_tc_meter_put(struct mlx5e_flow_meter_handle *meter); 55 mlx5e_tc_meter_update(struct mlx5e_flow_meter_handle *meter, 71 mlx5e_tc_meter_get_stats(struct mlx5e_flow_meter_handle *meter,
|
/Linux-v6.1/net/openvswitch/ |
D | meter.c | 45 static void ovs_meter_free(struct dp_meter *meter) in ovs_meter_free() argument 47 if (!meter) in ovs_meter_free() 50 kfree_rcu(meter, rcu); in ovs_meter_free() 59 struct dp_meter *meter; in lookup_meter() local 61 meter = rcu_dereference_ovsl(ti->dp_meters[hash]); in lookup_meter() 62 if (meter && likely(meter->id == meter_id)) in lookup_meter() 63 return meter; in lookup_meter() 119 struct dp_meter *meter) in dp_meter_instance_insert() argument 123 hash = meter_hash(ti, meter->id); in dp_meter_instance_insert() 124 rcu_assign_pointer(ti->dp_meters[hash], meter); in dp_meter_instance_insert() [all …]
|
D | Makefile | 15 meter.o \
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
D | police.c | 79 struct mlx5e_flow_meter_handle *meter; in tc_act_police_offload() local 90 meter = mlx5e_tc_meter_get(priv->mdev, ¶ms); in tc_act_police_offload() 91 if (IS_ERR(meter) && PTR_ERR(meter) == -ENOENT) { in tc_act_police_offload() 92 meter = mlx5e_tc_meter_replace(priv->mdev, ¶ms); in tc_act_police_offload() 93 } else if (!IS_ERR(meter)) { in tc_act_police_offload() 94 err = mlx5e_tc_meter_update(meter, ¶ms); in tc_act_police_offload() 95 mlx5e_tc_meter_put(meter); in tc_act_police_offload() 98 if (IS_ERR(meter)) { in tc_act_police_offload() 101 err = PTR_ERR(meter); in tc_act_police_offload() 112 struct mlx5e_flow_meter_handle *meter; in tc_act_police_destroy() local [all …]
|
/Linux-v6.1/sound/firewire/motu/ |
D | motu-hwdep.c | 194 struct snd_firewire_motu_register_dsp_meter *meter; in hwdep_ioctl() local 200 meter = kzalloc(sizeof(*meter), GFP_KERNEL); in hwdep_ioctl() 201 if (!meter) in hwdep_ioctl() 204 snd_motu_register_dsp_message_parser_copy_meter(motu, meter); in hwdep_ioctl() 206 err = copy_to_user((void __user *)arg, meter, sizeof(*meter)); in hwdep_ioctl() 207 kfree(meter); in hwdep_ioctl() 216 struct snd_firewire_motu_command_dsp_meter *meter; in hwdep_ioctl() local 222 meter = kzalloc(sizeof(*meter), GFP_KERNEL); in hwdep_ioctl() 223 if (!meter) in hwdep_ioctl() 226 snd_motu_command_dsp_message_parser_copy_meter(motu, meter); in hwdep_ioctl() [all …]
|
D | motu-command-dsp-message-parser.c | 33 struct snd_firewire_motu_command_dsp_meter meter; member 150 parser->meter.data[parser->value_index] = val; in snd_motu_command_dsp_message_parser_parse() 173 struct snd_firewire_motu_command_dsp_meter *meter) in snd_motu_command_dsp_message_parser_copy_meter() argument 179 memcpy(meter, &parser->meter, sizeof(*meter)); in snd_motu_command_dsp_message_parser_copy_meter()
|
D | motu-register-dsp-message-parser.c | 85 struct snd_firewire_motu_register_dsp_meter meter; member 339 parser->meter.data[pos] = val; in snd_motu_register_dsp_message_parser_parse() 344 parser->meter.data[pos] = val; in snd_motu_register_dsp_message_parser_parse() 368 struct snd_firewire_motu_register_dsp_meter *meter) in snd_motu_register_dsp_message_parser_copy_meter() argument 374 memcpy(meter, &parser->meter, sizeof(*meter)); in snd_motu_register_dsp_message_parser_copy_meter()
|
D | motu.h | 285 struct snd_firewire_motu_register_dsp_meter *meter); 296 struct snd_firewire_motu_command_dsp_meter *meter);
|
/Linux-v6.1/sound/firewire/bebob/ |
D | bebob_focusrite.c | 234 const struct snd_bebob_meter_spec *spec = bebob->spec->meter; in saffire_meter_get() 278 .meter = NULL 289 .meter = NULL 310 .meter = &saffire_le_meter_spec 321 .meter = &saffire_meter_spec
|
D | bebob_maudio.c | 690 const struct snd_bebob_meter_spec *spec = bebob->spec->meter; in normal_meter_get() 732 .meter = &special_meter_spec 748 .meter = &fw410_meter_spec 760 .meter = &audiophile_meter_spec 772 .meter = &solo_meter_spec 784 .meter = &ozonic_meter_spec 796 .meter = &nrv10_meter_spec
|
D | bebob_proc.c | 75 const struct snd_bebob_meter_spec *spec = bebob->spec->meter; in proc_read_meters() 187 if (bebob->spec->meter != NULL) in snd_bebob_proc_init()
|
D | bebob_yamaha_terratec.c | 63 .meter = NULL
|
D | bebob_terratec.c | 52 .meter = NULL
|
/Linux-v6.1/sound/drivers/vx/ |
D | vx_mixer.c | 831 struct vx_vu_meter meter[2]; in vx_vu_meter_get() local 835 vx_get_audio_vu_meter(chip, audio, capture, meter); in vx_vu_meter_get() 836 ucontrol->value.integer.value[0] = meter[0].vu_level >> METER_SHIFT; in vx_vu_meter_get() 837 ucontrol->value.integer.value[1] = meter[1].vu_level >> METER_SHIFT; in vx_vu_meter_get() 844 struct vx_vu_meter meter[2]; in vx_peak_meter_get() local 848 vx_get_audio_vu_meter(chip, audio, capture, meter); in vx_peak_meter_get() 849 ucontrol->value.integer.value[0] = meter[0].peak_level >> METER_SHIFT; in vx_peak_meter_get() 850 ucontrol->value.integer.value[1] = meter[1].peak_level >> METER_SHIFT; in vx_peak_meter_get() 859 struct vx_vu_meter meter[2]; in vx_saturation_get() local 862 vx_get_audio_vu_meter(chip, audio, 1, meter); /* capture only */ in vx_saturation_get() [all …]
|
/Linux-v6.1/Documentation/hwmon/ |
D | acpi_power_meter.rst | 21 features--a power meter that returns average power use over a configurable 36 arbitrary strings that ACPI provides with the meter. The measures/ directory 37 contains symlinks to the devices that this meter measures.
|
D | asus_ec_sensors.rst | 46 9. Readings from the "Water flow meter" header (RPM)
|
/Linux-v6.1/drivers/staging/iio/ |
D | Makefile | 11 obj-y += meter/
|
D | Kconfig | 13 source "drivers/staging/iio/meter/Kconfig"
|
/Linux-v6.1/sound/pci/asihpi/ |
D | hpicmn.c | 326 phr->u.c.an_log_value[0] = pC->u.meter.an_log_peak[0]; in hpi_check_control_cache_single() 327 phr->u.c.an_log_value[1] = pC->u.meter.an_log_peak[1]; in hpi_check_control_cache_single() 329 if (pC->u.meter.an_logRMS[0] == in hpi_check_control_cache_single() 337 pC->u.meter.an_logRMS[0]; in hpi_check_control_cache_single() 339 pC->u.meter.an_logRMS[1]; in hpi_check_control_cache_single()
|
/Linux-v6.1/arch/sh/drivers/ |
D | Kconfig | 10 Use the power-on LED on your machine as a load meter. The exact
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | sysfs-driver-hid-srws1 | 21 an RPM meter on the front of the controller
|
/Linux-v6.1/drivers/staging/iio/meter/ |
D | Kconfig | 3 # IIO meter drivers configuration
|
/Linux-v6.1/drivers/macintosh/ |
D | Makefile | 64 obj-$(CONFIG_PMAC_RACKMETER) += rack-meter.o
|
/Linux-v6.1/drivers/net/phy/ |
D | marvell.c | 2284 static int marvell_vct7_distance_to_length(int distance, bool meter) in marvell_vct7_distance_to_length() argument 2286 if (meter) in marvell_vct7_distance_to_length() 2304 int pair, bool meter) in marvell_vct7_report_length() argument 2314 length = marvell_vct7_distance_to_length(ret, meter); in marvell_vct7_report_length() 2340 bool meter; in marvell_vct7_cable_test_report() local 2370 meter = ret & MII_VCT7_CTRL_METERS; in marvell_vct7_cable_test_report() 2373 marvell_vct7_report_length(phydev, 0, meter); in marvell_vct7_cable_test_report() 2375 marvell_vct7_report_length(phydev, 1, meter); in marvell_vct7_cable_test_report() 2377 marvell_vct7_report_length(phydev, 2, meter); in marvell_vct7_cable_test_report() 2379 marvell_vct7_report_length(phydev, 3, meter); in marvell_vct7_cable_test_report()
|