/kernel/linux/linux-6.6/drivers/usb/misc/ |
H A D | chaoskey.c | 10 * entropy for /dev/random and other kernel activities. It also offers 11 * a separate /dev/ entry to allow for direct access to the random 31 dev_dbg(&(usb_if)->dev, format, ## arg) 34 dev_err(&(usb_if)->dev, format, ## arg) 94 static void chaoskey_free(struct chaoskey *dev) in chaoskey_free() argument 96 if (dev) { in chaoskey_free() 97 usb_dbg(dev->interface, "free"); in chaoskey_free() 98 usb_free_urb(dev->urb); in chaoskey_free() 99 kfree(dev->name); in chaoskey_free() 100 kfree(dev in chaoskey_free() 113 struct chaoskey *dev; chaoskey_probe() local 221 struct chaoskey *dev; chaoskey_disconnect() local 252 struct chaoskey *dev; chaoskey_open() local 279 struct chaoskey *dev = file->private_data; chaoskey_release() local 316 struct chaoskey *dev = urb->context; chaos_read_callback() local 337 _chaoskey_fill(struct chaoskey *dev) _chaoskey_fill() argument 411 struct chaoskey *dev; chaoskey_read() local 481 struct chaoskey *dev = container_of(rng, struct chaoskey, hwrng); chaoskey_rng_read() local 532 struct chaoskey *dev; chaoskey_resume() local [all...] |
/kernel/linux/linux-5.10/drivers/media/rc/ |
H A D | ite-cir.c | 161 static void ite_decode_bytes(struct ite_dev *dev, const u8 * data, int in ite_decode_bytes() argument 172 sample_period = dev->params.sample_period; in ite_decode_bytes() 180 ir_raw_event_store_with_filter(dev->rdev, &ev); in ite_decode_bytes() 187 ir_raw_event_store_with_filter(dev->rdev, &ev); in ite_decode_bytes() 199 (dev->rdev, &ev); in ite_decode_bytes() 204 ir_raw_event_handle(dev->rdev); in ite_decode_bytes() 211 static void ite_set_carrier_params(struct ite_dev *dev) in ite_set_carrier_params() argument 216 bool for_tx = dev->transmitting; in ite_set_carrier_params() 222 freq = dev->params.tx_carrier_freq; in ite_set_carrier_params() 226 low_freq = dev in ite_set_carrier_params() 264 struct ite_dev *dev = data; ite_cir_isr() local 335 struct ite_dev *dev = rcdev->priv; ite_set_rx_carrier_range() local 350 struct ite_dev *dev = rcdev->priv; ite_set_tx_carrier() local 364 struct ite_dev *dev = rcdev->priv; ite_set_tx_duty_cycle() local 380 struct ite_dev *dev = rcdev->priv; ite_tx_ir() local 531 struct ite_dev *dev = rcdev->priv; ite_s_idle() local 548 it87_get_irq_causes(struct ite_dev *dev) it87_get_irq_causes() argument 574 it87_set_carrier_params(struct ite_dev *dev, bool high_freq, bool use_demodulator, u8 carrier_freq_bits, u8 allowance_bits, u8 pulse_width_bits) it87_set_carrier_params() argument 604 it87_get_rx_bytes(struct ite_dev *dev, u8 * buf, int buf_size) it87_get_rx_bytes() argument 626 it87_get_tx_used_slots(struct ite_dev *dev) it87_get_tx_used_slots() argument 634 it87_put_tx_byte(struct ite_dev *dev, u8 value) it87_put_tx_byte() argument 641 it87_idle_rx(struct ite_dev *dev) it87_idle_rx() argument 655 it87_disable_rx(struct ite_dev *dev) it87_disable_rx() argument 673 it87_enable_rx(struct ite_dev *dev) it87_enable_rx() argument 691 it87_disable_tx_interrupt(struct ite_dev *dev) it87_disable_tx_interrupt() argument 702 it87_enable_tx_interrupt(struct ite_dev *dev) it87_enable_tx_interrupt() argument 712 it87_disable(struct ite_dev *dev) it87_disable() argument 730 it87_init_hardware(struct ite_dev *dev) it87_init_hardware() argument 765 it8708_get_irq_causes(struct ite_dev *dev) it8708_get_irq_causes() argument 786 it8708_set_carrier_params(struct ite_dev *dev, bool high_freq, bool use_demodulator, u8 carrier_freq_bits, u8 allowance_bits, u8 pulse_width_bits) it8708_set_carrier_params() argument 829 it8708_get_rx_bytes(struct ite_dev *dev, u8 * buf, int buf_size) it8708_get_rx_bytes() argument 851 it8708_get_tx_used_slots(struct ite_dev *dev) it8708_get_tx_used_slots() argument 859 it8708_put_tx_byte(struct ite_dev *dev, u8 value) it8708_put_tx_byte() argument 866 it8708_idle_rx(struct ite_dev *dev) it8708_idle_rx() argument 880 it8708_disable_rx(struct ite_dev *dev) it8708_disable_rx() argument 899 it8708_enable_rx(struct ite_dev *dev) it8708_enable_rx() argument 918 it8708_disable_tx_interrupt(struct ite_dev *dev) it8708_disable_tx_interrupt() argument 929 it8708_enable_tx_interrupt(struct ite_dev *dev) it8708_enable_tx_interrupt() argument 940 it8708_disable(struct ite_dev *dev) it8708_disable() argument 958 it8708_init_hardware(struct ite_dev *dev) it8708_init_hardware() argument 1006 it8709_rm(struct ite_dev *dev, int index) it8709_rm() argument 1013 it8709_wm(struct ite_dev *dev, u8 val, int index) it8709_wm() argument 1019 it8709_wait(struct ite_dev *dev) it8709_wait() argument 1034 it8709_rr(struct ite_dev *dev, int index) it8709_rr() argument 1049 it8709_wr(struct ite_dev *dev, u8 val, int index) it8709_wr() argument 1062 it8709_get_irq_causes(struct ite_dev *dev) it8709_get_irq_causes() argument 1083 it8709_set_carrier_params(struct ite_dev *dev, bool high_freq, bool use_demodulator, u8 carrier_freq_bits, u8 allowance_bits, u8 pulse_width_bits) it8709_set_carrier_params() argument 1120 it8709_get_rx_bytes(struct ite_dev *dev, u8 * buf, int buf_size) it8709_get_rx_bytes() argument 1147 it8709_get_tx_used_slots(struct ite_dev *dev) it8709_get_tx_used_slots() argument 1155 it8709_put_tx_byte(struct ite_dev *dev, u8 value) it8709_put_tx_byte() argument 1162 it8709_idle_rx(struct ite_dev *dev) it8709_idle_rx() argument 1176 it8709_disable_rx(struct ite_dev *dev) it8709_disable_rx() argument 1195 it8709_enable_rx(struct ite_dev *dev) it8709_enable_rx() argument 1214 it8709_disable_tx_interrupt(struct ite_dev *dev) it8709_disable_tx_interrupt() argument 1225 it8709_enable_tx_interrupt(struct ite_dev *dev) it8709_enable_tx_interrupt() argument 1236 it8709_disable(struct ite_dev *dev) it8709_disable() argument 1254 it8709_init_hardware(struct ite_dev *dev) it8709_init_hardware() argument 1296 struct ite_dev *dev = rcdev->priv; ite_open() local 1315 struct ite_dev *dev = rcdev->priv; ite_close() local 1615 struct ite_dev *dev = pnp_get_drvdata(pdev); ite_remove() local 1638 struct ite_dev *dev = pnp_get_drvdata(pdev); ite_suspend() local 1658 struct ite_dev *dev = pnp_get_drvdata(pdev); ite_resume() local 1677 struct ite_dev *dev = pnp_get_drvdata(pdev); ite_shutdown() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_vblank.c | 157 drm_get_last_vbltimestamp(struct drm_device *dev, unsigned int pipe, 169 static void store_vblank(struct drm_device *dev, unsigned int pipe, in store_vblank() argument 173 struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; in store_vblank() 175 assert_spin_locked(&dev->vblank_time_lock); in store_vblank() 185 static u32 drm_max_vblank_count(struct drm_device *dev, unsigned int pipe) in drm_max_vblank_count() argument 187 struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; in drm_max_vblank_count() 189 return vblank->max_vblank_count ?: dev->max_vblank_count; in drm_max_vblank_count() 196 static u32 drm_vblank_no_hw_counter(struct drm_device *dev, unsigned int pipe) in drm_vblank_no_hw_counter() argument 198 drm_WARN_ON_ONCE(dev, drm_max_vblank_count(dev, pip in drm_vblank_no_hw_counter() 202 __get_vblank_counter(struct drm_device *dev, unsigned int pipe) __get_vblank_counter() argument 228 drm_reset_vblank_timestamp(struct drm_device *dev, unsigned int pipe) drm_reset_vblank_timestamp() argument 275 drm_update_vblank_count(struct drm_device *dev, unsigned int pipe, bool in_vblank_irq) drm_update_vblank_count() argument 367 drm_vblank_count(struct drm_device *dev, unsigned int pipe) drm_vblank_count() argument 402 struct drm_device *dev = crtc->dev; drm_crtc_accurate_vblank_count() local 422 __disable_vblank(struct drm_device *dev, unsigned int pipe) __disable_vblank() argument 443 drm_vblank_disable_and_save(struct drm_device *dev, unsigned int pipe) drm_vblank_disable_and_save() argument 482 struct drm_device *dev = vblank->dev; vblank_disable_fn() local 494 drm_vblank_init_release(struct drm_device *dev, void *ptr) drm_vblank_init_release() argument 517 drm_vblank_init(struct drm_device *dev, unsigned int num_crtcs) drm_vblank_init() argument 570 drm_dev_has_vblank(const struct drm_device *dev) drm_dev_has_vblank() argument 605 struct drm_device *dev = crtc->dev; drm_calc_timestamping_constants() local 690 struct drm_device *dev = crtc->dev; drm_crtc_vblank_helper_get_vblank_timestamp_internal() local 862 drm_get_last_vbltimestamp(struct drm_device *dev, unsigned int pipe, ktime_t *tvblank, bool in_vblank_irq) drm_get_last_vbltimestamp() argument 929 drm_vblank_count_and_time(struct drm_device *dev, unsigned int pipe, ktime_t *vblanktime) drm_vblank_count_and_time() argument 977 send_vblank_event(struct drm_device *dev, struct drm_pending_vblank_event *e, u64 seq, ktime_t now) send_vblank_event() argument 1047 struct drm_device *dev = crtc->dev; drm_crtc_arm_vblank_event() local 1072 struct drm_device *dev = crtc->dev; drm_crtc_send_vblank_event() local 1089 __enable_vblank(struct drm_device *dev, unsigned int pipe) __enable_vblank() argument 1106 drm_vblank_enable(struct drm_device *dev, unsigned int pipe) drm_vblank_enable() argument 1144 drm_vblank_get(struct drm_device *dev, unsigned int pipe) drm_vblank_get() argument 1187 drm_vblank_put(struct drm_device *dev, unsigned int pipe) drm_vblank_put() argument 1233 drm_wait_one_vblank(struct drm_device *dev, unsigned int pipe) drm_wait_one_vblank() argument 1286 struct drm_device *dev = crtc->dev; drm_crtc_vblank_off() local 1365 struct drm_device *dev = crtc->dev; drm_crtc_vblank_reset() local 1405 struct drm_device *dev = crtc->dev; drm_crtc_set_max_vblank_count() local 1428 struct drm_device *dev = crtc->dev; drm_crtc_vblank_on() local 1470 drm_vblank_restore(struct drm_device *dev, unsigned int pipe) drm_vblank_restore() argument 1524 drm_legacy_vblank_pre_modeset(struct drm_device *dev, unsigned int pipe) drm_legacy_vblank_pre_modeset() argument 1550 drm_legacy_vblank_post_modeset(struct drm_device *dev, unsigned int pipe) drm_legacy_vblank_post_modeset() argument 1574 drm_legacy_modeset_ctl_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) drm_legacy_modeset_ctl_ioctl() argument 1606 drm_queue_vblank_event(struct drm_device *dev, unsigned int pipe, u64 req_seq, union drm_wait_vblank *vblwait, struct drm_file *file_priv) drm_queue_vblank_event() argument 1711 drm_wait_vblank_reply(struct drm_device *dev, unsigned int pipe, struct drm_wait_vblank_reply *reply) drm_wait_vblank_reply() argument 1728 drm_wait_vblank_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) drm_wait_vblank_ioctl() argument 1870 drm_handle_vblank_events(struct drm_device *dev, unsigned int pipe) drm_handle_vblank_events() argument 1912 drm_handle_vblank(struct drm_device *dev, unsigned int pipe) drm_handle_vblank() argument 2000 drm_crtc_get_sequence_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) drm_crtc_get_sequence_ioctl() argument 2056 drm_crtc_queue_sequence_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) drm_crtc_queue_sequence_ioctl() argument [all...] |
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-designware-slave.c | 21 static void i2c_dw_configure_fifo_slave(struct dw_i2c_dev *dev) in i2c_dw_configure_fifo_slave() argument 24 regmap_write(dev->map, DW_IC_TX_TL, 0); in i2c_dw_configure_fifo_slave() 25 regmap_write(dev->map, DW_IC_RX_TL, 0); in i2c_dw_configure_fifo_slave() 28 regmap_write(dev->map, DW_IC_CON, dev->slave_cfg); in i2c_dw_configure_fifo_slave() 29 regmap_write(dev->map, DW_IC_INTR_MASK, DW_IC_INTR_SLAVE_MASK); in i2c_dw_configure_fifo_slave() 34 * @dev: device private data 40 static int i2c_dw_init_slave(struct dw_i2c_dev *dev) in i2c_dw_init_slave() argument 44 ret = i2c_dw_acquire_lock(dev); in i2c_dw_init_slave() 49 __i2c_dw_disable(dev); in i2c_dw_init_slave() 63 struct dw_i2c_dev *dev = i2c_get_adapdata(slave->adapter); i2c_dw_reg_slave() local 94 struct dw_i2c_dev *dev = i2c_get_adapdata(slave->adapter); i2c_dw_unreg_slave() local 105 i2c_dw_read_clear_intrbits_slave(struct dw_i2c_dev *dev) i2c_dw_read_clear_intrbits_slave() argument 157 i2c_dw_irq_handler_slave(struct dw_i2c_dev *dev) i2c_dw_irq_handler_slave() argument 217 struct dw_i2c_dev *dev = dev_id; i2c_dw_isr_slave() local 233 i2c_dw_configure_slave(struct dw_i2c_dev *dev) i2c_dw_configure_slave() argument 244 i2c_dw_probe_slave(struct dw_i2c_dev *dev) i2c_dw_probe_slave() argument [all...] |
H A D | i2c-nomadik.c | 209 * @dev: private data of I2C Driver 214 static int flush_i2c_fifo(struct nmk_i2c_dev *dev) in flush_i2c_fifo() argument 227 writel((I2C_CR_FTX | I2C_CR_FRX), dev->virtbase + I2C_CR); in flush_i2c_fifo() 230 timeout = jiffies + dev->adap.timeout; in flush_i2c_fifo() 233 if ((readl(dev->virtbase + I2C_CR) & in flush_i2c_fifo() 239 dev_err(&dev->adev->dev, in flush_i2c_fifo() 248 * @dev: private data of I2C Driver 250 static void disable_all_interrupts(struct nmk_i2c_dev *dev) in disable_all_interrupts() argument 253 writel(mask, dev in disable_all_interrupts() 260 clear_all_interrupts(struct nmk_i2c_dev *dev) clear_all_interrupts() argument 271 init_hw(struct nmk_i2c_dev *dev) init_hw() argument 300 load_i2c_mcr_reg(struct nmk_i2c_dev *dev, u16 flags) load_i2c_mcr_reg() argument 348 setup_i2c_controller(struct nmk_i2c_dev *dev) setup_i2c_controller() argument 444 read_i2c(struct nmk_i2c_dev *dev, u16 flags) read_i2c() argument 488 fill_tx_fifo(struct nmk_i2c_dev *dev, int no_bytes) fill_tx_fifo() argument 513 write_i2c(struct nmk_i2c_dev *dev, u16 flags) write_i2c() argument 574 nmk_i2c_xfer_one(struct nmk_i2c_dev *dev, u16 flags) nmk_i2c_xfer_one() argument 666 struct nmk_i2c_dev *dev = i2c_get_adapdata(i2c_adap); nmk_i2c_xfer() local 705 disable_interrupts(struct nmk_i2c_dev *dev, u32 irq) disable_interrupts() argument 726 struct nmk_i2c_dev *dev = arg; i2c_irq_handler() local 877 nmk_i2c_suspend_late(struct device *dev) nmk_i2c_suspend_late() argument 889 nmk_i2c_resume_early(struct device *dev) nmk_i2c_resume_early() argument 896 nmk_i2c_runtime_suspend(struct device *dev) nmk_i2c_runtime_suspend() argument 906 nmk_i2c_runtime_resume(struct device *dev) nmk_i2c_runtime_resume() argument 968 struct nmk_i2c_dev *dev; nmk_i2c_probe() local 1043 struct nmk_i2c_dev *dev = amba_get_drvdata(adev); nmk_i2c_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_main.c | 75 struct ocrdma_dev *dev; in ocrdma_port_immutable() local 78 dev = get_ocrdma_dev(ibdev); in ocrdma_port_immutable() 80 if (ocrdma_is_udp_encap_supported(dev)) in ocrdma_port_immutable() 96 struct ocrdma_dev *dev = get_ocrdma_dev(device); in get_dev_fw_str() local 98 snprintf(str, IB_FW_VERSION_NAME_MAX, "%s", &dev->attr.fw_ver[0]); in get_dev_fw_str() 105 struct ocrdma_dev *dev = in hw_rev_show() local 108 return sysfs_emit(buf, "0x%x\n", dev->nic_info.pdev->vendor); in hw_rev_show() 115 struct ocrdma_dev *dev = in hca_type_show() local 118 return sysfs_emit(buf, "%s\n", &dev->model_number[0]); in hca_type_show() 188 static int ocrdma_register_device(struct ocrdma_dev *dev) in ocrdma_register_device() argument 219 ocrdma_alloc_resources(struct ocrdma_dev *dev) ocrdma_alloc_resources() argument 254 ocrdma_free_resources(struct ocrdma_dev *dev) ocrdma_free_resources() argument 266 struct ocrdma_dev *dev; ocrdma_add() local 322 ocrdma_remove_free(struct ocrdma_dev *dev) ocrdma_remove_free() argument 329 ocrdma_remove(struct ocrdma_dev *dev) ocrdma_remove() argument 343 ocrdma_dispatch_port_active(struct ocrdma_dev *dev) ocrdma_dispatch_port_active() argument 354 ocrdma_dispatch_port_error(struct ocrdma_dev *dev) ocrdma_dispatch_port_error() argument 365 ocrdma_shutdown(struct ocrdma_dev *dev) ocrdma_shutdown() argument 375 ocrdma_event_handler(struct ocrdma_dev *dev, u32 event) ocrdma_event_handler() argument 386 ocrdma_update_link_state(struct ocrdma_dev *dev, u8 lstate) ocrdma_update_link_state() argument [all...] |
/kernel/linux/linux-6.6/drivers/base/power/ |
H A D | main.c | 95 * @dev: Device object being initialized. 97 void device_pm_sleep_init(struct device *dev) in device_pm_sleep_init() argument 99 dev->power.is_prepared = false; in device_pm_sleep_init() 100 dev->power.is_suspended = false; in device_pm_sleep_init() 101 dev->power.is_noirq_suspended = false; in device_pm_sleep_init() 102 dev->power.is_late_suspended = false; in device_pm_sleep_init() 103 init_completion(&dev->power.completion); in device_pm_sleep_init() 104 complete_all(&dev->power.completion); in device_pm_sleep_init() 105 dev->power.wakeup = NULL; in device_pm_sleep_init() 106 INIT_LIST_HEAD(&dev in device_pm_sleep_init() 129 device_pm_add(struct device *dev) device_pm_add() argument 151 device_pm_remove(struct device *dev) device_pm_remove() argument 200 device_pm_move_last(struct device *dev) device_pm_move_last() argument 207 initcall_debug_start(struct device *dev, void *cb) initcall_debug_start() argument 218 initcall_debug_report(struct device *dev, ktime_t calltime, void *cb, int error) initcall_debug_report() argument 236 dpm_wait(struct device *dev, bool async) dpm_wait() argument 245 dpm_wait_fn(struct device *dev, void *async_ptr) dpm_wait_fn() argument 251 dpm_wait_for_children(struct device *dev, bool async) dpm_wait_for_children() argument 256 dpm_wait_for_suppliers(struct device *dev, bool async) dpm_wait_for_suppliers() argument 277 dpm_wait_for_superior(struct device *dev, bool async) dpm_wait_for_superior() argument 311 dpm_wait_for_consumers(struct device *dev, bool async) dpm_wait_for_consumers() argument 334 dpm_wait_for_subordinate(struct device *dev, bool async) dpm_wait_for_subordinate() argument 439 pm_dev_dbg(struct device *dev, pm_message_t state, const char *info) pm_dev_dbg() argument 446 pm_dev_err(struct device *dev, pm_message_t state, const char *info, int error) pm_dev_err() argument 473 dpm_run_callback(pm_callback_t cb, struct device *dev, pm_message_t state, const char *info) dpm_run_callback() argument 497 struct device *dev; global() member 528 dpm_watchdog_set(struct dpm_watchdog *wd, struct device *dev) dpm_watchdog_set() argument 570 dev_pm_skip_resume(struct device *dev) dev_pm_skip_resume() argument 590 __device_resume_noirq(struct device *dev, pm_message_t state, bool async) __device_resume_noirq() argument 667 is_async(struct device *dev) is_async() argument 673 dpm_async_fn(struct device *dev, async_func_t func) dpm_async_fn() argument 692 struct device *dev = data; async_resume_noirq() local 698 device_resume_noirq(struct device *dev) device_resume_noirq() argument 708 struct device *dev; dpm_noirq_resume_devices() local 757 __device_resume_early(struct device *dev, pm_message_t state, bool async) __device_resume_early() argument 821 struct device *dev = data; async_resume_early() local 827 device_resume_early(struct device *dev) device_resume_early() argument 841 struct device *dev; dpm_resume_early() local 884 __device_resume(struct device *dev, pm_message_t state, bool async) __device_resume() argument 976 struct device *dev = data; async_resume() local 982 device_resume(struct device *dev) device_resume() argument 999 struct device *dev; dpm_resume() local 1043 device_complete(struct device *dev, pm_message_t state) device_complete() argument 1100 struct device *dev = to_device(dpm_prepared_list.prev); dpm_complete() local 1162 dpm_superior_set_must_resume(struct device *dev) dpm_superior_set_must_resume() argument 1187 __device_suspend_noirq(struct device *dev, pm_message_t state, bool async) __device_suspend_noirq() argument 1260 struct device *dev = data; async_suspend_noirq() local 1272 device_suspend_noirq(struct device *dev) device_suspend_noirq() argument 1291 struct device *dev = to_device(dpm_late_early_list.prev); dpm_noirq_suspend_devices() local 1351 dpm_propagate_wakeup_to_parent(struct device *dev) dpm_propagate_wakeup_to_parent() argument 1374 __device_suspend_late(struct device *dev, pm_message_t state, bool async) __device_suspend_late() argument 1441 struct device *dev = data; async_suspend_late() local 1452 device_suspend_late(struct device *dev) device_suspend_late() argument 1476 struct device *dev = to_device(dpm_suspended_list.prev); dpm_suspend_late() local 1547 legacy_suspend(struct device *dev, pm_message_t state, int (*cb)(struct device *dev, pm_message_t state), const char *info) legacy_suspend() argument 1566 dpm_clear_superiors_direct_complete(struct device *dev) dpm_clear_superiors_direct_complete() argument 1594 __device_suspend(struct device *dev, pm_message_t state, bool async) __device_suspend() argument 1718 struct device *dev = data; async_suspend() local 1730 device_suspend(struct device *dev) device_suspend() argument 1757 struct device *dev = to_device(dpm_prepared_list.prev); dpm_suspend() local 1804 device_prepare(struct device *dev, pm_message_t state) device_prepare() argument 1894 struct device *dev = to_device(dpm_list.next); dpm_prepare() local 1951 __suspend_report_result(const char *function, struct device *dev, void *fn, int ret) __suspend_report_result() argument 1963 device_pm_wait_for_dev(struct device *subordinate, struct device *dev) device_pm_wait_for_dev() argument 1980 struct device *dev; dpm_for_each_dev() local 2007 device_pm_check_callbacks(struct device *dev) device_pm_check_callbacks() argument 2023 dev_pm_skip_suspend(struct device *dev) dev_pm_skip_suspend() argument [all...] |
/kernel/linux/linux-6.6/drivers/w1/masters/ |
H A D | ds2490.c | 168 static int ds_send_control_cmd(struct ds_device *dev, u16 value, u16 index) in ds_send_control_cmd() argument 172 err = usb_control_msg(dev->udev, usb_sndctrlpipe(dev->udev, dev->ep[EP_CONTROL]), in ds_send_control_cmd() 175 dev_err(&dev->udev->dev, in ds_send_control_cmd() 184 static int ds_send_control_mode(struct ds_device *dev, u16 value, u16 index) in ds_send_control_mode() argument 188 err = usb_control_msg(dev->udev, usb_sndctrlpipe(dev->udev, dev in ds_send_control_mode() 200 ds_send_control(struct ds_device *dev, u16 value, u16 index) ds_send_control() argument 218 struct device *dev = &ds_dev->udev->dev; ds_dump_status() local 268 ds_recv_status(struct ds_device *dev, struct ds_status *st) ds_recv_status() argument 294 ds_reset_device(struct ds_device *dev) ds_reset_device() argument 314 ds_recv_data(struct ds_device *dev, unsigned char *buf, int size) ds_recv_data() argument 357 ds_send_data(struct ds_device *dev, unsigned char *buf, int len) ds_send_data() argument 427 ds_wait_status(struct ds_device *dev, struct ds_status *st) ds_wait_status() argument 469 ds_reset(struct ds_device *dev) ds_reset() argument 510 ds_set_pullup(struct ds_device *dev, int delay) ds_set_pullup() argument 536 ds_touch_bit(struct ds_device *dev, u8 bit, u8 *tbit) ds_touch_bit() argument 576 ds_write_byte(struct ds_device *dev, u8 byte) ds_write_byte() argument 599 ds_read_byte(struct ds_device *dev, u8 *byte) ds_read_byte() argument 617 ds_read_block(struct ds_device *dev, u8 *buf, int len) ds_read_block() argument 643 ds_write_block(struct ds_device *dev, u8 *buf, int len) ds_write_block() argument 679 struct ds_device *dev = data; ds9490r_search() local 843 struct ds_device *dev = data; ds9490r_touch_bit() local 874 struct ds_device *dev = data; ds9490r_write_byte() local 881 struct ds_device *dev = data; ds9490r_read_byte() local 893 struct ds_device *dev = data; ds9490r_write_block() local 910 struct ds_device *dev = data; ds9490r_read_block() local 932 struct ds_device *dev = data; ds9490r_reset() local 944 struct ds_device *dev = data; ds9490r_set_pullup() local 952 ds_w1_init(struct ds_device *dev) ds_w1_init() argument 990 ds_w1_fini(struct ds_device *dev) ds_w1_fini() argument 1001 struct ds_device *dev; ds_probe() local 1079 struct ds_device *dev; ds_disconnect() local [all...] |
/kernel/linux/linux-5.10/sound/core/ |
H A D | device.c | 32 struct snd_device *dev; in snd_device_new() local 37 dev = kzalloc(sizeof(*dev), GFP_KERNEL); in snd_device_new() 38 if (!dev) in snd_device_new() 40 INIT_LIST_HEAD(&dev->list); in snd_device_new() 41 dev->card = card; in snd_device_new() 42 dev->type = type; in snd_device_new() 43 dev->state = SNDRV_DEV_BUILD; in snd_device_new() 44 dev->device_data = device_data; in snd_device_new() 45 dev in snd_device_new() 59 __snd_device_disconnect(struct snd_device *dev) __snd_device_disconnect() argument 69 __snd_device_free(struct snd_device *dev) __snd_device_free() argument 84 struct snd_device *dev; look_for_dev() local 108 struct snd_device *dev; snd_device_disconnect() local 132 struct snd_device *dev; snd_device_free() local 145 __snd_device_register(struct snd_device *dev) __snd_device_register() argument 173 struct snd_device *dev; snd_device_register() local 191 struct snd_device *dev; snd_device_register_all() local 210 struct snd_device *dev; snd_device_disconnect_all() local 224 struct snd_device *dev, *next; snd_device_free_all() local 253 struct snd_device *dev; snd_device_get_state() local [all...] |
/kernel/linux/linux-6.6/sound/core/ |
H A D | device.c | 32 struct snd_device *dev; in snd_device_new() local 37 dev = kzalloc(sizeof(*dev), GFP_KERNEL); in snd_device_new() 38 if (!dev) in snd_device_new() 40 INIT_LIST_HEAD(&dev->list); in snd_device_new() 41 dev->card = card; in snd_device_new() 42 dev->type = type; in snd_device_new() 43 dev->state = SNDRV_DEV_BUILD; in snd_device_new() 44 dev->device_data = device_data; in snd_device_new() 45 dev in snd_device_new() 59 __snd_device_disconnect(struct snd_device *dev) __snd_device_disconnect() argument 69 __snd_device_free(struct snd_device *dev) __snd_device_free() argument 84 struct snd_device *dev; look_for_dev() local 108 struct snd_device *dev; snd_device_disconnect() local 132 struct snd_device *dev; snd_device_free() local 145 __snd_device_register(struct snd_device *dev) __snd_device_register() argument 173 struct snd_device *dev; snd_device_register() local 191 struct snd_device *dev; snd_device_register_all() local 210 struct snd_device *dev; snd_device_disconnect_all() local 224 struct snd_device *dev, *next; snd_device_free_all() local 255 struct snd_device *dev; snd_device_get_state() local [all...] |
/kernel/linux/linux-6.6/drivers/hid/intel-ish-hid/ipc/ |
H A D | ipc.c | 23 * @dev: ISHTP device pointer 30 static inline uint32_t ish_reg_read(const struct ishtp_device *dev, in ish_reg_read() argument 33 struct ish_hw *hw = to_ish_hw(dev); in ish_reg_read() 40 * @dev: ISHTP device pointer 46 static inline void ish_reg_write(struct ishtp_device *dev, in ish_reg_write() argument 50 struct ish_hw *hw = to_ish_hw(dev); in ish_reg_write() 57 * @dev: ISHTP device pointer 63 static inline uint32_t _ish_read_fw_sts_reg(struct ishtp_device *dev) in _ish_read_fw_sts_reg() argument 65 return ish_reg_read(dev, IPC_REG_ISH_HOST_FWSTS); in _ish_read_fw_sts_reg() 70 * @dev 76 check_generated_interrupt(struct ishtp_device *dev) check_generated_interrupt() argument 104 ish_is_input_ready(struct ishtp_device *dev) ish_is_input_ready() argument 118 set_host_ready(struct ishtp_device *dev) set_host_ready() argument 161 ishtp_fw_is_ready(struct ishtp_device *dev) ishtp_fw_is_ready() argument 175 ish_set_host_rdy(struct ishtp_device *dev) ish_set_host_rdy() argument 189 ish_clr_host_rdy(struct ishtp_device *dev) ish_clr_host_rdy() argument 197 ish_chk_host_rdy(struct ishtp_device *dev) ish_chk_host_rdy() argument 215 ish_set_host_ready(struct ishtp_device *dev) ish_set_host_ready() argument 232 _ishtp_read_hdr(const struct ishtp_device *dev) _ishtp_read_hdr() argument 247 _ishtp_read(struct ishtp_device *dev, unsigned char *buffer, unsigned long buffer_length) _ishtp_read() argument 270 write_ipc_from_queue(struct ishtp_device *dev) write_ipc_from_queue() argument 381 write_ipc_to_queue(struct ishtp_device *dev, void (*ipc_send_compl)(void *), void *ipc_send_compl_prm, unsigned char *msg, int length) write_ipc_to_queue() argument 424 ipc_send_mng_msg(struct ishtp_device *dev, uint32_t msg_code, void *msg, size_t size) ipc_send_mng_msg() argument 451 timed_wait_for_timeout(struct ishtp_device *dev, int condition, unsigned int timeinc, unsigned int timeout) timed_wait_for_timeout() argument 497 ish_fw_reset_handler(struct ishtp_device *dev) ish_fw_reset_handler() argument 577 _ish_sync_fw_clock(struct ishtp_device *dev) _ish_sync_fw_clock() argument 599 recv_ipc(struct ishtp_device *dev, uint32_t doorbell_val) recv_ipc() argument 646 struct ishtp_device *dev = dev_id; ish_irq_handler() local 702 ish_disable_dma(struct ishtp_device *dev) ish_disable_dma() argument 731 ish_wakeup(struct ishtp_device *dev) ish_wakeup() argument 754 _ish_hw_reset(struct ishtp_device *dev) _ish_hw_reset() argument 805 _ish_ipc_reset(struct ishtp_device *dev) _ish_ipc_reset() argument 848 ish_hw_start(struct ishtp_device *dev) ish_hw_start() argument 882 ish_ipc_get_header(struct ishtp_device *dev, int length, int busy) ish_ipc_get_header() argument 910 _dma_no_cache_snooping(struct ishtp_device *dev) _dma_no_cache_snooping() argument 941 struct ishtp_device *dev; ish_dev_init() local 997 ish_device_disable(struct ishtp_device *dev) ish_device_disable() argument [all...] |
/kernel/linux/linux-6.6/sound/soc/atmel/ |
H A D | mchp-i2s-mcc.c | 239 struct device *dev; member 260 struct mchp_i2s_mcc_dev *dev = dev_id; in mchp_i2s_mcc_interrupt() local 264 regmap_read(dev->regmap, MCHP_I2SMCC_IMRA, &imra); in mchp_i2s_mcc_interrupt() 265 regmap_read(dev->regmap, MCHP_I2SMCC_ISRA, &sra); in mchp_i2s_mcc_interrupt() 268 regmap_read(dev->regmap, MCHP_I2SMCC_IMRB, &imrb); in mchp_i2s_mcc_interrupt() 269 regmap_read(dev->regmap, MCHP_I2SMCC_ISRB, &srb); in mchp_i2s_mcc_interrupt() 279 if (dev->soc->has_fifo) { in mchp_i2s_mcc_interrupt() 283 idra |= pendinga & (MCHP_I2SMCC_INT_TXRDY_MASK(dev->channels) | in mchp_i2s_mcc_interrupt() 284 MCHP_I2SMCC_INT_RXRDY_MASK(dev->channels)); in mchp_i2s_mcc_interrupt() 289 if ((!dev in mchp_i2s_mcc_interrupt() 316 struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); mchp_i2s_mcc_set_sysclk() local 333 struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); mchp_i2s_mcc_set_bclk_ratio() local 344 struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); mchp_i2s_mcc_set_dai_fmt() local 370 struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); mchp_i2s_mcc_set_dai_tdm_slot() local 416 mchp_i2s_mcc_config_divs(struct mchp_i2s_mcc_dev *dev, unsigned int bclk, unsigned int *mra, unsigned long *best_rate) mchp_i2s_mcc_config_divs() argument 499 mchp_i2s_mcc_is_running(struct mchp_i2s_mcc_dev *dev) mchp_i2s_mcc_is_running() argument 512 struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); mchp_i2s_mcc_hw_params() local 735 struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); mchp_i2s_mcc_hw_free() local 791 struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); mchp_i2s_mcc_trigger() local 862 struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); mchp_i2s_mcc_startup() local 875 struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); mchp_i2s_mcc_dai_probe() local 959 mchp_i2s_mcc_soc_data_parse(struct platform_device *pdev, struct mchp_i2s_mcc_dev *dev) mchp_i2s_mcc_soc_data_parse() argument 1000 struct mchp_i2s_mcc_dev *dev; mchp_i2s_mcc_probe() local 1093 struct mchp_i2s_mcc_dev *dev = platform_get_drvdata(pdev); mchp_i2s_mcc_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/ps3/ |
H A D | ps3stor_lib.c | 75 static int ps3stor_probe_access(struct ps3_storage_device *dev) in ps3stor_probe_access() argument 81 if (dev->sbd.match_id == PS3_MATCH_ID_STOR_ROM) { in ps3stor_probe_access() 83 dev->accessible_regions = 1; in ps3stor_probe_access() 88 for (i = 0; i < dev->num_regions; i++) { in ps3stor_probe_access() 89 dev_dbg(&dev->sbd.core, in ps3stor_probe_access() 93 dev->region_idx = i; in ps3stor_probe_access() 94 res = ps3stor_read_write_sectors(dev, dev->bounce_lpar, 0, 1, in ps3stor_probe_access() 97 dev_dbg(&dev->sbd.core, "%s:%u: read failed, " in ps3stor_probe_access() 103 dev_dbg(&dev in ps3stor_probe_access() 136 ps3stor_setup(struct ps3_storage_device *dev, irq_handler_t handler) ps3stor_setup() argument 228 ps3stor_teardown(struct ps3_storage_device *dev) ps3stor_teardown() argument 264 ps3stor_read_write_sectors(struct ps3_storage_device *dev, u64 lpar, u64 start_sector, u64 sectors, int write) ps3stor_read_write_sectors() argument 314 ps3stor_send_command(struct ps3_storage_device *dev, u64 cmd, u64 arg1, u64 arg2, u64 arg3, u64 arg4) ps3stor_send_command() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/ddbridge/ |
H A D | ddbridge-main.c | 53 static void ddb_irq_disable(struct ddb *dev) in ddb_irq_disable() argument 55 ddbwritel(dev, 0, INTERRUPT_ENABLE); in ddb_irq_disable() 56 ddbwritel(dev, 0, MSI1_ENABLE); in ddb_irq_disable() 59 static void ddb_msi_exit(struct ddb *dev) in ddb_msi_exit() argument 62 if (dev->msi) in ddb_msi_exit() 63 pci_free_irq_vectors(dev->pdev); in ddb_msi_exit() 67 static void ddb_irq_exit(struct ddb *dev) in ddb_irq_exit() argument 69 ddb_irq_disable(dev); in ddb_irq_exit() 70 if (dev->msi == 2) in ddb_irq_exit() 71 free_irq(pci_irq_vector(dev in ddb_irq_exit() 77 struct ddb *dev = (struct ddb *)pci_get_drvdata(pdev); ddb_remove() local 94 ddb_irq_msi(struct ddb *dev, int nr) ddb_irq_msi() argument 112 ddb_irq_init(struct ddb *dev) ddb_irq_init() argument 166 struct ddb *dev; ddb_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/ps3/ |
H A D | ps3stor_lib.c | 75 static int ps3stor_probe_access(struct ps3_storage_device *dev) in ps3stor_probe_access() argument 81 if (dev->sbd.match_id == PS3_MATCH_ID_STOR_ROM) { in ps3stor_probe_access() 83 dev->accessible_regions = 1; in ps3stor_probe_access() 88 for (i = 0; i < dev->num_regions; i++) { in ps3stor_probe_access() 89 dev_dbg(&dev->sbd.core, in ps3stor_probe_access() 93 dev->region_idx = i; in ps3stor_probe_access() 94 res = ps3stor_read_write_sectors(dev, dev->bounce_lpar, 0, 1, in ps3stor_probe_access() 97 dev_dbg(&dev->sbd.core, "%s:%u: read failed, " in ps3stor_probe_access() 103 dev_dbg(&dev in ps3stor_probe_access() 136 ps3stor_setup(struct ps3_storage_device *dev, irq_handler_t handler) ps3stor_setup() argument 228 ps3stor_teardown(struct ps3_storage_device *dev) ps3stor_teardown() argument 264 ps3stor_read_write_sectors(struct ps3_storage_device *dev, u64 lpar, u64 start_sector, u64 sectors, int write) ps3stor_read_write_sectors() argument 314 ps3stor_send_command(struct ps3_storage_device *dev, u64 cmd, u64 arg1, u64 arg2, u64 arg3, u64 arg4) ps3stor_send_command() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | f_printer.c | 224 struct printer_dev *dev = container_of(kref, struct printer_dev, kref); in printer_dev_free() local 226 kfree(dev); in printer_dev_free() 261 struct printer_dev *dev = ep->driver_data; in rx_complete() local 265 spin_lock_irqsave(&dev->lock, flags); in rx_complete() 274 list_add_tail(&req->list, &dev->rx_buffers); in rx_complete() 275 DBG(dev, "G_Printer : rx length %d\n", req->actual); in rx_complete() 277 list_add(&req->list, &dev->rx_reqs); in rx_complete() 284 VDBG(dev, "rx shutdown, code %d\n", status); in rx_complete() 285 list_add(&req->list, &dev->rx_reqs); in rx_complete() 290 DBG(dev, "r in rx_complete() 310 struct printer_dev *dev = ep->driver_data; tx_complete() local 341 struct printer_dev *dev; printer_open() local 372 struct printer_dev *dev = fd->private_data; printer_close() local 390 setup_rx_reqs(struct printer_dev *dev) setup_rx_reqs() argument 428 struct printer_dev *dev = fd->private_data; printer_read() local 570 struct printer_dev *dev = fd->private_data; printer_write() local 690 struct printer_dev *dev = fd->private_data; printer_fsync() local 720 struct printer_dev *dev = fd->private_data; printer_poll() local 756 struct printer_dev *dev = fd->private_data; printer_ioctl() local 806 set_printer_interface(struct printer_dev *dev) set_printer_interface() argument 843 printer_reset_interface(struct printer_dev *dev) printer_reset_interface() argument 866 set_interface(struct printer_dev *dev, unsigned number) set_interface() argument 885 printer_soft_reset(struct printer_dev *dev) printer_soft_reset() argument 941 struct printer_dev *dev = func_to_printer(f); gprinter_req_match() local 982 struct printer_dev *dev = func_to_printer(f); printer_func_setup() local 1063 struct printer_dev *dev = func_to_printer(f); printer_func_bind() local 1174 struct printer_dev *dev = func_to_printer(f); printer_func_set_alt() local 1185 struct printer_dev *dev = func_to_printer(f); printer_func_disable() local 1397 struct printer_dev *dev = func_to_printer(f); gprinter_free() local 1411 struct printer_dev *dev; printer_func_unbind() local 1454 struct printer_dev *dev; gprinter_alloc() local [all...] |
/kernel/linux/linux-5.10/drivers/virtio/ |
H A D | virtio.c | 15 struct virtio_device *dev = dev_to_virtio(_d); in device_show() local 16 return sprintf(buf, "0x%04x\n", dev->id.device); in device_show() 23 struct virtio_device *dev = dev_to_virtio(_d); in vendor_show() local 24 return sprintf(buf, "0x%04x\n", dev->id.vendor); in vendor_show() 31 struct virtio_device *dev = dev_to_virtio(_d); in status_show() local 32 return sprintf(buf, "0x%08x\n", dev->config->get_status(dev)); in status_show() 39 struct virtio_device *dev = dev_to_virtio(_d); in modalias_show() local 41 dev->id.device, dev in modalias_show() 48 struct virtio_device *dev = dev_to_virtio(_d); features_show() local 72 virtio_id_match(const struct virtio_device *dev, const struct virtio_device_id *id) virtio_id_match() argument 86 struct virtio_device *dev = dev_to_virtio(_dv); virtio_dev_match() local 98 struct virtio_device *dev = dev_to_virtio(_dv); virtio_uevent() local 124 __virtio_config_changed(struct virtio_device *dev) __virtio_config_changed() argument 134 virtio_config_changed(struct virtio_device *dev) virtio_config_changed() argument 144 virtio_config_disable(struct virtio_device *dev) virtio_config_disable() argument 152 virtio_config_enable(struct virtio_device *dev) virtio_config_enable() argument 163 virtio_add_status(struct virtio_device *dev, unsigned int status) virtio_add_status() argument 171 virtio_features_ok(struct virtio_device *dev) virtio_features_ok() argument 209 struct virtio_device *dev = dev_to_virtio(_d); virtio_dev_probe() local 296 struct virtio_device *dev = dev_to_virtio(_d); virtio_dev_remove() local 344 register_virtio_device(struct virtio_device *dev) register_virtio_device() argument 387 is_virtio_device(struct device *dev) is_virtio_device() argument 393 unregister_virtio_device(struct virtio_device *dev) unregister_virtio_device() argument 403 virtio_device_freeze(struct virtio_device *dev) virtio_device_freeze() argument 418 virtio_device_restore(struct virtio_device *dev) virtio_device_restore() argument [all...] |
/kernel/linux/linux-5.10/drivers/base/power/ |
H A D | main.c | 96 * @dev: Device object being initialized. 98 void device_pm_sleep_init(struct device *dev) in device_pm_sleep_init() argument 100 dev->power.is_prepared = false; in device_pm_sleep_init() 101 dev->power.is_suspended = false; in device_pm_sleep_init() 102 dev->power.is_noirq_suspended = false; in device_pm_sleep_init() 103 dev->power.is_late_suspended = false; in device_pm_sleep_init() 104 init_completion(&dev->power.completion); in device_pm_sleep_init() 105 complete_all(&dev->power.completion); in device_pm_sleep_init() 106 dev->power.wakeup = NULL; in device_pm_sleep_init() 107 INIT_LIST_HEAD(&dev in device_pm_sleep_init() 130 device_pm_add(struct device *dev) device_pm_add() argument 152 device_pm_remove(struct device *dev) device_pm_remove() argument 201 device_pm_move_last(struct device *dev) device_pm_move_last() argument 208 initcall_debug_start(struct device *dev, void *cb) initcall_debug_start() argument 219 initcall_debug_report(struct device *dev, ktime_t calltime, void *cb, int error) initcall_debug_report() argument 240 dpm_wait(struct device *dev, bool async) dpm_wait() argument 249 dpm_wait_fn(struct device *dev, void *async_ptr) dpm_wait_fn() argument 255 dpm_wait_for_children(struct device *dev, bool async) dpm_wait_for_children() argument 260 dpm_wait_for_suppliers(struct device *dev, bool async) dpm_wait_for_suppliers() argument 281 dpm_wait_for_superior(struct device *dev, bool async) dpm_wait_for_superior() argument 315 dpm_wait_for_consumers(struct device *dev, bool async) dpm_wait_for_consumers() argument 338 dpm_wait_for_subordinate(struct device *dev, bool async) dpm_wait_for_subordinate() argument 443 pm_dev_dbg(struct device *dev, pm_message_t state, const char *info) pm_dev_dbg() argument 450 pm_dev_err(struct device *dev, pm_message_t state, const char *info, int error) pm_dev_err() argument 477 dpm_run_callback(pm_callback_t cb, struct device *dev, pm_message_t state, const char *info) dpm_run_callback() argument 501 struct device *dev; global() member 532 dpm_watchdog_set(struct dpm_watchdog *wd, struct device *dev) dpm_watchdog_set() argument 574 dev_pm_skip_resume(struct device *dev) dev_pm_skip_resume() argument 594 __device_resume_noirq(struct device *dev, pm_message_t state, bool async) __device_resume_noirq() argument 671 is_async(struct device *dev) is_async() argument 677 dpm_async_fn(struct device *dev, async_func_t func) dpm_async_fn() argument 696 struct device *dev = data; async_resume_noirq() local 702 device_resume_noirq(struct device *dev) device_resume_noirq() argument 712 struct device *dev; dpm_noirq_resume_devices() local 763 __device_resume_early(struct device *dev, pm_message_t state, bool async) __device_resume_early() argument 827 struct device *dev = data; async_resume_early() local 833 device_resume_early(struct device *dev) device_resume_early() argument 847 struct device *dev; dpm_resume_early() local 890 __device_resume(struct device *dev, pm_message_t state, bool async) __device_resume() argument 982 struct device *dev = data; async_resume() local 988 device_resume(struct device *dev) device_resume() argument 1005 struct device *dev; dpm_resume() local 1049 device_complete(struct device *dev, pm_message_t state) device_complete() argument 1106 struct device *dev = to_device(dpm_prepared_list.prev); dpm_complete() local 1168 dpm_superior_set_must_resume(struct device *dev) dpm_superior_set_must_resume() argument 1193 __device_suspend_noirq(struct device *dev, pm_message_t state, bool async) __device_suspend_noirq() argument 1266 struct device *dev = data; async_suspend_noirq() local 1278 device_suspend_noirq(struct device *dev) device_suspend_noirq() argument 1297 struct device *dev = to_device(dpm_late_early_list.prev); dpm_noirq_suspend_devices() local 1359 dpm_propagate_wakeup_to_parent(struct device *dev) dpm_propagate_wakeup_to_parent() argument 1382 __device_suspend_late(struct device *dev, pm_message_t state, bool async) __device_suspend_late() argument 1449 struct device *dev = data; async_suspend_late() local 1460 device_suspend_late(struct device *dev) device_suspend_late() argument 1483 struct device *dev = to_device(dpm_suspended_list.prev); dpm_suspend_late() local 1554 legacy_suspend(struct device *dev, pm_message_t state, int (*cb)(struct device *dev, pm_message_t state), const char *info) legacy_suspend() argument 1573 dpm_clear_superiors_direct_complete(struct device *dev) dpm_clear_superiors_direct_complete() argument 1601 __device_suspend(struct device *dev, pm_message_t state, bool async) __device_suspend() argument 1725 struct device *dev = data; async_suspend() local 1737 device_suspend(struct device *dev) device_suspend() argument 1764 struct device *dev = to_device(dpm_prepared_list.prev); dpm_suspend() local 1811 device_prepare(struct device *dev, pm_message_t state) device_prepare() argument 1901 struct device *dev = to_device(dpm_list.next); dpm_prepare() local 1970 device_pm_wait_for_dev(struct device *subordinate, struct device *dev) device_pm_wait_for_dev() argument 1987 struct device *dev; dpm_for_each_dev() local 2014 device_pm_check_callbacks(struct device *dev) device_pm_check_callbacks() argument 2030 dev_pm_skip_suspend(struct device *dev) dev_pm_skip_suspend() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/i825xx/ |
H A D | ether1.c | 63 static int ether1_open(struct net_device *dev); 65 struct net_device *dev); 67 static int ether1_close(struct net_device *dev); 68 static void ether1_setmulticastlist(struct net_device *dev); 69 static void ether1_timeout(struct net_device *dev, unsigned int txqueue); 83 #define ether1_readw(dev, addr, type, offset, svflgs) ether1_inw_p (dev, addr + (int)(&((type *)0)->offset), svflgs) 84 #define ether1_writew(dev, val, addr, type, offset, svflgs) ether1_outw_p (dev, val, addr + (int)(&((type *)0)->offset), svflgs) 87 ether1_inw_p (struct net_device *dev, in argument 103 ether1_outw_p(struct net_device *dev, unsigned short val, int addr, int svflgs) ether1_outw_p() argument 126 ether1_writebuffer(struct net_device *dev, void *data, unsigned int start, unsigned int length) ether1_writebuffer() argument 189 ether1_readbuffer(struct net_device *dev, void *data, unsigned int start, unsigned int length) ether1_readbuffer() argument 252 ether1_ramtest(struct net_device *dev, unsigned char byte) ether1_ramtest() argument 299 ether1_reset(struct net_device *dev) ether1_reset() argument 306 ether1_init_2(struct net_device *dev) ether1_init_2() argument 444 ether1_init_for_open(struct net_device *dev) ether1_init_for_open() argument 612 ether1_txalloc(struct net_device *dev, int size) ether1_txalloc() argument 637 ether1_open(struct net_device *dev) ether1_open() argument 653 ether1_timeout(struct net_device *dev, unsigned int txqueue) ether1_timeout() argument 669 ether1_sendpacket(struct sk_buff *skb, struct net_device *dev) ether1_sendpacket() argument 742 ether1_xmit_done(struct net_device *dev) ether1_xmit_done() argument 842 ether1_recv_done(struct net_device *dev) ether1_recv_done() argument 897 struct net_device *dev = (struct net_device *)dev_id; ether1_interrupt() local 944 ether1_close(struct net_device *dev) ether1_close() argument 961 ether1_setmulticastlist(struct net_device *dev) ether1_setmulticastlist() argument 988 struct net_device *dev; ether1_probe() local 1048 struct net_device *dev = ecard_get_drvdata(ec); ether1_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/i825xx/ |
H A D | ether1.c | 63 static int ether1_open(struct net_device *dev); 65 struct net_device *dev); 67 static int ether1_close(struct net_device *dev); 68 static void ether1_setmulticastlist(struct net_device *dev); 69 static void ether1_timeout(struct net_device *dev, unsigned int txqueue); 83 #define ether1_readw(dev, addr, type, offset, svflgs) ether1_inw_p (dev, addr + (int)(&((type *)0)->offset), svflgs) 84 #define ether1_writew(dev, val, addr, type, offset, svflgs) ether1_outw_p (dev, val, addr + (int)(&((type *)0)->offset), svflgs) 87 ether1_inw_p (struct net_device *dev, in argument 103 ether1_outw_p(struct net_device *dev, unsigned short val, int addr, int svflgs) ether1_outw_p() argument 126 ether1_writebuffer(struct net_device *dev, void *data, unsigned int start, unsigned int length) ether1_writebuffer() argument 189 ether1_readbuffer(struct net_device *dev, void *data, unsigned int start, unsigned int length) ether1_readbuffer() argument 252 ether1_ramtest(struct net_device *dev, unsigned char byte) ether1_ramtest() argument 299 ether1_reset(struct net_device *dev) ether1_reset() argument 306 ether1_init_2(struct net_device *dev) ether1_init_2() argument 444 ether1_init_for_open(struct net_device *dev) ether1_init_for_open() argument 612 ether1_txalloc(struct net_device *dev, int size) ether1_txalloc() argument 637 ether1_open(struct net_device *dev) ether1_open() argument 653 ether1_timeout(struct net_device *dev, unsigned int txqueue) ether1_timeout() argument 669 ether1_sendpacket(struct sk_buff *skb, struct net_device *dev) ether1_sendpacket() argument 742 ether1_xmit_done(struct net_device *dev) ether1_xmit_done() argument 842 ether1_recv_done(struct net_device *dev) ether1_recv_done() argument 897 struct net_device *dev = (struct net_device *)dev_id; ether1_interrupt() local 944 ether1_close(struct net_device *dev) ether1_close() argument 961 ether1_setmulticastlist(struct net_device *dev) ether1_setmulticastlist() argument 988 struct net_device *dev; ether1_probe() local 1050 struct net_device *dev = ecard_get_drvdata(ec); ether1_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/ |
H A D | vivid-kthread-touch.c | 13 static noinline_for_stack void vivid_thread_tch_cap_tick(struct vivid_dev *dev, in vivid_thread_tch_cap_tick() argument 18 spin_lock(&dev->slock); in vivid_thread_tch_cap_tick() 19 if (!list_empty(&dev->touch_cap_active)) { in vivid_thread_tch_cap_tick() 20 tch_cap_buf = list_entry(dev->touch_cap_active.next, in vivid_thread_tch_cap_tick() 25 spin_unlock(&dev->slock); in vivid_thread_tch_cap_tick() 29 &dev->ctrl_hdl_touch_cap); in vivid_thread_tch_cap_tick() 31 vivid_fillbuff_tch(dev, tch_cap_buf); in vivid_thread_tch_cap_tick() 33 &dev->ctrl_hdl_touch_cap); in vivid_thread_tch_cap_tick() 34 vb2_buffer_done(&tch_cap_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_tch_cap_tick() 36 dprintk(dev, in vivid_thread_tch_cap_tick() 46 struct vivid_dev *dev = data; vivid_thread_touch_cap() local 146 vivid_start_generating_touch_cap(struct vivid_dev *dev) vivid_start_generating_touch_cap() argument 169 vivid_stop_generating_touch_cap(struct vivid_dev *dev) vivid_stop_generating_touch_cap() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/rts5208/ |
H A D | rtsx.c | 91 * NOTE: This means /dev/sg programs (ala cdrecord) will get the in slave_configure() 124 struct rtsx_dev *dev = host_to_rtsx(srb->device->host); in queuecommand_lck() local 125 struct rtsx_chip *chip = dev->chip; in queuecommand_lck() 129 dev_err(&dev->pci->dev, "Error: chip->srb = %p\n", in queuecommand_lck() 136 dev_info(&dev->pci->dev, "Fail command during disconnect\n"); in queuecommand_lck() 145 complete(&dev->cmnd_ready); in queuecommand_lck() 160 struct rtsx_dev *dev = host_to_rtsx(host); in command_abort() local 161 struct rtsx_chip *chip = dev in command_abort() 190 struct rtsx_dev *dev = host_to_rtsx(srb->device->host); device_reset() local 239 rtsx_acquire_irq(struct rtsx_dev *dev) rtsx_acquire_irq() argument 267 struct rtsx_dev *dev = pci_get_drvdata(pci); rtsx_suspend() local 299 struct rtsx_dev *dev = pci_get_drvdata(pci); rtsx_resume() local 334 struct rtsx_dev *dev = pci_get_drvdata(pci); rtsx_shutdown() local 357 struct rtsx_dev *dev = __dev; rtsx_control_thread() local 465 struct rtsx_dev *dev = __dev; rtsx_polling_thread() local 513 struct rtsx_dev *dev = dev_id; rtsx_interrupt() local 572 rtsx_release_resources(struct rtsx_dev *dev) rtsx_release_resources() argument 609 quiesce_and_remove_host(struct rtsx_dev *dev) quiesce_and_remove_host() argument 649 release_everything(struct rtsx_dev *dev) release_everything() argument 663 struct rtsx_dev *dev = __dev; rtsx_scan_thread() local 795 struct rtsx_dev *dev; rtsx_probe() local 970 struct rtsx_dev *dev = pci_get_drvdata(pci); rtsx_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-nomadik.c | 209 * @dev: private data of I2C Driver 214 static int flush_i2c_fifo(struct nmk_i2c_dev *dev) in flush_i2c_fifo() argument 227 writel((I2C_CR_FTX | I2C_CR_FRX), dev->virtbase + I2C_CR); in flush_i2c_fifo() 230 timeout = jiffies + dev->adap.timeout; in flush_i2c_fifo() 233 if ((readl(dev->virtbase + I2C_CR) & in flush_i2c_fifo() 239 dev_err(&dev->adev->dev, in flush_i2c_fifo() 248 * @dev: private data of I2C Driver 250 static void disable_all_interrupts(struct nmk_i2c_dev *dev) in disable_all_interrupts() argument 253 writel(mask, dev in disable_all_interrupts() 260 clear_all_interrupts(struct nmk_i2c_dev *dev) clear_all_interrupts() argument 271 init_hw(struct nmk_i2c_dev *dev) init_hw() argument 300 load_i2c_mcr_reg(struct nmk_i2c_dev *dev, u16 flags) load_i2c_mcr_reg() argument 348 setup_i2c_controller(struct nmk_i2c_dev *dev) setup_i2c_controller() argument 444 read_i2c(struct nmk_i2c_dev *dev, u16 flags) read_i2c() argument 488 fill_tx_fifo(struct nmk_i2c_dev *dev, int no_bytes) fill_tx_fifo() argument 513 write_i2c(struct nmk_i2c_dev *dev, u16 flags) write_i2c() argument 574 nmk_i2c_xfer_one(struct nmk_i2c_dev *dev, u16 flags) nmk_i2c_xfer_one() argument 666 struct nmk_i2c_dev *dev = i2c_get_adapdata(i2c_adap); nmk_i2c_xfer() local 705 disable_interrupts(struct nmk_i2c_dev *dev, u32 irq) disable_interrupts() argument 726 struct nmk_i2c_dev *dev = arg; i2c_irq_handler() local 876 nmk_i2c_suspend_late(struct device *dev) nmk_i2c_suspend_late() argument 888 nmk_i2c_resume_early(struct device *dev) nmk_i2c_resume_early() argument 893 nmk_i2c_runtime_suspend(struct device *dev) nmk_i2c_runtime_suspend() argument 903 nmk_i2c_runtime_resume(struct device *dev) nmk_i2c_runtime_resume() argument 962 struct nmk_i2c_dev *dev; nmk_i2c_probe() local 1035 struct nmk_i2c_dev *dev = amba_get_drvdata(adev); nmk_i2c_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/amba/ |
H A D | bus.c | 29 amba_cs_uci_id_match(const struct amba_id *table, struct amba_device *dev) in amba_cs_uci_id_match() argument 41 ret = (dev->uci.devtype == uci->devtype) && in amba_cs_uci_id_match() 42 ((dev->uci.devarch & uci->devarch_mask) == uci->devarch); in amba_cs_uci_id_match() 47 amba_lookup(const struct amba_id *table, struct amba_device *dev) in amba_lookup() argument 50 if (((dev->periphid & table->mask) == table->id) && in amba_lookup() 51 ((dev->cid != CORESIGHT_CID) || in amba_lookup() 52 (amba_cs_uci_id_match(table, dev)))) in amba_lookup() 59 static int amba_match(struct device *dev, struct device_driver *drv) in amba_match() argument 61 struct amba_device *pcdev = to_amba_device(dev); in amba_match() 71 static int amba_uevent(struct device *dev, struc argument 87 struct amba_device *dev = to_amba_device(_dev); driver_override_show() local 100 struct amba_device *dev = to_amba_device(_dev); driver_override_store() local 161 amba_pm_runtime_suspend(struct device *dev) amba_pm_runtime_suspend() argument 176 amba_pm_runtime_resume(struct device *dev) amba_pm_runtime_resume() argument 257 amba_probe(struct device *dev) amba_probe() argument 298 amba_remove(struct device *dev) amba_remove() argument 319 amba_shutdown(struct device *dev) amba_shutdown() argument 362 amba_device_release(struct device *dev) amba_device_release() argument 372 amba_device_try_add(struct amba_device *dev, struct resource *parent) amba_device_try_add() argument 496 struct amba_device *dev; global() member 549 amba_device_add(struct amba_device *dev, struct resource *parent) amba_device_add() argument 583 struct amba_device *dev; amba_aphb_device_add() local 649 amba_device_initialize(struct amba_device *dev, const char *name) amba_device_initialize() argument 673 struct amba_device *dev; amba_device_alloc() local 696 amba_device_register(struct amba_device *dev, struct resource *parent) amba_device_register() argument 708 amba_device_put(struct amba_device *dev) amba_device_put() argument 725 amba_device_unregister(struct amba_device *dev) amba_device_unregister() argument 732 struct amba_device *dev; global() member 739 amba_find_match(struct device *dev, void *data) amba_find_match() argument 795 amba_request_regions(struct amba_device *dev, const char *name) amba_request_regions() argument 817 amba_release_regions(struct amba_device *dev) amba_release_regions() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | f_printer.c | 229 struct printer_dev *dev = container_of(kref, struct printer_dev, kref); in printer_dev_free() local 231 kfree(dev); in printer_dev_free() 266 struct printer_dev *dev = ep->driver_data; in rx_complete() local 270 spin_lock_irqsave(&dev->lock, flags); in rx_complete() 279 list_add_tail(&req->list, &dev->rx_buffers); in rx_complete() 280 DBG(dev, "G_Printer : rx length %d\n", req->actual); in rx_complete() 282 list_add(&req->list, &dev->rx_reqs); in rx_complete() 289 VDBG(dev, "rx shutdown, code %d\n", status); in rx_complete() 290 list_add(&req->list, &dev->rx_reqs); in rx_complete() 295 DBG(dev, "r in rx_complete() 315 struct printer_dev *dev = ep->driver_data; tx_complete() local 346 struct printer_dev *dev; printer_open() local 377 struct printer_dev *dev = fd->private_data; printer_close() local 394 setup_rx_reqs(struct printer_dev *dev) setup_rx_reqs() argument 432 struct printer_dev *dev = fd->private_data; printer_read() local 574 struct printer_dev *dev = fd->private_data; printer_write() local 693 struct printer_dev *dev = fd->private_data; printer_fsync() local 723 struct printer_dev *dev = fd->private_data; printer_poll() local 759 struct printer_dev *dev = fd->private_data; printer_ioctl() local 809 set_printer_interface(struct printer_dev *dev) set_printer_interface() argument 846 printer_reset_interface(struct printer_dev *dev) printer_reset_interface() argument 867 set_interface(struct printer_dev *dev, unsigned number) set_interface() argument 886 printer_soft_reset(struct printer_dev *dev) printer_soft_reset() argument 940 struct printer_dev *dev = func_to_printer(f); gprinter_req_match() local 981 struct printer_dev *dev = func_to_printer(f); printer_func_setup() local 1062 struct printer_dev *dev = func_to_printer(f); printer_func_bind() local 1173 struct printer_dev *dev = func_to_printer(f); printer_func_set_alt() local 1184 struct printer_dev *dev = func_to_printer(f); printer_func_disable() local 1397 struct printer_dev *dev = func_to_printer(f); gprinter_free() local 1411 struct printer_dev *dev; printer_func_unbind() local 1454 struct printer_dev *dev; gprinter_alloc() local [all...] |