Home
last modified time | relevance | path

Searched defs:cdev (Results 76 – 100 of 450) sorted by relevance

12345678910>>...18

/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qed/
H A Dqed_iscsi.c1033 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 …]
H A Dqed_ll2.c73 struct qed_dev *cdev = p_hwfn->cdev; in qed_ll2b_complete_tx_packet() local
87 static int qed_ll2_alloc_buffer(struct qed_dev *cdev, in qed_ll2_alloc_buffer()
108 static int qed_ll2_dealloc_buffer(struct qed_dev *cdev, in qed_ll2_dealloc_buffer()
127 static void qed_ll2_kill_buffers(struct qed_dev *cdev) in qed_ll2_kill_buffers()
140 struct qed_dev *cdev = p_hwfn->cdev; in qed_ll2b_complete_rx_packet() local
1151 struct qed_dev *cdev = p_hwfn->cdev; in qed_ll2_acquire_connection_rx() local
2323 static void qed_ll2_register_cb_ops(struct qed_dev *cdev, in qed_ll2_register_cb_ops()
2396 static bool qed_ll2_is_storage_eng1(struct qed_dev *cdev) in qed_ll2_is_storage_eng1()
2405 struct qed_dev *cdev = p_hwfn->cdev; in __qed_ll2_stop() local
2417 static int qed_ll2_stop(struct qed_dev *cdev) in qed_ll2_stop()
[all …]
H A 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
410 static inline void qed_iov_free_hw_info(struct qed_dev *cdev) in qed_iov_free_hw_info()
420 static inline void qed_iov_wq_stop(struct qed_dev *cdev, bool schedule_first) in qed_iov_wq_stop()
424 static inline int qed_iov_wq_start(struct qed_dev *cdev) in qed_iov_wq_start()
434 static inline void qed_vf_start_iov_wq(struct qed_dev *cdev) in qed_vf_start_iov_wq()
438 static inline int qed_sriov_disable(struct qed_dev *cdev, bool pci_enabled) in qed_sriov_disable()
H A Dqed_rdma.c441 struct qed_dev *cdev = p_hwfn->cdev; in qed_rdma_init_devinfo() local
877 static int qed_fill_rdma_dev_info(struct qed_dev *cdev, in qed_fill_rdma_dev_info()
894 static int qed_rdma_get_sb_start(struct qed_dev *cdev) in qed_rdma_get_sb_start()
907 static int qed_rdma_get_min_cnq_msix(struct qed_dev *cdev) in qed_rdma_get_min_cnq_msix()
915 static int qed_rdma_set_int(struct qed_dev *cdev, u16 cnt) in qed_rdma_set_int()
937 static int qed_rdma_get_int(struct qed_dev *cdev, struct qed_int_info *info) in qed_rdma_get_int()
1695 static void *qed_rdma_get_rdma_ctx(struct qed_dev *cdev) in qed_rdma_get_rdma_ctx()
1950 static int qed_rdma_init(struct qed_dev *cdev, in qed_rdma_init()
1967 static int qed_roce_ll2_set_mac_filter(struct qed_dev *cdev, in qed_roce_ll2_set_mac_filter()
1985 static int qed_iwarp_set_engine_affin(struct qed_dev *cdev, bool b_reset) in qed_iwarp_set_engine_affin()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/
H A Dconfigfs.c74 struct usb_composite_dev cdev; member
448 struct usb_composite_dev *cdev = cfg->c.cdev; in config_usb_cfg_link() local
499 struct usb_composite_dev *cdev = cfg->c.cdev; in config_usb_cfg_unlink() local
602 static void composite_init_dev(struct usb_composite_dev *cdev) in composite_init_dev()
924 struct usb_composite_dev *cdev = &gi->cdev; in os_desc_link() local
959 struct usb_composite_dev *cdev = &gi->cdev; in os_desc_unlink() local
1274 static int configfs_do_nothing(struct usb_composite_dev *cdev) in configfs_do_nothing()
1324 struct usb_composite_dev *cdev = &gi->cdev; in configfs_composite_bind() local
1468 struct usb_composite_dev *cdev = &gi->cdev; in android_work() local
1517 struct usb_composite_dev *cdev; in configfs_composite_unbind() local
[all …]
/OK3568_Linux_fs/kernel/drivers/thermal/
H A Dthermal_helpers.c46 struct thermal_cooling_device *cdev, int trip) in get_thermal_instance()
178 static void thermal_cdev_set_cur_state(struct thermal_cooling_device *cdev, in thermal_cdev_set_cur_state()
188 void thermal_cdev_update(struct thermal_cooling_device *cdev) in thermal_cdev_update()
H A Dgov_fair_share.c50 struct thermal_cooling_device *cdev, int percentage, int level) in get_target_state()
97 struct thermal_cooling_device *cdev = instance->cdev; in fair_share_throttle() local
/OK3568_Linux_fs/kernel/drivers/leds/
H A Dleds-max77650.c36 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()
H A 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()
/OK3568_Linux_fs/u-boot/drivers/usb/gadget/
H A Dg_dnl.c94 static int g_dnl_unbind(struct usb_composite_dev *cdev) in g_dnl_unbind()
131 static int g_dnl_config_register(struct usb_composite_dev *cdev) in g_dnl_config_register()
196 static int g_dnl_get_bcd_device_number(struct usb_composite_dev *cdev) in g_dnl_get_bcd_device_number()
221 static int g_dnl_bind(struct usb_composite_dev *cdev) in g_dnl_bind()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Df_eem.c173 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
398 struct usb_composite_dev *cdev = port->func.config->cdev; in eem_unwrap() local
H A 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
468 struct usb_composite_dev *cdev = ss->function.config->cdev; in check_read_data() local
524 struct usb_composite_dev *cdev; in source_sink_complete() local
621 struct usb_composite_dev *cdev; in source_sink_start_ep() local
637 struct usb_composite_dev *cdev; in disable_source_sink() local
646 enable_source_sink(struct usb_composite_dev *cdev, struct f_sourcesink *ss, in enable_source_sink()
741 struct usb_composite_dev *cdev = f->config->cdev; in sourcesink_set_alt() local
H A Df_acm.c309 struct usb_composite_dev *cdev = acm->port.func.config->cdev; in acm_complete_set_line_coding() local
339 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
/OK3568_Linux_fs/kernel/arch/arm/mach-pxa/
H A Didp.c199 struct led_classdev cdev; member
215 static void idp_led_set(struct led_classdev *cdev, in idp_led_set()
230 static enum led_brightness idp_led_get(struct led_classdev *cdev) in idp_led_get()
/OK3568_Linux_fs/kernel/fs/
H A 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()
537 int cdev_device_add(struct cdev *cdev, struct device *dev) in cdev_device_add()
571 void cdev_device_del(struct cdev *cdev, struct device *dev) in cdev_device_del()
651 void cdev_init(struct cdev *cdev, const struct file_operations *fops) in cdev_init()
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dscsi_transport_spi.c171 struct device *cdev) in spi_host_setup()
212 struct device *cdev) in spi_device_configure()
241 struct device *cdev) in spi_setup_transport_attrs()
497 store_spi_transport_period(struct device *cdev, struct device_attribute *attr, in store_spi_transport_period()
525 show_spi_transport_min_period(struct device *cdev, in show_spi_transport_min_period()
541 store_spi_transport_min_period(struct device *cdev, in store_spi_transport_min_period()
559 static ssize_t show_spi_host_signalling(struct device *cdev, in show_spi_host_signalling()
591 static ssize_t show_spi_host_width(struct device *cdev, in show_spi_host_width()
602 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 …]
/OK3568_Linux_fs/kernel/drivers/usb/gadget/legacy/
H A Dserial.c142 static int serial_register_ports(struct usb_composite_dev *cdev, in serial_register_ports()
190 static int gs_bind(struct usb_composite_dev *cdev) in gs_bind()
249 static int gs_unbind(struct usb_composite_dev *cdev) in gs_unbind()
/OK3568_Linux_fs/kernel/drivers/s390/char/
H A Dcon3215.c78 struct ccw_device *cdev; /* device for tty driver */ member
363 static void raw3215_irq(struct ccw_device *cdev, unsigned long intparm, in raw3215_irq()
690 static int raw3215_probe (struct ccw_device *cdev) in raw3215_probe()
723 static void raw3215_remove (struct ccw_device *cdev) in raw3215_remove()
742 static int raw3215_set_online (struct ccw_device *cdev) in raw3215_set_online()
753 static int raw3215_set_offline (struct ccw_device *cdev) in raw3215_set_offline()
766 static int raw3215_pm_stop(struct ccw_device *cdev) in raw3215_pm_stop()
780 static int raw3215_pm_start(struct ccw_device *cdev) in raw3215_pm_start()
903 struct ccw_device *cdev; in con3215_init() local
/OK3568_Linux_fs/kernel/sound/soc/intel/catpt/
H A Dsysfs.c14 struct catpt_dev *cdev = dev_get_drvdata(dev); in fw_version_show() local
36 struct catpt_dev *cdev = dev_get_drvdata(dev); in fw_info_show() local
/OK3568_Linux_fs/kernel/drivers/s390/block/
H A Ddasd_devmap.c526 dasd_devmap_from_cdev(struct ccw_device *cdev) in dasd_devmap_from_cdev()
541 dasd_create_device(struct ccw_device *cdev) in dasd_create_device()
594 struct ccw_device *cdev; in dasd_delete_device() local
653 dasd_device_from_cdev_locked(struct ccw_device *cdev) in dasd_device_from_cdev_locked()
667 dasd_device_from_cdev(struct ccw_device *cdev) in dasd_device_from_cdev()
775 struct ccw_device *cdev = to_ccwdev(dev); in dasd_ro_store() local
952 struct ccw_device *cdev = to_ccwdev(dev); in dasd_safe_offline_store() local
990 struct ccw_device *cdev = to_ccwdev(dev); in dasd_access_show() local
1427 struct ccw_device *cdev = to_ccwdev(dev); in dasd_reservation_policy_store() local
1744 dasd_get_feature(struct ccw_device *cdev, int feature) in dasd_get_feature()
[all …]
/OK3568_Linux_fs/kernel/drivers/thermal/intel/int340x_thermal/
H A Dint3403_thermal.c40 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()
/OK3568_Linux_fs/kernel/drivers/platform/x86/
H A Dfujitsu-laptop.c580 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()
/OK3568_Linux_fs/kernel/drivers/acpi/
H A Dfan.c72 struct thermal_cooling_device *cdev; member
86 static int fan_get_max_state(struct thermal_cooling_device *cdev, unsigned long in fan_get_max_state()
165 static int fan_get_cur_state(struct thermal_cooling_device *cdev, unsigned long in fan_get_cur_state()
205 fan_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in fan_set_cur_state()
377 struct thermal_cooling_device *cdev; in acpi_fan_probe() local
/OK3568_Linux_fs/kernel/arch/arm/plat-omap/
H A Ddebug-leds.c49 struct led_classdev cdev; member
79 static void dbg_led_set(struct led_classdev *cdev, in dbg_led_set()
93 static enum led_brightness dbg_led_get(struct led_classdev *cdev) in dbg_led_get()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_thermal.c125 struct thermal_cooling_device *cdev) in mlxsw_get_cooling_device_idx()
226 struct thermal_cooling_device *cdev) in mlxsw_thermal_bind()
252 struct thermal_cooling_device *cdev) in mlxsw_thermal_unbind()
382 struct thermal_cooling_device *cdev) in mlxsw_thermal_module_bind()
411 struct thermal_cooling_device *cdev) in mlxsw_thermal_module_unbind()
590 static int mlxsw_thermal_get_max_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_get_max_state()
597 static int mlxsw_thermal_get_cur_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_get_cur_state()
623 static int mlxsw_thermal_set_cur_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_set_cur_state()
926 struct thermal_cooling_device *cdev; in mlxsw_thermal_init() local

12345678910>>...18