Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos_hdmi.c668 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_id); in hdmi_reg_writev()
692 writel(val & 0xff, hdata->regs + reg_id); in hdmi_reg_writev()
698 static inline void hdmi_reg_write_buf(struct hdmi_context *hdata, u32 reg_id, in hdmi_reg_write_buf() argument
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Dsgiwd93.c105 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
[all …]
Da3000.c29 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 = shost_priv(instance); in amiga_a3000_scsi_probe()
[all …]
Da2091.c28 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 = shost_priv(instance); in a2091_probe()
[all …]
Dgvp11.c30 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 = shost_priv(instance); in gvp11_probe()
[all …]
Dmvme147.c33 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()
Daha1740.c91 struct aha1740_hostdata *hdata = HOSTDATA (host); in ecb_dma_to_cpu() local
94 offset = dma - hdata->ecb_dma_addr; in ecb_dma_to_cpu()
96 return (struct ecb *)(((char *) hdata->ecb) + (unsigned int) offset); in ecb_dma_to_cpu()
101 struct aha1740_hostdata *hdata = HOSTDATA (host); in ecb_cpu_to_dma() local
104 offset = (char *) cpu - (char *) hdata->ecb; in ecb_cpu_to_dma()
106 return hdata->ecb_dma_addr + offset; in ecb_cpu_to_dma()
/kernel/linux/linux-5.10/drivers/hid/
Dhid-rmi.c314 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->input_report_size ? in rmi_read_data_event()
351 size : hdata->input_report_size); 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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/dma/dw-axi-dmac/
Ddw-axi-dmac-platform.c179 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->nr_masters = tmp; in parse_device_properties()
[all …]
Ddw-axi-dmac.h50 struct dw_axi_dma_hcfg *hdata; member
/kernel/linux/linux-5.10/samples/hck/
Dregister.c26 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/
Dion.c405 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()
/kernel/linux/linux-5.10/drivers/clk/qcom/
Dhfpll.c16 static const struct hfpll_data hdata = { variable
88 h->d = &hdata; in qcom_hfpll_probe()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dtracepoint.h71 __dynamic_array(u8, hdata, len)
76 memcpy(__get_dynamic_array(hdata), data, len);
/kernel/linux/linux-5.10/net/sched/
Dact_pedit.c349 u32 *ptr, hdata; in tcf_pedit_act() local
396 sizeof(hdata), &hdata); in tcf_pedit_act()
414 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dethtool.h303 __u8 hdata[52]; member
371 __u8 hdata[72]; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dethtool.h358 __u8 hdata[52]; member
417 __u8 hdata[72]; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dethtool.h953 __u8 hdata[52]; member
1188 __u8 hdata[72]; member
/kernel/linux/linux-5.10/drivers/net/dsa/
Dbcm_sf2_cfp.c1060 flow->m_u.hdata[i] ^= 0xff; in bcm_sf2_invert_masks()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1258 flow->m_u.hdata[i] ^= 0xFF; in gfar_invert_masks()