Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dmr75203.c177 struct voltage_channels vm_channels; member
319 if (channel >= pvt->vm_channels.total) in pvt_read_in()
525 val = (BIT(pvt->vm_channels.max) - 1) | VM_CH_INIT | in pvt_init()
646 pvt->vm_channels.max = ch_num; in pvt_get_active_channel()
647 pvt->vm_channels.total = ch_num * vm_num; in pvt_get_active_channel()
656 pvt->vm_channels.total += vm_active_ch[i]; in pvt_get_active_channel()
658 if (vm_active_ch[i] > pvt->vm_channels.max) in pvt_get_active_channel()
659 pvt->vm_channels.max = vm_active_ch[i]; in pvt_get_active_channel()
693 for (i = 0; i < pvt->vm_channels.total; i++) in pvt_get_pre_scaler()
886 in_config = devm_kcalloc(dev, pvt->vm_channels.total + 1, in mr75203_probe()
[all …]