/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
H A D | exynos_hdmi.c | 668 static inline u32 hdmi_map_reg(struct hdmi_context *hdata, u32 reg_id) in hdmi_map_reg() argument 671 return hdmi_reg_map[reg_id & 0xffff][hdata->drv_data->type]; in hdmi_map_reg() 675 static inline u32 hdmi_reg_read(struct hdmi_context *hdata, u32 reg_id) in hdmi_reg_read() argument 677 return readl(hdata->regs + hdmi_map_reg(hdata, reg_id)); in hdmi_reg_read() 680 static inline void hdmi_reg_writeb(struct hdmi_context *hdata, in hdmi_reg_writeb() argument 683 writel(value, hdata->regs + hdmi_map_reg(hdata, reg_id)); in hdmi_reg_writeb() 686 static inline void hdmi_reg_writev(struct hdmi_context *hdata, u32 reg_id, in hdmi_reg_writev() argument 689 reg_id = hdmi_map_reg(hdata, reg_i in hdmi_reg_writev() 698 hdmi_reg_write_buf(struct hdmi_context *hdata, u32 reg_id, u8 *buf, int size) hdmi_reg_write_buf() argument 705 hdmi_reg_writemask(struct hdmi_context *hdata, u32 reg_id, u32 value, u32 mask) hdmi_reg_writemask() argument 716 hdmiphy_reg_write_buf(struct hdmi_context *hdata, u32 reg_offset, const u8 *buf, u32 len) hdmiphy_reg_write_buf() argument 738 hdmi_clk_enable_gates(struct hdmi_context *hdata) hdmi_clk_enable_gates() argument 757 hdmi_clk_disable_gates(struct hdmi_context *hdata) hdmi_clk_disable_gates() argument 765 hdmi_clk_set_parents(struct hdmi_context *hdata, bool to_phy) hdmi_clk_set_parents() argument 786 hdmi_audio_infoframe_apply(struct hdmi_context *hdata) hdmi_audio_infoframe_apply() argument 802 hdmi_reg_infoframes(struct hdmi_context *hdata) hdmi_reg_infoframes() argument 846 struct hdmi_context *hdata = connector_to_hdmi(connector); hdmi_detect() local 857 struct hdmi_context *hdata = connector_to_hdmi(connector); hdmi_connector_destroy() local 876 struct hdmi_context *hdata = connector_to_hdmi(connector); hdmi_get_modes() local 902 hdmi_find_phy_conf(struct hdmi_context *hdata, u32 pixel_clock) hdmi_find_phy_conf() argument 919 struct hdmi_context *hdata = connector_to_hdmi(connector); hdmi_mode_valid() local 943 struct hdmi_context *hdata = encoder_to_hdmi(encoder); hdmi_create_connector() local 1037 hdmi_reg_acr(struct hdmi_context *hdata, u32 freq) hdmi_reg_acr() argument 1050 hdmi_audio_config(struct hdmi_context *hdata) hdmi_audio_config() argument 1113 hdmi_audio_control(struct hdmi_context *hdata) hdmi_audio_control() argument 1126 hdmi_start(struct hdmi_context *hdata, bool start) hdmi_start() argument 1138 hdmi_conf_init(struct hdmi_context *hdata) hdmi_conf_init() argument 1182 hdmiphy_wait_for_pll(struct hdmi_context *hdata) hdmiphy_wait_for_pll() argument 1201 hdmi_v13_mode_apply(struct hdmi_context *hdata) hdmi_v13_mode_apply() argument 1280 hdmi_v14_mode_apply(struct hdmi_context *hdata) hdmi_v14_mode_apply() argument 1396 hdmi_mode_apply(struct hdmi_context *hdata) hdmi_mode_apply() argument 1406 hdmiphy_conf_reset(struct hdmi_context *hdata) hdmiphy_conf_reset() argument 1418 hdmiphy_enable_mode_set(struct hdmi_context *hdata, bool enable) hdmiphy_enable_mode_set() argument 1426 hdmiphy_conf_apply(struct hdmi_context *hdata) hdmiphy_conf_apply() argument 1456 hdmi_conf_apply(struct hdmi_context *hdata) hdmi_conf_apply() argument 1465 hdmi_set_refclk(struct hdmi_context *hdata, bool on) hdmi_set_refclk() argument 1475 hdmiphy_enable(struct hdmi_context *hdata) hdmiphy_enable() argument 1499 hdmiphy_disable(struct hdmi_context *hdata) hdmiphy_disable() argument 1522 struct hdmi_context *hdata = encoder_to_hdmi(encoder); hdmi_enable() local 1534 struct hdmi_context *hdata = encoder_to_hdmi(encoder); hdmi_disable() local 1566 struct hdmi_context *hdata = dev_get_drvdata(dev); hdmi_audio_shutdown() local 1582 struct hdmi_context *hdata = dev_get_drvdata(dev); hdmi_audio_hw_params() local 1611 struct hdmi_context *hdata = dev_get_drvdata(dev); hdmi_audio_mute() local 1628 struct hdmi_context *hdata = dev_get_drvdata(dev); hdmi_audio_get_eld() local 1644 hdmi_register_audio_device(struct hdmi_context *hdata) hdmi_register_audio_device() argument 1661 struct hdmi_context *hdata; hdmi_hotplug_work_func() local 1671 struct hdmi_context *hdata = arg; hdmi_irq_thread() local 1679 hdmi_clks_get(struct hdmi_context *hdata, const struct string_array_spec *names, struct clk **clks) hdmi_clks_get() argument 1704 hdmi_clk_init(struct hdmi_context *hdata) hdmi_clk_init() argument 1732 struct hdmi_context *hdata = container_of(clk, struct hdmi_context, hdmiphy_clk_enable() local 1744 hdmi_bridge_init(struct hdmi_context *hdata) hdmi_bridge_init() argument 1769 hdmi_resources_init(struct hdmi_context *hdata) hdmi_resources_init() argument 1834 struct hdmi_context *hdata = dev_get_drvdata(dev); hdmi_bind() local 1876 hdmi_get_ddc_adapter(struct hdmi_context *hdata) hdmi_get_ddc_adapter() argument 1907 hdmi_get_phy_io(struct hdmi_context *hdata) hdmi_get_phy_io() argument 1949 struct hdmi_context *hdata; hdmi_probe() local 2064 struct hdmi_context *hdata = platform_get_drvdata(pdev); hdmi_remove() local 2091 struct hdmi_context *hdata = dev_get_drvdata(dev); exynos_hdmi_suspend() local 2100 struct hdmi_context *hdata = dev_get_drvdata(dev); exynos_hdmi_resume() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/exynos/ |
H A D | exynos_hdmi.c | 677 static inline u32 hdmi_map_reg(struct hdmi_context *hdata, u32 reg_id) in hdmi_map_reg() argument 680 return hdmi_reg_map[reg_id & 0xffff][hdata->drv_data->type]; in hdmi_map_reg() 684 static inline u32 hdmi_reg_read(struct hdmi_context *hdata, u32 reg_id) in hdmi_reg_read() argument 686 return readl(hdata->regs + hdmi_map_reg(hdata, reg_id)); in hdmi_reg_read() 689 static inline void hdmi_reg_writeb(struct hdmi_context *hdata, in hdmi_reg_writeb() argument 692 writel(value, hdata->regs + hdmi_map_reg(hdata, reg_id)); in hdmi_reg_writeb() 695 static inline void hdmi_reg_writev(struct hdmi_context *hdata, u32 reg_id, in hdmi_reg_writev() argument 698 reg_id = hdmi_map_reg(hdata, reg_i in hdmi_reg_writev() 707 hdmi_reg_write_buf(struct hdmi_context *hdata, u32 reg_id, u8 *buf, int size) hdmi_reg_write_buf() argument 714 hdmi_reg_writemask(struct hdmi_context *hdata, u32 reg_id, u32 value, u32 mask) hdmi_reg_writemask() argument 725 hdmiphy_reg_write_buf(struct hdmi_context *hdata, u32 reg_offset, const u8 *buf, u32 len) hdmiphy_reg_write_buf() argument 747 hdmi_clk_enable_gates(struct hdmi_context *hdata) hdmi_clk_enable_gates() argument 766 hdmi_clk_disable_gates(struct hdmi_context *hdata) hdmi_clk_disable_gates() argument 774 hdmi_clk_set_parents(struct hdmi_context *hdata, bool to_phy) hdmi_clk_set_parents() argument 795 hdmi_audio_infoframe_apply(struct hdmi_context *hdata) hdmi_audio_infoframe_apply() argument 811 hdmi_reg_infoframes(struct hdmi_context *hdata) hdmi_reg_infoframes() argument 855 struct hdmi_context *hdata = connector_to_hdmi(connector); hdmi_detect() local 866 struct hdmi_context *hdata = connector_to_hdmi(connector); hdmi_connector_destroy() local 885 struct hdmi_context *hdata = connector_to_hdmi(connector); hdmi_get_modes() local 911 hdmi_find_phy_conf(struct hdmi_context *hdata, u32 pixel_clock) hdmi_find_phy_conf() argument 928 struct hdmi_context *hdata = connector_to_hdmi(connector); hdmi_mode_valid() local 952 struct hdmi_context *hdata = encoder_to_hdmi(encoder); hdmi_create_connector() local 1043 hdmi_reg_acr(struct hdmi_context *hdata, u32 freq) hdmi_reg_acr() argument 1056 hdmi_audio_config(struct hdmi_context *hdata) hdmi_audio_config() argument 1119 hdmi_audio_control(struct hdmi_context *hdata) hdmi_audio_control() argument 1132 hdmi_start(struct hdmi_context *hdata, bool start) hdmi_start() argument 1144 hdmi_conf_init(struct hdmi_context *hdata) hdmi_conf_init() argument 1188 hdmiphy_wait_for_pll(struct hdmi_context *hdata) hdmiphy_wait_for_pll() argument 1207 hdmi_v13_mode_apply(struct hdmi_context *hdata) hdmi_v13_mode_apply() argument 1286 hdmi_v14_mode_apply(struct hdmi_context *hdata) hdmi_v14_mode_apply() argument 1402 hdmi_mode_apply(struct hdmi_context *hdata) hdmi_mode_apply() argument 1412 hdmiphy_conf_reset(struct hdmi_context *hdata) hdmiphy_conf_reset() argument 1424 hdmiphy_enable_mode_set(struct hdmi_context *hdata, bool enable) hdmiphy_enable_mode_set() argument 1432 hdmiphy_conf_apply(struct hdmi_context *hdata) hdmiphy_conf_apply() argument 1462 hdmi_conf_apply(struct hdmi_context *hdata) hdmi_conf_apply() argument 1471 hdmi_set_refclk(struct hdmi_context *hdata, bool on) hdmi_set_refclk() argument 1481 hdmiphy_enable(struct hdmi_context *hdata) hdmiphy_enable() argument 1511 hdmiphy_disable(struct hdmi_context *hdata) hdmiphy_disable() argument 1534 struct hdmi_context *hdata = encoder_to_hdmi(encoder); hdmi_enable() local 1546 struct hdmi_context *hdata = encoder_to_hdmi(encoder); hdmi_disable() local 1578 struct hdmi_context *hdata = dev_get_drvdata(dev); hdmi_audio_shutdown() local 1594 struct hdmi_context *hdata = dev_get_drvdata(dev); hdmi_audio_hw_params() local 1623 struct hdmi_context *hdata = dev_get_drvdata(dev); hdmi_audio_mute() local 1640 struct hdmi_context *hdata = dev_get_drvdata(dev); hdmi_audio_get_eld() local 1656 hdmi_register_audio_device(struct hdmi_context *hdata) hdmi_register_audio_device() argument 1673 struct hdmi_context *hdata; hdmi_hotplug_work_func() local 1683 struct hdmi_context *hdata = arg; hdmi_irq_thread() local 1691 hdmi_clks_get(struct hdmi_context *hdata, const struct string_array_spec *names, struct clk **clks) hdmi_clks_get() argument 1716 hdmi_clk_init(struct hdmi_context *hdata) hdmi_clk_init() argument 1744 struct hdmi_context *hdata = container_of(clk, struct hdmi_context, hdmiphy_clk_enable() local 1756 hdmi_bridge_init(struct hdmi_context *hdata) hdmi_bridge_init() argument 1781 hdmi_resources_init(struct hdmi_context *hdata) hdmi_resources_init() argument 1846 struct hdmi_context *hdata = dev_get_drvdata(dev); hdmi_bind() local 1888 hdmi_get_ddc_adapter(struct hdmi_context *hdata) hdmi_get_ddc_adapter() argument 1919 hdmi_get_phy_io(struct hdmi_context *hdata) hdmi_get_phy_io() argument 1961 struct hdmi_context *hdata; hdmi_probe() local 2074 struct hdmi_context *hdata = platform_get_drvdata(pdev); hdmi_remove() local 2101 struct hdmi_context *hdata = dev_get_drvdata(dev); exynos_hdmi_suspend() local 2110 struct hdmi_context *hdata = dev_get_drvdata(dev); exynos_hdmi_resume() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | sgiwd93.c | 105 struct ip22_hostdata *hdata = host_to_hostdata(cmd->device->host); in dma_setup() local 109 pr_debug("dma_setup: datainp<%d> hcp<%p> ", datainp, hdata->cpu); in dma_setup() 111 hdata->wh.dma_dir = datainp; in dma_setup() 122 fill_hpc_entries(hdata, cmd, datainp); in dma_setup() 127 hregs->ndptr = hdata->dma; in dma_setup() 139 struct ip22_hostdata *hdata = host_to_hostdata(instance); in dma_stop() local 153 if (hdata->wh.dma_dir) { in dma_stop() 159 dma_unmap_single(hdata->dev, SCpnt->SCp.dma_handle, in dma_stop() 161 DMA_DIR(hdata->wh.dma_dir)); in dma_stop() 176 static inline void init_hpc_chain(struct ip22_hostdata *hdata) in init_hpc_chain() argument 219 struct ip22_hostdata *hdata; sgiwd93_probe() local 289 struct ip22_hostdata *hdata = (struct ip22_hostdata *) host->hostdata; sgiwd93_remove() local [all...] |
H A D | a2091.c | 28 struct a2091_hostdata *hdata = shost_priv(instance); in a2091_intr() local 29 unsigned int status = hdata->regs->ISTR; in a2091_intr() 44 struct a2091_hostdata *hdata = shost_priv(instance); in dma_setup() local 45 struct WD33C93_hostdata *wh = &hdata->wh; in dma_setup() 46 struct a2091_scsiregs *regs = hdata->regs; in dma_setup() 110 struct a2091_hostdata *hdata = shost_priv(instance); in dma_stop() local 111 struct WD33C93_hostdata *wh = &hdata->wh; in dma_stop() 112 struct a2091_scsiregs *regs = hdata->regs; in dma_stop() 172 struct a2091_hostdata *hdata; in a2091_probe() local 193 hdata in a2091_probe() 228 struct a2091_hostdata *hdata = shost_priv(instance); a2091_remove() local [all...] |
H A D | a3000.c | 29 struct a3000_hostdata *hdata = shost_priv(instance); in a3000_intr() local 30 unsigned int status = hdata->regs->ISTR; in a3000_intr() 48 struct a3000_hostdata *hdata = shost_priv(instance); in dma_setup() local 49 struct WD33C93_hostdata *wh = &hdata->wh; in dma_setup() 50 struct a3000_scsiregs *regs = hdata->regs; in dma_setup() 112 struct a3000_hostdata *hdata = shost_priv(instance); in dma_stop() local 113 struct WD33C93_hostdata *wh = &hdata->wh; in dma_stop() 114 struct a3000_scsiregs *regs = hdata->regs; in dma_stop() 187 struct a3000_hostdata *hdata; in amiga_a3000_scsi_probe() local 211 hdata in amiga_a3000_scsi_probe() 246 struct a3000_hostdata *hdata = shost_priv(instance); amiga_a3000_scsi_remove() local [all...] |
H A D | gvp11.c | 30 struct gvp11_hostdata *hdata = shost_priv(instance); in gvp11_intr() local 31 unsigned int status = hdata->regs->CNTR; in gvp11_intr() 53 struct gvp11_hostdata *hdata = shost_priv(instance); in dma_setup() local 54 struct WD33C93_hostdata *wh = &hdata->wh; in dma_setup() 55 struct gvp11_scsiregs *regs = hdata->regs; in dma_setup() 149 struct gvp11_hostdata *hdata = shost_priv(instance); in dma_stop() local 150 struct WD33C93_hostdata *wh = &hdata->wh; in dma_stop() 151 struct gvp11_scsiregs *regs = hdata->regs; in dma_stop() 277 struct gvp11_hostdata *hdata; in gvp11_probe() local 322 hdata in gvp11_probe() 368 struct gvp11_hostdata *hdata = shost_priv(instance); gvp11_remove() local [all...] |
H A D | mvme147.c | 33 struct WD33C93_hostdata *hdata = shost_priv(instance); in dma_setup() local 42 hdata->dma_dir = dir_in; in dma_setup() 87 struct WD33C93_hostdata *hdata; in mvme147_init() local 103 hdata = shost_priv(mvme147_shost); in mvme147_init() 104 hdata->no_sync = 0xff; in mvme147_init() 105 hdata->fast = 0; in mvme147_init() 106 hdata->dma_mode = CTRL_DMA; in mvme147_init()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | sgiwd93.c | 111 struct ip22_hostdata *hdata = host_to_hostdata(cmd->device->host); in dma_setup() local 115 pr_debug("dma_setup: datainp<%d> hcp<%p> ", datainp, hdata->cpu); in dma_setup() 117 hdata->wh.dma_dir = datainp; in dma_setup() 128 fill_hpc_entries(hdata, cmd, datainp); in dma_setup() 133 hregs->ndptr = hdata->dma; in dma_setup() 146 struct ip22_hostdata *hdata = host_to_hostdata(instance); in dma_stop() local 160 if (hdata->wh.dma_dir) { in dma_stop() 166 dma_unmap_single(hdata->dev, scsi_pointer->dma_handle, in dma_stop() 168 DMA_DIR(hdata->wh.dma_dir)); in dma_stop() 183 static inline void init_hpc_chain(struct ip22_hostdata *hdata) in init_hpc_chain() argument 227 struct ip22_hostdata *hdata; sgiwd93_probe() local 297 struct ip22_hostdata *hdata = (struct ip22_hostdata *) host->hostdata; sgiwd93_remove() local [all...] |
H A D | a3000.c | 37 struct a3000_hostdata *hdata = shost_priv(instance); in a3000_intr() local 38 unsigned int status = hdata->regs->ISTR; in a3000_intr() 58 struct a3000_hostdata *hdata = shost_priv(instance); in dma_setup() local 59 struct WD33C93_hostdata *wh = &hdata->wh; in dma_setup() 60 struct a3000_scsiregs *regs = hdata->regs; in dma_setup() 64 addr = dma_map_single(hdata->dev, scsi_pointer->ptr, in dma_setup() 66 if (dma_mapping_error(hdata->dev, addr)) { in dma_setup() 67 dev_warn(hdata->dev, "cannot map SCSI data block %p\n", in dma_setup() 84 dma_unmap_single(hdata->dev, scsi_pointer->dma_handle, in dma_setup() 105 addr = dma_map_single(hdata in dma_setup() 143 struct a3000_hostdata *hdata = shost_priv(instance); dma_stop() local 223 struct a3000_hostdata *hdata; amiga_a3000_scsi_probe() local 288 struct a3000_hostdata *hdata = shost_priv(instance); amiga_a3000_scsi_remove() local [all...] |
H A D | a2091.c | 35 struct a2091_hostdata *hdata = shost_priv(instance); in a2091_intr() local 36 unsigned int status = hdata->regs->ISTR; in a2091_intr() 53 struct a2091_hostdata *hdata = shost_priv(instance); in dma_setup() local 54 struct WD33C93_hostdata *wh = &hdata->wh; in dma_setup() 55 struct a2091_scsiregs *regs = hdata->regs; in dma_setup() 59 addr = dma_map_single(hdata->dev, scsi_pointer->ptr, in dma_setup() 61 if (dma_mapping_error(hdata->dev, addr)) { in dma_setup() 62 dev_warn(hdata->dev, "cannot map SCSI data block %p\n", in dma_setup() 71 dma_unmap_single(hdata->dev, scsi_pointer->dma_handle, in dma_setup() 93 addr = dma_map_single(hdata in dma_setup() 139 struct a2091_hostdata *hdata = shost_priv(instance); dma_stop() local 206 struct a2091_hostdata *hdata; a2091_probe() local 268 struct a2091_hostdata *hdata = shost_priv(instance); a2091_remove() local [all...] |
H A D | gvp11.c | 38 struct gvp11_hostdata *hdata = shost_priv(instance); in gvp11_intr() local 39 unsigned int status = hdata->regs->CNTR; in gvp11_intr() 58 struct gvp11_hostdata *hdata = shost_priv(instance); in dma_setup() local 59 struct WD33C93_hostdata *wh = &hdata->wh; in dma_setup() 60 struct gvp11_scsiregs *regs = hdata->regs; in dma_setup() 66 addr = dma_map_single(hdata->dev, scsi_pointer->ptr, in dma_setup() 68 if (dma_mapping_error(hdata->dev, addr)) { in dma_setup() 69 dev_warn(hdata->dev, "cannot map SCSI data block %p\n", in dma_setup() 78 dma_unmap_single(hdata->dev, scsi_pointer->dma_handle, in dma_setup() 113 addr = dma_map_single(hdata in dma_setup() 190 struct gvp11_hostdata *hdata = shost_priv(instance); dma_stop() local 324 struct gvp11_hostdata *hdata; gvp11_probe() local 429 struct gvp11_hostdata *hdata = shost_priv(instance); gvp11_remove() local [all...] |
H A D | mvme147.c | 38 struct WD33C93_hostdata *hdata = shost_priv(instance); in dma_setup() local 47 hdata->dma_dir = dir_in; in dma_setup() 93 struct WD33C93_hostdata *hdata; in mvme147_init() local 109 hdata = shost_priv(mvme147_shost); in mvme147_init() 110 hdata->no_sync = 0xff; in mvme147_init() 111 hdata->fast = 0; in mvme147_init() 112 hdata->dma_mode = CTRL_DMA; in mvme147_init()
|
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-rmi.c | 314 struct rmi_data *hdata = container_of(work, struct rmi_data, in rmi_reset_work() local 318 rmi_reset_attn_mode(hdata->hdev); in rmi_reset_work() 323 struct rmi_data *hdata = hid_get_drvdata(hdev); in rmi_input_event() local 324 struct rmi_device *rmi_dev = hdata->xport.rmi_dev; in rmi_input_event() 327 if (!(test_bit(RMI_STARTED, &hdata->flags))) in rmi_input_event() 334 generic_handle_irq(hdata->rmi_irq); in rmi_input_event() 343 struct rmi_data *hdata = hid_get_drvdata(hdev); in rmi_read_data_event() local 345 if (!test_bit(RMI_READ_REQUEST_PENDING, &hdata->flags)) { in rmi_read_data_event() 350 memcpy(hdata->readReport, data, size < hdata in rmi_read_data_event() 377 struct rmi_data *hdata = hid_get_drvdata(hdev); rmi_raw_event() local 596 struct rmi_data *hdata = data; rmi_irq_teardown() local 623 struct rmi_data *hdata = hid_get_drvdata(hdev); rmi_setup_irq_domain() local 743 struct rmi_data *hdata = hid_get_drvdata(hdev); rmi_remove() local [all...] |
H A D | hid-alps.c | 319 static int t4_raw_event(struct alps_dev *hdata, u8 *data, int size) in t4_raw_event() argument 327 for (i = 0; i < hdata->max_fingers; i++) { in t4_raw_event() 330 y = hdata->y_max - y + hdata->y_min; in t4_raw_event() 338 input_mt_slot(hdata->input, i); in t4_raw_event() 340 input_mt_report_slot_state(hdata->input, in t4_raw_event() 346 input_report_abs(hdata->input, ABS_MT_POSITION_X, x); in t4_raw_event() 347 input_report_abs(hdata->input, ABS_MT_POSITION_Y, y); in t4_raw_event() 348 input_report_abs(hdata->input, ABS_MT_PRESSURE, z); in t4_raw_event() 350 input_mt_sync_frame(hdata in t4_raw_event() 358 u1_raw_event(struct alps_dev *hdata, u8 *data, int size) u1_raw_event() argument 438 struct alps_dev *hdata = hid_get_drvdata(hdev); alps_raw_event() local [all...] |
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-rmi.c | 313 struct rmi_data *hdata = container_of(work, struct rmi_data, in rmi_reset_work() local 317 rmi_reset_attn_mode(hdata->hdev); in rmi_reset_work() 322 struct rmi_data *hdata = hid_get_drvdata(hdev); in rmi_input_event() local 323 struct rmi_device *rmi_dev = hdata->xport.rmi_dev; in rmi_input_event() 326 if (!(test_bit(RMI_STARTED, &hdata->flags))) in rmi_input_event() 335 generic_handle_irq(hdata->rmi_irq); in rmi_input_event() 344 struct rmi_data *hdata = hid_get_drvdata(hdev); in rmi_read_data_event() local 346 if (!test_bit(RMI_READ_REQUEST_PENDING, &hdata->flags)) { in rmi_read_data_event() 351 memcpy(hdata->readReport, data, min((u32)size, hdata in rmi_read_data_event() 377 struct rmi_data *hdata = hid_get_drvdata(hdev); rmi_raw_event() local 596 struct rmi_data *hdata = data; rmi_irq_teardown() local 623 struct rmi_data *hdata = hid_get_drvdata(hdev); rmi_setup_irq_domain() local 743 struct rmi_data *hdata = hid_get_drvdata(hdev); rmi_remove() local [all...] |
H A D | hid-alps.c | 319 static int t4_raw_event(struct alps_dev *hdata, u8 *data, int size) in t4_raw_event() argument 327 for (i = 0; i < hdata->max_fingers; i++) { in t4_raw_event() 330 y = hdata->y_max - y + hdata->y_min; in t4_raw_event() 338 input_mt_slot(hdata->input, i); in t4_raw_event() 340 input_mt_report_slot_state(hdata->input, in t4_raw_event() 346 input_report_abs(hdata->input, ABS_MT_POSITION_X, x); in t4_raw_event() 347 input_report_abs(hdata->input, ABS_MT_POSITION_Y, y); in t4_raw_event() 348 input_report_abs(hdata->input, ABS_MT_PRESSURE, z); in t4_raw_event() 350 input_mt_sync_frame(hdata in t4_raw_event() 358 u1_raw_event(struct alps_dev *hdata, u8 *data, int size) u1_raw_event() argument 438 struct alps_dev *hdata = hid_get_drvdata(hdev); alps_raw_event() local [all...] |
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | pcap_user.c | 103 struct pcap_handler_data *hdata = (struct pcap_handler_data *) data; in handler() local 105 len = hdata->len < header->caplen ? hdata->len : header->caplen; in handler() 106 memcpy(hdata->buffer, packet, len); in handler() 107 hdata->len = len; in handler() 112 struct pcap_handler_data hdata = ((struct pcap_handler_data) in pcap_user_read() local 117 n = pcap_dispatch(pri->pcap, 1, handler, (u_char *) &hdata); in pcap_user_read() 125 return hdata.len; in pcap_user_read()
|
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | pcap_user.c | 103 struct pcap_handler_data *hdata = (struct pcap_handler_data *) data; in handler() local 105 len = hdata->len < header->caplen ? hdata->len : header->caplen; in handler() 106 memcpy(hdata->buffer, packet, len); in handler() 107 hdata->len = len; in handler() 112 struct pcap_handler_data hdata = ((struct pcap_handler_data) in pcap_user_read() local 117 n = pcap_dispatch(pri->pcap, 1, handler, (u_char *) &hdata); in pcap_user_read() 125 return hdata.len; in pcap_user_read()
|
/kernel/linux/linux-5.10/drivers/dma/dw-axi-dmac/ |
H A D | dw-axi-dmac-platform.c | 179 for (i = 0; i < chip->dw->hdata->nr_channels; i++) { in axi_dma_hw_init() 188 u32 max_width = chan->chip->dw->hdata->m_data_width; in axi_chan_get_xfer_width() 275 u32 priority = chan->chip->dw->hdata->priority[chan->id]; in axi_chan_block_xfer_start() 416 if (desc->chan->chip->dw->hdata->nr_masters > 1) in set_desc_dest_master() 437 max_block_ts = chan->chip->dw->hdata->block_size[chan->id]; in dma_chan_prep_dma_memcpy() 469 if (chan->chip->dw->hdata->restrict_axi_burst_len) { in dma_chan_prep_dma_memcpy() 470 u32 burst_len = chan->chip->dw->hdata->axi_rw_burst_len; in dma_chan_prep_dma_memcpy() 613 for (i = 0; i < dw->hdata->nr_channels; i++) { in dw_axi_dma_interrupt() 767 chip->dw->hdata->nr_channels = tmp; in parse_device_properties() 775 chip->dw->hdata in parse_device_properties() 828 struct dw_axi_dma_hcfg *hdata; dw_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/dma/dw-axi-dmac/ |
H A D | dw-axi-dmac-platform.c | 94 if (chan->chip->dw->hdata->reg_map_8_channels && in axi_chan_config_write() 95 !chan->chip->dw->hdata->use_cfg2) { in axi_chan_config_write() 189 if (chan->chip->dw->hdata->reg_map_8_channels) in axi_chan_disable() 201 if (chan->chip->dw->hdata->reg_map_8_channels) in axi_chan_enable() 224 for (i = 0; i < chip->dw->hdata->nr_channels; i++) { in axi_dma_hw_init() 236 u32 max_width = chan->chip->dw->hdata->m_data_width; in axi_chan_get_xfer_width() 379 u32 priority = chan->chip->dw->hdata->priority[chan->id]; in axi_chan_block_xfer_start() 594 if (desc->chan->chip->dw->hdata->nr_masters > 1) in set_desc_dest_master() 606 unsigned int data_width = BIT(chan->chip->dw->hdata->m_data_width); in dw_axi_dma_set_hw_desc() 615 axi_block_ts = chan->chip->dw->hdata in dw_axi_dma_set_hw_desc() 1378 struct dw_axi_dma_hcfg *hdata; dw_probe() local [all...] |
/kernel/linux/linux-5.10/samples/hck/ |
H A D | register.c | 26 struct sample_hck_data *hdata = data; in set_boot_stat() local 28 pr_info("hck data: stat = %d, name = %s\n", hdata->stat, hdata->name); in set_boot_stat()
|
/kernel/linux/linux-6.6/samples/hck/ |
H A D | register.c | 26 struct sample_hck_data *hdata = data; in set_boot_stat() local 28 pr_info("hck data: stat = %d, name = %s\n", hdata->stat, hdata->name); in set_boot_stat()
|
/kernel/linux/linux-5.10/drivers/staging/android/ion/ |
H A D | ion.c | 405 struct ion_heap_data hdata; in ion_query_heaps() local 407 memset(&hdata, 0, sizeof(hdata)); in ion_query_heaps() 422 strncpy(hdata.name, heap->name, MAX_HEAP_NAME); in ion_query_heaps() 423 hdata.name[sizeof(hdata.name) - 1] = '\0'; in ion_query_heaps() 424 hdata.type = heap->type; in ion_query_heaps() 425 hdata.heap_id = heap->id; in ion_query_heaps() 427 if (copy_to_user(&buffer[cnt], &hdata, sizeof(hdata))) { in ion_query_heaps() [all...] |
/kernel/linux/linux-5.10/drivers/clk/qcom/ |
H A D | hfpll.c | 16 static const struct hfpll_data hdata = { variable 88 h->d = &hdata; in qcom_hfpll_probe()
|
/kernel/linux/linux-6.6/drivers/clk/qcom/ |
H A D | hfpll.c | 16 static const struct hfpll_data hdata = { variable 86 h->d = &hdata; in qcom_hfpll_probe()
|