Home
last modified time | relevance | path

Searched +defs:dev +defs:id +defs:attrs (Results 1 – 25 of 93) sorted by relevance

1234

/kernel/linux/linux-6.6/drivers/infiniband/hw/erdma/
Derdma_qp.c41 struct ib_qp *erdma_get_ibqp(struct ib_device *ibdev, int id) in erdma_get_ibqp()
52 struct erdma_qp_attrs *attrs, in erdma_modify_qp_state_to_rts()
56 struct erdma_dev *dev = qp->dev; in erdma_modify_qp_state_to_rts() local
103 struct erdma_qp_attrs *attrs, in erdma_modify_qp_state_to_stop()
106 struct erdma_dev *dev = qp->dev; in erdma_modify_qp_state_to_stop() local
120 int erdma_modify_qp_internal(struct erdma_qp *qp, struct erdma_qp_attrs *attrs, in erdma_modify_qp_internal()
301 u32 attrs; in erdma_push_one_sqe() local
/kernel/linux/linux-5.10/net/ieee802154/
Dnl802154.c37 __cfg802154_wpan_dev_from_attrs(struct net *netns, struct nlattr **attrs) in __cfg802154_wpan_dev_from_attrs()
92 __cfg802154_rdev_from_attrs(struct net *netns, struct nlattr **attrs) in __cfg802154_rdev_from_attrs()
774 struct net_device *dev = wpan_dev->netdev; in nl802154_send_iface() local
1052 struct net_device *dev = info->user_ptr[1]; in nl802154_set_pan_id() local
1088 struct net_device *dev = info->user_ptr[1]; in nl802154_set_short_addr() local
1130 struct net_device *dev = info->user_ptr[1]; in nl802154_set_backoff_exponent() local
1160 struct net_device *dev = info->user_ptr[1]; in nl802154_set_max_csma_backoffs() local
1186 struct net_device *dev = info->user_ptr[1]; in nl802154_set_max_frame_retries() local
1210 struct net_device *dev = info->user_ptr[1]; in nl802154_set_lbt_mode() local
1235 struct net_device *dev = info->user_ptr[1]; in nl802154_set_ackreq_default() local
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dhwmon.c33 struct device dev; member
62 struct device *dev; /* Reference to hwmon device */ member
68 name_show(struct device *dev, struct device_attribute *attr, char *buf) in name_show()
82 struct device *dev = container_of(kobj, struct device, kobj); in hwmon_dev_name_is_visible() local
100 static void hwmon_free_attrs(struct attribute **attrs) in hwmon_free_attrs()
113 static void hwmon_dev_release(struct device *dev) in hwmon_dev_release()
165 static int hwmon_thermal_add_sensor(struct device *dev, int index) in hwmon_thermal_add_sensor()
200 static int hwmon_thermal_register_sensors(struct device *dev) in hwmon_thermal_register_sensors()
231 static void hwmon_thermal_notify(struct device *dev, int index) in hwmon_thermal_notify()
245 static int hwmon_thermal_register_sensors(struct device *dev) in hwmon_thermal_register_sensors()
[all …]
Dcoretemp.c82 struct attribute *attrs[TOTAL_ATTRS + 1]; member
103 static ssize_t show_label(struct device *dev, in show_label()
116 static ssize_t show_crit_alarm(struct device *dev, in show_crit_alarm()
131 static ssize_t show_tjmax(struct device *dev, in show_tjmax()
140 static ssize_t show_ttarget(struct device *dev, in show_ttarget()
149 static ssize_t show_temp(struct device *dev, in show_temp()
190 char const *id; member
225 static int adjust_tjmax(struct cpuinfo_x86 *c, u32 id, struct device *dev) in adjust_tjmax()
343 static int get_tjmax(struct cpuinfo_x86 *c, u32 id, struct device *dev) in get_tjmax()
382 static int create_core_attrs(struct temp_data *tdata, struct device *dev, in create_core_attrs()
[all …]
/kernel/linux/linux-6.6/net/ieee802154/
Dnl802154.c39 __cfg802154_wpan_dev_from_attrs(struct net *netns, struct nlattr **attrs) in __cfg802154_wpan_dev_from_attrs()
94 __cfg802154_rdev_from_attrs(struct net *netns, struct nlattr **attrs) in __cfg802154_rdev_from_attrs()
793 struct net_device *dev = wpan_dev->netdev; in nl802154_send_iface() local
1070 struct net_device *dev = info->user_ptr[1]; in nl802154_set_pan_id() local
1106 struct net_device *dev = info->user_ptr[1]; in nl802154_set_short_addr() local
1148 struct net_device *dev = info->user_ptr[1]; in nl802154_set_backoff_exponent() local
1178 struct net_device *dev = info->user_ptr[1]; in nl802154_set_max_csma_backoffs() local
1204 struct net_device *dev = info->user_ptr[1]; in nl802154_set_max_frame_retries() local
1228 struct net_device *dev = info->user_ptr[1]; in nl802154_set_lbt_mode() local
1253 struct net_device *dev = info->user_ptr[1]; in nl802154_set_ackreq_default() local
[all …]
/kernel/linux/linux-5.10/drivers/usb/typec/
Dbus.h12 unsigned int id; member
18 struct attribute *attrs[5]; member
39 struct device dev; member
44 struct device dev; member
/kernel/linux/linux-6.6/drivers/hwmon/
Dhwmon.c36 struct device dev; member
65 struct device *dev; /* Reference to hwmon device */ member
71 name_show(struct device *dev, struct device_attribute *attr, char *buf) in name_show()
78 label_show(struct device *dev, struct device_attribute *attr, char *buf) in label_show()
93 struct device *dev = kobj_to_dev(kobj); in hwmon_dev_attr_is_visible() local
115 static void hwmon_free_attrs(struct attribute **attrs) in hwmon_free_attrs()
128 static void hwmon_dev_release(struct device *dev) in hwmon_dev_release()
216 static int hwmon_thermal_add_sensor(struct device *dev, int index) in hwmon_thermal_add_sensor()
251 static int hwmon_thermal_register_sensors(struct device *dev) in hwmon_thermal_register_sensors()
282 static void hwmon_thermal_notify(struct device *dev, int index) in hwmon_thermal_notify()
[all …]
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
Dvio.c482 static void *vio_dma_iommu_alloc_coherent(struct device *dev, size_t size, in vio_dma_iommu_alloc_coherent()
484 unsigned long attrs) in vio_dma_iommu_alloc_coherent()
505 static void vio_dma_iommu_free_coherent(struct device *dev, size_t size, in vio_dma_iommu_free_coherent()
507 unsigned long attrs) in vio_dma_iommu_free_coherent()
515 static dma_addr_t vio_dma_iommu_map_page(struct device *dev, struct page *page, in vio_dma_iommu_map_page()
518 unsigned long attrs) in vio_dma_iommu_map_page()
539 static void vio_dma_iommu_unmap_page(struct device *dev, dma_addr_t dma_handle, in vio_dma_iommu_unmap_page()
542 unsigned long attrs) in vio_dma_iommu_unmap_page()
551 static int vio_dma_iommu_map_sg(struct device *dev, struct scatterlist *sglist, in vio_dma_iommu_map_sg()
553 unsigned long attrs) in vio_dma_iommu_map_sg()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dvio.c480 static void *vio_dma_iommu_alloc_coherent(struct device *dev, size_t size, in vio_dma_iommu_alloc_coherent()
482 unsigned long attrs) in vio_dma_iommu_alloc_coherent()
503 static void vio_dma_iommu_free_coherent(struct device *dev, size_t size, in vio_dma_iommu_free_coherent()
505 unsigned long attrs) in vio_dma_iommu_free_coherent()
513 static dma_addr_t vio_dma_iommu_map_page(struct device *dev, struct page *page, in vio_dma_iommu_map_page()
516 unsigned long attrs) in vio_dma_iommu_map_page()
537 static void vio_dma_iommu_unmap_page(struct device *dev, dma_addr_t dma_handle, in vio_dma_iommu_unmap_page()
540 unsigned long attrs) in vio_dma_iommu_unmap_page()
549 static int vio_dma_iommu_map_sg(struct device *dev, struct scatterlist *sglist, in vio_dma_iommu_map_sg()
551 unsigned long attrs) in vio_dma_iommu_map_sg()
[all …]
/kernel/linux/linux-5.10/drivers/usb/usbip/
Dvhci_sysfs.c147 static ssize_t status_show(struct device *dev, in status_show()
165 static ssize_t nports_show(struct device *dev, struct device_attribute *attr, in nports_show()
233 static ssize_t detach_store(struct device *dev, struct device_attribute *attr, in detach_store()
308 static ssize_t attach_store(struct device *dev, struct device_attribute *attr, in attach_store()
458 static void set_status_attr(int id) in set_status_attr()
475 int id; in init_status_attrs() local
499 struct attribute **attrs; in vhci_init_attr_group() local
/kernel/linux/linux-6.6/drivers/usb/usbip/
Dvhci_sysfs.c147 static ssize_t status_show(struct device *dev, in status_show()
165 static ssize_t nports_show(struct device *dev, struct device_attribute *attr, in nports_show()
233 static ssize_t detach_store(struct device *dev, struct device_attribute *attr, in detach_store()
308 static ssize_t attach_store(struct device *dev, struct device_attribute *attr, in attach_store()
459 static void set_status_attr(int id) in set_status_attr()
476 int id; in init_status_attrs() local
500 struct attribute **attrs; in vhci_init_attr_group() local
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
Dice_devlink.c256 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_info_get() local
390 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_reload_empr_start() local
533 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_port_options_print() local
607 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_aq_set_port_option() local
667 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_port_split() local
775 struct device *dev = ice_pf_to_dev(pf); in ice_enable_custom_tx() local
1285 ice_devlink_enable_roce_get(struct devlink *devlink, u32 id, in ice_devlink_enable_roce_get()
1296 ice_devlink_enable_roce_set(struct devlink *devlink, u32 id, in ice_devlink_enable_roce_set()
1318 ice_devlink_enable_roce_validate(struct devlink *devlink, u32 id, in ice_devlink_enable_roce_validate()
1336 ice_devlink_enable_iw_get(struct devlink *devlink, u32 id, in ice_devlink_enable_iw_get()
[all …]
/kernel/linux/linux-6.6/kernel/
Dworkqueue.c157 int id; /* I: pool ID */ member
193 struct workqueue_attrs *attrs; /* I: worker attributes */ member
2169 int id; in create_worker() local
3731 void free_workqueue_attrs(struct workqueue_attrs *attrs) in free_workqueue_attrs()
3750 struct workqueue_attrs *attrs; in alloc_workqueue_attrs() local
3789 static void wqattrs_clear_for_pool(struct workqueue_attrs *attrs) in wqattrs_clear_for_pool()
3796 static u32 wqattrs_hash(const struct workqueue_attrs *attrs) in wqattrs_hash()
3825 static void wqattrs_actualize_cpumask(struct workqueue_attrs *attrs, in wqattrs_actualize_cpumask()
3840 wqattrs_pod_type(const struct workqueue_attrs *attrs) in wqattrs_pod_type()
4067 static struct worker_pool *get_unbound_pool(const struct workqueue_attrs *attrs) in get_unbound_pool()
[all …]
/kernel/linux/linux-5.10/kernel/
Dworkqueue.c152 int id; /* I: pool ID */ member
176 struct workqueue_attrs *attrs; /* I: worker attributes */ member
1922 int id = -1; in create_worker() local
3362 void free_workqueue_attrs(struct workqueue_attrs *attrs) in free_workqueue_attrs()
3380 struct workqueue_attrs *attrs; in alloc_workqueue_attrs() local
3409 static u32 wqattrs_hash(const struct workqueue_attrs *attrs) in wqattrs_hash()
3620 static struct worker_pool *get_unbound_pool(const struct workqueue_attrs *attrs) in get_unbound_pool()
3824 const struct workqueue_attrs *attrs) in alloc_unbound_pwq()
3867 static bool wq_calc_node_cpumask(const struct workqueue_attrs *attrs, int node, in wq_calc_node_cpumask()
3918 struct workqueue_attrs *attrs; /* attrs to apply */ member
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/rocker/
Drocker_main.c705 struct net_device *dev = rocker_port->dev; in rocker_dma_rx_ring_skb_alloc() local
729 const struct rocker_tlv **attrs) in rocker_dma_rx_ring_skb_unmap()
746 const struct rocker_tlv *attrs[ROCKER_TLV_RX_MAX + 1]; in rocker_dma_rx_ring_skb_free() local
915 const struct rocker_tlv *attrs[ROCKER_TLV_EVENT_LINK_CHANGED_MAX + 1]; in rocker_event_link_change() local
949 const struct rocker_tlv *attrs[ROCKER_TLV_EVENT_MAC_VLAN_MAX + 1]; in rocker_event_mac_vlan_seen() local
975 const struct rocker_tlv *attrs[ROCKER_TLV_EVENT_MAX + 1]; in rocker_event_process() local
1120 const struct rocker_tlv *attrs[ROCKER_TLV_CMD_MAX + 1]; in rocker_cmd_get_port_settings_ethtool_proc() local
1159 const struct rocker_tlv *attrs[ROCKER_TLV_CMD_MAX + 1]; in rocker_cmd_get_port_settings_macaddr_proc() local
1186 const struct rocker_tlv *attrs[ROCKER_TLV_CMD_MAX + 1]; in rocker_cmd_get_port_settings_mode_proc() local
1215 const struct rocker_tlv *attrs[ROCKER_TLV_CMD_MAX + 1]; in rocker_cmd_get_port_settings_phys_name_proc() local
[all …]
/kernel/linux/linux-6.6/drivers/extcon/
Dextcon.c34 unsigned int id; member
227 struct attribute *attrs[3]; /* to be fed to attr_g.attrs */ member
266 static int find_cable_index_by_id(struct extcon_dev *edev, const unsigned int id) in find_cable_index_by_id()
307 static bool is_extcon_property_supported(unsigned int id, unsigned int prop) in is_extcon_property_supported()
321 unsigned int id, int index,unsigned int prop) in is_extcon_property_capability()
353 static void init_property(struct extcon_dev *edev, unsigned int id, int index) in init_property()
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()
[all …]
/kernel/linux/linux-5.10/drivers/extcon/
Dextcon.c33 unsigned int id; member
226 struct attribute *attrs[3]; /* to be fed to attr_g.attrs */ member
264 static int find_cable_index_by_id(struct extcon_dev *edev, const unsigned int id) in find_cable_index_by_id()
305 static bool is_extcon_property_supported(unsigned int id, unsigned int prop) in is_extcon_property_supported()
319 unsigned int id, int index,unsigned int prop) in is_extcon_property_capability()
351 static void init_property(struct extcon_dev *edev, unsigned int id, int index) in init_property()
366 static ssize_t state_show(struct device *dev, struct device_attribute *attr, in state_show()
385 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show()
394 static ssize_t cable_name_show(struct device *dev, in cable_name_show()
405 static ssize_t cable_state_show(struct device *dev, in cable_state_show()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/rocker/
Drocker_main.c705 struct net_device *dev = rocker_port->dev; in rocker_dma_rx_ring_skb_alloc() local
729 const struct rocker_tlv **attrs) in rocker_dma_rx_ring_skb_unmap()
746 const struct rocker_tlv *attrs[ROCKER_TLV_RX_MAX + 1]; in rocker_dma_rx_ring_skb_free() local
915 const struct rocker_tlv *attrs[ROCKER_TLV_EVENT_LINK_CHANGED_MAX + 1]; in rocker_event_link_change() local
949 const struct rocker_tlv *attrs[ROCKER_TLV_EVENT_MAC_VLAN_MAX + 1]; in rocker_event_mac_vlan_seen() local
975 const struct rocker_tlv *attrs[ROCKER_TLV_EVENT_MAX + 1]; in rocker_event_process() local
1120 const struct rocker_tlv *attrs[ROCKER_TLV_CMD_MAX + 1]; in rocker_cmd_get_port_settings_ethtool_proc() local
1159 const struct rocker_tlv *attrs[ROCKER_TLV_CMD_MAX + 1]; in rocker_cmd_get_port_settings_macaddr_proc() local
1186 const struct rocker_tlv *attrs[ROCKER_TLV_CMD_MAX + 1]; in rocker_cmd_get_port_settings_mode_proc() local
1215 const struct rocker_tlv *attrs[ROCKER_TLV_CMD_MAX + 1]; in rocker_cmd_get_port_settings_phys_name_proc() local
[all …]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
Ddevx.c87 struct mlx5_ib_dev *dev; member
107 devx_ufile2uctx(const struct uverbs_attr_bundle *attrs) in devx_ufile2uctx()
112 int mlx5_ib_devx_create(struct mlx5_ib_dev *dev, bool is_user) in mlx5_ib_devx_create()
145 void mlx5_ib_devx_destroy(struct mlx5_ib_dev *dev, u16 uid) in mlx5_ib_devx_destroy()
591 static bool devx_is_valid_obj_id(struct uverbs_attr_bundle *attrs, in devx_is_valid_obj_id()
594 struct mlx5_ib_dev *dev = mlx5_udata_to_mdev(&attrs->driver_udata); in devx_is_valid_obj_id() local
934 struct mlx5_ib_dev *dev; in devx_get_uid() local
952 static bool devx_is_general_cmd(void *in, struct mlx5_ib_dev *dev) in devx_is_general_cmd()
991 struct mlx5_ib_dev *dev; in UVERBS_HANDLER() local
1040 struct mlx5_ib_dev *dev; in UVERBS_HANDLER() local
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Ddevx.c87 struct mlx5_ib_dev *dev; member
110 devx_ufile2uctx(const struct uverbs_attr_bundle *attrs) in devx_ufile2uctx()
115 int mlx5_ib_devx_create(struct mlx5_ib_dev *dev, bool is_user) in mlx5_ib_devx_create()
148 void mlx5_ib_devx_destroy(struct mlx5_ib_dev *dev, u16 uid) in mlx5_ib_devx_destroy()
520 static bool devx_is_valid_obj_id(struct uverbs_attr_bundle *attrs, in devx_is_valid_obj_id()
523 struct mlx5_ib_dev *dev = mlx5_udata_to_mdev(&attrs->driver_udata); in devx_is_valid_obj_id() local
862 struct mlx5_ib_dev *dev; in devx_get_uid() local
880 static bool devx_is_general_cmd(void *in, struct mlx5_ib_dev *dev) in devx_is_general_cmd()
918 struct mlx5_ib_dev *dev; in UVERBS_HANDLER() local
967 struct mlx5_ib_dev *dev; in UVERBS_HANDLER() local
[all …]
/kernel/linux/linux-5.10/drivers/iommu/intel/
Diommu.c368 struct device_domain_info *get_domain_info(struct device *dev) in get_domain_info()
819 static bool attach_deferred(struct device *dev) in attach_deferred()
833 is_downstream_to_pci_bridge(struct device *dev, struct device *bridge) in is_downstream_to_pci_bridge()
881 static bool iommu_is_dummy(struct intel_iommu *iommu, struct device *dev) in iommu_is_dummy()
898 struct intel_iommu *device_to_iommu(struct device *dev, u8 *bus, u8 *devfn) in device_to_iommu()
2306 domain_context_mapping(struct dmar_domain *domain, struct device *dev) in domain_context_mapping()
2339 static int domain_context_mapped(struct device *dev) in domain_context_mapped()
2606 struct dmar_domain *find_domain(struct device *dev) in find_domain()
2624 static void do_deferred_attach(struct device *dev) in do_deferred_attach()
2649 struct device *dev, in domain_setup_first_level()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c134 static void kfd_release_topology_device(struct kfd_topology_device *dev) in kfd_release_topology_device()
176 struct kfd_topology_device *dev; in kfd_release_topology_device_list() local
194 struct kfd_topology_device *dev; in kfd_create_topology_device() local
388 static ssize_t perf_show(struct kobject *kobj, struct kobj_attribute *attrs, in perf_show()
419 struct kfd_topology_device *dev; in node_show() local
554 static void kfd_remove_sysfs_node_entry(struct kfd_topology_device *dev) in kfd_remove_sysfs_node_entry()
616 static int kfd_build_sysfs_node_entry(struct kfd_topology_device *dev, in kfd_build_sysfs_node_entry()
617 uint32_t id) in kfd_build_sysfs_node_entry()
625 struct attribute **attrs; in kfd_build_sysfs_node_entry() local
777 struct kfd_topology_device *dev; in kfd_build_sysfs_node_tree() local
[all …]
/kernel/linux/linux-5.10/drivers/misc/
Dics932s401.c84 struct attribute_group attrs; member
116 static struct ics932s401_data *ics932s401_update_device(struct device *dev) in ics932s401_update_device()
149 static ssize_t show_spread_enabled(struct device *dev, in show_spread_enabled()
196 static ssize_t show_cpu_clock(struct device *dev, in show_cpu_clock()
205 static ssize_t show_cpu_clock_sel(struct device *dev, in show_cpu_clock_sel()
253 static ssize_t show_src_clock(struct device *dev, in show_src_clock()
262 static ssize_t show_src_clock_sel(struct device *dev, in show_src_clock_sel()
301 static ssize_t show_pci_clock(struct device *dev, in show_pci_clock()
310 static ssize_t show_pci_clock_sel(struct device *dev, in show_pci_clock_sel()
360 static ssize_t show_value(struct device *dev, in show_value()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/
Dmsm_drv.c88 struct drm_device *dev = arg; in msm_irq() local
97 static void msm_irq_preinstall(struct drm_device *dev) in msm_irq_preinstall()
107 static int msm_irq_postinstall(struct drm_device *dev) in msm_irq_postinstall()
120 static int msm_irq_install(struct drm_device *dev, unsigned int irq) in msm_irq_install()
146 static void msm_irq_uninstall(struct drm_device *dev) in msm_irq_uninstall()
198 static int msm_drm_uninit(struct device *dev) in msm_drm_uninit()
268 struct msm_gem_address_space *msm_kms_init_aspace(struct drm_device *dev) in msm_kms_init_aspace()
304 bool msm_use_mmu(struct drm_device *dev) in msm_use_mmu()
318 static int msm_init_vram(struct drm_device *dev) in msm_init_vram()
362 unsigned long attrs = 0; in msm_init_vram() local
[all …]
/kernel/linux/linux-6.6/drivers/firewire/
Dcore-device.c119 static void get_ids(const u32 *directory, int *id) in get_ids()
135 static void get_modalias_ids(const struct fw_unit *unit, int *id) in get_modalias_ids()
141 static bool match_ids(const struct ieee1394_device_id *id_table, int *id) in match_ids()
157 static const struct ieee1394_device_id *unit_match(struct device *dev, in unit_match()
162 int id[] = {0, 0, 0, 0}; in unit_match() local
175 static int fw_unit_match(struct device *dev, struct device_driver *drv) in fw_unit_match()
181 static int fw_unit_probe(struct device *dev) in fw_unit_probe()
189 static void fw_unit_remove(struct device *dev) in fw_unit_remove()
199 int id[] = {0, 0, 0, 0}; in get_modalias() local
208 static int fw_unit_uevent(const struct device *dev, struct kobj_uevent_env *env) in fw_unit_uevent()
[all …]

1234