Home
last modified time | relevance | path

Searched defs:cdev (Results 101 – 125 of 471) sorted by relevance

12345678910>>...19

/linux-6.15/fs/
Dchar_dev.c40 struct cdev *cdev; /* will die */ member
273 struct cdev *cdev; in __register_chrdev() local
435 static void cdev_purge(struct cdev *cdev) in cdev_purge()
544 int cdev_device_add(struct cdev *cdev, struct device *dev) in cdev_device_add()
578 void cdev_device_del(struct cdev *cdev, struct device *dev) in cdev_device_del()
658 void cdev_init(struct cdev *cdev, const struct file_operations *fops) in cdev_init()
/linux-6.15/drivers/net/ethernet/mellanox/mlxsw/
Dcore_thermal.c105 struct thermal_cooling_device *cdev; member
151 struct thermal_cooling_device *cdev) in mlxsw_get_cooling_device_idx()
170 struct thermal_cooling_device *cdev, in mlxsw_thermal_should_bind()
219 struct thermal_cooling_device *cdev, in mlxsw_thermal_module_should_bind()
288 static int mlxsw_thermal_get_max_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_get_max_state()
295 static int mlxsw_thermal_get_cur_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_get_cur_state()
318 static int mlxsw_thermal_set_cur_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_set_cur_state()
691 struct thermal_cooling_device *cdev; in mlxsw_thermal_init() local
/linux-6.15/drivers/leds/
Dleds-rb532.c19 static void rb532_led_set(struct led_classdev *cdev, in rb532_led_set()
28 static enum led_brightness rb532_led_get(struct led_classdev *cdev) in rb532_led_get()
Dleds-tps6105x.c14 struct led_classdev cdev; member
25 static int tps6105x_brightness_set(struct led_classdev *cdev, in tps6105x_brightness_set()
Dleds-max5970.c26 struct led_classdev cdev; member
30 static int max5970_led_set_brightness(struct led_classdev *cdev, in max5970_led_set_brightness()
/linux-6.15/drivers/usb/gadget/legacy/
Dserial.c143 static int serial_register_ports(struct usb_composite_dev *cdev, in serial_register_ports()
191 static int gs_bind(struct usb_composite_dev *cdev) in gs_bind()
250 static int gs_unbind(struct usb_composite_dev *cdev) in gs_unbind()
Dncm.c127 static int gncm_bind(struct usb_composite_dev *cdev) in gncm_bind()
186 static int gncm_unbind(struct usb_composite_dev *cdev) in gncm_unbind()
Dcdc2.c138 static int cdc_bind(struct usb_composite_dev *cdev) in cdc_bind()
212 static int cdc_unbind(struct usb_composite_dev *cdev) in cdc_unbind()
/linux-6.15/drivers/usb/gadget/function/
Df_sourcesink.c295 static void disable_ep(struct usb_composite_dev *cdev, struct usb_ep *ep) in disable_ep()
304 void disable_endpoints(struct usb_composite_dev *cdev, in disable_endpoints()
319 struct usb_composite_dev *cdev = c->cdev; in sourcesink_bind() local
466 struct usb_composite_dev *cdev = ss->function.config->cdev; in check_read_data() local
522 struct usb_composite_dev *cdev; in source_sink_complete() local
620 struct usb_composite_dev *cdev; in source_sink_start_ep() local
636 struct usb_composite_dev *cdev; in disable_source_sink() local
645 enable_source_sink(struct usb_composite_dev *cdev, struct f_sourcesink *ss, in enable_source_sink()
740 struct usb_composite_dev *cdev = f->config->cdev; in sourcesink_set_alt() local
Df_acm.c300 struct usb_composite_dev *cdev = acm->port.func.config->cdev; in acm_complete_set_line_coding() local
332 struct usb_composite_dev *cdev = f->config->cdev; in acm_setup() local
424 struct usb_composite_dev *cdev = f->config->cdev; in acm_set_alt() local
470 struct usb_composite_dev *cdev = f->config->cdev; in acm_disable() local
536 struct usb_composite_dev *cdev = acm->port.func.config->cdev; in acm_notify_serial_state() local
611 struct usb_composite_dev *cdev = c->cdev; in acm_bind() local
Df_uvc.c268 struct usb_composite_dev *cdev = uvc->func.config->cdev; in uvc_function_setup_continue() local
295 struct usb_composite_dev *cdev = f->config->cdev; in uvc_function_set_alt() local
433 struct usb_composite_dev *cdev = uvc->func.config->cdev; in uvc_register_video() local
647 struct usb_composite_dev *cdev = c->cdev; in uvc_function_bind() local
987 struct usb_composite_dev *cdev = c->cdev; in uvc_function_unbind() local
Df_subset.c256 struct usb_composite_dev *cdev = f->config->cdev; in geth_set_alt() local
281 struct usb_composite_dev *cdev = f->config->cdev; in geth_disable() local
294 struct usb_composite_dev *cdev = c->cdev; in geth_bind() local
/linux-6.15/sound/soc/intel/catpt/
Dsysfs.c14 struct catpt_dev *cdev = dev_get_drvdata(dev); in fw_version_show() local
38 struct catpt_dev *cdev = dev_get_drvdata(dev); in fw_info_show() local
/linux-6.15/drivers/acpi/
Dfan_core.c29 static int fan_get_max_state(struct thermal_cooling_device *cdev, unsigned long in fan_get_max_state()
129 static int fan_get_cur_state(struct thermal_cooling_device *cdev, unsigned long in fan_get_cur_state()
184 fan_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in fan_set_cur_state()
321 struct thermal_cooling_device *cdev; in acpi_fan_probe() local
Dcontainer.c34 static int acpi_container_offline(struct container_dev *cdev) in acpi_container_offline()
48 struct container_dev *cdev; in container_device_attach() local
Dprocessor_thermal.c233 processor_get_max_state(struct thermal_cooling_device *cdev, in processor_get_max_state()
251 processor_get_cur_state(struct thermal_cooling_device *cdev, in processor_get_cur_state()
271 processor_set_cur_state(struct thermal_cooling_device *cdev, in processor_set_cur_state()
/linux-6.15/drivers/net/ethernet/qlogic/qed/
Dqed_rdma.c412 struct qed_dev *cdev = p_hwfn->cdev; in qed_rdma_init_devinfo() local
850 static int qed_fill_rdma_dev_info(struct qed_dev *cdev, in qed_fill_rdma_dev_info()
867 static int qed_rdma_get_sb_start(struct qed_dev *cdev) in qed_rdma_get_sb_start()
880 static int qed_rdma_get_min_cnq_msix(struct qed_dev *cdev) in qed_rdma_get_min_cnq_msix()
888 static int qed_rdma_set_int(struct qed_dev *cdev, u16 cnt) in qed_rdma_set_int()
910 static int qed_rdma_get_int(struct qed_dev *cdev, struct qed_int_info *info) in qed_rdma_get_int()
1668 static void *qed_rdma_get_rdma_ctx(struct qed_dev *cdev) in qed_rdma_get_rdma_ctx()
1920 static int qed_rdma_init(struct qed_dev *cdev, in qed_rdma_init()
1937 static int qed_roce_ll2_set_mac_filter(struct qed_dev *cdev, in qed_roce_ll2_set_mac_filter()
1955 static int qed_iwarp_set_engine_affin(struct qed_dev *cdev, bool b_reset) in qed_iwarp_set_engine_affin()
Dqed_ll2.c99 struct qed_dev *cdev = p_hwfn->cdev; in qed_ll2b_complete_tx_packet() local
113 static int qed_ll2_alloc_buffer(struct qed_dev *cdev, in qed_ll2_alloc_buffer()
137 static int qed_ll2_dealloc_buffer(struct qed_dev *cdev, in qed_ll2_dealloc_buffer()
156 static void qed_ll2_kill_buffers(struct qed_dev *cdev) in qed_ll2_kill_buffers()
169 struct qed_dev *cdev = p_hwfn->cdev; in qed_ll2b_complete_rx_packet() local
1180 struct qed_dev *cdev = p_hwfn->cdev; in qed_ll2_acquire_connection_rx() local
2370 static void qed_ll2_register_cb_ops(struct qed_dev *cdev, in qed_ll2_register_cb_ops()
2443 static bool qed_ll2_is_storage_eng1(struct qed_dev *cdev) in qed_ll2_is_storage_eng1()
2453 struct qed_dev *cdev = p_hwfn->cdev; in __qed_ll2_stop() local
2465 static int qed_ll2_stop(struct qed_dev *cdev) in qed_ll2_stop()
[all …]
Dqed_sriov.h17 #define IS_VF(cdev) ((cdev)->b_is_vf) argument
18 #define IS_PF(cdev) (!((cdev)->b_is_vf)) argument
21 #define IS_VF(cdev) (0) argument
22 #define IS_PF(cdev) (1) argument
446 static inline void qed_iov_free_hw_info(struct qed_dev *cdev) in qed_iov_free_hw_info()
456 static inline void qed_iov_wq_stop(struct qed_dev *cdev, bool schedule_first) in qed_iov_wq_stop()
460 static inline int qed_iov_wq_start(struct qed_dev *cdev) in qed_iov_wq_start()
470 static inline void qed_vf_start_iov_wq(struct qed_dev *cdev) in qed_vf_start_iov_wq()
474 static inline int qed_sriov_disable(struct qed_dev *cdev, bool pci_enabled) in qed_sriov_disable()
Dqed_init_ops.c122 void qed_init_iro_array(struct qed_dev *cdev) in qed_init_iro_array()
305 struct qed_dev *cdev = p_hwfn->cdev; in qed_init_cmd_array() local
500 struct qed_dev *cdev = p_hwfn->cdev; in qed_init_cmd_mode_match() local
553 struct qed_dev *cdev = p_hwfn->cdev; in qed_init_run() local
623 int qed_init_fw_data(struct qed_dev *cdev, const u8 *data) in qed_init_fw_data()
/linux-6.15/sound/soc/sof/
Dsof-client.h32 #define sof_client_dev_to_sof_dev(cdev) ((cdev)->sdev) argument
42 static inline int sof_client_ipc_tx_message_no_reply(struct sof_client_dev *cdev, void *ipc_msg) in sof_client_ipc_tx_message_no_reply()
/linux-6.15/drivers/s390/char/
Draw3270.c41 struct ccw_device *cdev; member
341 static void raw3270_irq(struct ccw_device *cdev, unsigned long intparm, struct irb *irb) in raw3270_irq()
726 static int raw3270_setup_device(struct ccw_device *cdev, struct raw3270 *rp, in raw3270_setup_device()
805 struct ccw_device *cdev; in raw3270_setup_console() local
854 static struct raw3270 *raw3270_create_device(struct ccw_device *cdev) in raw3270_create_device()
1096 struct ccw_device *cdev; in raw3270_delete_device() local
1117 static int raw3270_probe(struct ccw_device *cdev) in raw3270_probe()
1199 static int raw3270_set_online(struct ccw_device *cdev) in raw3270_set_online()
1226 static void raw3270_remove(struct ccw_device *cdev) in raw3270_remove()
1276 static int raw3270_set_offline(struct ccw_device *cdev) in raw3270_set_offline()
/linux-6.15/drivers/platform/x86/
Dfujitsu-laptop.c715 static int logolamp_set(struct led_classdev *cdev, in logolamp_set()
735 static enum led_brightness logolamp_get(struct led_classdev *cdev) in logolamp_get()
751 static int kblamps_set(struct led_classdev *cdev, in kblamps_set()
764 static enum led_brightness kblamps_get(struct led_classdev *cdev) in kblamps_get()
776 static int radio_led_set(struct led_classdev *cdev, in radio_led_set()
789 static enum led_brightness radio_led_get(struct led_classdev *cdev) in radio_led_get()
800 static int eco_led_set(struct led_classdev *cdev, in eco_led_set()
815 static enum led_brightness eco_led_get(struct led_classdev *cdev) in eco_led_get()
/linux-6.15/drivers/input/
Dinput-leds.c45 struct led_classdev cdev; member
56 static enum led_brightness input_leds_brightness_get(struct led_classdev *cdev) in input_leds_brightness_get()
64 static void input_leds_brightness_set(struct led_classdev *cdev, in input_leds_brightness_set()
/linux-6.15/drivers/thermal/
Dthermal_netlink.h117 static inline int thermal_notify_cdev_state_update(const struct thermal_cooling_device *cdev, in thermal_notify_cdev_state_update()
123 static inline int thermal_notify_cdev_add(const struct thermal_cooling_device *cdev) in thermal_notify_cdev_add()
128 static inline int thermal_notify_cdev_delete(const struct thermal_cooling_device *cdev) in thermal_notify_cdev_delete()

12345678910>>...19