/openbmc/linux/drivers/leds/ |
H A D | leds-cht-wcove.c | 69 struct led_classdev cdev; member 106 static int cht_wc_leds_brightness_set(struct led_classdev *cdev, in cht_wc_leds_brightness_set() 144 static enum led_brightness cht_wc_leds_brightness_get(struct led_classdev *cdev) in cht_wc_leds_brightness_get() 220 static int cht_wc_leds_set_effect(struct led_classdev *cdev, in cht_wc_leds_set_effect() 268 static int cht_wc_leds_blink_set(struct led_classdev *cdev, in cht_wc_leds_blink_set() 289 static int cht_wc_leds_pattern_set(struct led_classdev *cdev, in cht_wc_leds_pattern_set() 308 static int cht_wc_leds_pattern_clear(struct led_classdev *cdev) in cht_wc_leds_pattern_clear()
|
H A D | leds-nic78bx.c | 36 struct led_classdev cdev; member 39 static inline struct nic78bx_led *to_nic78bx_led(struct led_classdev *cdev) in to_nic78bx_led() 44 static void nic78bx_brightness_set(struct led_classdev *cdev, in nic78bx_brightness_set() 65 static enum led_brightness nic78bx_brightness_get(struct led_classdev *cdev) in nic78bx_brightness_get()
|
H A D | leds-rb532.c | 19 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()
|
H A D | leds-max77650.c | 36 struct led_classdev cdev; member 42 static struct max77650_led *max77650_to_led(struct led_classdev *cdev) in max77650_to_led() 47 static int max77650_led_brightness_set(struct led_classdev *cdev, in max77650_led_brightness_set()
|
/openbmc/linux/drivers/isdn/capi/ |
H A D | capi.c | 111 struct capidev *cdev; member 298 static void capincci_alloc_minor(struct capidev *cdev, struct capincci *np) in capincci_alloc_minor() 339 capincci_alloc_minor(struct capidev *cdev, struct capincci *np) { } in capincci_alloc_minor() 344 static struct capincci *capincci_alloc(struct capidev *cdev, u32 ncci) in capincci_alloc() 361 static void capincci_free(struct capidev *cdev, u32 ncci) in capincci_free() 374 static struct capincci *capincci_find(struct capidev *cdev, u32 ncci) in capincci_find() 574 struct capidev *cdev = ap->private; in capi_recv_message() local 652 struct capidev *cdev = file->private_data; in capi_read() local 687 struct capidev *cdev = file->private_data; in capi_write() local 742 struct capidev *cdev = file->private_data; in capi_poll() local [all …]
|
/openbmc/linux/drivers/thermal/intel/ |
H A D | intel_tcc_cooling.c | 20 static int tcc_get_max_state(struct thermal_cooling_device *cdev, unsigned long in tcc_get_max_state() 27 static int tcc_get_cur_state(struct thermal_cooling_device *cdev, unsigned long in tcc_get_cur_state() 39 static int tcc_set_cur_state(struct thermal_cooling_device *cdev, unsigned long in tcc_set_cur_state()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_l2.c | 789 static int qed_filter_accept_cmd(struct qed_dev *cdev, in qed_filter_accept_cmd() 1532 static int qed_filter_mcast_cmd(struct qed_dev *cdev, in qed_filter_mcast_cmd() 1566 static int qed_filter_ucast_cmd(struct qed_dev *cdev, in qed_filter_ucast_cmd() 1865 static void _qed_get_vport_stats(struct qed_dev *cdev, in _qed_get_vport_stats() 1904 void qed_get_vport_stats(struct qed_dev *cdev, struct qed_eth_stats *stats) in qed_get_vport_stats() 1909 void qed_get_vport_stats_context(struct qed_dev *cdev, in qed_get_vport_stats_context() 1931 void qed_reset_vport_stats(struct qed_dev *cdev) in qed_reset_vport_stats() 2193 static int qed_fill_eth_dev_info(struct qed_dev *cdev, in qed_fill_eth_dev_info() 2292 static void qed_register_eth_ops(struct qed_dev *cdev, in qed_register_eth_ops() 2303 static bool qed_check_mac(struct qed_dev *cdev, u8 *mac) in qed_check_mac() [all …]
|
H A D | qed_iscsi.c | 1033 static int qed_fill_iscsi_dev_info(struct qed_dev *cdev, in qed_fill_iscsi_dev_info() 1053 static void qed_register_iscsi_ops(struct qed_dev *cdev, in qed_register_iscsi_ops() 1060 static struct qed_hash_iscsi_con *qed_iscsi_get_hash(struct qed_dev *cdev, in qed_iscsi_get_hash() 1079 static int qed_iscsi_stop(struct qed_dev *cdev) in qed_iscsi_stop() 1102 static int qed_iscsi_start(struct qed_dev *cdev, in qed_iscsi_start() 1154 static int qed_iscsi_acquire_conn(struct qed_dev *cdev, in qed_iscsi_acquire_conn() 1187 static int qed_iscsi_release_conn(struct qed_dev *cdev, u32 handle) in qed_iscsi_release_conn() 1205 static int qed_iscsi_offload_conn(struct qed_dev *cdev, in qed_iscsi_offload_conn() 1280 static int qed_iscsi_update_conn(struct qed_dev *cdev, in qed_iscsi_update_conn() 1307 static int qed_iscsi_clear_conn_sq(struct qed_dev *cdev, u32 handle) in qed_iscsi_clear_conn_sq() [all …]
|
/openbmc/linux/arch/arm/mach-footbridge/ |
H A D | ebsa285.c | 28 struct led_classdev cdev; member 48 static void ebsa285_led_set(struct led_classdev *cdev, in ebsa285_led_set() 61 static enum led_brightness ebsa285_led_get(struct led_classdev *cdev) in ebsa285_led_get()
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_rndis.c | 376 struct usb_composite_dev *cdev = rndis->port.func.config->cdev; in rndis_response_available() local 401 struct usb_composite_dev *cdev = rndis->port.func.config->cdev; in rndis_response_complete() local 455 struct usb_composite_dev *cdev = f->config->cdev; in rndis_setup() local 529 struct usb_composite_dev *cdev = f->config->cdev; in rndis_set_alt() local 599 struct usb_composite_dev *cdev = f->config->cdev; in rndis_disable() local 625 struct usb_composite_dev *cdev = geth->func.config->cdev; in rndis_open() local 658 struct usb_composite_dev *cdev = c->cdev; in rndis_bind() local
|
H A D | f_obex.c | 192 struct usb_composite_dev *cdev = f->config->cdev; in obex_set_alt() local 251 struct usb_composite_dev *cdev = f->config->cdev; in obex_disable() local 262 struct usb_composite_dev *cdev = g->func.config->cdev; in obex_connect() local 275 struct usb_composite_dev *cdev = g->func.config->cdev; in obex_disconnect() local 304 struct usb_composite_dev *cdev = c->cdev; in obex_bind() local
|
H A D | f_uac1_legacy.c | 324 struct usb_composite_dev *cdev = audio->card.func.config->cdev; in f_audio_out_ep_complete() local 388 struct usb_composite_dev *cdev = f->config->cdev; in audio_set_intf_req() local 424 struct usb_composite_dev *cdev = f->config->cdev; in audio_get_intf_req() local 461 struct usb_composite_dev *cdev = f->config->cdev; in audio_set_endpoint_req() local 497 struct usb_composite_dev *cdev = f->config->cdev; in audio_get_endpoint_req() local 525 struct usb_composite_dev *cdev = f->config->cdev; in f_audio_setup() local 577 struct usb_composite_dev *cdev = f->config->cdev; in f_audio_set_alt() local 658 struct usb_composite_dev *cdev = f->config->cdev; in f_audio_get_alt() local 702 struct usb_composite_dev *cdev = c->cdev; in f_audio_bind() local
|
H A D | f_eem.c | 173 struct usb_composite_dev *cdev = f->config->cdev; in eem_setup() local 190 struct usb_composite_dev *cdev = f->config->cdev; in eem_set_alt() local 233 struct usb_composite_dev *cdev = f->config->cdev; in eem_disable() local 247 struct usb_composite_dev *cdev = c->cdev; in eem_bind() local 396 struct usb_composite_dev *cdev = port->func.config->cdev; in eem_unwrap() local
|
/openbmc/linux/drivers/s390/scsi/ |
H A D | zfcp_qdio.c | 66 static void zfcp_qdio_int_req(struct ccw_device *cdev, unsigned int qdio_err, in zfcp_qdio_int_req() 78 struct ccw_device *cdev = qdio->adapter->ccw_device; in zfcp_qdio_request_tasklet() local 110 static void zfcp_qdio_int_resp(struct ccw_device *cdev, unsigned int qdio_err, in zfcp_qdio_int_resp() 164 struct ccw_device *cdev = qdio->adapter->ccw_device; in zfcp_qdio_irq_tasklet() local 184 static void zfcp_qdio_poll(struct ccw_device *cdev, unsigned long data) in zfcp_qdio_poll() 450 struct ccw_device *cdev = adapter->ccw_device; in zfcp_qdio_open() local
|
/openbmc/linux/drivers/thermal/ |
H A D | thermal_core.c | 552 struct thermal_cooling_device *cdev; in for_each_thermal_cooling_device() local 633 struct thermal_cooling_device *cdev, in thermal_zone_bind_cooling_device() 766 struct thermal_cooling_device *cdev) in thermal_zone_unbind_cooling_device() 801 struct thermal_cooling_device *cdev; in thermal_release() local 823 struct thermal_cooling_device *cdev, int ret) in print_bind_err_msg() 829 static void bind_cdev(struct thermal_cooling_device *cdev) in bind_cdev() 864 struct thermal_cooling_device *cdev; in __thermal_cooling_device_register() local 1038 static bool thermal_cooling_device_present(struct thermal_cooling_device *cdev) in thermal_cooling_device_present() 1060 void thermal_cooling_device_update(struct thermal_cooling_device *cdev) in thermal_cooling_device_update() 1130 void thermal_cooling_device_unregister(struct thermal_cooling_device *cdev) in thermal_cooling_device_unregister() [all …]
|
H A D | thermal_of.c | 290 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev) in __thermal_of_unbind() 321 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev) in __thermal_of_bind() 356 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev, in thermal_of_for_each_cooling_device() 389 struct thermal_cooling_device *cdev, in thermal_of_for_each_cooling_maps() 422 struct thermal_cooling_device *cdev) in thermal_of_bind() 428 struct thermal_cooling_device *cdev) in thermal_of_unbind()
|
/openbmc/linux/drivers/hid/ |
H A D | hid-led.c | 83 struct led_classdev cdev; member 189 static int riso_kagaku_write(struct led_classdev *cdev, enum led_brightness br) in riso_kagaku_write() 200 static int dream_cheeky_write(struct led_classdev *cdev, enum led_brightness br) in dream_cheeky_write() 229 static int _thingm_write(struct led_classdev *cdev, enum led_brightness br, in _thingm_write() 243 static int thingm_write_v1(struct led_classdev *cdev, enum led_brightness br) in thingm_write_v1() 248 static int thingm_write(struct led_classdev *cdev, enum led_brightness br) in thingm_write() 309 static int delcom_write(struct led_classdev *cdev, enum led_brightness br) in delcom_write() 341 static int luxafor_write(struct led_classdev *cdev, enum led_brightness br) in luxafor_write()
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | light.c | 88 static struct gb_channel *get_channel_from_cdev(struct led_classdev *cdev) in get_channel_from_cdev() 160 static struct gb_channel *get_channel_from_cdev(struct led_classdev *cdev) in get_channel_from_cdev() 179 static void led_lock(struct led_classdev *cdev) in led_lock() 184 static void led_unlock(struct led_classdev *cdev) in led_unlock() 241 struct led_classdev *cdev = dev_get_drvdata(dev); in color_show() local 250 struct led_classdev *cdev = dev_get_drvdata(dev); in color_store() local 279 struct led_classdev *cdev) in channel_attr_groups_set() 434 static int gb_brightness_set(struct led_classdev *cdev, in gb_brightness_set() 444 static enum led_brightness gb_brightness_get(struct led_classdev *cdev) in gb_brightness_get() 452 static int gb_blink_set(struct led_classdev *cdev, unsigned long *delay_on, in gb_blink_set() [all …]
|
/openbmc/linux/drivers/platform/surface/ |
H A D | surface_aggregator_cdev.c | 57 struct ssam_cdev *cdev; member 76 static struct ssam_cdev *ssam_cdev_get(struct ssam_cdev *cdev) in ssam_cdev_get() 84 static void ssam_cdev_put(struct ssam_cdev *cdev) in ssam_cdev_put() 463 struct ssam_cdev *cdev = container_of(mdev, struct ssam_cdev, mdev); in ssam_cdev_device_open() local 578 struct ssam_cdev *cdev = client->cdev; in ssam_cdev_read() local 682 struct ssam_cdev *cdev; in ssam_dbg_device_probe() local 719 struct ssam_cdev *cdev = platform_get_drvdata(pdev); in ssam_dbg_device_remove() local
|
/openbmc/linux/sound/soc/sof/ |
H A D | sof-client-ipc-kernel-injector.c | 43 struct sof_client_dev *cdev = file->private_data; in sof_kernel_msg_inject_dfs_write() local 94 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_msg_inject_probe() local 131 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_msg_inject_remove() local
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | g_dnl.c | 92 static int g_dnl_unbind(struct usb_composite_dev *cdev) in g_dnl_unbind() 129 static int g_dnl_config_register(struct usb_composite_dev *cdev) in g_dnl_config_register() 194 static int g_dnl_get_bcd_device_number(struct usb_composite_dev *cdev) in g_dnl_get_bcd_device_number() 219 static int g_dnl_bind(struct usb_composite_dev *cdev) in g_dnl_bind()
|
/openbmc/linux/sound/soc/intel/catpt/ |
H A D | sysfs.c | 14 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
|
/openbmc/qemu/hw/s390x/ |
H A D | s390-ccw.c | 74 static bool s390_ccw_get_dev_info(S390CCWDevice *cdev, in s390_ccw_get_dev_info() 111 static bool s390_ccw_realize(S390CCWDevice *cdev, char *sysfsdev, Error **errp) in s390_ccw_realize() 156 static void s390_ccw_unrealize(S390CCWDevice *cdev) in s390_ccw_unrealize()
|
/openbmc/linux/drivers/usb/gadget/legacy/ |
H A D | serial.c | 143 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()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_thermal.c | 141 struct thermal_cooling_device *cdev) in mlxsw_get_cooling_device_idx() 159 struct thermal_cooling_device *cdev) in mlxsw_thermal_bind() 185 struct thermal_cooling_device *cdev) in mlxsw_thermal_unbind() 239 struct thermal_cooling_device *cdev) in mlxsw_thermal_module_bind() 268 struct thermal_cooling_device *cdev) in mlxsw_thermal_module_unbind() 340 static int mlxsw_thermal_get_max_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_get_max_state() 347 static int mlxsw_thermal_get_cur_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_get_cur_state() 373 static int mlxsw_thermal_set_cur_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_set_cur_state() 754 struct thermal_cooling_device *cdev; in mlxsw_thermal_init() local
|