/linux/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_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/drivers/scsi/ |
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->dev, wh->dma_bounce_buffer, in dma_setup() [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->dev, in dma_setup() [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()
|
H A D | aha1740.c | 95 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/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->input_report_size)); in rmi_read_data_event() 352 set_bit(RMI_READ_DATA_PENDING, &hdata->flags); in rmi_read_data_event() [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->input); in t4_raw_event() 352 input_report_key(hdata->input, BTN_LEFT, p_report->button); in t4_raw_event() [all …]
|
/linux/drivers/media/usb/gspca/ |
H A D | vc032x.c | 2967 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/net/sched/ |
H A D | act_pedit.c | 417 u32 *ptr, hdata; in tcf_pedit_act() local 460 sizeof(hdata), &hdata); in tcf_pedit_act() 477 if (ptr == &hdata) in tcf_pedit_act()
|
H A D | cls_u32.c | 162 __be32 *data, hdata; in u32_classify() local 167 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/include/uapi/linux/ |
H A D | ethtool.h | 1348 __u8 hdata[52]; member 1588 __u8 hdata[72]; member
|
/linux/drivers/net/ethernet/freescale/ |
H A D | gianfar_ethtool.c | 1270 flow->m_u.hdata[i] ^= 0xFF; in gfar_invert_masks()
|