Home
last modified time | relevance | path

Searched refs:data1 (Results 1 – 25 of 81) sorted by relevance

1234

/drivers/input/touchscreen/
Ds3c2410_ts.c98 static inline bool get_down(unsigned long data0, unsigned long data1) in get_down() argument
102 !(data1 & S3C2410_ADCDAT0_UPDOWN)); in get_down()
108 unsigned long data1; in touch_timer_fire() local
112 data1 = readl(ts.io + S3C2410_ADCDAT1); in touch_timer_fire()
114 down = get_down(data0, data1); in touch_timer_fire()
160 unsigned long data1; in stylus_irq() local
164 data1 = readl(ts.io + S3C2410_ADCDAT1); in stylus_irq()
166 down = get_down(data0, data1); in stylus_irq()
195 unsigned data0, unsigned data1, in s3c24xx_ts_conversion() argument
198 dev_dbg(ts.dev, "%s: %d,%d\n", __func__, data0, data1); in s3c24xx_ts_conversion()
[all …]
/drivers/input/rmi4/
Drmi_f12.c40 const struct rmi_register_desc_item *data1; member
149 static void rmi_f12_process_objects(struct f12_data *f12, u8 *data1) in rmi_f12_process_objects() argument
154 for (i = 0; i < f12->data1->num_subpackets; i++) { in rmi_f12_process_objects()
160 switch (data1[0]) { in rmi_f12_process_objects()
177 obj->x = (data1[2] << 8) | data1[1]; in rmi_f12_process_objects()
178 obj->y = (data1[4] << 8) | data1[3]; in rmi_f12_process_objects()
179 obj->z = data1[5]; in rmi_f12_process_objects()
180 obj->wx = data1[6]; in rmi_f12_process_objects()
181 obj->wy = data1[7]; in rmi_f12_process_objects()
185 data1 += 8; in rmi_f12_process_objects()
[all …]
/drivers/media/platform/vivid/
Dvivid-vbi-gen.c262 struct v4l2_sliced_vbi_data *data1 = vbi->data + 1; in vivid_vbi_gen_sliced() local
293 data1->id = V4L2_SLICED_CAPTION_525; in vivid_vbi_gen_sliced()
294 data1->field = 1; in vivid_vbi_gen_sliced()
295 data1->line = 21; in vivid_vbi_gen_sliced()
315 data1->data[0] = vbi->time_of_day_packet[frame * 2]; in vivid_vbi_gen_sliced()
316 data1->data[1] = vbi->time_of_day_packet[frame * 2 + 1]; in vivid_vbi_gen_sliced()
319 data1->data[0] = calc_parity(0); in vivid_vbi_gen_sliced()
320 data1->data[1] = calc_parity(0); in vivid_vbi_gen_sliced()
/drivers/media/usb/gspca/
Dspca508.c1364 int data1, data2; in sd_config() local
1370 data1 = reg_read(gspca_dev, 0x8104); in sd_config()
1372 PDEBUG(D_PROBE, "Webcam Vendor ID: 0x%02x%02x", data2, data1); in sd_config()
1374 data1 = reg_read(gspca_dev, 0x8106); in sd_config()
1376 PDEBUG(D_PROBE, "Webcam Product ID: 0x%02x%02x", data2, data1); in sd_config()
1378 data1 = reg_read(gspca_dev, 0x8621); in sd_config()
1379 PDEBUG(D_PROBE, "Window 1 average luminance: %d", data1); in sd_config()
Dpac7311.c629 u8 data0, data1; in sd_int_pkt_scan() local
633 data1 = data[1]; in sd_int_pkt_scan()
634 if ((data0 == 0x00 && data1 == 0x11) || in sd_int_pkt_scan()
635 (data0 == 0x22 && data1 == 0x33) || in sd_int_pkt_scan()
636 (data0 == 0x44 && data1 == 0x55) || in sd_int_pkt_scan()
637 (data0 == 0x66 && data1 == 0x77) || in sd_int_pkt_scan()
638 (data0 == 0x88 && data1 == 0x99) || in sd_int_pkt_scan()
639 (data0 == 0xaa && data1 == 0xbb) || in sd_int_pkt_scan()
640 (data0 == 0xcc && data1 == 0xdd) || in sd_int_pkt_scan()
641 (data0 == 0xee && data1 == 0xff)) { in sd_int_pkt_scan()
Dpac7302.c880 u8 data0, data1; in sd_int_pkt_scan() local
884 data1 = data[1]; in sd_int_pkt_scan()
885 if ((data0 == 0x00 && data1 == 0x11) || in sd_int_pkt_scan()
886 (data0 == 0x22 && data1 == 0x33) || in sd_int_pkt_scan()
887 (data0 == 0x44 && data1 == 0x55) || in sd_int_pkt_scan()
888 (data0 == 0x66 && data1 == 0x77) || in sd_int_pkt_scan()
889 (data0 == 0x88 && data1 == 0x99) || in sd_int_pkt_scan()
890 (data0 == 0xaa && data1 == 0xbb) || in sd_int_pkt_scan()
891 (data0 == 0xcc && data1 == 0xdd) || in sd_int_pkt_scan()
892 (data0 == 0xee && data1 == 0xff)) { in sd_int_pkt_scan()
Dt613.c99 const u8 data1[10]; member
157 .data1 =
179 .data1 =
201 .data1 =
222 .data1 = {0xc0, 0x38, 0x08, 0x10, 0xc0, 0x30, 0x10, 0x40,
655 reg_w_ixbuf(gspca_dev, 0xd0, sensor->data1, sizeof sensor->data1); in sd_init()
677 reg_w_ixbuf(gspca_dev, 0xd0, sensor->data1, sizeof sensor->data1); in sd_init()
Dspca561.c410 __u8 data1, data2; in sd_config() local
417 data1 = gspca_dev->usb_buf[0]; in sd_config()
420 vendor = (data2 << 8) | data1; in sd_config()
422 data1 = gspca_dev->usb_buf[0]; in sd_config()
425 product = (data2 << 8) | data1; in sd_config()
/drivers/input/joystick/
Dturbografx.c96 int data1, data2, i; in tgfx_timer() local
104 data1 = parport_read_status(tgfx->pd->port) ^ 0x7f; in tgfx_timer()
107 input_report_abs(dev, ABS_X, !!(data1 & TGFX_RIGHT) - !!(data1 & TGFX_LEFT)); in tgfx_timer()
108 input_report_abs(dev, ABS_Y, !!(data1 & TGFX_DOWN ) - !!(data1 & TGFX_UP )); in tgfx_timer()
110 input_report_key(dev, BTN_TRIGGER, (data1 & TGFX_TRIGGER)); in tgfx_timer()
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dbase.c37 u32 process, u32 message, u32 data0, u32 data1) in nvkm_pmu_send() argument
75 nvkm_wr32(device, 0x10a1c4, data1); in nvkm_pmu_send()
98 u32 process, message, data0, data1; in nvkm_pmu_recv() local
116 data1 = nvkm_rd32(device, 0x10a1c4); in nvkm_pmu_recv()
127 pmu->recv.data[1] = data1; in nvkm_pmu_recv()
142 process, message, data0, data1); in nvkm_pmu_recv()
/drivers/net/ethernet/neterion/vxge/
Dvxge-config.c158 u32 fw_memo, u32 offset, u64 *data0, u64 *data1, in vxge_hw_vpath_fw_api() argument
173 writeq(*data1, &vp_reg->rts_access_steer_data1); in vxge_hw_vpath_fw_api()
210 *data1 = readq(&vp_reg->rts_access_steer_data1); in vxge_hw_vpath_fw_api()
225 u64 data0 = 0, data1 = 0, steer_ctrl = 0; in vxge_hw_upgrade_read_version() local
235 &data0, &data1, &steer_ctrl); in vxge_hw_upgrade_read_version()
248 u64 data0 = 0, data1 = 0, steer_ctrl = 0; in vxge_hw_flash_fw() local
259 &data0, &data1, &steer_ctrl); in vxge_hw_flash_fw()
279 u64 data0 = 0, data1 = 0, steer_ctrl = 0; in vxge_update_fw_image() local
291 &data0, &data1, &steer_ctrl); in vxge_update_fw_image()
304 data1 = *((u64 *)fwdata + 1); in vxge_update_fw_image()
[all …]
Dvxge-traffic.c1753 u64 data1 = 0ULL; in vxge_hw_vpath_mac_addr_add() local
1763 data1 <<= 8; in vxge_hw_vpath_mac_addr_add()
1764 data1 |= (u8)macaddr[i]; in vxge_hw_vpath_mac_addr_add()
1789 VXGE_HW_RTS_ACCESS_STEER_DATA0_DA_MAC_ADDR(data1), in vxge_hw_vpath_mac_addr_add()
1815 u64 data1 = 0ULL; in vxge_hw_vpath_mac_addr_get() local
1827 0, &data1, &data2); in vxge_hw_vpath_mac_addr_get()
1832 data1 = VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_DA_MAC_ADDR(data1); in vxge_hw_vpath_mac_addr_get()
1837 macaddr[i-1] = (u8)(data1 & 0xFF); in vxge_hw_vpath_mac_addr_get()
1838 data1 >>= 8; in vxge_hw_vpath_mac_addr_get()
1867 u64 data1 = 0ULL; in vxge_hw_vpath_mac_addr_get_next() local
[all …]
/drivers/net/wireless/intel/iwlwifi/
Diwl-devtrace-iwlwifi.h125 u32 data1, u32 data2, u32 line, u32 blink2, u32 ilink1,
128 TP_ARGS(dev, desc, tsf_low, data1, data2, line,
135 __field(u32, data1)
154 __entry->data1 = data1;
174 __entry->data1, __entry->data2, __entry->line,
/drivers/gpu/drm/amd/amdgpu/
Duvd_v6_0.c304 u32 data, data1;
307 data1 = RREG32(mmUVD_SUVD_CGC_GATE);
327 data1 |= UVD_SUVD_CGC_GATE__SRE_MASK |
360 data1 &= ~(UVD_SUVD_CGC_GATE__SRE_MASK |
375 WREG32(mmUVD_SUVD_CGC_GATE, data1);
871 uint32_t data, data1, data2, suvd_flags; in uvd_v6_0_set_sw_clock_gating() local
874 data1 = RREG32(mmUVD_SUVD_CGC_GATE); in uvd_v6_0_set_sw_clock_gating()
917 data1 |= suvd_flags; in uvd_v6_0_set_sw_clock_gating()
921 WREG32(mmUVD_SUVD_CGC_GATE, data1); in uvd_v6_0_set_sw_clock_gating()
928 uint32_t data, data1, cgc_flags, suvd_flags;
[all …]
Duvd_v5_0.c646 uint32_t data, data1, data2, suvd_flags; in uvd_v5_0_set_sw_clock_gating() local
649 data1 = RREG32(mmUVD_SUVD_CGC_GATE); in uvd_v5_0_set_sw_clock_gating()
691 data1 |= suvd_flags; in uvd_v5_0_set_sw_clock_gating()
695 WREG32(mmUVD_SUVD_CGC_GATE, data1); in uvd_v5_0_set_sw_clock_gating()
702 uint32_t data, data1, cgc_flags, suvd_flags;
705 data1 = RREG32(mmUVD_SUVD_CGC_GATE);
733 data1 |= suvd_flags;
736 WREG32(mmUVD_SUVD_CGC_GATE, data1);
/drivers/hid/
Dhid-roccat-kovaplus.c313 roccat_report.data1 = profile + 1; in kovaplus_sysfs_set_actual_profile()
549 kovaplus_profile_activated(kovaplus, button_report->data1 - 1); in kovaplus_keep_values_up_to_date()
552 kovaplus->actual_cpi = kovaplus_convert_event_cpi(button_report->data1); in kovaplus_keep_values_up_to_date()
555 kovaplus->actual_x_sensitivity = button_report->data1; in kovaplus_keep_values_up_to_date()
584 roccat_report.button = button_report->data1; in kovaplus_report_to_chrdev()
589 roccat_report.data1 = kovaplus_convert_event_cpi(button_report->data1); in kovaplus_report_to_chrdev()
591 roccat_report.data1 = button_report->data1; in kovaplus_report_to_chrdev()
Dhid-roccat-isku.h72 uint8_t data1; member
86 uint8_t data1; member
Dhid-roccat-koneplus.h75 uint8_t data1; member
111 uint8_t data1; member
Dhid-roccat-kovaplus.h83 uint8_t data1; member
117 uint8_t data1; member
Dhid-roccat-isku.c103 roccat_report.data1 = profile + 1; in isku_sysfs_set_actual_profile()
372 isku_profile_activated(isku, button_report->data1 - 1); in isku_keep_values_up_to_date()
391 roccat_report.data1 = button_report->data1; in isku_report_to_chrdev()
/drivers/media/rc/
Dmceusb.c549 u8 cmd, subcmd, data1, data2, data3, data4; in mceusb_dev_printdata() local
569 data1 = buf[start + 2] & 0xff; in mceusb_dev_printdata()
579 (data1 == MCE_CMD_RESUME)) in mceusb_dev_printdata()
590 data1); in mceusb_dev_printdata()
610 data1, data2, data3, data4); in mceusb_dev_printdata()
616 data1 + 1, data4 ? " not" : ""); in mceusb_dev_printdata()
637 data1, data2); in mceusb_dev_printdata()
641 (1U << data1 * 2) * (data2 + 1), 10); in mceusb_dev_printdata()
653 inout, data1); in mceusb_dev_printdata()
657 period = ((data1 << 8) | data2) * MCE_TIME_UNIT / 1000; in mceusb_dev_printdata()
[all …]
/drivers/cpufreq/
Dppc_cbe_cpufreq_pmi.c57 pmi_msg.data1 = cbe_cpu_to_node(cpu); in cbe_cpufreq_set_pmode_pmi()
85 node = pmi_msg.data1; in cbe_cpufreq_handle_pmi()
/drivers/gpu/drm/radeon/
Dradeon_uvd.c573 int data0, int data1, in radeon_uvd_cs_reloc() argument
584 idx = radeon_get_ib_value(p, data1); in radeon_uvd_cs_reloc()
597 p->ib.ptr[data1] = start >> 32; in radeon_uvd_cs_reloc()
650 int *data0, int *data1, in radeon_uvd_cs_reg() argument
663 *data1 = p->idx; in radeon_uvd_cs_reg()
666 r = radeon_uvd_cs_reloc(p, *data0, *data1, in radeon_uvd_cs_reg()
687 int r, data0 = 0, data1 = 0; in radeon_uvd_cs_parse() local
718 r = radeon_uvd_cs_reg(p, &pkt, &data0, &data1, in radeon_uvd_cs_parse()
/drivers/net/can/spi/
Dmcp251x.c727 static void mcp251x_error_skb(struct net_device *net, int can_id, int data1) in mcp251x_error_skb() argument
735 frame->data[1] = data1; in mcp251x_error_skb()
814 int can_id = 0, data1 = 0; in mcp251x_can_ist() local
856 data1 |= CAN_ERR_CRTL_TX_PASSIVE; in mcp251x_can_ist()
860 data1 |= CAN_ERR_CRTL_RX_PASSIVE; in mcp251x_can_ist()
864 data1 |= CAN_ERR_CRTL_TX_WARNING; in mcp251x_can_ist()
868 data1 |= CAN_ERR_CRTL_RX_WARNING; in mcp251x_can_ist()
901 data1 |= CAN_ERR_CRTL_RX_OVERFLOW; in mcp251x_can_ist()
903 mcp251x_error_skb(net, can_id, data1); in mcp251x_can_ist()
/drivers/video/fbdev/via/
Ddvi.c268 u8 data0, data1; in viafb_dvi_query_EDID() local
277 data1 = (u8) tmds_register_read(0x01); in viafb_dvi_query_EDID()
278 if ((data0 == 0) && (data1 == 0xFF)) { in viafb_dvi_query_EDID()

1234