Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/exynos/
Dexynos_hdmi.c672 static inline u32 hdmi_map_reg(struct hdmi_context *hdata, u32 reg_id) in hdmi_map_reg() argument
675 return hdmi_reg_map[reg_id & 0xffff][hdata->drv_data->type]; in hdmi_map_reg()
679 static inline u32 hdmi_reg_read(struct hdmi_context *hdata, u32 reg_id) in hdmi_reg_read() argument
681 return readl(hdata->regs + hdmi_map_reg(hdata, reg_id)); in hdmi_reg_read()
684 static inline void hdmi_reg_writeb(struct hdmi_context *hdata, in hdmi_reg_writeb() argument
687 writel(value, hdata->regs + hdmi_map_reg(hdata, reg_id)); in hdmi_reg_writeb()
690 static inline void hdmi_reg_writev(struct hdmi_context *hdata, u32 reg_id, in hdmi_reg_writev() argument
693 reg_id = hdmi_map_reg(hdata, reg_id); in hdmi_reg_writev()
696 writel(val & 0xff, hdata->regs + reg_id); in hdmi_reg_writev()
702 static inline void hdmi_reg_write_buf(struct hdmi_context *hdata, u32 reg_id, in hdmi_reg_write_buf() argument
[all …]
/Linux-v4.19/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 …]
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 …]
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()
188 struct a3000_hostdata *hdata; in amiga_a3000_scsi_probe() local
212 hdata = shost_priv(instance); in amiga_a3000_scsi_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.c34 struct WD33C93_hostdata *hdata = shost_priv(instance); in dma_setup() local
43 hdata->dma_dir = dir_in; in dma_setup()
89 struct WD33C93_hostdata *hdata; in mvme147_init() local
105 hdata = shost_priv(mvme147_shost); in mvme147_init()
106 hdata->no_sync = 0xff; in mvme147_init()
107 hdata->fast = 0; in mvme147_init()
108 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()
/Linux-v4.19/drivers/hid/
Dhid-rmi.c308 struct rmi_data *hdata = container_of(work, struct rmi_data, in rmi_reset_work() local
312 rmi_reset_attn_mode(hdata->hdev); in rmi_reset_work()
317 struct rmi_data *hdata = hid_get_drvdata(hdev); in rmi_input_event() local
318 struct rmi_device *rmi_dev = hdata->xport.rmi_dev; in rmi_input_event()
321 if (!(test_bit(RMI_STARTED, &hdata->flags))) in rmi_input_event()
328 generic_handle_irq(hdata->rmi_irq); in rmi_input_event()
337 struct rmi_data *hdata = hid_get_drvdata(hdev); in rmi_read_data_event() local
339 if (!test_bit(RMI_READ_REQUEST_PENDING, &hdata->flags)) { in rmi_read_data_event()
344 memcpy(hdata->readReport, data, size < hdata->input_report_size ? in rmi_read_data_event()
345 size : hdata->input_report_size); in rmi_read_data_event()
[all …]
Dhid-alps.c322 static int t4_raw_event(struct alps_dev *hdata, u8 *data, int size) in t4_raw_event() argument
330 for (i = 0; i < hdata->max_fingers; i++) { in t4_raw_event()
333 y = hdata->y_max - y + hdata->y_min; in t4_raw_event()
341 input_mt_slot(hdata->input, i); in t4_raw_event()
343 input_mt_report_slot_state(hdata->input, in t4_raw_event()
349 input_report_abs(hdata->input, ABS_MT_POSITION_X, x); in t4_raw_event()
350 input_report_abs(hdata->input, ABS_MT_POSITION_Y, y); in t4_raw_event()
351 input_report_abs(hdata->input, ABS_MT_PRESSURE, z); in t4_raw_event()
353 input_mt_sync_frame(hdata->input); in t4_raw_event()
355 input_report_key(hdata->input, BTN_LEFT, p_report->button); in t4_raw_event()
[all …]
/Linux-v4.19/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-v4.19/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()
606 for (i = 0; i < dw->hdata->nr_channels; i++) { in dw_axi_dma_interrupt()
764 chip->dw->hdata->nr_channels = tmp; in parse_device_properties()
772 chip->dw->hdata->nr_masters = tmp; in parse_device_properties()
[all …]
Ddw-axi-dmac.h50 struct dw_axi_dma_hcfg *hdata; member
/Linux-v4.19/drivers/staging/android/ion/
Dion.c445 struct ion_heap_data hdata; in ion_query_heaps() local
447 memset(&hdata, 0, sizeof(hdata)); in ion_query_heaps()
462 strncpy(hdata.name, heap->name, MAX_HEAP_NAME); in ion_query_heaps()
463 hdata.name[sizeof(hdata.name) - 1] = '\0'; in ion_query_heaps()
464 hdata.type = heap->type; in ion_query_heaps()
465 hdata.heap_id = heap->id; in ion_query_heaps()
467 if (copy_to_user(&buffer[cnt], &hdata, sizeof(hdata))) { in ion_query_heaps()
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dtracepoint.h82 __dynamic_array(u8, hdata, len)
87 memcpy(__get_dynamic_array(hdata), data, len);
/Linux-v4.19/net/sched/
Dact_pedit.c317 u32 *ptr, hdata; in tcf_pedit_act() local
364 sizeof(hdata), &hdata); in tcf_pedit_act()
382 if (ptr == &hdata) in tcf_pedit_act()
Dcls_u32.c160 __be32 *data, hdata; in u32_classify() local
165 data = skb_header_pointer(skb, toff, 4, &hdata); in u32_classify()
215 __be32 *data, hdata; in u32_classify() local
218 &hdata); in u32_classify()
230 __be16 *data, hdata; in u32_classify() local
234 2, &hdata); in u32_classify()
/Linux-v4.19/drivers/media/usb/gspca/
Dvc032x.c2971 u8 ldata, mdata, hdata; in read_sensor_register() local
2994 hdata = gspca_dev->usb_buf[0]; in read_sensor_register()
2995 if (hdata != 0 && mdata != 0 && ldata != 0) in read_sensor_register()
2997 hdata, mdata, ldata); in read_sensor_register()
3000 return (hdata << 8) + mdata; in read_sensor_register()
3001 return hdata; in read_sensor_register()
/Linux-v4.19/include/uapi/linux/
Dethtool.h840 __u8 hdata[52]; member
1075 __u8 hdata[72]; member
/Linux-v4.19/drivers/net/dsa/
Dbcm_sf2_cfp.c862 flow->m_u.hdata[i] ^= 0xff; in bcm_sf2_invert_masks()
/Linux-v4.19/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1330 flow->m_u.hdata[i] ^= 0xFF; in gfar_invert_masks()