Home
last modified time | relevance | path

Searched refs:hdata (Results 1 – 20 of 20) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/exynos/
Dexynos_hdmi.c677 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_id); in hdmi_reg_writev()
701 writel(val & 0xff, hdata->regs + reg_id); in hdmi_reg_writev()
707 static inline void hdmi_reg_write_buf(struct hdmi_context *hdata, u32 reg_id, in hdmi_reg_write_buf() argument
[all …]
/linux-6.1.9/drivers/scsi/
Dsgiwd93.c111 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
[all …]
Da2091.c35 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->dev, wh->dma_bounce_buffer, in dma_setup()
[all …]
Da3000.c37 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->dev, scsi_pointer->ptr, in dma_setup()
[all …]
Dgvp11.c38 struct gvp11_hostdata *hdata = shost_priv(instance); in gvp11_intr() local
39 unsigned int status = hdata->regs->CNTR; in gvp11_intr()
63 struct gvp11_hostdata *hdata = shost_priv(instance); in dma_setup() local
64 struct WD33C93_hostdata *wh = &hdata->wh; in dma_setup()
65 struct gvp11_scsiregs *regs = hdata->regs; in dma_setup()
71 addr = dma_map_single(hdata->dev, scsi_pointer->ptr, in dma_setup()
73 if (dma_mapping_error(hdata->dev, addr)) { in dma_setup()
74 dev_warn(hdata->dev, "cannot map SCSI data block %p\n", in dma_setup()
83 dma_unmap_single(hdata->dev, scsi_pointer->dma_handle, in dma_setup()
118 addr = dma_map_single(hdata->dev, in dma_setup()
[all …]
Dmvme147.c38 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()
Daha1740.c95 struct aha1740_hostdata *hdata = HOSTDATA (host); in ecb_dma_to_cpu() local
98 offset = dma - hdata->ecb_dma_addr; in ecb_dma_to_cpu()
100 return (struct ecb *)(((char *) hdata->ecb) + (unsigned int) offset); in ecb_dma_to_cpu()
105 struct aha1740_hostdata *hdata = HOSTDATA (host); in ecb_cpu_to_dma() local
108 offset = (char *) cpu - (char *) hdata->ecb; in ecb_cpu_to_dma()
110 return hdata->ecb_dma_addr + offset; in ecb_cpu_to_dma()
/linux-6.1.9/drivers/hid/
Dhid-rmi.c313 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->input_report_size)); in rmi_read_data_event()
352 set_bit(RMI_READ_DATA_PENDING, &hdata->flags); in rmi_read_data_event()
[all …]
Dhid-alps.c319 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->input); in t4_raw_event()
352 input_report_key(hdata->input, BTN_LEFT, p_report->button); in t4_raw_event()
[all …]
/linux-6.1.9/arch/um/drivers/
Dpcap_user.c103 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()
/linux-6.1.9/drivers/dma/dw-axi-dmac/
Ddw-axi-dmac-platform.c89 if (chan->chip->dw->hdata->reg_map_8_channels) { in axi_chan_config_write()
183 if (chan->chip->dw->hdata->reg_map_8_channels) in axi_chan_disable()
195 if (chan->chip->dw->hdata->reg_map_8_channels) in axi_chan_enable()
218 for (i = 0; i < chip->dw->hdata->nr_channels; i++) { in axi_dma_hw_init()
230 u32 max_width = chan->chip->dw->hdata->m_data_width; in axi_chan_get_xfer_width()
375 u32 priority = chan->chip->dw->hdata->priority[chan->id]; in axi_chan_block_xfer_start()
590 if (desc->chan->chip->dw->hdata->nr_masters > 1) in set_desc_dest_master()
602 unsigned int data_width = BIT(chan->chip->dw->hdata->m_data_width); in dw_axi_dma_set_hw_desc()
611 axi_block_ts = chan->chip->dw->hdata->block_size[chan->id]; in dw_axi_dma_set_hw_desc()
654 if (chan->chip->dw->hdata->restrict_axi_burst_len) { in dw_axi_dma_set_hw_desc()
[all …]
Ddw-axi-dmac.h58 struct dw_axi_dma_hcfg *hdata; member
/linux-6.1.9/drivers/clk/qcom/
Dhfpll.c16 static const struct hfpll_data hdata = { variable
88 h->d = &hdata; in qcom_hfpll_probe()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dtracepoint.h67 __dynamic_array(u8, hdata, len)
72 memcpy(__get_dynamic_array(hdata), data, len);
/linux-6.1.9/net/sched/
Dact_pedit.c348 u32 *ptr, hdata; in tcf_pedit_act() local
395 sizeof(hdata), &hdata); in tcf_pedit_act()
413 if (ptr == &hdata) in tcf_pedit_act()
Dcls_u32.c150 __be32 *data, hdata; in u32_classify() local
155 data = skb_header_pointer(skb, toff, 4, &hdata); in u32_classify()
203 __be32 *data, hdata; in u32_classify() local
206 &hdata); in u32_classify()
218 __be16 *data, hdata; in u32_classify() local
222 2, &hdata); in u32_classify()
/linux-6.1.9/drivers/media/usb/gspca/
Dvc032x.c2967 u8 ldata, mdata, hdata; in read_sensor_register() local
2990 hdata = gspca_dev->usb_buf[0]; in read_sensor_register()
2991 if (hdata != 0 && mdata != 0 && ldata != 0) in read_sensor_register()
2993 hdata, mdata, ldata); in read_sensor_register()
2996 return (hdata << 8) + mdata; in read_sensor_register()
2997 return hdata; in read_sensor_register()
/linux-6.1.9/include/uapi/linux/
Dethtool.h1043 __u8 hdata[52]; member
1280 __u8 hdata[72]; member
/linux-6.1.9/drivers/net/dsa/
Dbcm_sf2_cfp.c1056 flow->m_u.hdata[i] ^= 0xff; in bcm_sf2_invert_masks()
/linux-6.1.9/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1266 flow->m_u.hdata[i] ^= 0xFF; in gfar_invert_masks()