Home
last modified time | relevance | path

Searched defs:cdev (Results 51 – 75 of 498) sorted by relevance

12345678910>>...20

/openbmc/linux/drivers/thermal/
H A Dthermal_sysfs.c588 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cdev_type_show() local
596 struct thermal_cooling_device *cdev = to_cooling_device(dev); in max_state_show() local
604 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cur_state_show() local
618 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cur_state_store() local
684 void thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, in thermal_cooling_device_stats_update()
711 struct thermal_cooling_device *cdev = to_cooling_device(dev); in total_trans_show() local
735 struct thermal_cooling_device *cdev = to_cooling_device(dev); in time_in_state_ms_show() local
766 struct thermal_cooling_device *cdev = to_cooling_device(dev); in reset_store() local
799 struct thermal_cooling_device *cdev = to_cooling_device(dev); in trans_table_show() local
872 static void cooling_device_stats_setup(struct thermal_cooling_device *cdev) in cooling_device_stats_setup()
[all …]
H A Dcpufreq_cooling.c218 cpufreq_get_requested_power(struct thermal_cooling_device * cdev,u32 * power) cpufreq_get_requested_power() argument
262 cpufreq_state2power(struct thermal_cooling_device * cdev,unsigned long state,u32 * power) cpufreq_state2power() argument
296 cpufreq_power2state(struct thermal_cooling_device * cdev,u32 power,unsigned long * state) cpufreq_power2state() argument
408 cpufreq_get_max_state(struct thermal_cooling_device * cdev,unsigned long * state) cpufreq_get_max_state() argument
427 cpufreq_get_cur_state(struct thermal_cooling_device * cdev,unsigned long * state) cpufreq_get_cur_state() argument
447 cpufreq_set_cur_state(struct thermal_cooling_device * cdev,unsigned long state) cpufreq_set_cur_state() argument
496 struct thermal_cooling_device *cdev; __cpufreq_cooling_register() local
628 struct thermal_cooling_device *cdev = NULL; of_cpufreq_cooling_register() local
658 cpufreq_cooling_unregister(struct thermal_cooling_device * cdev) cpufreq_cooling_unregister() argument
[all...]
H A Dthermal_helpers.c45 struct thermal_cooling_device *cdev, int trip_index) in get_thermal_instance()
155 static void thermal_cdev_set_cur_state(struct thermal_cooling_device *cdev, in thermal_cdev_set_cur_state()
165 void __thermal_cdev_update(struct thermal_cooling_device *cdev) in __thermal_cdev_update()
192 void thermal_cdev_update(struct thermal_cooling_device *cdev) in thermal_cdev_update()
H A Dcpuidle_cooling.c73 static int cpuidle_cooling_get_max_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_get_max_state()
102 static int cpuidle_cooling_get_cur_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_get_cur_state()
124 static int cpuidle_cooling_set_cur_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_set_cur_state()
175 struct thermal_cooling_device *cdev; in __cpuidle_cooling_register() local
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_devlink.c43 struct qed_dev *cdev = qdl->cdev; in qed_fw_fatal_reporter_dump() local
83 struct qed_dev *cdev = qdl->cdev; in qed_fw_fatal_reporter_recover() local
126 struct qed_dev *cdev; in qed_dl_param_get() local
138 struct qed_dev *cdev; in qed_dl_param_set() local
158 struct qed_dev *cdev = qed_dl->cdev; in qed_devlink_info_get() local
199 struct devlink *qed_devlink_register(struct qed_dev *cdev) in qed_devlink_register()
H A Dqed_fcoe.c723 static int qed_fill_fcoe_dev_info(struct qed_dev *cdev, in qed_fill_fcoe_dev_info()
745 static void qed_register_fcoe_ops(struct qed_dev *cdev, in qed_register_fcoe_ops()
752 static struct qed_hash_fcoe_con *qed_fcoe_get_hash(struct qed_dev *cdev, in qed_fcoe_get_hash()
771 static int qed_fcoe_stop(struct qed_dev *cdev) in qed_fcoe_stop()
800 static int qed_fcoe_start(struct qed_dev *cdev, struct qed_fcoe_tid *tasks) in qed_fcoe_start()
850 static int qed_fcoe_acquire_conn(struct qed_dev *cdev, in qed_fcoe_acquire_conn()
885 static int qed_fcoe_release_conn(struct qed_dev *cdev, u32 handle) in qed_fcoe_release_conn()
903 static int qed_fcoe_offload_conn(struct qed_dev *cdev, in qed_fcoe_offload_conn()
956 static int qed_fcoe_destroy_conn(struct qed_dev *cdev, in qed_fcoe_destroy_conn()
977 static int qed_fcoe_stats_context(struct qed_dev *cdev, in qed_fcoe_stats_context()
[all …]
/openbmc/linux/sound/soc/sof/intel/
H A Dhda-probes.c28 static int hda_probes_compr_startup(struct sof_client_dev *cdev, in hda_probes_compr_startup()
48 static int hda_probes_compr_shutdown(struct sof_client_dev *cdev, in hda_probes_compr_shutdown()
69 static int hda_probes_compr_set_params(struct sof_client_dev *cdev, in hda_probes_compr_set_params()
103 static int hda_probes_compr_trigger(struct sof_client_dev *cdev, in hda_probes_compr_trigger()
113 static int hda_probes_compr_pointer(struct sof_client_dev *cdev, in hda_probes_compr_pointer()
/openbmc/linux/drivers/usb/gadget/legacy/
H A Dzero.c157 struct usb_composite_dev *cdev = autoresume_cdev; in zero_autoresume() local
174 static void zero_suspend(struct usb_composite_dev *cdev) in zero_suspend()
194 static void zero_resume(struct usb_composite_dev *cdev) in zero_resume()
265 static int zero_bind(struct usb_composite_dev *cdev) in zero_bind()
399 static int zero_unbind(struct usb_composite_dev *cdev) in zero_unbind()
/openbmc/linux/drivers/net/can/m_can/
H A Dtcan4x5x-core.c138 static inline struct tcan4x5x_priv *cdev_to_priv(struct m_can_classdev *cdev) in cdev_to_priv()
179 static u32 tcan4x5x_read_reg(struct m_can_classdev *cdev, int reg) in tcan4x5x_read_reg()
189 static int tcan4x5x_read_fifo(struct m_can_classdev *cdev, int addr_offset, in tcan4x5x_read_fifo()
197 static int tcan4x5x_write_reg(struct m_can_classdev *cdev, int reg, int val) in tcan4x5x_write_reg()
204 static int tcan4x5x_write_fifo(struct m_can_classdev *cdev, in tcan4x5x_write_fifo()
223 static int tcan4x5x_write_tcan_reg(struct m_can_classdev *cdev, in tcan4x5x_write_tcan_reg()
231 static int tcan4x5x_clear_interrupts(struct m_can_classdev *cdev) in tcan4x5x_clear_interrupts()
244 static int tcan4x5x_init(struct m_can_classdev *cdev) in tcan4x5x_init()
273 static int tcan4x5x_disable_wake(struct m_can_classdev *cdev) in tcan4x5x_disable_wake()
281 static int tcan4x5x_disable_state(struct m_can_classdev *cdev) in tcan4x5x_disable_state()
[all …]
/openbmc/qemu/util/
H A Dchardev_open.c43 static int open_cdev_internal(const char *path, dev_t cdev) in open_cdev_internal()
60 static int open_cdev_robust(dev_t cdev) in open_cdev_robust()
72 int open_cdev(const char *devpath, dev_t cdev) in open_cdev()
/openbmc/linux/sound/usb/caiaq/
H A Dcontrol.c24 struct snd_usb_caiaqdev *cdev = caiaqdev(chip->card); in control_info() local
70 struct snd_usb_caiaqdev *cdev = caiaqdev(chip->card); in control_get() local
87 struct snd_usb_caiaqdev *cdev = caiaqdev(chip->card); in control_put() local
572 struct snd_usb_caiaqdev *cdev) in add_controls()
589 int snd_usb_caiaq_control_init(struct snd_usb_caiaqdev *cdev) in snd_usb_caiaq_control_init()
/openbmc/linux/drivers/scsi/cxgbi/
H A Dlibcxgbi.c75 int cxgbi_device_portmap_create(struct cxgbi_device *cdev, unsigned int base, in cxgbi_device_portmap_create()
95 void cxgbi_device_portmap_cleanup(struct cxgbi_device *cdev) in cxgbi_device_portmap_cleanup()
118 static inline void cxgbi_device_destroy(struct cxgbi_device *cdev) in cxgbi_device_destroy()
134 struct cxgbi_device *cdev; in cxgbi_device_register() local
166 void cxgbi_device_unregister(struct cxgbi_device *cdev) in cxgbi_device_unregister()
187 struct cxgbi_device *cdev, *tmp; in cxgbi_device_unregister_all() local
203 struct cxgbi_device *cdev, *tmp; in cxgbi_device_find_by_lldev() local
224 struct cxgbi_device *cdev, *tmp; in cxgbi_device_find_by_netdev() local
257 struct cxgbi_device *cdev; in cxgbi_device_find_by_netdev_rcu() local
290 struct cxgbi_device *cdev, *tmp; in cxgbi_device_find_by_mac() local
[all …]
/openbmc/linux/sound/soc/sof/
H A Dsof-client-probes-ipc3.c63 static int ipc3_probes_init(struct sof_client_dev *cdev, u32 stream_tag, in ipc3_probes_init()
92 static int ipc3_probes_deinit(struct sof_client_dev *cdev) in ipc3_probes_deinit()
102 static int ipc3_probes_info(struct sof_client_dev *cdev, unsigned int cmd, in ipc3_probes_info()
154 static int ipc3_probes_points_info(struct sof_client_dev *cdev, in ipc3_probes_points_info()
175 static int ipc3_probes_points_add(struct sof_client_dev *cdev, in ipc3_probes_points_add()
205 static int ipc3_probes_points_remove(struct sof_client_dev *cdev, in ipc3_probes_points_remove()
H A Dsof-client-probes-ipc4.c68 static struct sof_man4_module *sof_ipc4_probe_get_module_info(struct sof_client_dev *cdev) in sof_ipc4_probe_get_module_info()
106 static int ipc4_probes_init(struct sof_client_dev *cdev, u32 stream_tag, in ipc4_probes_init()
145 static int ipc4_probes_deinit(struct sof_client_dev *cdev) in ipc4_probes_deinit()
175 static int ipc4_probes_points_info(struct sof_client_dev *cdev, in ipc4_probes_points_info()
195 static int ipc4_probes_points_add(struct sof_client_dev *cdev, in ipc4_probes_points_add()
249 static int ipc4_probes_points_remove(struct sof_client_dev *cdev, in ipc4_probes_points_remove()
H A Dsof-client-ipc-flood-test.c38 struct sof_client_dev *cdev = inode->i_private; in sof_ipc_flood_dfs_open() local
59 static int sof_debug_ipc_flood_test(struct sof_client_dev *cdev, in sof_debug_ipc_flood_test()
156 struct sof_client_dev *cdev = file->private_data; in sof_ipc_flood_dfs_write() local
246 struct sof_client_dev *cdev = file->private_data; in sof_ipc_flood_dfs_read() local
298 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_ipc_flood_probe() local
358 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_ipc_flood_remove() local
/openbmc/linux/drivers/leds/
H A Dleds-mt6323.c78 struct led_classdev cdev; member
152 static int mt6323_led_hw_brightness(struct led_classdev *cdev, in mt6323_led_hw_brightness()
178 static int mt6323_led_hw_off(struct led_classdev *cdev) in mt6323_led_hw_off()
204 mt6323_get_led_hw_brightness(struct led_classdev *cdev) in mt6323_get_led_hw_brightness()
235 static int mt6323_led_hw_on(struct led_classdev *cdev, in mt6323_led_hw_on()
289 static int mt6323_led_set_blink(struct led_classdev *cdev, in mt6323_led_set_blink()
359 static int mt6323_led_set_brightness(struct led_classdev *cdev, in mt6323_led_set_brightness()
389 static int mtk_wled_hw_on(struct led_classdev *cdev) in mtk_wled_hw_on()
423 static int mtk_wled_hw_off(struct led_classdev *cdev) in mtk_wled_hw_off()
454 static enum led_brightness mt6323_get_wled_brightness(struct led_classdev *cdev) in mt6323_get_wled_brightness()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dthermal.c17 ath10k_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_get_max_throttle_state()
26 ath10k_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_get_cur_throttle_state()
39 ath10k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_set_cur_throttle_state()
157 struct thermal_cooling_device *cdev; in ath10k_thermal_register() local
/openbmc/linux/drivers/scsi/cxgbi/cxgb3i/
H A Dcxgb3i.c606 static int do_peer_close(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) in do_peer_close()
623 static int do_close_con_rpl(struct t3cdev *cdev, struct sk_buff *skb, in do_close_con_rpl()
661 static int do_abort_req(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) in do_abort_req()
708 static int do_abort_rpl(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) in do_abort_rpl()
848 static int do_wr_ack(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) in do_wr_ack()
956 struct cxgbi_device *cdev = csk->cdev; in init_act_open() local
1039 static int cxgb3i_ofld_init(struct cxgbi_device *cdev) in cxgb3i_ofld_init()
1091 static struct cxgbi_ppm *cdev2ppm(struct cxgbi_device *cdev) in cdev2ppm()
1126 static void ddp_clear_map(struct cxgbi_device *cdev, struct cxgbi_ppm *ppm, in ddp_clear_map()
1222 static int cxgb3i_ddp_init(struct cxgbi_device *cdev) in cxgb3i_ddp_init()
[all …]
/openbmc/linux/drivers/s390/char/
H A Dvmur.c104 static struct urdev *urdev_alloc(struct ccw_device *cdev) in urdev_alloc()
136 static struct urdev *urdev_get_from_cdev(struct ccw_device *cdev) in urdev_get_from_cdev()
152 struct ccw_device *cdev; in urdev_get_from_devno() local
255 struct ccw_device *cdev = urd->cdev; in do_ur_io() local
298 static void ur_int_handler(struct ccw_device *cdev, unsigned long intparm, in ur_int_handler()
819 static int ur_probe(struct ccw_device *cdev) in ur_probe()
866 static int ur_set_online(struct ccw_device *cdev) in ur_set_online()
936 static int ur_set_offline_force(struct ccw_device *cdev, int force) in ur_set_offline_force()
971 static int ur_set_offline(struct ccw_device *cdev) in ur_set_offline()
981 static void ur_remove(struct ccw_device *cdev) in ur_remove()
/openbmc/linux/drivers/s390/cio/
H A Dqdio_main.c501 int qdio_inspect_input_queue(struct ccw_device *cdev, unsigned int nr, in qdio_inspect_input_queue()
605 int qdio_inspect_output_queue(struct ccw_device *cdev, unsigned int nr, in qdio_inspect_output_queue()
749 void qdio_int_handler(struct ccw_device *cdev, unsigned long intparm, in qdio_int_handler()
823 int qdio_get_ssqd_desc(struct ccw_device *cdev, in qdio_get_ssqd_desc()
839 struct ccw_device *cdev = irq->cdev; in qdio_cancel_ccw() local
872 int qdio_shutdown(struct ccw_device *cdev, int how) in qdio_shutdown()
918 int qdio_free(struct ccw_device *cdev) in qdio_free()
950 int qdio_allocate(struct ccw_device *cdev, unsigned int no_input_qs, in qdio_allocate()
1040 int qdio_establish(struct ccw_device *cdev, in qdio_establish()
1144 int qdio_activate(struct ccw_device *cdev) in qdio_activate()
[all …]
/openbmc/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_ddp.c64 cxgbit_ppod_init_idata(struct cxgbit_device *cdev, struct cxgbi_ppm *ppm, in cxgbit_ppod_init_idata()
103 struct cxgbit_device *cdev = csk->com.cdev; in cxgbit_ppod_write_idata() local
174 struct cxgbit_device *cdev = csk->com.cdev; in cxgbit_ddp_reserve() local
234 struct cxgbit_device *cdev = csk->com.cdev; in cxgbit_get_r2t_ttt() local
272 struct cxgbit_device *cdev = csk->com.cdev; in cxgbit_unmap_cmd() local
296 int cxgbit_ddp_init(struct cxgbit_device *cdev) in cxgbit_ddp_init()
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dthermal.c16 ath11k_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev, in ath11k_thermal_get_max_throttle_state()
25 ath11k_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev, in ath11k_thermal_get_cur_throttle_state()
38 ath11k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, in ath11k_thermal_set_cur_throttle_state()
160 struct thermal_cooling_device *cdev; in ath11k_thermal_register() local
/openbmc/linux/drivers/usb/gadget/function/
H A Df_ecm.c368 struct usb_composite_dev *cdev = ecm->port.func.config->cdev; in ecm_do_notify() local
435 struct usb_composite_dev *cdev = ecm->port.func.config->cdev; in ecm_notify_complete() local
460 struct usb_composite_dev *cdev = f->config->cdev; in ecm_setup() local
525 struct usb_composite_dev *cdev = f->config->cdev; in ecm_set_alt() local
612 struct usb_composite_dev *cdev = f->config->cdev; in ecm_disable() local
674 struct usb_composite_dev *cdev = c->cdev; in ecm_bind() local
878 struct usb_composite_dev *cdev = ecm->port.func.config->cdev; in ecm_suspend() local
888 struct usb_composite_dev *cdev = ecm->port.func.config->cdev; in ecm_resume() local
H A Df_loopback.c168 struct usb_composite_dev *cdev = c->cdev; in loopback_bind() local
236 struct usb_composite_dev *cdev = loop->function.config->cdev; in loopback_complete() local
296 struct usb_composite_dev *cdev; in disable_loopback() local
308 static int alloc_requests(struct usb_composite_dev *cdev, in alloc_requests()
358 static int enable_endpoint(struct usb_composite_dev *cdev, in enable_endpoint()
378 enable_loopback(struct usb_composite_dev *cdev, struct f_loopback *loop) in enable_loopback()
409 struct usb_composite_dev *cdev = f->config->cdev; in loopback_set_alt() local
/openbmc/linux/drivers/platform/chrome/
H A Dcros_kbd_led_backlight.c21 struct led_classdev cdev; member
59 static void keyboard_led_set_brightness_acpi(struct led_classdev *cdev, in keyboard_led_set_brightness_acpi()
79 keyboard_led_get_brightness_acpi(struct led_classdev *cdev) in keyboard_led_get_brightness_acpi()
125 keyboard_led_set_brightness_ec_pwm(struct led_classdev *cdev, in keyboard_led_set_brightness_ec_pwm()
147 keyboard_led_get_brightness_ec_pwm(struct led_classdev *cdev) in keyboard_led_get_brightness_ec_pwm()

12345678910>>...20