Home
last modified time | relevance | path

Searched refs:dev (Results 2976 - 3000 of 41818) sorted by relevance

1...<<111112113114115116117118119120>>...1673

/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_core.c56 struct device *dev = &mdp->pdev->dev; in mtk_mdp_clock_on() local
60 mtk_mdp_comp_clock_on(dev, comp_node); in mtk_mdp_clock_on()
65 struct device *dev = &mdp->pdev->dev; in mtk_mdp_clock_off() local
69 mtk_mdp_comp_clock_off(dev, comp_node); in mtk_mdp_clock_off()
108 struct device *dev = &pdev->dev; in mtk_mdp_probe() local
113 mdp = devm_kzalloc(dev, sizeof(*mdp), GFP_KERNEL); in mtk_mdp_probe()
126 node = of_get_next_child(dev in mtk_mdp_probe()
260 mtk_mdp_pm_suspend(struct device *dev) mtk_mdp_pm_suspend() argument
269 mtk_mdp_pm_resume(struct device *dev) mtk_mdp_pm_resume() argument
278 mtk_mdp_suspend(struct device *dev) mtk_mdp_suspend() argument
286 mtk_mdp_resume(struct device *dev) mtk_mdp_resume() argument
[all...]
/kernel/linux/linux-6.6/arch/x86/pci/
H A Dintel_mid_pci.c223 static int intel_mid_pci_irq_enable(struct pci_dev *dev) in intel_mid_pci_irq_enable() argument
232 if (dev->irq_managed && dev->irq > 0) in intel_mid_pci_irq_enable()
235 ret = pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &gsi); in intel_mid_pci_irq_enable()
237 dev_warn(&dev->dev, "Failed to read interrupt line: %d\n", ret); in intel_mid_pci_irq_enable()
255 if (dev->device == PCI_DEVICE_ID_INTEL_MRFLD_HSU) in intel_mid_pci_irq_enable()
264 if (dev->device != PCI_DEVICE_ID_INTEL_MRFLD_MMC) in intel_mid_pci_irq_enable()
273 ioapic_set_alloc_attr(&info, dev_to_node(&dev->dev), in intel_mid_pci_irq_enable()
289 intel_mid_pci_irq_disable(struct pci_dev *dev) intel_mid_pci_irq_disable() argument
326 pci_d3delay_fixup(struct pci_dev *dev) pci_d3delay_fixup() argument
344 mid_power_off_one_device(struct pci_dev *dev) mid_power_off_one_device() argument
358 mid_power_off_devices(struct pci_dev *dev) mid_power_off_devices() argument
381 pci_fixed_bar_fixup(struct pci_dev *dev) pci_fixed_bar_fixup() argument
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/
H A Dmthca_profile.c62 s64 mthca_make_profile(struct mthca_dev *dev, in mthca_make_profile() argument
94 profile[MTHCA_RES_MTT].size = dev->limits.mtt_seg_size; in mthca_make_profile()
116 if (mthca_is_memfree(dev)) in mthca_make_profile()
120 if (mthca_is_memfree(dev)) { in mthca_make_profile()
124 mem_base = dev->ddr_start; in mthca_make_profile()
125 mem_avail = dev->fw.tavor.fw_start - dev->ddr_start; in mthca_make_profile()
146 mthca_err(dev, "Profile requires 0x%llx bytes; " in mthca_make_profile()
155 mthca_dbg(dev, "profile[%2d]--%2d/%2d @ 0x%16llx " in mthca_make_profile()
162 if (mthca_is_memfree(dev)) in mthca_make_profile()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/
H A Dpanel-startek-kd070fhfid015.c56 struct device *dev = &stk->dsi->dev; in stk_panel_init() local
61 dev_err(dev, "failed to mipi_dsi_dcs_soft_reset: %d\n", ret); in stk_panel_init()
68 dev_err(dev, "failed to set exit sleep mode: %d\n", ret); in stk_panel_init()
82 dev_err(dev, "failed to write display brightness: %d\n", ret); in stk_panel_init()
91 dev_err(dev, "failed to set pixel format: %d\n", ret); in stk_panel_init()
97 dev_err(dev, "failed to set column address: %d\n", ret); in stk_panel_init()
103 dev_err(dev, "failed to set page address: %d\n", ret); in stk_panel_init()
113 struct device *dev = &stk->dsi->dev; in stk_panel_on() local
128 struct device *dev = &stk->dsi->dev; stk_panel_off() local
164 struct device *dev = &stk->dsi->dev; stk_panel_prepare() local
264 struct device *dev = &dsi->dev; dsi_dcs_bl_update_status() local
286 struct device *dev = &dsi->dev; drm_panel_create_dsi_backlight() local
311 struct device *dev = &stk->dsi->dev; stk_panel_add() local
[all...]
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A Delo.c52 struct input_dev *dev; member
67 struct input_dev *dev = elo->dev; in elo_process_data_10() local
75 dev_dbg(&elo->serio->dev, in elo_process_data_10()
84 dev_dbg(&elo->serio->dev, in elo_process_data_10()
91 dev_dbg(&elo->serio->dev, in elo_process_data_10()
97 input_report_abs(dev, ABS_X, (elo->data[4] << 8) | elo->data[3]); in elo_process_data_10()
98 input_report_abs(dev, ABS_Y, (elo->data[6] << 8) | elo->data[5]); in elo_process_data_10()
100 input_report_abs(dev, ABS_PRESSURE, in elo_process_data_10()
102 input_report_key(dev, BTN_TOUC in elo_process_data_10()
119 struct input_dev *dev = elo->dev; elo_process_data_6() local
177 struct input_dev *dev = elo->dev; elo_process_data_3() local
261 struct input_dev *dev = elo->dev; elo_setup_10() local
[all...]
/third_party/libdrm/freedreno/
H A Dfreedreno_bo.c40 drmHashInsert(bo->dev->name_table, name, bo); in set_name()
58 static struct fd_bo * bo_from_handle(struct fd_device *dev, in bo_from_handle() argument
63 bo = dev->funcs->bo_from_handle(dev, size, handle); in bo_from_handle()
65 drmCloseBufferHandle(dev->fd, handle); in bo_from_handle()
68 bo->dev = fd_device_ref(dev); in bo_from_handle()
74 drmHashInsert(dev->handle_table, handle, bo); in bo_from_handle()
79 bo_new(struct fd_device *dev, uint32_t size, uint32_t flags, in bo_new() argument
90 ret = dev in bo_new()
104 fd_bo_new(struct fd_device *dev, uint32_t size, uint32_t flags) fd_bo_new() argument
118 fd_bo_new_ring(struct fd_device *dev, uint32_t size, uint32_t flags) fd_bo_new_ring() argument
127 fd_bo_from_handle(struct fd_device *dev, uint32_t handle, uint32_t size) fd_bo_from_handle() argument
148 fd_bo_from_dmabuf(struct fd_device *dev, int fd) fd_bo_from_dmabuf() argument
179 fd_bo_from_name(struct fd_device *dev, uint32_t name) fd_bo_from_name() argument
232 struct fd_device *dev = bo->dev; fd_bo_del() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_h264.c44 static void cedrus_h264_write_sram(struct cedrus_dev *dev, in cedrus_h264_write_sram() argument
51 cedrus_write(dev, VE_AVC_SRAM_PORT_OFFSET, off << 2); in cedrus_h264_write_sram()
54 cedrus_write(dev, VE_AVC_SRAM_PORT_DATA, *buffer++); in cedrus_h264_write_sram()
94 struct cedrus_dev *dev = ctx->dev; in cedrus_write_frame_list() local
156 dma_alloc_attrs(dev->dev, in cedrus_write_frame_list()
179 cedrus_h264_write_sram(dev, CEDRUS_SRAM_H264_FRAMEBUFFER_LIST, in cedrus_write_frame_list()
182 cedrus_write(dev, VE_H264_OUTPUT_FRAME_IDX, position); in cedrus_write_frame_list()
196 struct cedrus_dev *dev in _cedrus_write_ref_list() local
262 struct cedrus_dev *dev = ctx->dev; cedrus_write_scaling_lists() local
285 struct cedrus_dev *dev = ctx->dev; cedrus_write_pred_weight_table() local
324 cedrus_skip_bits(struct cedrus_dev *dev, int num) cedrus_skip_bits() argument
349 struct cedrus_dev *dev = ctx->dev; cedrus_set_params() local
486 struct cedrus_dev *dev = ctx->dev; cedrus_h264_irq_status() local
501 struct cedrus_dev *dev = ctx->dev; cedrus_h264_irq_clear() local
509 struct cedrus_dev *dev = ctx->dev; cedrus_h264_irq_disable() local
518 struct cedrus_dev *dev = ctx->dev; cedrus_h264_setup() local
541 struct cedrus_dev *dev = ctx->dev; cedrus_h264_start() local
649 struct cedrus_dev *dev = ctx->dev; cedrus_h264_stop() local
692 struct cedrus_dev *dev = ctx->dev; cedrus_h264_trigger() local
[all...]
/kernel/linux/linux-6.6/drivers/clocksource/
H A Dtimer-ti-dm.c381 dev_err(&timer->pdev->dev, "Timer failed to reset\n"); in omap_dm_timer_reset()
435 pdata = timer->pdev->dev.platform_data; in omap_dm_timer_set_source()
451 parent = clk_get(&timer->pdev->dev, parent_name); in omap_dm_timer_set_source()
470 struct device *dev = &timer->pdev->dev; in omap_dm_timer_enable() local
473 rc = pm_runtime_resume_and_get(dev); in omap_dm_timer_enable()
475 dev_err(dev, "could not enable timer\n"); in omap_dm_timer_enable()
481 struct device *dev = &timer->pdev->dev; in omap_dm_timer_disable() local
483 pm_runtime_put_sync(dev); in omap_dm_timer_disable()
488 struct device *dev = &timer->pdev->dev; omap_dm_timer_prepare() local
651 struct device *dev; omap_dm_timer_free() local
746 struct device *dev; omap_dm_timer_start() local
772 struct device *dev; omap_dm_timer_stop() local
791 struct device *dev; omap_dm_timer_set_load() local
814 struct device *dev; omap_dm_timer_set_match() local
844 struct device *dev; omap_dm_timer_set_pwm() local
877 struct device *dev; omap_dm_timer_get_pwm_status() local
901 struct device *dev; omap_dm_timer_set_prescaler() local
931 struct device *dev; omap_dm_timer_set_int_enable() local
960 struct device *dev; omap_dm_timer_set_int_disable() local
1044 omap_dm_timer_runtime_suspend(struct device *dev) omap_dm_timer_runtime_suspend() argument
1058 omap_dm_timer_runtime_resume(struct device *dev) omap_dm_timer_runtime_resume() argument
1088 struct device *dev = &pdev->dev; omap_dm_timer_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/dma/idxd/
H A Dinit.c78 struct device *dev = &pdev->dev; in idxd_setup_interrupts() local
85 dev_err(dev, "Not MSI-X interrupt capable.\n"); in idxd_setup_interrupts()
92 dev_err(dev, "Failed enabling %d MSIX entries: %d\n", msixcnt, rc); in idxd_setup_interrupts()
95 dev_dbg(dev, "Enabled %d msix vectors\n", msixcnt); in idxd_setup_interrupts()
102 dev_err(dev, "Failed to allocate misc interrupt.\n"); in idxd_setup_interrupts()
105 dev_dbg(dev, "Requested idxd-misc handler on msix vector %d\n", ie->vector); in idxd_setup_interrupts()
126 dev_err(dev, "No usable interrupts\n"); in idxd_setup_interrupts()
148 struct device *dev = &idxd->pdev->dev; in idxd_setup_wqs() local
227 struct device *dev = &idxd->pdev->dev; idxd_setup_engines() local
273 struct device *dev = &idxd->pdev->dev; idxd_setup_groups() local
344 struct device *dev = &idxd->pdev->dev; idxd_init_evl() local
380 struct device *dev = &idxd->pdev->dev; idxd_setup_internals() local
427 struct device *dev = &idxd->pdev->dev; idxd_read_table_offsets() local
456 struct device *dev = &idxd->pdev->dev; idxd_read_caps() local
521 struct device *dev = &pdev->dev; idxd_alloc() local
563 struct device *dev = &pdev->dev; idxd_enable_system_pasid() local
602 struct device *dev = &pdev->dev; idxd_disable_system_pasid() local
641 struct device *dev = &pdev->dev; idxd_probe() local
718 struct device *dev = &pdev->dev; idxd_pci_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/arm/
H A Dmalidp_drv.c66 struct malidp_hw_device *hwdev = malidp->dev; in malidp_atomic_commit_update_gamma()
93 struct malidp_hw_device *hwdev = malidp->dev; in malidp_atomic_commit_update_coloradj()
125 struct malidp_hw_device *hwdev = malidp->dev; in malidp_atomic_commit_se_config()
174 struct malidp_hw_device *hwdev = malidp->dev; in malidp_set_and_wait_config_valid()
193 struct drm_device *drm = state->dev; in malidp_atomic_commit_hw_done()
234 struct drm_device *drm = state->dev; in malidp_atomic_commit_tail()
241 pm_runtime_get_sync(drm->dev); in malidp_atomic_commit_tail()
248 malidp->dev->hw->set_config_valid(malidp->dev, 0); in malidp_atomic_commit_tail()
268 pm_runtime_put(drm->dev); in malidp_atomic_commit_tail()
278 malidp_verify_afbc_framebuffer_caps(struct drm_device *dev, const struct drm_mode_fb_cmd2 *mode_cmd) malidp_verify_afbc_framebuffer_caps() argument
306 malidp_verify_afbc_framebuffer_size(struct drm_device *dev, struct drm_file *file, const struct drm_mode_fb_cmd2 *mode_cmd) malidp_verify_afbc_framebuffer_size() argument
367 malidp_verify_afbc_framebuffer(struct drm_device *dev, struct drm_file *file, const struct drm_mode_fb_cmd2 *mode_cmd) malidp_verify_afbc_framebuffer() argument
377 malidp_fb_create(struct drm_device *dev, struct drm_file *file, const struct drm_mode_fb_cmd2 *mode_cmd) malidp_fb_create() argument
647 core_id_show(struct device *dev, struct device_attribute *attr, char *buf) core_id_show() argument
666 malidp_runtime_pm_suspend(struct device *dev) malidp_runtime_pm_suspend() argument
685 malidp_runtime_pm_resume(struct device *dev) malidp_runtime_pm_resume() argument
701 malidp_bind(struct device *dev) malidp_bind() argument
883 malidp_unbind(struct device *dev) malidp_unbind() argument
912 malidp_compare_dev(struct device *dev, void *data) malidp_compare_dev() argument
944 malidp_pm_suspend(struct device *dev) malidp_pm_suspend() argument
951 malidp_pm_resume(struct device *dev) malidp_pm_resume() argument
960 malidp_pm_suspend_late(struct device *dev) malidp_pm_suspend_late() argument
969 malidp_pm_resume_early(struct device *dev) malidp_pm_resume_early() argument
[all...]
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-ismt.c202 * @dev: the iSMT device
205 static void __ismt_desc_dump(struct device *dev, const struct ismt_desc *desc) in __ismt_desc_dump() argument
208 dev_dbg(dev, "Descriptor struct: %p\n", desc); in __ismt_desc_dump()
209 dev_dbg(dev, "\ttgtaddr_rw=0x%02X\n", desc->tgtaddr_rw); in __ismt_desc_dump()
210 dev_dbg(dev, "\twr_len_cmd=0x%02X\n", desc->wr_len_cmd); in __ismt_desc_dump()
211 dev_dbg(dev, "\trd_len= 0x%02X\n", desc->rd_len); in __ismt_desc_dump()
212 dev_dbg(dev, "\tcontrol= 0x%02X\n", desc->control); in __ismt_desc_dump()
213 dev_dbg(dev, "\tstatus= 0x%02X\n", desc->status); in __ismt_desc_dump()
214 dev_dbg(dev, "\tretry= 0x%02X\n", desc->retry); in __ismt_desc_dump()
215 dev_dbg(dev, "\trxbyte in __ismt_desc_dump()
226 struct device *dev = &priv->pci_dev->dev; ismt_desc_dump() local
239 struct device *dev = &priv->pci_dev->dev; ismt_gen_reg_dump() local
268 struct device *dev = &priv->pci_dev->dev; ismt_mstr_reg_dump() local
405 struct device *dev = &priv->pci_dev->dev; ismt_access() local
718 struct device *dev = &priv->pci_dev->dev; ismt_hw_init() local
[all...]
/kernel/linux/linux-5.10/drivers/mfd/
H A Dsm501.c68 struct device *dev; member
163 dev_dbg(sm->dev, "MISCT=%08lx, PM0=%08lx, PM1=%08lx\n", in sm501_dump_clk()
166 dev_dbg(sm->dev, "PLL2 = %ld.%ld MHz (%ld), SDCLK0=%08lx, SDCLK1=%08lx\n", in sm501_dump_clk()
169 dev_dbg(sm->dev, "SDRAM: PM0=%ld, PM1=%ld\n", sdclk0, sdclk1); in sm501_dump_clk()
171 dev_dbg(sm->dev, "PM0[%c]: " in sm501_dump_clk()
180 dev_dbg(sm->dev, "PM1[%c]: " in sm501_dump_clk()
194 dev_info(sm->dev, "System Control %08x\n", in sm501_dump_regs()
196 dev_info(sm->dev, "Misc Control %08x\n", in sm501_dump_regs()
198 dev_info(sm->dev, "GPIO Control Low %08x\n", in sm501_dump_regs()
200 dev_info(sm->dev, "GPI in sm501_dump_regs()
253 sm501_misc_control(struct device *dev, unsigned long set, unsigned long clear) sm501_misc_control() argument
285 sm501_modify_reg(struct device *dev, unsigned long reg, unsigned long set, unsigned long clear) sm501_modify_reg() argument
315 sm501_unit_power(struct device *dev, unsigned int unit, unsigned int to) sm501_unit_power() argument
508 sm501_set_clock(struct device *dev, int clksrc, unsigned long req_freq) sm501_set_clock() argument
639 sm501_find_clock(struct device *dev, int clksrc, unsigned long req_freq) sm501_find_clock() argument
688 sm501_device_release(struct device *dev) sm501_device_release() argument
1198 sm501_dbg_regs(struct device *dev, struct device_attribute *attr, char *buff) sm501_dbg_regs() argument
1373 sm501_plat_probe(struct platform_device *dev) sm501_plat_probe() argument
1561 sm501_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) sm501_pci_probe() argument
1664 sm501_pci_remove(struct pci_dev *dev) sm501_pci_remove() argument
1676 sm501_plat_remove(struct platform_device *dev) sm501_plat_remove() argument
[all...]
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
H A Dcoresight-cti-sysfs.c56 typedef ssize_t (*p_show_fn)(struct device *dev, struct device_attribute *attr,
79 static ssize_t enable_show(struct device *dev, in enable_show() argument
85 struct cti_drvdata *drvdata = dev_get_drvdata(dev->parent); in enable_show()
99 static ssize_t enable_store(struct device *dev, in enable_store() argument
105 struct cti_drvdata *drvdata = dev_get_drvdata(dev->parent); in enable_store()
121 static ssize_t powered_show(struct device *dev, in powered_show() argument
126 struct cti_drvdata *drvdata = dev_get_drvdata(dev->parent); in powered_show()
136 static ssize_t ctmid_show(struct device *dev, in ctmid_show() argument
139 struct cti_drvdata *drvdata = dev_get_drvdata(dev->parent); in ctmid_show()
145 static ssize_t nr_trigger_cons_show(struct device *dev, in nr_trigger_cons_show() argument
217 cti_reg32_show(struct device *dev, char *buf, u32 *pcached_val, int reg_offset) cti_reg32_show() argument
243 cti_reg32_store(struct device *dev, const char *buf, size_t size, u32 *pcached_val, int reg_offset) cti_reg32_store() argument
286 inout_sel_show(struct device *dev, struct device_attribute *attr, char *buf) inout_sel_show() argument
297 inout_sel_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) inout_sel_store() argument
316 inen_show(struct device *dev, struct device_attribute *attr, char *buf) inen_show() argument
331 inen_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) inen_store() argument
355 outen_show(struct device *dev, struct device_attribute *attr, char *buf) outen_show() argument
370 outen_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) outen_store() argument
394 intack_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) intack_store() argument
412 appclear_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) appclear_store() argument
436 apppulse_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) apppulse_store() argument
567 cti_trig_op_parse(struct device *dev, enum cti_chan_op op, enum cti_trig_dir dir, const char *buf, size_t size) cti_trig_op_parse() argument
584 trigin_attach_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) trigin_attach_store() argument
593 trigin_detach_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) trigin_detach_store() argument
602 trigout_attach_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) trigout_attach_store() argument
611 trigout_detach_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) trigout_detach_store() argument
621 chan_gate_enable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) chan_gate_enable_store() argument
634 chan_gate_enable_show(struct device *dev, struct device_attribute *attr, char *buf) chan_gate_enable_show() argument
652 chan_gate_disable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) chan_gate_disable_store() argument
667 chan_op_parse(struct device *dev, enum cti_chan_set_op op, const char *buf) chan_op_parse() argument
679 chan_set_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) chan_set_store() argument
689 chan_clear_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) chan_clear_store() argument
699 chan_pulse_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) chan_pulse_store() argument
709 trig_filter_enable_show(struct device *dev, struct device_attribute *attr, char *buf) trig_filter_enable_show() argument
722 trig_filter_enable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) trig_filter_enable_store() argument
739 trigout_filtered_show(struct device *dev, struct device_attribute *attr, char *buf) trigout_filtered_show() argument
755 chan_xtrigs_reset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) chan_xtrigs_reset_store() argument
791 chan_xtrigs_sel_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) chan_xtrigs_sel_store() argument
809 chan_xtrigs_sel_show(struct device *dev, struct device_attribute *attr, char *buf) chan_xtrigs_sel_show() argument
824 chan_xtrigs_in_show(struct device *dev, struct device_attribute *attr, char *buf) chan_xtrigs_in_show() argument
844 chan_xtrigs_out_show(struct device *dev, struct device_attribute *attr, char *buf) chan_xtrigs_out_show() argument
864 print_chan_list(struct device *dev, char *buf, bool inuse) print_chan_list() argument
894 chan_inuse_show(struct device *dev, struct device_attribute *attr, char *buf) chan_inuse_show() argument
902 chan_free_show(struct device *dev, struct device_attribute *attr, char *buf) chan_free_show() argument
941 con_name_show(struct device *dev, struct device_attribute *attr, char *buf) con_name_show() argument
952 trigin_sig_show(struct device *dev, struct device_attribute *attr, char *buf) trigin_sig_show() argument
966 trigout_sig_show(struct device *dev, struct device_attribute *attr, char *buf) trigout_sig_show() argument
992 trigin_type_show(struct device *dev, struct device_attribute *attr, char *buf) trigin_type_show() argument
1010 trigout_type_show(struct device *dev, struct device_attribute *attr, char *buf) trigout_type_show() argument
1040 cti_create_con_sysfs_attr(struct device *dev, struct cti_trig_con *con, enum cti_conn_attr_type attr_type, int attr_idx) cti_create_con_sysfs_attr() argument
1079 cti_create_con_sysfs_group(struct device *dev, struct cti_device *ctidev, int con_idx, struct cti_trig_con *tc) cti_create_con_sysfs_group() argument
1100 cti_create_con_attr_set(struct device *dev, int con_idx, struct cti_device *ctidev, struct cti_trig_con *tc) cti_create_con_attr_set() argument
1155 cti_create_cons_groups(struct device *dev, struct cti_device *ctidev) cti_create_cons_groups() argument
1169 cti_create_cons_sysfs(struct device *dev, struct cti_drvdata *drvdata) cti_create_cons_sysfs() argument
[all...]
/kernel/linux/linux-6.6/drivers/mfd/
H A Dsm501.c68 struct device *dev; member
163 dev_dbg(sm->dev, "MISCT=%08lx, PM0=%08lx, PM1=%08lx\n", in sm501_dump_clk()
166 dev_dbg(sm->dev, "PLL2 = %ld.%ld MHz (%ld), SDCLK0=%08lx, SDCLK1=%08lx\n", in sm501_dump_clk()
169 dev_dbg(sm->dev, "SDRAM: PM0=%ld, PM1=%ld\n", sdclk0, sdclk1); in sm501_dump_clk()
171 dev_dbg(sm->dev, "PM0[%c]: " in sm501_dump_clk()
180 dev_dbg(sm->dev, "PM1[%c]: " in sm501_dump_clk()
194 dev_info(sm->dev, "System Control %08x\n", in sm501_dump_regs()
196 dev_info(sm->dev, "Misc Control %08x\n", in sm501_dump_regs()
198 dev_info(sm->dev, "GPIO Control Low %08x\n", in sm501_dump_regs()
200 dev_info(sm->dev, "GPI in sm501_dump_regs()
253 sm501_misc_control(struct device *dev, unsigned long set, unsigned long clear) sm501_misc_control() argument
285 sm501_modify_reg(struct device *dev, unsigned long reg, unsigned long set, unsigned long clear) sm501_modify_reg() argument
315 sm501_unit_power(struct device *dev, unsigned int unit, unsigned int to) sm501_unit_power() argument
508 sm501_set_clock(struct device *dev, int clksrc, unsigned long req_freq) sm501_set_clock() argument
639 sm501_find_clock(struct device *dev, int clksrc, unsigned long req_freq) sm501_find_clock() argument
688 sm501_device_release(struct device *dev) sm501_device_release() argument
1198 dbg_regs_show(struct device *dev, struct device_attribute *attr, char *buff) dbg_regs_show() argument
1373 sm501_plat_probe(struct platform_device *dev) sm501_plat_probe() argument
1555 sm501_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) sm501_pci_probe() argument
1658 sm501_pci_remove(struct pci_dev *dev) sm501_pci_remove() argument
1670 sm501_plat_remove(struct platform_device *dev) sm501_plat_remove() argument
[all...]
/kernel/linux/linux-6.6/drivers/comedi/drivers/
H A Ddas16.c432 struct comedi_device *dev; member
443 static void das16_ai_setup_dma(struct comedi_device *dev, in das16_ai_setup_dma() argument
447 struct das16_private_struct *devpriv = dev->private; in das16_ai_setup_dma()
465 static void das16_interrupt(struct comedi_device *dev) in das16_interrupt() argument
467 struct das16_private_struct *devpriv = dev->private; in das16_interrupt()
468 struct comedi_subdevice *s = dev->read_subdev; in das16_interrupt()
478 spin_lock_irqsave(&dev->spinlock, spin_flags); in das16_interrupt()
480 spin_unlock_irqrestore(&dev->spinlock, spin_flags); in das16_interrupt()
494 dev_err(dev->class_dev, "residue > transfer size!\n"); in das16_interrupt()
505 das16_ai_setup_dma(dev, in das16_interrupt()
521 struct comedi_device *dev = devpriv->dev; das16_timer_interrupt() local
532 das16_ai_set_mux_range(struct comedi_device *dev, unsigned int first_chan, unsigned int last_chan, unsigned int range) das16_ai_set_mux_range() argument
555 das16_ai_check_chanlist(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_cmd *cmd) das16_ai_check_chanlist() argument
583 das16_cmd_test(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_cmd *cmd) das16_cmd_test() argument
683 das16_set_pacer(struct comedi_device *dev, unsigned int ns, unsigned int flags) das16_set_pacer() argument
693 das16_cmd_exec(struct comedi_device *dev, struct comedi_subdevice *s) das16_cmd_exec() argument
760 das16_cancel(struct comedi_device *dev, struct comedi_subdevice *s) das16_cancel() argument
789 das16_ai_munge(struct comedi_device *dev, struct comedi_subdevice *s, void *array, unsigned int num_bytes, unsigned int start_chan_index) das16_ai_munge() argument
807 das16_ai_eoc(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned long context) das16_ai_eoc() argument
820 das16_ai_insn_read(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) das16_ai_insn_read() argument
854 das16_ao_insn_write(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) das16_ao_insn_write() argument
876 das16_di_insn_bits(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) das16_di_insn_bits() argument
886 das16_do_insn_bits(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) das16_do_insn_bits() argument
899 das16_probe(struct comedi_device *dev, struct comedi_devconfig *it) das16_probe() argument
916 das16_reset(struct comedi_device *dev) das16_reset() argument
923 das16_alloc_dma(struct comedi_device *dev, unsigned int dma_chan) das16_alloc_dma() argument
938 das16_free_dma(struct comedi_device *dev) das16_free_dma() argument
948 das16_ai_range(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_devconfig *it, unsigned int pg_type, unsigned int status) das16_ai_range() argument
984 das16_ao_range(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_devconfig *it) das16_ao_range() argument
1015 das16_attach(struct comedi_device *dev, struct comedi_devconfig *it) das16_attach() argument
1167 das16_detach(struct comedi_device *dev) das16_detach() argument
[all...]
/kernel/linux/linux-5.10/drivers/block/rnbd/
H A Drnbd-clt-sysfs.c209 struct rnbd_clt_dev *dev; in state_show() local
211 dev = container_of(kobj, struct rnbd_clt_dev, kobj); in state_show()
213 switch (dev->dev_state) { in state_show()
234 struct rnbd_clt_dev *dev; in mapping_path_show() local
236 dev = container_of(kobj, struct rnbd_clt_dev, kobj); in mapping_path_show()
238 return scnprintf(page, PAGE_SIZE, "%s\n", dev->pathname); in mapping_path_show()
247 struct rnbd_clt_dev *dev; in access_mode_show() local
249 dev = container_of(kobj, struct rnbd_clt_dev, kobj); in access_mode_show()
252 rnbd_access_mode_str(dev->access_mode)); in access_mode_show()
269 struct rnbd_clt_dev *dev; in rnbd_clt_unmap_dev_store() local
343 struct rnbd_clt_dev *dev; rnbd_clt_resize_dev_store() local
373 struct rnbd_clt_dev *dev; rnbd_clt_remap_dev_store() local
407 struct rnbd_clt_dev *dev; session_show() local
428 rnbd_clt_remove_dev_symlink(struct rnbd_clt_dev *dev) rnbd_clt_remove_dev_symlink() argument
452 rnbd_clt_add_dev_kobj(struct rnbd_clt_dev *dev) rnbd_clt_add_dev_kobj() argument
475 rnbd_clt_get_path_name(struct rnbd_clt_dev *dev, char *buf, size_t len) rnbd_clt_get_path_name() argument
492 rnbd_clt_add_dev_symlink(struct rnbd_clt_dev *dev) rnbd_clt_add_dev_symlink() argument
532 struct rnbd_clt_dev *dev; rnbd_clt_map_device_store() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/sysdev/
H A Dfsl_msi.c130 msi_for_each_desc(entry, &pdev->dev, MSI_DESC_ASSOCIATED) { in fsl_teardown_msi_irqs()
210 dev_err(&pdev->dev, in fsl_setup_msi_irqs()
219 msi_for_each_desc(entry, &pdev->dev, MSI_DESC_NOTASSOCIATED) { in fsl_setup_msi_irqs()
243 dev_err(&pdev->dev, "could not allocate MSI interrupt\n"); in fsl_setup_msi_irqs()
250 dev_err(&pdev->dev, "fail mapping hwirq %i\n", hwirq); in fsl_setup_msi_irqs()
351 static int fsl_msi_setup_hwirq(struct fsl_msi *msi, struct platform_device *dev, in fsl_msi_setup_hwirq() argument
357 virt_msir = irq_of_parse_and_map(dev->dev.of_node, irq_index); in fsl_msi_setup_hwirq()
359 dev_err(&dev->dev, " in fsl_msi_setup_hwirq()
393 fsl_of_msi_probe(struct platform_device *dev) fsl_of_msi_probe() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
H A Dsch_red_core.sh88 local dev=$1; shift
91 simple_if_init $dev
92 mtu_set $dev 10000
94 vlan_create $dev 10 v$dev $(ipaddr $host 10)/28
95 ip link set dev $dev.10 type vlan egress 0:0
97 vlan_create $dev 11 v$dev $(ipaddr $host 11)/28
98 ip link set dev
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
H A Dgtt.c49 * @dev: our DRM device
55 static u32 __iomem *psb_gtt_entry(struct drm_device *dev, struct gtt_range *r) in psb_gtt_entry() argument
57 struct drm_psb_private *dev_priv = dev->dev_private; in psb_gtt_entry()
67 * @dev: our DRM device
75 static int psb_gtt_insert(struct drm_device *dev, struct gtt_range *r, in psb_gtt_insert() argument
90 gtt_slot = psb_gtt_entry(dev, r); in psb_gtt_insert()
117 * @dev: our DRM device
124 static void psb_gtt_remove(struct drm_device *dev, struct gtt_range *r) in psb_gtt_remove() argument
126 struct drm_psb_private *dev_priv = dev->dev_private; in psb_gtt_remove()
133 gtt_slot = psb_gtt_entry(dev, in psb_gtt_remove()
153 psb_gtt_roll(struct drm_device *dev, struct gtt_range *r, int roll) psb_gtt_roll() argument
238 struct drm_device *dev = gt->gem.dev; psb_gtt_pin() local
276 struct drm_device *dev = gt->gem.dev; psb_gtt_unpin() local
324 psb_gtt_alloc_range(struct drm_device *dev, int len, const char *name, int backed, u32 align) psb_gtt_alloc_range() argument
370 psb_gtt_free_range(struct drm_device *dev, struct gtt_range *gt) psb_gtt_free_range() argument
382 psb_gtt_alloc(struct drm_device *dev) psb_gtt_alloc() argument
388 psb_gtt_takedown(struct drm_device *dev) psb_gtt_takedown() argument
406 psb_gtt_init(struct drm_device *dev, int resume) psb_gtt_init() argument
554 psb_gtt_restore(struct drm_device *dev) psb_gtt_restore() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_client.c36 struct drm_device *dev = client->dev; in drm_client_open() local
39 file = drm_file_alloc(dev->primary); in drm_client_open()
43 mutex_lock(&dev->filelist_mutex); in drm_client_open()
44 list_add(&file->lhead, &dev->filelist_internal); in drm_client_open()
45 mutex_unlock(&dev->filelist_mutex); in drm_client_open()
54 struct drm_device *dev = client->dev; in drm_client_close() local
56 mutex_lock(&dev->filelist_mutex); in drm_client_close()
58 mutex_unlock(&dev in drm_client_close()
78 drm_client_init(struct drm_device *dev, struct drm_client_dev *client, const char *name, const struct drm_client_funcs *funcs) drm_client_init() argument
127 struct drm_device *dev = client->dev; drm_client_register() local
151 struct drm_device *dev = client->dev; drm_client_release() local
163 drm_client_dev_unregister(struct drm_device *dev) drm_client_dev_unregister() argument
192 drm_client_dev_hotplug(struct drm_device *dev) drm_client_dev_hotplug() argument
212 drm_client_dev_restore(struct drm_device *dev) drm_client_dev_restore() argument
235 struct drm_device *dev = buffer->client->dev; drm_client_buffer_delete() local
253 struct drm_device *dev = client->dev; drm_client_buffer_create() local
477 struct drm_device *dev = node->minor->dev; drm_client_debugfs_internal_clients() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/
H A Dxmit.c174 static int generate_txhdr_fw3(struct b43legacy_wldev *dev, in generate_txhdr_fw3() argument
197 tx_rate = ieee80211_get_tx_rate(dev->wl->hw, info); in generate_txhdr_fw3()
201 rate_fb = ieee80211_get_alt_retry_rate(dev->wl->hw, info, 0) ? : tx_rate; in generate_txhdr_fw3()
216 txhdr->dur_fb = ieee80211_generic_frame_duration(dev->wl->hw, in generate_txhdr_fw3()
230 B43legacy_WARN_ON(key_idx >= dev->max_nr_keys); in generate_txhdr_fw3()
231 key = &(dev->key[key_idx]); in generate_txhdr_fw3()
237 key_idx = b43legacy_kidx_to_fw(dev, key_idx); in generate_txhdr_fw3()
285 (rates[0].count <= dev->wl->hw->conf.long_frame_max_tx_count)) { in generate_txhdr_fw3()
286 rates[0].count = dev->wl->hw->conf.long_frame_max_tx_count; in generate_txhdr_fw3()
289 rates[0].count = dev in generate_txhdr_fw3()
345 b43legacy_generate_txhdr(struct b43legacy_wldev *dev, u8 *txhdr, const unsigned char *fragment_data, unsigned int fragment_len, struct ieee80211_tx_info *info, u16 cookie) b43legacy_generate_txhdr() argument
357 b43legacy_rssi_postprocess(struct b43legacy_wldev *dev, u8 in_rssi, int ofdm, int adjust_2053, int adjust_2050) b43legacy_rssi_postprocess() argument
418 b43legacy_rx(struct b43legacy_wldev *dev, struct sk_buff *skb, const void *_rxhdr) b43legacy_rx() argument
573 b43legacy_handle_txstatus(struct b43legacy_wldev *dev, const struct b43legacy_txstatus *status) b43legacy_handle_txstatus() argument
598 b43legacy_handle_hwtxstatus(struct b43legacy_wldev *dev, const struct b43legacy_hwtxstatus *hw) b43legacy_handle_hwtxstatus() argument
621 b43legacy_tx_suspend(struct b43legacy_wldev *dev) b43legacy_tx_suspend() argument
630 b43legacy_tx_resume(struct b43legacy_wldev *dev) b43legacy_tx_resume() argument
639 b43legacy_qos_init(struct b43legacy_wldev *dev) b43legacy_qos_init() argument
[all...]
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-mcp795.c60 static int mcp795_rtcc_read(struct device *dev, u8 addr, u8 *buf, u8 count) in mcp795_rtcc_read() argument
62 struct spi_device *spi = to_spi_device(dev); in mcp795_rtcc_read()
71 dev_err(dev, "Failed reading %d bytes from address %x.\n", in mcp795_rtcc_read()
77 static int mcp795_rtcc_write(struct device *dev, u8 addr, u8 *data, u8 count) in mcp795_rtcc_write() argument
79 struct spi_device *spi = to_spi_device(dev); in mcp795_rtcc_write()
90 dev_err(dev, "Failed to write %d bytes to address %x.\n", in mcp795_rtcc_write()
96 static int mcp795_rtcc_set_bits(struct device *dev, u8 addr, u8 mask, u8 state) in mcp795_rtcc_set_bits() argument
101 ret = mcp795_rtcc_read(dev, addr, &tmp, 1); in mcp795_rtcc_set_bits()
107 ret = mcp795_rtcc_write(dev, addr, &tmp, 1); in mcp795_rtcc_set_bits()
113 static int mcp795_stop_oscillator(struct device *dev, boo argument
144 mcp795_start_oscillator(struct device *dev, bool *extosc) mcp795_start_oscillator() argument
160 mcp795_update_alarm(struct device *dev, bool enable) mcp795_update_alarm() argument
183 mcp795_set_time(struct device *dev, struct rtc_time *tim) mcp795_set_time() argument
237 mcp795_read_time(struct device *dev, struct rtc_time *tim) mcp795_read_time() argument
260 mcp795_set_alarm(struct device *dev, struct rtc_wkalrm *alm) mcp795_set_alarm() argument
319 mcp795_read_alarm(struct device *dev, struct rtc_wkalrm *alm) mcp795_read_alarm() argument
344 mcp795_alarm_irq_enable(struct device *dev, unsigned int enabled) mcp795_alarm_irq_enable() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dpm.h27 extern void pm_vt_switch_required(struct device *dev, bool required);
28 extern void pm_vt_switch_unregister(struct device *dev);
30 static inline void pm_vt_switch_required(struct device *dev, bool required) in pm_vt_switch_required() argument
33 static inline void pm_vt_switch_unregister(struct device *dev) in pm_vt_switch_unregister() argument
279 int (*prepare)(struct device *dev);
280 void (*complete)(struct device *dev);
281 int (*suspend)(struct device *dev);
282 int (*resume)(struct device *dev);
283 int (*freeze)(struct device *dev);
284 int (*thaw)(struct device *dev);
[all...]
/kernel/linux/linux-5.10/net/caif/
H A Dchnl_net.c76 skb->dev = priv->netdev; in chnl_recv_cb()
116 static int delete_device(struct chnl_net *dev) in delete_device() argument
119 if (dev->netdev) in delete_device()
120 unregister_netdevice(dev->netdev); in delete_device()
126 struct chnl_net *dev = NULL; in close_work() local
132 dev = list_entry(list_node, struct chnl_net, list_field); in close_work()
133 if (dev->state == CAIF_SHUTDOWN) in close_work()
134 dev_close(dev->netdev); in close_work()
201 struct net_device *dev) in chnl_net_start_xmit()
208 priv = netdev_priv(dev); in chnl_net_start_xmit()
200 chnl_net_start_xmit(struct sk_buff *skb, struct net_device *dev) chnl_net_start_xmit() argument
246 chnl_net_open(struct net_device *dev) chnl_net_open() argument
338 chnl_net_stop(struct net_device *dev) chnl_net_stop() argument
349 chnl_net_init(struct net_device *dev) chnl_net_init() argument
359 chnl_net_uninit(struct net_device *dev) chnl_net_uninit() argument
375 chnl_net_destructor(struct net_device *dev) chnl_net_destructor() argument
381 ipcaif_net_setup(struct net_device *dev) ipcaif_net_setup() argument
407 ipcaif_fill_info(struct sk_buff *skb, const struct net_device *dev) ipcaif_fill_info() argument
447 ipcaif_newlink(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) ipcaif_newlink() argument
471 ipcaif_changelink(struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) ipcaif_changelink() argument
483 ipcaif_get_size(const struct net_device *dev) ipcaif_get_size() argument
522 struct chnl_net *dev = NULL; chnl_exit_module() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A Ddas08.c155 static int das08_ai_eoc(struct comedi_device *dev, in das08_ai_eoc() argument
162 status = inb(dev->iobase + DAS08_STATUS_REG); in das08_ai_eoc()
168 static int das08_ai_insn_read(struct comedi_device *dev, in das08_ai_insn_read() argument
172 const struct das08_board_struct *board = dev->board_ptr; in das08_ai_insn_read()
173 struct das08_private_struct *devpriv = dev->private; in das08_ai_insn_read()
184 inb(dev->iobase + DAS08_AI_LSB_REG); in das08_ai_insn_read()
185 inb(dev->iobase + DAS08_AI_MSB_REG); in das08_ai_insn_read()
189 spin_lock(&dev->spinlock); in das08_ai_insn_read()
192 outb(devpriv->do_mux_bits, dev->iobase + DAS08_CONTROL_REG); in das08_ai_insn_read()
193 spin_unlock(&dev in das08_ai_insn_read()
251 das08_di_insn_bits(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) das08_di_insn_bits() argument
261 das08_do_insn_bits(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) das08_do_insn_bits() argument
281 das08jr_di_insn_bits(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) das08jr_di_insn_bits() argument
291 das08jr_do_insn_bits(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) das08jr_do_insn_bits() argument
303 das08_ao_set_data(struct comedi_device *dev, unsigned int chan, unsigned int data) das08_ao_set_data() argument
325 das08_ao_insn_write(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) das08_ao_insn_write() argument
343 das08_common_attach(struct comedi_device *dev, unsigned long iobase) das08_common_attach() argument
[all...]

Completed in 23 milliseconds

1...<<111112113114115116117118119120>>...1673