Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/accel/habanalabs/common/
Dhwmon.c153 struct hwmon_channel_info **channels_info; in hl_build_hwmon_channel_info() local
197 channels_info = kcalloc(num_active_sensor_types + 1, sizeof(struct hwmon_channel_info *), in hl_build_hwmon_channel_info()
199 if (!channels_info) { in hl_build_hwmon_channel_info()
205 channels_info[i] = kzalloc(sizeof(*channels_info[i]), GFP_KERNEL); in hl_build_hwmon_channel_info()
206 if (!channels_info[i]) { in hl_build_hwmon_channel_info()
216 channels_info[j]->type = i; in hl_build_hwmon_channel_info()
217 channels_info[j]->config = sensors_by_type[i]; in hl_build_hwmon_channel_info()
221 hdev->hl_chip_info->info = (const struct hwmon_channel_info **)channels_info; in hl_build_hwmon_channel_info()
227 if (channels_info[i]) { in hl_build_hwmon_channel_info()
228 kfree(channels_info[i]->config); in hl_build_hwmon_channel_info()
[all …]
/linux-6.6.21/drivers/net/wireless/ralink/rt2x00/
Drt2x00config.c226 &rt2x00dev->spec.channels_info[hw_value], in rt2x00lib_config()
Drt2x00dev.c1037 spec->channels_info[i].max_power, i); in rt2x00lib_probe_hw_modes()
1094 kfree(rt2x00dev->spec.channels_info); in rt2x00lib_remove_hw()
Drt2x00.h417 const struct channel_info *channels_info; member
Drt2500usb.c1727 spec->channels_info = info; in rt2500usb_probe_hw_mode()
Drt2400pci.c1596 spec->channels_info = info; in rt2400pci_probe_hw_mode()
Drt2500pci.c1914 spec->channels_info = info; in rt2500pci_probe_hw_mode()
Drt73usb.c2143 spec->channels_info = info; in rt73usb_probe_hw_mode()
Drt61pci.c2719 spec->channels_info = info; in rt61pci_probe_hw_mode()
Drt2800lib.c11765 spec->channels_info = info; in rt2800_probe_hw_mode()