Home
last modified time | relevance | path

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

12345678910>>...17

/Linux-v5.10/drivers/thermal/
Dthermal_sysfs.c654 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cdev_type_show() local
662 struct thermal_cooling_device *cdev = to_cooling_device(dev); in max_state_show() local
675 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cur_state_show() local
689 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cur_state_store() local
752 void thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, in thermal_cooling_device_stats_update()
774 struct thermal_cooling_device *cdev = to_cooling_device(dev); in total_trans_show() local
789 struct thermal_cooling_device *cdev = to_cooling_device(dev); in time_in_state_ms_show() local
810 struct thermal_cooling_device *cdev = to_cooling_device(dev); in reset_store() local
832 struct thermal_cooling_device *cdev = to_cooling_device(dev); in trans_table_show() local
891 static void cooling_device_stats_setup(struct thermal_cooling_device *cdev) in cooling_device_stats_setup()
[all …]
Dcpuidle_cooling.c74 static int cpuidle_cooling_get_max_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_get_max_state()
103 static int cpuidle_cooling_get_cur_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_get_cur_state()
125 static int cpuidle_cooling_set_cur_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_set_cur_state()
176 struct thermal_cooling_device *cdev; in __cpuidle_cooling_register() local
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()
/Linux-v5.10/drivers/net/wireless/ath/ath10k/
Dthermal.c16 ath10k_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_get_max_throttle_state()
25 ath10k_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_get_cur_throttle_state()
38 ath10k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_set_cur_throttle_state()
156 struct thermal_cooling_device *cdev; in ath10k_thermal_register() local
/Linux-v5.10/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c604 static int do_peer_close(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) in do_peer_close()
621 static int do_close_con_rpl(struct t3cdev *cdev, struct sk_buff *skb, in do_close_con_rpl()
659 static int do_abort_req(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) in do_abort_req()
706 static int do_abort_rpl(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) in do_abort_rpl()
846 static int do_wr_ack(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) in do_wr_ack()
954 struct cxgbi_device *cdev = csk->cdev; in init_act_open() local
1037 static int cxgb3i_ofld_init(struct cxgbi_device *cdev) in cxgb3i_ofld_init()
1089 static struct cxgbi_ppm *cdev2ppm(struct cxgbi_device *cdev) in cdev2ppm()
1124 static void ddp_clear_map(struct cxgbi_device *cdev, struct cxgbi_ppm *ppm, in ddp_clear_map()
1220 static int cxgb3i_ddp_init(struct cxgbi_device *cdev) in cxgb3i_ddp_init()
[all …]
/Linux-v5.10/drivers/leds/
Dleds-mt6323.c85 struct led_classdev cdev; member
107 static int mt6323_led_hw_brightness(struct led_classdev *cdev, in mt6323_led_hw_brightness()
132 static int mt6323_led_hw_off(struct led_classdev *cdev) in mt6323_led_hw_off()
157 mt6323_get_led_hw_brightness(struct led_classdev *cdev) in mt6323_get_led_hw_brightness()
187 static int mt6323_led_hw_on(struct led_classdev *cdev, in mt6323_led_hw_on()
240 static int mt6323_led_set_blink(struct led_classdev *cdev, in mt6323_led_set_blink()
308 static int mt6323_led_set_brightness(struct led_classdev *cdev, in mt6323_led_set_brightness()
338 static int mt6323_led_set_dt_default(struct led_classdev *cdev, in mt6323_led_set_dt_default()
Dleds-nic78bx.c36 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()
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()
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()
/Linux-v5.10/drivers/target/iscsi/cxgbit/
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
295 int cxgbit_ddp_init(struct cxgbit_device *cdev) in cxgbit_ddp_init()
/Linux-v5.10/drivers/net/wireless/ath/ath11k/
Dthermal.c15 ath11k_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev, in ath11k_thermal_get_max_throttle_state()
24 ath11k_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev, in ath11k_thermal_get_cur_throttle_state()
37 ath11k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, in ath11k_thermal_set_cur_throttle_state()
159 struct thermal_cooling_device *cdev; in ath11k_thermal_register() local
/Linux-v5.10/drivers/platform/chrome/
Dcros_kbd_led_backlight.c23 static void keyboard_led_set_brightness(struct led_classdev *cdev, in keyboard_led_set_brightness()
43 keyboard_led_get_brightness(struct led_classdev *cdev) in keyboard_led_get_brightness()
61 struct led_classdev *cdev; in keyboard_led_probe() local
/Linux-v5.10/drivers/usb/gadget/function/
Df_loopback.c168 struct usb_composite_dev *cdev = c->cdev; in loopback_bind() local
238 struct usb_composite_dev *cdev = loop->function.config->cdev; in loopback_complete() local
298 struct usb_composite_dev *cdev; in disable_loopback() local
310 static int alloc_requests(struct usb_composite_dev *cdev, in alloc_requests()
360 static int enable_endpoint(struct usb_composite_dev *cdev, in enable_endpoint()
380 enable_loopback(struct usb_composite_dev *cdev, struct f_loopback *loop) in enable_loopback()
411 struct usb_composite_dev *cdev = f->config->cdev; in loopback_set_alt() local
Df_obex.c192 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
Df_rndis.c387 struct usb_composite_dev *cdev = rndis->port.func.config->cdev; in rndis_response_available() local
412 struct usb_composite_dev *cdev = rndis->port.func.config->cdev; in rndis_response_complete() local
466 struct usb_composite_dev *cdev = f->config->cdev; in rndis_setup() local
540 struct usb_composite_dev *cdev = f->config->cdev; in rndis_set_alt() local
610 struct usb_composite_dev *cdev = f->config->cdev; in rndis_disable() local
636 struct usb_composite_dev *cdev = geth->func.config->cdev; in rndis_open() local
669 struct usb_composite_dev *cdev = c->cdev; in rndis_bind() local
Df_eem.c168 struct usb_composite_dev *cdev = f->config->cdev; in eem_setup() local
185 struct usb_composite_dev *cdev = f->config->cdev; in eem_set_alt() local
228 struct usb_composite_dev *cdev = f->config->cdev; in eem_disable() local
242 struct usb_composite_dev *cdev = c->cdev; in eem_bind() local
390 struct usb_composite_dev *cdev = port->func.config->cdev; in eem_unwrap() local
Df_ecm.c379 struct usb_composite_dev *cdev = ecm->port.func.config->cdev; in ecm_do_notify() local
446 struct usb_composite_dev *cdev = ecm->port.func.config->cdev; in ecm_notify_complete() local
471 struct usb_composite_dev *cdev = f->config->cdev; in ecm_setup() local
536 struct usb_composite_dev *cdev = f->config->cdev; in ecm_set_alt() local
623 struct usb_composite_dev *cdev = f->config->cdev; in ecm_disable() local
685 struct usb_composite_dev *cdev = c->cdev; in ecm_bind() local
/Linux-v5.10/drivers/isdn/capi/
Dcapi.c110 struct capidev *cdev; member
297 static void capincci_alloc_minor(struct capidev *cdev, struct capincci *np) in capincci_alloc_minor()
338 capincci_alloc_minor(struct capidev *cdev, struct capincci *np) { } in capincci_alloc_minor()
343 static struct capincci *capincci_alloc(struct capidev *cdev, u32 ncci) in capincci_alloc()
360 static void capincci_free(struct capidev *cdev, u32 ncci) in capincci_free()
373 static struct capincci *capincci_find(struct capidev *cdev, u32 ncci) in capincci_find()
573 struct capidev *cdev = ap->private; in capi_recv_message() local
651 struct capidev *cdev = file->private_data; in capi_read() local
686 struct capidev *cdev = file->private_data; in capi_write() local
741 struct capidev *cdev = file->private_data; in capi_poll() local
[all …]
/Linux-v5.10/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c788 static int qed_filter_accept_cmd(struct qed_dev *cdev, in qed_filter_accept_cmd()
1531 static int qed_filter_mcast_cmd(struct qed_dev *cdev, in qed_filter_mcast_cmd()
1565 static int qed_filter_ucast_cmd(struct qed_dev *cdev, in qed_filter_ucast_cmd()
1864 static void _qed_get_vport_stats(struct qed_dev *cdev, in _qed_get_vport_stats()
1901 void qed_get_vport_stats(struct qed_dev *cdev, struct qed_eth_stats *stats) in qed_get_vport_stats()
1921 void qed_reset_vport_stats(struct qed_dev *cdev) in qed_reset_vport_stats()
2183 static int qed_fill_eth_dev_info(struct qed_dev *cdev, in qed_fill_eth_dev_info()
2282 static void qed_register_eth_ops(struct qed_dev *cdev, in qed_register_eth_ops()
2293 static bool qed_check_mac(struct qed_dev *cdev, u8 *mac) in qed_check_mac()
2301 static int qed_start_vport(struct qed_dev *cdev, in qed_start_vport()
[all …]
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(struct qed_dev *cdev, struct qed_fcoe_stats *stats) in qed_fcoe_stats()
[all …]
/Linux-v5.10/drivers/net/can/m_can/
Dm_can_platform.c17 static u32 iomap_read_reg(struct m_can_classdev *cdev, int reg) in iomap_read_reg()
24 static u32 iomap_read_fifo(struct m_can_classdev *cdev, int offset) in iomap_read_fifo()
31 static int iomap_write_reg(struct m_can_classdev *cdev, int reg, int val) in iomap_write_reg()
40 static int iomap_write_fifo(struct m_can_classdev *cdev, int offset, int val) in iomap_write_fifo()
Dtcan4x5x.c258 static u32 tcan4x5x_read_reg(struct m_can_classdev *cdev, int reg) in tcan4x5x_read_reg()
268 static u32 tcan4x5x_read_fifo(struct m_can_classdev *cdev, int addr_offset) in tcan4x5x_read_fifo()
278 static int tcan4x5x_write_reg(struct m_can_classdev *cdev, int reg, int val) in tcan4x5x_write_reg()
285 static int tcan4x5x_write_fifo(struct m_can_classdev *cdev, in tcan4x5x_write_fifo()
304 static int tcan4x5x_write_tcan_reg(struct m_can_classdev *cdev, in tcan4x5x_write_tcan_reg()
312 static int tcan4x5x_clear_interrupts(struct m_can_classdev *cdev) in tcan4x5x_clear_interrupts()
339 static int tcan4x5x_init(struct m_can_classdev *cdev) in tcan4x5x_init()
366 static int tcan4x5x_disable_wake(struct m_can_classdev *cdev) in tcan4x5x_disable_wake()
374 static int tcan4x5x_disable_state(struct m_can_classdev *cdev) in tcan4x5x_disable_state()
382 static int tcan4x5x_parse_config(struct m_can_classdev *cdev) in tcan4x5x_parse_config()
/Linux-v5.10/arch/arm/mach-footbridge/
Debsa285.c28 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()
/Linux-v5.10/drivers/hid/
Dhid-led.c83 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()
/Linux-v5.10/drivers/staging/greybus/
Dlight.c88 static struct gb_channel *get_channel_from_cdev(struct led_classdev *cdev) in get_channel_from_cdev()
157 static struct gb_channel *get_channel_from_cdev(struct led_classdev *cdev) in get_channel_from_cdev()
176 static void led_lock(struct led_classdev *cdev) in led_lock()
181 static void led_unlock(struct led_classdev *cdev) in led_unlock()
238 struct led_classdev *cdev = dev_get_drvdata(dev); in color_show() local
247 struct led_classdev *cdev = dev_get_drvdata(dev); in color_store() local
276 struct led_classdev *cdev) in channel_attr_groups_set()
432 static int gb_brightness_set(struct led_classdev *cdev, in gb_brightness_set()
442 static enum led_brightness gb_brightness_get(struct led_classdev *cdev) in gb_brightness_get()
450 static int gb_blink_set(struct led_classdev *cdev, unsigned long *delay_on, in gb_blink_set()
[all …]

12345678910>>...17