/openbmc/qemu/hw/acpi/ |
H A D | cpu.c | 26 static ACPIOSTInfo *acpi_cpu_device_status(int idx, AcpiCpuStatus *cdev) in acpi_cpu_device_status() 57 AcpiCpuStatus *cdev; in cpu_hotplug_rd() local 108 AcpiCpuStatus *cdev; in cpu_hotplug_wr() local 253 AcpiCpuStatus *cdev; in acpi_cpu_plug_cb() local 271 AcpiCpuStatus *cdev; in acpi_cpu_unplug_request_cb() local 285 AcpiCpuStatus *cdev; in acpi_cpu_unplug_cb() local
|
/openbmc/linux/fs/ |
H A D | char_dev.c | 40 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()
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_transport_spi.c | 170 struct device *cdev) in spi_host_setup() 211 struct device *cdev) in spi_device_configure() 240 struct device *cdev) in spi_setup_transport_attrs() 496 store_spi_transport_period(struct device *cdev, struct device_attribute *attr, in store_spi_transport_period() 524 show_spi_transport_min_period(struct device *cdev, in show_spi_transport_min_period() 540 store_spi_transport_min_period(struct device *cdev, in store_spi_transport_min_period() 558 static ssize_t show_spi_host_signalling(struct device *cdev, in show_spi_host_signalling() 590 static ssize_t show_spi_host_width(struct device *cdev, in show_spi_host_width() 601 static ssize_t show_spi_host_hba_id(struct device *cdev, in show_spi_host_hba_id() 1447 struct device *cdev) in spi_host_configure() [all …]
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_acm.c | 299 struct usb_composite_dev *cdev = acm->port.func.config->cdev; in acm_complete_set_line_coding() local 331 struct usb_composite_dev *cdev = f->config->cdev; in acm_setup() local 423 struct usb_composite_dev *cdev = f->config->cdev; in acm_set_alt() local 469 struct usb_composite_dev *cdev = f->config->cdev; in acm_disable() local 535 struct usb_composite_dev *cdev = acm->port.func.config->cdev; in acm_notify_serial_state() local 610 struct usb_composite_dev *cdev = c->cdev; in acm_bind() local
|
H A D | f_sourcesink.c | 295 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
|
H A D | f_uvc.c | 268 struct usb_composite_dev *cdev = uvc->func.config->cdev; in uvc_function_setup_continue() local 292 struct usb_composite_dev *cdev = f->config->cdev; in uvc_function_set_alt() local 434 struct usb_composite_dev *cdev = uvc->func.config->cdev; in uvc_register_video() local 645 struct usb_composite_dev *cdev = c->cdev; in uvc_function_bind() local 978 struct usb_composite_dev *cdev = c->cdev; in uvc_function_unbind() local
|
H A D | f_subset.c | 256 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
|
/openbmc/linux/drivers/thermal/ |
H A D | gov_fair_share.c | 44 struct thermal_cooling_device *cdev, int percentage, int level) in get_target_state() 88 struct thermal_cooling_device *cdev = instance->cdev; in fair_share_throttle() local
|
H A D | thermal_core.h | 64 static inline bool cdev_is_power_actor(struct thermal_cooling_device *cdev) in cdev_is_power_actor() 89 struct thermal_cooling_device *cdev; member 143 thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, in thermal_cooling_device_stats_update()
|
/openbmc/linux/drivers/thermal/intel/int340x_thermal/ |
H A D | int3403_thermal.c | 40 struct thermal_cooling_device *cdev; member 122 static int int3403_get_max_state(struct thermal_cooling_device *cdev, in int3403_get_max_state() 132 static int int3403_get_cur_state(struct thermal_cooling_device *cdev, in int3403_get_cur_state() 148 int3403_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in int3403_set_cur_state()
|
/openbmc/linux/drivers/acpi/ |
H A D | fan_core.c | 29 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() 317 struct thermal_cooling_device *cdev; in acpi_fan_probe() local
|
H A D | container.c | 34 static int acpi_container_offline(struct container_dev *cdev) in acpi_container_offline() 48 struct container_dev *cdev; in container_device_attach() local
|
H A D | processor_thermal.c | 202 processor_get_max_state(struct thermal_cooling_device *cdev, in processor_get_max_state() 220 processor_get_cur_state(struct thermal_cooling_device *cdev, in processor_get_cur_state() 240 processor_set_cur_state(struct thermal_cooling_device *cdev, in processor_set_cur_state()
|
/openbmc/linux/sound/soc/sof/ |
H A D | sof-client.h | 32 #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()
|
/openbmc/linux/drivers/leds/ |
H A D | leds-tps6105x.c | 14 struct led_classdev cdev; member 25 static int tps6105x_brightness_set(struct led_classdev *cdev, in tps6105x_brightness_set()
|
/openbmc/linux/drivers/platform/x86/ |
H A D | fujitsu-laptop.c | 580 static int logolamp_set(struct led_classdev *cdev, in logolamp_set() 600 static enum led_brightness logolamp_get(struct led_classdev *cdev) in logolamp_get() 616 static int kblamps_set(struct led_classdev *cdev, in kblamps_set() 629 static enum led_brightness kblamps_get(struct led_classdev *cdev) in kblamps_get() 641 static int radio_led_set(struct led_classdev *cdev, in radio_led_set() 654 static enum led_brightness radio_led_get(struct led_classdev *cdev) in radio_led_get() 665 static int eco_led_set(struct led_classdev *cdev, in eco_led_set() 680 static enum led_brightness eco_led_get(struct led_classdev *cdev) in eco_led_get()
|
H A D | acerhdf.c | 382 struct thermal_cooling_device *cdev) in acerhdf_bind() 398 struct thermal_cooling_device *cdev) in acerhdf_unbind() 461 static int acerhdf_get_max_state(struct thermal_cooling_device *cdev, in acerhdf_get_max_state() 469 static int acerhdf_get_cur_state(struct thermal_cooling_device *cdev, in acerhdf_get_cur_state() 483 static int acerhdf_set_cur_state(struct thermal_cooling_device *cdev, in acerhdf_set_cur_state()
|
/openbmc/linux/drivers/usb/gadget/legacy/ |
H A D | ncm.c | 127 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()
|
H A D | cdc2.c | 138 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()
|
H A D | mass_storage.c | 139 static int msg_bind(struct usb_composite_dev *cdev) in msg_bind() 208 static int msg_unbind(struct usb_composite_dev *cdev) in msg_unbind()
|
H A D | tcm_usb_gadget.c | 64 static int guas_unbind(struct usb_composite_dev *cdev) in guas_unbind() 98 static int usb_target_bind(struct usb_composite_dev *cdev) in usb_target_bind()
|
/openbmc/linux/drivers/input/ |
H A D | input-leds.c | 39 struct led_classdev cdev; member 50 static enum led_brightness input_leds_brightness_get(struct led_classdev *cdev) in input_leds_brightness_get() 58 static void input_leds_brightness_set(struct led_classdev *cdev, in input_leds_brightness_set()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_rdma.c | 412 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() 1922 static int qed_rdma_init(struct qed_dev *cdev, in qed_rdma_init() 1939 static int qed_roce_ll2_set_mac_filter(struct qed_dev *cdev, in qed_roce_ll2_set_mac_filter() 1957 static int qed_iwarp_set_engine_affin(struct qed_dev *cdev, bool b_reset) in qed_iwarp_set_engine_affin()
|
H A D | qed_sriov.h | 17 #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()
|
H A D | qed_ll2.c | 99 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 …]
|