Home
last modified time | relevance | path

Searched +defs:dev +defs:attrs (Results 101 – 125 of 182) sorted by relevance

12345678

/linux-6.8/arch/arc/kernel/
Dperf_event.c201 struct attribute **attrs; member
562 static irqreturn_t arc_pmu_intr(int irq, void *dev) in arc_pmu_intr()
617 static irqreturn_t arc_pmu_intr(int irq, void *dev) in arc_pmu_intr()
646 static ssize_t arc_pmu_events_sysfs_show(struct device *dev, in arc_pmu_events_sysfs_show()
675 static int arc_pmu_raw_alloc(struct device *dev) in arc_pmu_raw_alloc()
/linux-6.8/net/netfilter/ipvs/
Dip_vs_ctl.c1745 ip_vs_forget_dev(struct ip_vs_dest *dest, struct net_device *dev) in ip_vs_forget_dev()
1768 struct net_device *dev = netdev_notifier_info_to_dev(ptr); in ip_vs_dst_event() local
3444 struct nlattr *attrs[IPVS_SVC_ATTR_MAX + 1]; in ip_vs_genl_parse_service() local
3607 struct nlattr *attrs[IPVS_CMD_ATTR_MAX + 1]; in ip_vs_genl_dump_dests() local
3644 struct nlattr *attrs[IPVS_DEST_ATTR_MAX + 1]; in ip_vs_genl_parse_dest() local
3793 static int ip_vs_genl_new_daemon(struct netns_ipvs *ipvs, struct nlattr **attrs) in ip_vs_genl_new_daemon()
3854 static int ip_vs_genl_del_daemon(struct netns_ipvs *ipvs, struct nlattr **attrs) in ip_vs_genl_del_daemon()
3866 static int ip_vs_genl_set_config(struct netns_ipvs *ipvs, struct nlattr **attrs) in ip_vs_genl_set_config()
/linux-6.8/drivers/thermal/
Dthermal_sysfs.c27 type_show(struct device *dev, struct device_attribute *attr, char *buf) in type_show()
35 temp_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_show()
49 mode_show(struct device *dev, struct device_attribute *attr, char *buf) in mode_show()
62 mode_store(struct device *dev, struct device_attribute *attr, in mode_store()
82 trip_point_type_show(struct device *dev, struct device_attribute *attr, in trip_point_type_show()
106 trip_point_temp_store(struct device *dev, struct device_attribute *attr, in trip_point_temp_store()
144 trip_point_temp_show(struct device *dev, struct device_attribute *attr, in trip_point_temp_show()
157 trip_point_hyst_store(struct device *dev, struct device_attribute *attr, in trip_point_hyst_store()
195 trip_point_hyst_show(struct device *dev, struct device_attribute *attr, in trip_point_hyst_show()
208 policy_store(struct device *dev, struct device_attribute *attr, in policy_store()
[all …]
/linux-6.8/net/smc/
Dsmc_core.c229 struct nlattr *attrs; in smc_nl_get_sys_info() local
341 struct nlattr *attrs, *v2_attrs; in smc_nl_fill_lgr() local
391 struct nlattr *attrs; in smc_nl_fill_lgr_link() local
510 struct nlattr *attrs; in smc_nl_fill_smcd_lgr() local
569 static int smc_nl_handle_smcd_lgr(struct smcd_dev *dev, in smc_nl_handle_smcd_lgr()
1527 void smc_smcd_terminate(struct smcd_dev *dev, struct smcd_gid *peer_gid, in smc_smcd_terminate()
/linux-6.8/drivers/acpi/
Dpower.c45 struct device *dev; member
251 struct device *dev) in acpi_power_resource_add_dependent()
281 struct device *dev) in acpi_power_resource_remove_dependent()
314 struct device *dev) in acpi_device_power_add_dependent()
349 struct device *dev) in acpi_device_power_remove_dependent()
508 static struct attribute *attrs[] = { variable
661 int acpi_device_sleep_wake(struct acpi_device *dev, in acpi_device_sleep_wake()
711 int acpi_enable_wakeup_device_power(struct acpi_device *dev, int sleep_state) in acpi_enable_wakeup_device_power()
757 int acpi_disable_wakeup_device_power(struct acpi_device *dev) in acpi_disable_wakeup_device_power()
880 static void acpi_release_power_resource(struct device *dev) in acpi_release_power_resource()
[all …]
/linux-6.8/drivers/infiniband/hw/mlx5/
Dmr.c62 struct mlx5_ib_dev *dev = to_mdev(pd->device); in set_mkc_access_pd_addr_fields() local
86 static void assign_mkey_variant(struct mlx5_ib_dev *dev, u32 *mkey, u32 *in) in assign_mkey_variant()
96 static int mlx5_ib_create_mkey(struct mlx5_ib_dev *dev, in mlx5_ib_create_mkey()
111 struct mlx5_ib_dev *dev = async_create->ent->dev; in mlx5_ib_create_mkey_cb() local
126 static int destroy_mkey(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr) in destroy_mkey()
133 static void create_mkey_warn(struct mlx5_ib_dev *dev, int status, void *out) in create_mkey_warn()
194 struct mlx5_ib_dev *dev = ent->dev; in create_mkey_callback() local
531 struct mlx5_ib_dev *dev = ent->dev; in __cache_work_func() local
658 mkey_cache_ent_from_rb_key(struct mlx5_ib_dev *dev, in mkey_cache_ent_from_rb_key()
689 static struct mlx5_ib_mr *_mlx5_mr_cache_alloc(struct mlx5_ib_dev *dev, in _mlx5_mr_cache_alloc()
[all …]
Dmain.c62 struct mlx5_ib_dev *dev; member
84 struct mlx5_ib_dev *dev; in mlx5_ib_get_ibdev_from_mpi() local
108 struct mlx5_ib_dev *dev = to_mdev(device); in mlx5_ib_port_link_layer() local
128 static struct mlx5_roce *mlx5_get_rep_roce(struct mlx5_ib_dev *dev, in mlx5_get_rep_roce()
479 struct mlx5_ib_dev *dev = to_mdev(device); in mlx5_query_port_roce() local
573 int set_roce_addr(struct mlx5_ib_dev *dev, u32 port_num, in set_roce_addr()
640 __be16 mlx5_get_roce_udp_sport_min(const struct mlx5_ib_dev *dev, in mlx5_get_roce_udp_sport_min()
649 static int mlx5_use_mad_ifc(struct mlx5_ib_dev *dev) in mlx5_use_mad_ifc()
674 static void get_atomic_caps(struct mlx5_ib_dev *dev, in get_atomic_caps()
696 static void get_atomic_caps_qp(struct mlx5_ib_dev *dev, in get_atomic_caps_qp()
[all …]
/linux-6.8/arch/s390/include/asm/
Deadm.h88 struct device dev; member
96 } __packed attrs; member
/linux-6.8/drivers/hwmon/
Dcoretemp.c82 struct attribute *attrs[TOTAL_ATTRS + 1]; member
146 static int adjust_tjmax(struct cpuinfo_x86 *c, u32 id, struct device *dev) in adjust_tjmax()
264 static int get_tjmax(struct temp_data *tdata, struct device *dev) in get_tjmax()
303 static int get_ttarget(struct temp_data *tdata, struct device *dev) in get_ttarget()
332 static ssize_t show_label(struct device *dev, in show_label()
345 static ssize_t show_crit_alarm(struct device *dev, in show_crit_alarm()
360 static ssize_t show_tjmax(struct device *dev, in show_tjmax()
375 static ssize_t show_ttarget(struct device *dev, in show_ttarget()
392 static ssize_t show_temp(struct device *dev, in show_temp()
421 static int create_core_attrs(struct temp_data *tdata, struct device *dev, in create_core_attrs()
Dacpi_power_meter.c126 static ssize_t show_avg_interval(struct device *dev, in show_avg_interval()
140 static ssize_t set_avg_interval(struct device *dev, in set_avg_interval()
200 static ssize_t show_cap(struct device *dev, in show_cap()
214 static ssize_t set_cap(struct device *dev, struct device_attribute *devattr, in set_cap()
289 static ssize_t set_trip(struct device *dev, struct device_attribute *devattr, in set_trip()
341 static ssize_t show_power(struct device *dev, in show_power()
359 static ssize_t show_str(struct device *dev, in show_str()
391 static ssize_t show_val(struct device *dev, in show_val()
447 static ssize_t show_accuracy(struct device *dev, in show_accuracy()
458 static ssize_t show_name(struct device *dev, in show_name()
[all …]
/linux-6.8/include/linux/phy/
Dphy.h154 struct device dev; member
160 struct phy_attrs attrs; member
174 struct device *dev; member
198 #define of_phy_provider_register(dev, xlate) \ argument
201 #define devm_of_phy_provider_register(dev, xlate) \ argument
204 #define of_phy_provider_register_full(dev, children, xlate) \ argument
207 #define devm_of_phy_provider_register_full(dev, children, xlate) \ argument
427 static inline struct phy *phy_get(struct device *dev, const char *string) in phy_get()
432 static inline struct phy *devm_phy_get(struct device *dev, const char *string) in devm_phy_get()
437 static inline struct phy *devm_phy_optional_get(struct device *dev, in devm_phy_optional_get()
[all …]
/linux-6.8/drivers/soc/hisilicon/
Dkunpeng_hccs.c57 struct device *dev; member
135 struct device *dev = hdev->dev; in hccs_register_pcc_channel() local
451 struct device *dev = hdev->dev; in hccs_query_all_die_info_on_platform() local
516 struct hccs_port_attr *attrs, u16 size) in hccs_get_all_port_attr()
565 struct hccs_port_attr *attrs; in hccs_get_all_port_info_on_die() local
595 struct device *dev = hdev->dev; in hccs_query_all_port_info_on_platform() local
/linux-6.8/include/linux/
Darm_ffa.h132 struct device dev; member
180 static inline void ffa_device_unregister(struct ffa_device *dev) {} in ffa_device_unregister()
272 u8 attrs; member
386 struct ffa_mem_region_attributes *attrs; member
/linux-6.8/drivers/iommu/arm/arm-smmu/
Dqcom_iommu.c49 struct device *dev; member
58 struct device *dev; member
189 static irqreturn_t qcom_iommu_fault(int irq, void *dev) in qcom_iommu_fault()
218 struct device *dev) in qcom_iommu_init_domain()
325 static struct iommu_domain *qcom_iommu_domain_alloc_paging(struct device *dev) in qcom_iommu_domain_alloc_paging()
363 static int qcom_iommu_attach_dev(struct iommu_domain *domain, struct device *dev) in qcom_iommu_attach_dev()
392 struct device *dev) in qcom_iommu_identity_attach()
510 static bool qcom_iommu_capable(struct device *dev, enum iommu_cap cap) in qcom_iommu_capable()
526 static struct iommu_device *qcom_iommu_probe_device(struct device *dev) in qcom_iommu_probe_device()
549 static int qcom_iommu_of_xlate(struct device *dev, struct of_phandle_args *args) in qcom_iommu_of_xlate()
[all …]
/linux-6.8/include/linux/power/
Dcharger-manager.h119 struct attribute *attrs[4]; member
221 struct device *dev; member
/linux-6.8/drivers/video/fbdev/omap2/omapfb/
Domapfb.h42 unsigned long attrs; member
79 struct device *dev; member
/linux-6.8/net/mpls/
Daf_mpls.c90 bool mpls_output_possible(const struct net_device *dev) in mpls_output_possible()
113 unsigned int mpls_dev_mtu(const struct net_device *dev) in mpls_dev_mtu()
132 void mpls_stats_inc_outucastpkts(struct net_device *dev, in mpls_stats_inc_outucastpkts()
342 static int mpls_forward(struct sk_buff *skb, struct net_device *dev, in mpls_forward()
592 struct net_device *dev; in inet_fib_lookup_dev() local
620 struct net_device *dev; in inet6_fib_lookup_dev() local
651 struct net_device *dev = NULL; in find_outdev() local
683 struct net_device *dev = NULL; in mpls_nh_assign_dev() local
847 struct nlattr *nla, *attrs = rtnh_attrs(rtnh); in mpls_count_nexthops() local
913 struct nlattr *attrs = rtnh_attrs(rtnh); in mpls_nh_build_multi() local
[all …]
/linux-6.8/drivers/extcon/
Dextcon.c227 struct attribute *attrs[3]; /* to be fed to attr_g.attrs */ member
368 static ssize_t state_show(struct device *dev, struct device_attribute *attr, in state_show()
387 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show()
396 static ssize_t cable_name_show(struct device *dev, in cable_name_show()
407 static ssize_t cable_state_show(struct device *dev, in cable_state_show()
1036 static void extcon_dev_release(struct device *dev) in extcon_dev_release()
1041 static void dummy_sysfs_dev_release(struct device *dev) in dummy_sysfs_dev_release()
1429 struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, int index) in extcon_get_edev_by_phandle()
1458 struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, int index) in extcon_get_edev_by_phandle()
/linux-6.8/drivers/firewire/
Dcore-device.c192 static const struct ieee1394_device_id *unit_match(struct device *dev, in unit_match()
210 static int fw_unit_match(struct device *dev, struct device_driver *drv) in fw_unit_match()
216 static int fw_unit_probe(struct device *dev) in fw_unit_probe()
224 static void fw_unit_remove(struct device *dev) in fw_unit_remove()
243 static int fw_unit_uevent(const struct device *dev, struct kobj_uevent_env *env) in fw_unit_uevent()
282 static ssize_t show_immediate(struct device *dev, in show_immediate()
331 static ssize_t show_text_leaf(struct device *dev, in show_text_leaf()
410 static void init_fw_attribute_group(struct device *dev, in init_fw_attribute_group()
411 struct device_attribute *attrs, in init_fw_attribute_group()
434 static ssize_t modalias_show(struct device *dev, in modalias_show()
[all …]
/linux-6.8/drivers/net/ethernet/mellanox/mlxsw/
Dcore_hwmon.c50 struct attribute *attrs[MLXSW_HWMON_ATTR_COUNT + 1]; member
65 static ssize_t mlxsw_hwmon_temp_show(struct device *dev, in mlxsw_hwmon_temp_show()
90 static ssize_t mlxsw_hwmon_temp_max_show(struct device *dev, in mlxsw_hwmon_temp_max_show()
115 static ssize_t mlxsw_hwmon_temp_rst_store(struct device *dev, in mlxsw_hwmon_temp_rst_store()
152 static ssize_t mlxsw_hwmon_fan_rpm_show(struct device *dev, in mlxsw_hwmon_fan_rpm_show()
172 static ssize_t mlxsw_hwmon_fan_fault_show(struct device *dev, in mlxsw_hwmon_fan_fault_show()
194 static ssize_t mlxsw_hwmon_pwm_show(struct device *dev, in mlxsw_hwmon_pwm_show()
215 static ssize_t mlxsw_hwmon_pwm_store(struct device *dev, in mlxsw_hwmon_pwm_store()
242 static int mlxsw_hwmon_module_temp_get(struct device *dev, in mlxsw_hwmon_module_temp_get()
268 static ssize_t mlxsw_hwmon_module_temp_show(struct device *dev, in mlxsw_hwmon_module_temp_show()
[all …]
/linux-6.8/drivers/vdpa/
Dvdpa.c68 static int vdpa_dev_match(struct device *dev, struct device_driver *drv) in vdpa_dev_match()
80 static ssize_t driver_override_store(struct device *dev, in driver_override_store()
94 static ssize_t driver_override_show(struct device *dev, in driver_override_show()
216 static int vdpa_name_match(struct device *dev, const void *data) in vdpa_name_match()
225 struct device *dev; in __vdpa_register_device() local
350 static int vdpa_match_remove(struct device *dev, void *data) in vdpa_match_remove()
439 static struct vdpa_mgmt_dev *vdpa_mgmtdev_get_from_attr(struct nlattr **attrs) in vdpa_mgmtdev_get_from_attr()
708 struct device *dev; in vdpa_nl_cmd_dev_del_set_doit() local
790 struct device *dev; in vdpa_nl_cmd_dev_get_doit() local
836 static int vdpa_dev_dump(struct device *dev, void *data) in vdpa_dev_dump()
[all …]
/linux-6.8/drivers/media/rc/
Dredrat3.c191 struct device *dev; member
342 struct device *dev; in redrat3_process_ir_data() local
424 struct device *dev = rr3->dev; in redrat3_enable_detector() local
501 struct device *dev = rr3->dev; in redrat3_set_timeout() local
530 struct device *dev = rr3->dev; in redrat3_reset() local
655 struct device *dev = rr3->dev; in redrat3_get_ir_data() local
737 struct device *dev = rr3->dev; in redrat3_set_tx_carrier() local
752 struct device *dev = rr3->dev; in redrat3_transmit_ir() local
928 struct device *dev = rr3->dev; in redrat3_init_rc_dev() local
977 struct device *dev = &intf->dev; in redrat3_dev_probe() local
[all …]
/linux-6.8/arch/powerpc/platforms/cell/
Diommu.c158 unsigned long attrs) in tce_build_cell()
542 static struct iommu_table *cell_get_iommu_table(struct device *dev) in cell_get_iommu_table()
564 static void cell_dma_dev_setup(struct device *dev) in cell_dma_dev_setup()
577 static void cell_pci_dma_dev_setup(struct pci_dev *dev) in cell_pci_dma_dev_setup()
585 struct device *dev = data; in cell_of_bus_notify() local
797 static u64 cell_iommu_get_fixed_address(struct device *dev) in cell_iommu_get_fixed_address()
/linux-6.8/drivers/infiniband/hw/erdma/
Derdma.h161 void *dev; /* All EQs use this fields to get erdma_dev struct */ member
194 struct erdma_devattr attrs; member
231 static inline u32 erdma_reg_read32(struct erdma_dev *dev, u32 reg) in erdma_reg_read32()
236 static inline u64 erdma_reg_read64(struct erdma_dev *dev, u32 reg) in erdma_reg_read64()
241 static inline void erdma_reg_write32(struct erdma_dev *dev, u32 reg, u32 value) in erdma_reg_write32()
246 static inline void erdma_reg_write64(struct erdma_dev *dev, u32 reg, u64 value) in erdma_reg_write64()
251 static inline u32 erdma_reg_read32_filed(struct erdma_dev *dev, u32 reg, in erdma_reg_read32_filed()
/linux-6.8/drivers/net/can/usb/etas_es58x/
Des58x_core.c925 int es58x_rx_cmd_ret_u8(struct device *dev, in es58x_rx_cmd_ret_u8()
1168 const struct device *dev = es58x_dev->dev; in es58x_check_rx_urb() local
1413 const struct device *dev = es58x_dev->dev; in es58x_read_bulk_callback() local
1702 const struct device *dev = es58x_dev->dev; in es58x_alloc_rx_urbs() local
2049 struct devlink_port_attrs attrs = { in es58x_init_priv() local
2086 struct device *dev = es58x_dev->dev; in es58x_init_netdev() local
2155 struct device *dev = &intf->dev; in es58x_init_es58x_dev() local

12345678