Home
last modified time | relevance | path

Searched defs:cdev (Results 151 – 175 of 498) sorted by relevance

12345678910>>...20

/openbmc/linux/drivers/gpio/
H A Dgpiolib-cdev.c2547 static int chipinfo_get(struct gpio_chardev_data *cdev, void __user *ip) in chipinfo_get()
2577 static int lineinfo_get_v1(struct gpio_chardev_data *cdev, void __user *ip, in lineinfo_get_v1()
2613 static int lineinfo_get(struct gpio_chardev_data *cdev, void __user *ip, in lineinfo_get()
2649 static int lineinfo_unwatch(struct gpio_chardev_data *cdev, void __user *ip) in lineinfo_unwatch()
2667 struct gpio_chardev_data *cdev = file->private_data; in gpio_ioctl_unlocked() local
2707 struct gpio_chardev_data *cdev = file->private_data; in gpio_ioctl() local
2724 struct gpio_chardev_data *cdev = in lineinfo_changed_notify() local
2751 struct gpio_chardev_data *cdev = container_of(nb, in gpio_device_unregistered_notify() local
2763 struct gpio_chardev_data *cdev = file->private_data; in lineinfo_watch_poll_unlocked() local
2781 struct gpio_chardev_data *cdev = file->private_data; in lineinfo_watch_poll() local
[all …]
/openbmc/linux/drivers/s390/cio/
H A Dccwgroup.c219 struct ccw_device *cdev = gdev->cdev[i]; in ccwgroup_release() local
517 int ccwgroup_probe_ccwdev(struct ccw_device *cdev) in ccwgroup_probe_ccwdev()
531 void ccwgroup_remove_ccwdev(struct ccw_device *cdev) in ccwgroup_remove_ccwdev()
/openbmc/linux/drivers/hwmon/
H A Dmlxreg-fan.c91 struct thermal_cooling_device *cdev; member
333 static int mlxreg_fan_get_max_state(struct thermal_cooling_device *cdev, in mlxreg_fan_get_max_state()
340 static int mlxreg_fan_get_cur_state(struct thermal_cooling_device *cdev, in mlxreg_fan_get_cur_state()
360 static int mlxreg_fan_set_cur_state(struct thermal_cooling_device *cdev, in mlxreg_fan_set_cur_state()
H A Dtc654.c471 static int tc654_get_max_state(struct thermal_cooling_device *cdev, unsigned long *state) in tc654_get_max_state()
477 static int tc654_get_cur_state(struct thermal_cooling_device *cdev, unsigned long *state) in tc654_get_cur_state()
492 static int tc654_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in tc654_set_cur_state()
542 struct thermal_cooling_device *cdev; in tc654_probe() local
H A Dgpio-fan.c34 struct thermal_cooling_device *cdev; member
361 static int gpio_fan_get_max_state(struct thermal_cooling_device *cdev, in gpio_fan_get_max_state()
373 static int gpio_fan_get_cur_state(struct thermal_cooling_device *cdev, in gpio_fan_get_cur_state()
385 static int gpio_fan_set_cur_state(struct thermal_cooling_device *cdev, in gpio_fan_set_cur_state()
/openbmc/linux/drivers/usb/gadget/legacy/
H A Daudio.c253 static int audio_bind(struct usb_composite_dev *cdev) in audio_bind()
365 static int audio_unbind(struct usb_composite_dev *cdev) in audio_unbind()
H A Dhid.c133 static int hid_bind(struct usb_composite_dev *cdev) in hid_bind()
205 static int hid_unbind(struct usb_composite_dev *cdev) in hid_unbind()
H A Dether.c304 static int eth_bind(struct usb_composite_dev *cdev) in eth_bind()
449 static int eth_unbind(struct usb_composite_dev *cdev) in eth_unbind()
H A Dnokia.c267 static int nokia_bind(struct usb_composite_dev *cdev) in nokia_bind()
389 static int nokia_unbind(struct usb_composite_dev *cdev) in nokia_unbind()
/openbmc/linux/drivers/s390/block/
H A Ddasd_devmap.c536 dasd_devmap_from_cdev(struct ccw_device *cdev) in dasd_devmap_from_cdev()
551 dasd_create_device(struct ccw_device *cdev) in dasd_create_device()
760 int dasd_devmap_set_device_copy_relation(struct ccw_device *cdev, in dasd_devmap_set_device_copy_relation()
841 struct ccw_device *cdev; in dasd_delete_device() local
905 dasd_device_from_cdev_locked(struct ccw_device *cdev) in dasd_device_from_cdev_locked()
919 dasd_device_from_cdev(struct ccw_device *cdev) in dasd_device_from_cdev()
1028 struct ccw_device *cdev = to_ccwdev(dev); in dasd_ro_store() local
1205 struct ccw_device *cdev = to_ccwdev(dev); in dasd_safe_offline_store() local
1243 struct ccw_device *cdev = to_ccwdev(dev); in dasd_access_show() local
1795 struct ccw_device *cdev = to_ccwdev(dev); in dasd_reservation_policy_store() local
[all …]
/openbmc/linux/drivers/usb/gadget/
H A Dconfigfs.c51 struct usb_composite_dev cdev; member
594 static void composite_init_dev(struct usb_composite_dev *cdev) in composite_init_dev()
1218 struct usb_composite_dev *cdev = &gi->cdev; in os_desc_link() local
1252 struct usb_composite_dev *cdev = &gi->cdev; in os_desc_unlink() local
1564 static int configfs_do_nothing(struct usb_composite_dev *cdev) in configfs_do_nothing()
1685 struct usb_composite_dev *cdev = &gi->cdev; in configfs_composite_bind() local
1824 struct usb_composite_dev *cdev; in configfs_composite_unbind() local
1852 struct usb_composite_dev *cdev; in configfs_composite_setup() local
1876 struct usb_composite_dev *cdev; in configfs_composite_disconnect() local
1898 struct usb_composite_dev *cdev; in configfs_composite_reset() local
[all …]
/openbmc/u-boot/drivers/misc/
H A Dcros_ec.c136 static int create_proto3_request(struct cros_ec_dev *cdev, in create_proto3_request()
176 static int prepare_proto3_response_buffer(struct cros_ec_dev *cdev, int din_len) in prepare_proto3_response_buffer()
250 static int send_command_proto3(struct cros_ec_dev *cdev, in send_command_proto3()
320 struct cros_ec_dev *cdev = dev_get_uclass_priv(dev); in ec_command_inptr() local
603 struct cros_ec_dev *cdev = dev_get_uclass_priv(dev); in cros_ec_interrupt_pending() local
717 struct cros_ec_dev *cdev = dev_get_uclass_priv(dev); in cros_ec_check_version() local
914 struct cros_ec_dev *cdev = dev_get_uclass_priv(dev); in cros_ec_flash_write() local
1143 struct cros_ec_dev *cdev = dev_get_uclass_priv(dev); in cros_ec_register() local
/openbmc/linux/drivers/base/
H A Dtransport_class.c73 struct device *cdev) in anon_transport_dummy_function()
204 struct device *cdev) in transport_configure()
/openbmc/linux/drivers/leds/
H A Dleds-aw2013.c58 struct led_classdev cdev; member
154 static int aw2013_brightness_set(struct led_classdev *cdev, in aw2013_brightness_set()
197 static int aw2013_blink_set(struct led_classdev *cdev, in aw2013_blink_set()
H A Dleds-an30259a.c63 struct led_classdev cdev; member
77 static int an30259a_brightness_set(struct led_classdev *cdev, in an30259a_brightness_set()
123 static int an30259a_blink_set(struct led_classdev *cdev, in an30259a_blink_set()
H A Dleds-88pm860x.c29 struct led_classdev cdev; member
66 static int pm860x_led_set(struct led_classdev *cdev, in pm860x_led_set()
H A Dleds-is31fl319x.c99 struct led_classdev cdev; member
192 static int is31fl3190_brightness_set(struct led_classdev *cdev, in is31fl3190_brightness_set()
246 static int is31fl3196_brightness_set(struct led_classdev *cdev, in is31fl3196_brightness_set()
371 struct led_classdev *cdev = &led->cdev; in is31fl319x_parse_child_fw() local
H A Dleds-aw200xx.c106 struct led_classdev cdev; member
125 struct led_classdev *cdev = dev_get_drvdata(dev); in dim_show() local
138 struct led_classdev *cdev = dev_get_drvdata(dev); in dim_store() local
181 static int aw200xx_brightness_set(struct led_classdev *cdev, in aw200xx_brightness_set()
H A Dleds-lm3642.c198 static int lm3642_torch_brightness_set(struct led_classdev *cdev, in lm3642_torch_brightness_set()
245 static int lm3642_strobe_brightness_set(struct led_classdev *cdev, in lm3642_strobe_brightness_set()
260 static int lm3642_indicator_brightness_set(struct led_classdev *cdev, in lm3642_indicator_brightness_set()
/openbmc/u-boot/board/siemens/draco/
H A Dboard.c109 struct ctrl_dev *cdev = (struct ctrl_dev *)CTRL_DEVICE_BASE; in print_chip_data() local
326 struct ctrl_dev *cdev = (struct ctrl_dev *)CTRL_DEVICE_BASE; in board_eth_init() local
/openbmc/u-boot/board/eets/pdu001/
H A Dboard.c128 struct ctrl_dev *cdev = (struct ctrl_dev *)CTRL_DEVICE_BASE; in set_mpu_and_core_voltage() local
194 struct ctrl_dev *cdev = (struct ctrl_dev *)CTRL_DEVICE_BASE; in am33xx_spl_board_init() local
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_sriov.c340 static int qed_iov_pci_cfg_info(struct qed_dev *cdev) in qed_iov_pci_cfg_info()
576 void qed_iov_free_hw_info(struct qed_dev *cdev) in qed_iov_free_hw_info()
584 struct qed_dev *cdev = p_hwfn->cdev; in qed_iov_hw_info() local
677 static void qed_iov_set_vf_to_disable(struct qed_dev *cdev, in qed_iov_set_vf_to_disable()
694 static void qed_iov_set_vfs_to_disable(struct qed_dev *cdev, u8 to_disable) in qed_iov_set_vfs_to_disable()
4390 qed_iov_configure_min_tx_rate(struct qed_dev *cdev, int vfid, u32 rate) in qed_iov_configure_min_tx_rate()
4448 void qed_vf_start_iov_wq(struct qed_dev *cdev) in qed_vf_start_iov_wq()
4457 int qed_sriov_disable(struct qed_dev *cdev, bool pci_enabled) in qed_sriov_disable()
4542 static int qed_sriov_enable(struct qed_dev *cdev, int num) in qed_sriov_enable()
4616 static int qed_sriov_configure(struct qed_dev *cdev, int num_vfs_param) in qed_sriov_configure()
[all …]
/openbmc/linux/drivers/s390/scsi/
H A Dzfcp_sysfs.c171 struct ccw_device *cdev = to_ccwdev(dev); in zfcp_sysfs_adapter_failed_show() local
191 struct ccw_device *cdev = to_ccwdev(dev); in zfcp_sysfs_adapter_failed_store() local
217 struct ccw_device *cdev = to_ccwdev(dev); in zfcp_sysfs_port_rescan_store() local
302 struct ccw_device *cdev = to_ccwdev(dev); in zfcp_sysfs_port_remove_store() local
388 struct ccw_device *cdev = to_ccwdev(dev); in zfcp_sysfs_adapter_fc_security_show() local
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dinit.c122 mt7915_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev, in mt7915_thermal_get_max_throttle_state()
131 mt7915_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev, in mt7915_thermal_get_cur_throttle_state()
142 mt7915_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, in mt7915_thermal_set_cur_throttle_state()
191 struct thermal_cooling_device *cdev; in mt7915_thermal_init() local
/openbmc/linux/drivers/scsi/mvsas/
H A Dmv_init.c694 static ssize_t driver_version_show(struct device *cdev, in driver_version_show()
702 static ssize_t interrupt_coalescing_store(struct device *cdev, in interrupt_coalescing_store()
742 static ssize_t interrupt_coalescing_show(struct device *cdev, in interrupt_coalescing_show()

12345678910>>...20