/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | amc6821.c | 164 static struct amc6821_data *amc6821_update_device(struct device *dev) in amc6821_update_device() 267 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show() 276 static ssize_t temp_store(struct device *dev, struct device_attribute *attr, in temp_store() 299 static ssize_t temp_alarm_show(struct device *dev, in temp_alarm_show() 335 static ssize_t temp2_fault_show(struct device *dev, in temp2_fault_show() 345 static ssize_t pwm1_show(struct device *dev, struct device_attribute *devattr, in pwm1_show() 352 static ssize_t pwm1_store(struct device *dev, in pwm1_store() 370 static ssize_t pwm1_enable_show(struct device *dev, in pwm1_enable_show() 377 static ssize_t pwm1_enable_store(struct device *dev, in pwm1_enable_store() 424 static ssize_t pwm1_auto_channels_temp_show(struct device *de [all...] |
H A D | sis5595.c | 22 * Note: these chips contain a 0008 device which is incompatible with the 59 * the device at the given address. 171 struct device *hwmon_dev; 199 static struct sis5595_data *sis5595_update_device(struct device *dev); 211 static ssize_t in_show(struct device *dev, struct device_attribute *da, in in_show() 220 static ssize_t in_min_show(struct device *dev, struct device_attribute *da, in in_min_show() 229 static ssize_t in_max_show(struct device *dev, struct device_attribute *da, in in_max_show() 238 static ssize_t in_min_store(struct device *dev, struct device_attribute *da, in in_min_store() 258 static ssize_t in_max_store(struct device *dev, struct device_attribute *da, in in_max_store() 295 static ssize_t temp1_input_show(struct device *de [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | qp.c | 206 struct hfi1_ibdev *dev = to_idev(ibqp->device); in hfi1_check_modify_qp() 211 sc = ah_to_sc(ibqp->device, &attr->ah_attr); in hfi1_check_modify_qp() 224 sc = ah_to_sc(ibqp->device, &attr->alt_ah_attr); in hfi1_check_modify_qp() 251 hfi1_update_ah_attr(qp->ibqp.device, &qp->remote_ah_attr); in qp_set_16b() 259 ibp = to_iport(qp->ibqp.device, qp->port_num); in qp_set_16b() 271 priv->s_sc = ah_to_sc(ibqp->device, &qp->remote_ah_attr); in hfi1_modify_qp() 281 priv->s_sc = ah_to_sc(ibqp->device, &qp->remote_ah_attr); in hfi1_modify_qp() 307 struct hfi1_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_setup_wqe() 368 to_iport(qp->ibqp.device, qp->port_num); in _hfi1_schedule_send() 507 to_iport(qp->ibqp.device, q in iowait_sleep() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/ |
H A D | mesh.c | 155 * @dev: the &struct device 156 * @attr: device attributes 159 static ssize_t lbs_anycast_get(struct device *dev, in lbs_anycast_get() 177 * @dev: the &struct device 178 * @attr: device attributes 182 static ssize_t lbs_anycast_set(struct device *dev, in lbs_anycast_set() 203 * @dev: the &struct device 204 * @attr: device attributes 207 static ssize_t lbs_prb_rsp_limit_get(struct device *dev, in lbs_prb_rsp_limit_get() 229 * @dev: the &struct device [all...] |
/kernel/linux/linux-5.10/drivers/scsi/fcoe/ |
H A D | fcoe_sysfs.c | 137 static ssize_t show_fcoe_ctlr_device_##field(struct device *dev, \ 149 static ssize_t show_fcoe_fcf_device_##field(struct device *dev, \ 162 static ssize_t show_fcoe_ctlr_device_##field(struct device *dev, \ 171 static ssize_t show_fcoe_fcf_device_##field(struct device *dev, \ 244 static ssize_t show_fcf_state(struct device *dev, in show_fcf_state() 258 static ssize_t show_ctlr_mode(struct device *dev, in show_ctlr_mode() 272 static ssize_t store_ctlr_mode(struct device *dev, in store_ctlr_mode() 321 static ssize_t store_ctlr_enabled(struct device *dev, in store_ctlr_enabled() 366 static ssize_t show_ctlr_enabled_state(struct device *dev, in show_ctlr_enabled_state() 384 static ssize_t store_ctlr_fip_resp(struct device *de [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | reada.c | 35 * enumeration. It will also make use of multi-device layouts. Each disk 71 struct btrfs_device *device; member 272 zone->device = dev; /* our device always sits at index 0 */ in reada_find_zone() 357 /* cannot read ahead on missing device. */ in reada_find_extent() 380 /* Insert extent in reada tree + all per-device trees, all or nothing */ in reada_find_extent() 409 dev = re->zones[nzones]->device; in reada_find_extent() 414 * are on the same device, there's nothing to gain in reada_find_extent() 416 * Also, it wouldn't work, as the tree is per device in reada_find_extent() 430 * as this device i in reada_find_extent() 780 struct btrfs_device *device; reada_start_for_fsdevs() local 845 struct btrfs_device *device; dump_devs() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_hwmon.c | 6 #include <linux/device.h> 46 struct device *hwmon_dev; 56 static ssize_t mlxsw_hwmon_temp_show(struct device *dev, in mlxsw_hwmon_temp_show() 79 static ssize_t mlxsw_hwmon_temp_max_show(struct device *dev, in mlxsw_hwmon_temp_max_show() 102 static ssize_t mlxsw_hwmon_temp_rst_store(struct device *dev, in mlxsw_hwmon_temp_rst_store() 137 static ssize_t mlxsw_hwmon_fan_rpm_show(struct device *dev, in mlxsw_hwmon_fan_rpm_show() 156 static ssize_t mlxsw_hwmon_fan_fault_show(struct device *dev, in mlxsw_hwmon_fan_fault_show() 177 static ssize_t mlxsw_hwmon_pwm_show(struct device *dev, in mlxsw_hwmon_pwm_show() 197 static ssize_t mlxsw_hwmon_pwm_store(struct device *dev, in mlxsw_hwmon_pwm_store() 223 static int mlxsw_hwmon_module_temp_get(struct device *de [all...] |
/kernel/linux/linux-6.6/drivers/target/loopback/ |
H A D | tcm_loop.c | 83 static int tcm_loop_driver_probe(struct device *); 84 static void tcm_loop_driver_remove(struct device *); 99 static struct device *tcm_loop_primary; 111 tl_hba = *(struct tcm_loop_hba **)shost_priv(sc->device->host); in tcm_loop_target_queue_cmd() 112 tl_tpg = &tl_hba->tl_hba_tpgs[sc->device->id]; in tcm_loop_target_queue_cmd() 115 * Ensure that this tl_tpg reference from the incoming sc->device->id in tcm_loop_target_queue_cmd() 148 tl_cmd->sc->device->lun, transfer_length, in tcm_loop_target_queue_cmd() 173 __func__, sc->device->host->host_no, sc->device->id, in tcm_loop_queuecommand() 174 sc->device in tcm_loop_queuecommand() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | qp.c | 164 struct hfi1_ibdev *dev = to_idev(ibqp->device); in hfi1_check_modify_qp() 169 sc = ah_to_sc(ibqp->device, &attr->ah_attr); in hfi1_check_modify_qp() 182 sc = ah_to_sc(ibqp->device, &attr->alt_ah_attr); in hfi1_check_modify_qp() 209 hfi1_update_ah_attr(qp->ibqp.device, &qp->remote_ah_attr); in qp_set_16b() 217 ibp = to_iport(qp->ibqp.device, qp->port_num); in qp_set_16b() 229 priv->s_sc = ah_to_sc(ibqp->device, &qp->remote_ah_attr); in hfi1_modify_qp() 239 priv->s_sc = ah_to_sc(ibqp->device, &qp->remote_ah_attr); in hfi1_modify_qp() 265 struct hfi1_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_setup_wqe() 327 to_iport(qp->ibqp.device, qp->port_num); in _hfi1_schedule_send() 466 to_iport(qp->ibqp.device, q in iowait_sleep() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/libertas/ |
H A D | mesh.c | 155 * @dev: the &struct device 156 * @attr: device attributes 159 static ssize_t anycast_mask_show(struct device *dev, in anycast_mask_show() 177 * @dev: the &struct device 178 * @attr: device attributes 182 static ssize_t anycast_mask_store(struct device *dev, in anycast_mask_store() 207 * @dev: the &struct device 208 * @attr: device attributes 211 static ssize_t prb_rsp_limit_show(struct device *dev, in prb_rsp_limit_show() 233 * @dev: the &struct device [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | amc6821.c | 164 static struct amc6821_data *amc6821_update_device(struct device *dev) in amc6821_update_device() 267 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show() 276 static ssize_t temp_store(struct device *dev, struct device_attribute *attr, in temp_store() 299 static ssize_t temp_alarm_show(struct device *dev, in temp_alarm_show() 335 static ssize_t temp2_fault_show(struct device *dev, in temp2_fault_show() 345 static ssize_t pwm1_show(struct device *dev, struct device_attribute *devattr, in pwm1_show() 352 static ssize_t pwm1_store(struct device *dev, in pwm1_store() 370 static ssize_t pwm1_enable_show(struct device *dev, in pwm1_enable_show() 377 static ssize_t pwm1_enable_store(struct device *dev, in pwm1_enable_store() 424 static ssize_t pwm1_auto_channels_temp_show(struct device *de [all...] |
/kernel/linux/linux-6.6/drivers/scsi/fcoe/ |
H A D | fcoe_sysfs.c | 137 static ssize_t show_fcoe_ctlr_device_##field(struct device *dev, \ 149 static ssize_t show_fcoe_fcf_device_##field(struct device *dev, \ 162 static ssize_t show_fcoe_ctlr_device_##field(struct device *dev, \ 171 static ssize_t show_fcoe_fcf_device_##field(struct device *dev, \ 244 static ssize_t show_fcf_state(struct device *dev, in show_fcf_state() 258 static ssize_t show_ctlr_mode(struct device *dev, in show_ctlr_mode() 272 static ssize_t store_ctlr_mode(struct device *dev, in store_ctlr_mode() 321 static ssize_t store_ctlr_enabled(struct device *dev, in store_ctlr_enabled() 366 static ssize_t show_ctlr_enabled_state(struct device *dev, in show_ctlr_enabled_state() 384 static ssize_t store_ctlr_fip_resp(struct device *de [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | create_functions_vk.h | 46 VkDevice device { VK_NULL_HANDLE }; 90 static void DestroyDevice(VkDevice device); 95 static void DestroySwapchain(VkDevice device, VkSwapchainKHR swapchain); 100 static VkPipelineCache CreatePipelineCache(VkDevice device, BASE_NS::array_view<const uint8_t> initialData); 101 static void DestroyPipelineCache(VkDevice device, VkPipelineCache cache);
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ohos/ |
H A D | platform_gpu_image_vk.cpp | 78 const VkDevice vkDevice = devicePlat.device; in CreatePlatformHwBuffer() 91 VALIDATE_VK_RESULT(vkCreateSampler(vkDevice, // device in CreatePlatformHwBuffer() 111 const VkDevice device = devicePlat.device; in DestroyPlatformHwBuffer() local 113 deviceVk.GetExtFunctions().vkDestroySamplerYcbcrConversion(device, // device in DestroyPlatformHwBuffer() 118 vkDestroySampler(device, // device in DestroyPlatformHwBuffer()
|
/foundation/multimodalinput/input/intention/cooperate/plugin/include/ |
H A D | input_device_mgr.h | 56 void AddRemoteInputDevice(const std::string &networkId, std::shared_ptr<IDevice> device); 57 void RemoveRemoteInputDevice(const std::string &networkId, std::shared_ptr<IDevice> device); 60 int32_t SerializeDevice(std::shared_ptr<IDevice> device, NetPacket &packet); 61 std::shared_ptr<MMI::InputDevice> Transform(std::shared_ptr<IDevice> device); 64 void DispDeviceInfo(std::shared_ptr<IDevice> device);
|
/foundation/distributeddatamgr/pasteboard/framework/framework/device/ |
H A D | distributed_module_config.cpp | 106 PASTEBOARD_HILOGI(PASTEBOARD_MODULE_SERVICE, "device online nums: %{public}zu", networkIds.size()); in GetEnabledStatus() 117 void DistributedModuleConfig::Online(const std::string &device) in Online() argument 120 DevProfile::GetInstance().SubscribeProfileEvent(device); in Online() 124 void DistributedModuleConfig::Offline(const std::string &device) in Offline() argument 127 DevProfile::GetInstance().UnSubscribeProfileEvent(device); in Offline() 131 void DistributedModuleConfig::OnReady(const std::string &device) in OnReady() argument
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/ |
H A D | hfp_hf_profile_event_sender.h | 43 * @param address The device address. 51 * @param address The device address. 59 * @param address The device address. 67 * @param address The device address. 75 * @param address The device address. 83 * @param address The device address. 91 * @param address The device address. 99 * @param address The device address. 107 * @param address The device address. 115 * @param address The device addres [all...] |
/kernel/linux/linux-5.10/drivers/auxdisplay/ |
H A D | cfag12864bfb.c | 70 static int cfag12864bfb_probe(struct platform_device *device) in cfag12864bfb_probe() argument 73 struct fb_info *info = framebuffer_alloc(0, &device->dev); in cfag12864bfb_probe() 90 platform_set_drvdata(device, info); in cfag12864bfb_probe() 92 fb_info(info, "%s frame buffer device\n", info->fix.id); in cfag12864bfb_probe() 103 static int cfag12864bfb_remove(struct platform_device *device) in cfag12864bfb_remove() argument 105 struct fb_info *info = platform_get_drvdata(device); in cfag12864bfb_remove()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/ |
H A D | intel_epb.c | 13 #include <linux/device.h> 120 static ssize_t energy_perf_bias_show(struct device *dev, in energy_perf_bias_show() 135 static ssize_t energy_perf_bias_store(struct device *dev, in energy_perf_bias_store() 176 struct device *cpu_dev = get_cpu_device(cpu); in intel_epb_online() 187 struct device *cpu_dev = get_cpu_device(cpu); in intel_epb_offline()
|
H A D | umwait.c | 127 enable_c02_show(struct device *dev, struct device_attribute *attr, char *buf) in enable_c02_show() 134 static ssize_t enable_c02_store(struct device *dev, in enable_c02_store() 159 max_time_show(struct device *kobj, struct device_attribute *attr, char *buf) in max_time_show() 166 static ssize_t max_time_store(struct device *kobj, in max_time_store() 206 struct device *dev; in umwait_init()
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
H A D | rtc.c | 23 * Support for the RTC device. 81 alpha_rtc_read_time(struct device *dev, struct rtc_time *tm) in alpha_rtc_read_time() 109 alpha_rtc_set_time(struct device *dev, struct rtc_time *tm) in alpha_rtc_set_time() 123 alpha_rtc_ioctl(struct device *dev, unsigned int cmd, unsigned long arg) in alpha_rtc_ioctl() 166 remote_read_time(struct device *dev, struct rtc_time *tm) in remote_read_time() 185 remote_set_time(struct device *dev, struct rtc_time *tm) in remote_set_time()
|
/kernel/linux/linux-5.10/drivers/base/ |
H A D | topology.c | 18 static ssize_t name##_show(struct device *dev, \ 25 static ssize_t name##_show(struct device *dev, \ 32 static ssize_t name##_list_show(struct device *dev, \ 120 /* Add/Remove cpu_topology interface for CPU device */ 123 struct device *dev = get_cpu_device(cpu); in topology_add_dev() 130 struct device *dev = get_cpu_device(cpu); in topology_remove_dev()
|
/kernel/linux/linux-5.10/drivers/char/xillybus/ |
H A D | xillybus_of.c | 11 #include <linux/device.h> 62 dma_unmap_single(data->device, data->dma_addr, in xilly_of_unmap() 89 this->device = ep->dev; in xilly_map_single_of() 115 struct device *dev = &op->dev; in xilly_drv_probe() 150 struct device *dev = &op->dev; in xilly_drv_remove()
|
/kernel/linux/linux-5.10/drivers/net/can/m_can/ |
H A D | m_can.h | 12 #include <linux/device.h> 76 struct device *dev; 101 struct m_can_classdev *m_can_class_allocate_dev(struct device *dev); 109 int m_can_class_suspend(struct device *dev); 110 int m_can_class_resume(struct device *dev);
|
/kernel/linux/linux-6.6/arch/alpha/kernel/ |
H A D | rtc.c | 23 * Support for the RTC device. 81 alpha_rtc_read_time(struct device *dev, struct rtc_time *tm) in alpha_rtc_read_time() 109 alpha_rtc_set_time(struct device *dev, struct rtc_time *tm) in alpha_rtc_set_time() 123 alpha_rtc_ioctl(struct device *dev, unsigned int cmd, unsigned long arg) in alpha_rtc_ioctl() 166 remote_read_time(struct device *dev, struct rtc_time *tm) in remote_read_time() 185 remote_set_time(struct device *dev, struct rtc_time *tm) in remote_set_time()
|