Home
last modified time | relevance | path

Searched refs:cdev (Results 1 – 25 of 37) sorted by relevance

12

/include/linux/
Dcdev.h14 struct cdev { struct
23 void cdev_init(struct cdev *, const struct file_operations *); argument
25 struct cdev *cdev_alloc(void);
27 void cdev_put(struct cdev *p);
29 int cdev_add(struct cdev *, dev_t, unsigned);
31 void cdev_set_parent(struct cdev *p, struct kobject *kobj);
32 int cdev_device_add(struct cdev *cdev, struct device *dev);
33 void cdev_device_del(struct cdev *cdev, struct device *dev);
35 void cdev_del(struct cdev *);
Dclock_cooling.h35 void clock_cooling_unregister(struct thermal_cooling_device *cdev);
37 unsigned long clock_cooling_get_level(struct thermal_cooling_device *cdev,
46 void clock_cooling_unregister(struct thermal_cooling_device *cdev) in clock_cooling_unregister() argument
50 unsigned long clock_cooling_get_level(struct thermal_cooling_device *cdev, in clock_cooling_get_level() argument
Dthermal.h246 struct thermal_cooling_device *cdev; member
276 struct thermal_cooling_device *cdev);
418 static inline bool cdev_is_power_actor(struct thermal_cooling_device *cdev) in cdev_is_power_actor() argument
420 return cdev->ops->get_requested_power && cdev->ops->state2power && in cdev_is_power_actor()
421 cdev->ops->power2state; in cdev_is_power_actor()
467 static inline bool cdev_is_power_actor(struct thermal_cooling_device *cdev) in cdev_is_power_actor() argument
469 static inline int power_actor_get_max_power(struct thermal_cooling_device *cdev, in power_actor_get_max_power() argument
472 static inline int power_actor_get_min_power(struct thermal_cooling_device *cdev, in power_actor_get_min_power() argument
476 static inline int power_actor_set_power(struct thermal_cooling_device *cdev, in power_actor_set_power() argument
490 struct thermal_cooling_device *cdev, in thermal_zone_bind_cooling_device() argument
[all …]
Dcpu_cooling.h34 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev);
44 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev) in cpufreq_cooling_unregister() argument
Dposix-clock.h87 struct cdev cdev; member
Dgnss.h39 struct cdev cdev; member
Dcontainer.h19 int (*offline)(struct container_dev *cdev);
Dif_tap.h80 int tap_create_cdev(struct cdev *tap_cdev, dev_t *tap_major,
82 void tap_destroy_cdev(dev_t major, struct cdev *tap_cdev);
Dpps_kernel.h59 struct cdev cdev; member
Denclosure.h86 struct device cdev; member
116 return container_of(dev, struct enclosure_component, cdev); in to_enclosure_component()
Dtpm.h111 struct cdev cdev; member
112 struct cdev cdevs;
Dleds-lp3952.h92 struct led_classdev cdev; member
/include/linux/qed/
Dqed_eth_if.h231 int (*ieee_getpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
232 int (*ieee_setpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
233 int (*ieee_getets)(struct qed_dev *cdev, struct ieee_ets *ets);
234 int (*ieee_setets)(struct qed_dev *cdev, struct ieee_ets *ets);
235 int (*ieee_peer_getets)(struct qed_dev *cdev, struct ieee_ets *ets);
236 int (*ieee_peer_getpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
237 int (*ieee_getapp)(struct qed_dev *cdev, struct dcb_app *app);
238 int (*ieee_setapp)(struct qed_dev *cdev, struct dcb_app *app);
241 u8 (*getstate)(struct qed_dev *cdev);
242 u8 (*setstate)(struct qed_dev *cdev, u8 state);
[all …]
Dqed_iov_if.h40 int (*configure)(struct qed_dev *cdev, int num_vfs_param);
42 int (*set_mac) (struct qed_dev *cdev, u8 *mac, int vfid);
44 int (*set_vlan) (struct qed_dev *cdev, u16 vid, int vfid);
46 int (*get_config) (struct qed_dev *cdev, int vf_id,
49 int (*set_link_state) (struct qed_dev *cdev, int vf_id,
52 int (*set_spoof) (struct qed_dev *cdev, int vfid, bool val);
54 int (*set_rate) (struct qed_dev *cdev, int vfid,
57 int (*set_trust) (struct qed_dev *cdev, int vfid, bool trust);
Dqed_fcoe_if.h68 void qed_fcoe_set_pf_params(struct qed_dev *cdev,
122 int (*fill_dev_info)(struct qed_dev *cdev,
125 void (*register_ops)(struct qed_dev *cdev,
130 int (*start)(struct qed_dev *cdev, struct qed_fcoe_tid *tasks);
132 int (*stop)(struct qed_dev *cdev);
134 int (*acquire_conn)(struct qed_dev *cdev,
138 int (*release_conn)(struct qed_dev *cdev, u32 handle);
140 int (*offload_conn)(struct qed_dev *cdev,
143 int (*destroy_conn)(struct qed_dev *cdev,
146 int (*get_stats)(struct qed_dev *cdev, struct qed_fcoe_stats *stats);
Dqed_if.h606 struct qed_dev *cdev; member
829 int (*selftest_interrupt)(struct qed_dev *cdev);
838 int (*selftest_memory)(struct qed_dev *cdev);
847 int (*selftest_register)(struct qed_dev *cdev);
856 int (*selftest_clock)(struct qed_dev *cdev);
865 int (*selftest_nvram) (struct qed_dev *cdev);
874 void (*remove)(struct qed_dev *cdev);
876 int (*set_power_state)(struct qed_dev *cdev,
879 void (*set_name) (struct qed_dev *cdev, char name[]);
885 void (*update_pf_params)(struct qed_dev *cdev,
[all …]
Dqed_iscsi_if.h222 int (*fill_dev_info)(struct qed_dev *cdev,
225 void (*register_ops)(struct qed_dev *cdev,
228 int (*start)(struct qed_dev *cdev,
232 int (*stop)(struct qed_dev *cdev);
234 int (*acquire_conn)(struct qed_dev *cdev,
238 int (*release_conn)(struct qed_dev *cdev, u32 handle);
240 int (*offload_conn)(struct qed_dev *cdev,
244 int (*update_conn)(struct qed_dev *cdev,
248 int (*destroy_conn)(struct qed_dev *cdev, u32 handle, u8 abrt_conn);
250 int (*clear_sq)(struct qed_dev *cdev, u32 handle);
[all …]
Dqed_ll2_if.h238 int (*start)(struct qed_dev *cdev, struct qed_ll2_params *params);
247 int (*stop)(struct qed_dev *cdev);
258 int (*start_xmit)(struct qed_dev *cdev, struct sk_buff *skb,
271 void (*register_cb_ops)(struct qed_dev *cdev,
283 int (*get_stats)(struct qed_dev *cdev, struct qed_ll2_stats *stats);
298 static inline int qed_ll2_alloc_if(struct qed_dev *cdev) in qed_ll2_alloc_if() argument
303 static inline void qed_ll2_dealloc_if(struct qed_dev *cdev) in qed_ll2_dealloc_if() argument
Dqed_rdma_if.h592 int (*fill_dev_info)(struct qed_dev *cdev,
594 void *(*rdma_get_rdma_ctx)(struct qed_dev *cdev);
606 int (*rdma_get_start_sb)(struct qed_dev *cdev);
607 int (*rdma_get_min_cnq_msix)(struct qed_dev *cdev);
609 int (*rdma_get_rdma_int)(struct qed_dev *cdev,
611 int (*rdma_set_rdma_int)(struct qed_dev *cdev, u16 cnt);
670 int (*ll2_set_mac_filter)(struct qed_dev *cdev,
673 int (*iwarp_set_engine_affin)(struct qed_dev *cdev, bool b_reset);
/include/trace/events/
Dthermal.h51 TP_PROTO(struct thermal_cooling_device *cdev, unsigned long target),
53 TP_ARGS(cdev, target),
56 __string(type, cdev->type)
61 __assign_str(type, cdev->type);
154 TP_PROTO(struct thermal_cooling_device *cdev,
158 TP_ARGS(cdev, status, freq, dynamic_power, static_power, power),
161 __string(type, cdev->type )
170 __assign_str(type, cdev->type);
185 TP_PROTO(struct thermal_cooling_device *cdev, unsigned long freq,
188 TP_ARGS(cdev, freq, cdev_state, power),
[all …]
/include/linux/usb/
Dcomposite.h320 struct usb_composite_dev *cdev; member
392 int (*bind)(struct usb_composite_dev *cdev);
420 extern void usb_composite_setup_continue(struct usb_composite_dev *cdev);
422 struct usb_composite_dev *cdev);
423 extern int composite_os_desc_req_prepare(struct usb_composite_dev *cdev,
425 void composite_dev_cleanup(struct usb_composite_dev *cdev);
519 extern struct usb_string *usb_gstrings_attach(struct usb_composite_dev *cdev,
566 void usb_composite_overwrite_options(struct usb_composite_dev *cdev,
603 struct usb_configuration *usb_get_config(struct usb_composite_dev *cdev,
605 int usb_add_config_only(struct usb_composite_dev *cdev,
/include/media/
Dmedia-devnode.h83 struct cdev cdev; /* character device */ member
Dv4l2-dev.h269 struct cdev *cdev; member
/include/linux/platform_data/
Dleds-omap.h10 struct led_classdev cdev; member
/include/linux/mtd/
Dubi.h112 dev_t cdev; member
183 dev_t cdev; member

12