Home
last modified time | relevance | path

Searched refs:data0 (Results 1 – 25 of 55) sorted by relevance

123

/drivers/media/test-drivers/vivid/
Dvivid-vbi-gen.c249 struct v4l2_sliced_vbi_data *data0 = vbi->data; in vivid_vbi_gen_sliced() local
259 data0->id = V4L2_SLICED_TELETEXT_B; in vivid_vbi_gen_sliced()
260 data0->line = 7 + i; in vivid_vbi_gen_sliced()
261 vivid_vbi_gen_teletext(data0->data, i, frame); in vivid_vbi_gen_sliced()
262 data0++; in vivid_vbi_gen_sliced()
264 data0->id = V4L2_SLICED_WSS_625; in vivid_vbi_gen_sliced()
265 data0->line = 23; in vivid_vbi_gen_sliced()
267 data0->data[0] = 0x08; in vivid_vbi_gen_sliced()
268 data0++; in vivid_vbi_gen_sliced()
270 data0->id = V4L2_SLICED_TELETEXT_B; in vivid_vbi_gen_sliced()
[all …]
/drivers/input/touchscreen/
Ds3c2410_ts.c117 static inline bool get_down(unsigned long data0, unsigned long data1) in get_down() argument
120 return (!(data0 & S3C2410_ADCDAT0_UPDOWN) && in get_down()
126 unsigned long data0; in touch_timer_fire() local
130 data0 = readl(ts.io + S3C2410_ADCDAT0); in touch_timer_fire()
133 down = get_down(data0, data1); in touch_timer_fire()
178 unsigned long data0; in stylus_irq() local
182 data0 = readl(ts.io + S3C2410_ADCDAT0); in stylus_irq()
185 down = get_down(data0, data1); in stylus_irq()
214 unsigned data0, unsigned data1, in s3c24xx_ts_conversion() argument
217 dev_dbg(ts.dev, "%s: %d,%d\n", __func__, data0, data1); in s3c24xx_ts_conversion()
[all …]
/drivers/net/ethernet/neterion/vxge/
Dvxge-config.c158 u32 fw_memo, u32 offset, u64 *data0, u64 *data1, in vxge_hw_vpath_fw_api() argument
172 writeq(*data0, &vp_reg->rts_access_steer_data0); in vxge_hw_vpath_fw_api()
209 *data0 = readq(&vp_reg->rts_access_steer_data0); 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()
239 *major = VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_MAJOR(data0); in vxge_hw_upgrade_read_version()
240 *minor = VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_MINOR(data0); in vxge_hw_upgrade_read_version()
241 *build = VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_BUILD(data0); 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()
[all …]
/drivers/media/usb/gspca/
Dpac7311.c616 u8 data0, data1; in sd_int_pkt_scan() local
619 data0 = data[0]; in sd_int_pkt_scan()
621 if ((data0 == 0x00 && data1 == 0x11) || in sd_int_pkt_scan()
622 (data0 == 0x22 && data1 == 0x33) || in sd_int_pkt_scan()
623 (data0 == 0x44 && data1 == 0x55) || in sd_int_pkt_scan()
624 (data0 == 0x66 && data1 == 0x77) || in sd_int_pkt_scan()
625 (data0 == 0x88 && data1 == 0x99) || in sd_int_pkt_scan()
626 (data0 == 0xaa && data1 == 0xbb) || in sd_int_pkt_scan()
627 (data0 == 0xcc && data1 == 0xdd) || in sd_int_pkt_scan()
628 (data0 == 0xee && data1 == 0xff)) { in sd_int_pkt_scan()
Dpac7302.c866 u8 data0, data1; in sd_int_pkt_scan() local
869 data0 = data[0]; in sd_int_pkt_scan()
871 if ((data0 == 0x00 && data1 == 0x11) || in sd_int_pkt_scan()
872 (data0 == 0x22 && data1 == 0x33) || in sd_int_pkt_scan()
873 (data0 == 0x44 && data1 == 0x55) || in sd_int_pkt_scan()
874 (data0 == 0x66 && data1 == 0x77) || in sd_int_pkt_scan()
875 (data0 == 0x88 && data1 == 0x99) || in sd_int_pkt_scan()
876 (data0 == 0xaa && data1 == 0xbb) || in sd_int_pkt_scan()
877 (data0 == 0xcc && data1 == 0xdd) || in sd_int_pkt_scan()
878 (data0 == 0xee && data1 == 0xff)) { in sd_int_pkt_scan()
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dgt215.c31 u32 process, u32 message, u32 data0, u32 data1) in gt215_pmu_send() argument
68 nvkm_wr32(device, 0x10a1c4, data0); in gt215_pmu_send()
91 u32 process, message, data0, data1; in gt215_pmu_recv() local
108 data0 = nvkm_rd32(device, 0x10a1c4); in gt215_pmu_recv()
119 pmu->recv.data[0] = data0; in gt215_pmu_recv()
135 process, message, data0, data1); in gt215_pmu_recv()
Dbase.c63 u32 process, u32 message, u32 data0, u32 data1) in nvkm_pmu_send() argument
67 return pmu->func->send(pmu, reply, process, message, data0, data1); in nvkm_pmu_send()
Dpriv.h29 u32 message, u32 data0, u32 data1);
/drivers/hwmon/occ/
Dp8_i2c.c89 u32 data0, u32 data1) in p8_i2c_occ_putscom_u32() argument
93 memcpy(buf, &data0, 4); in p8_i2c_occ_putscom_u32()
102 __be32 data0 = 0, data1 = 0; in p8_i2c_occ_putscom_be() local
104 memcpy(&data0, data, min_t(size_t, len, 4)); in p8_i2c_occ_putscom_be()
110 return p8_i2c_occ_putscom_u32(client, address, be32_to_cpu(data0), in p8_i2c_occ_putscom_be()
/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c119 u32 data0; member
390 buf->data0 = htonl(data->data0); in myri10ge_send_cmd()
432 data->data0 = value; in myri10ge_send_cmd()
694 mgp->max_tso6 = cmd.data0; in myri10ge_get_firmware_capabilities()
705 mgp->max_intr_slots = 2 * (cmd.data0 / sizeof(struct mcp_dma_addr)); in myri10ge_get_firmware_capabilities()
805 cmd.data0 = ((addr[0] << 24) | (addr[1] << 16) in myri10ge_update_mac_address()
872 cmd.data0 = MYRI10GE_LOWPART_TO_U32(dmatest_bus); in myri10ge_dma_test()
880 mgp->read_dma = ((cmd.data0 >> 16) * len * 2) / (cmd.data0 & 0xffff); in myri10ge_dma_test()
881 cmd.data0 = MYRI10GE_LOWPART_TO_U32(dmatest_bus); in myri10ge_dma_test()
889 mgp->write_dma = ((cmd.data0 >> 16) * len * 2) / (cmd.data0 & 0xffff); in myri10ge_dma_test()
[all …]
/drivers/net/wireless/ath/ath5k/
Dphy.c1261 u32 data0, data1, clock; in ath5k_hw_rf5111_channel() local
1267 data0 = data1 = 0; in ath5k_hw_rf5111_channel()
1278 data0 = ((ath5k_hw_bitswap(ath5k_channel_2ghz.a2_flags, 8) & 0xff) in ath5k_hw_rf5111_channel()
1292 ath5k_hw_reg_write(ah, (data1 & 0xff) | ((data0 & 0xff) << 8), in ath5k_hw_rf5111_channel()
1294 ath5k_hw_reg_write(ah, ((data1 >> 8) & 0xff) | (data0 & 0xff00), in ath5k_hw_rf5111_channel()
1316 u32 data, data0, data1, data2; in ath5k_hw_rf5112_channel() local
1319 data = data0 = data1 = data2 = 0; in ath5k_hw_rf5112_channel()
1332 data0 = ((2 * (c - 704)) - 3040) / 10; in ath5k_hw_rf5112_channel()
1338 data0 = ((2 * (c - 672)) - 3040) / 10; in ath5k_hw_rf5112_channel()
1343 data0 = ath5k_hw_bitswap((data0 << 2) & 0xff, 8); in ath5k_hw_rf5112_channel()
[all …]
/drivers/gpu/drm/radeon/
Dradeon_uvd.c575 int data0, int data1, in radeon_uvd_cs_reloc() argument
585 offset = radeon_get_ib_value(p, data0); in radeon_uvd_cs_reloc()
598 p->ib.ptr[data0] = start & 0xFFFFFFFF; in radeon_uvd_cs_reloc()
652 int *data0, int *data1, in radeon_uvd_cs_reg() argument
662 *data0 = p->idx; in radeon_uvd_cs_reg()
668 r = radeon_uvd_cs_reloc(p, *data0, *data1, in radeon_uvd_cs_reg()
689 int r, data0 = 0, data1 = 0; in radeon_uvd_cs_parse() local
720 r = radeon_uvd_cs_reg(p, &pkt, &data0, &data1, in radeon_uvd_cs_parse()
/drivers/net/ipa/
Dipa_main.c217 const struct ipa_qsb_data *data0; in ipa_hardware_config_qsb() local
222 data0 = &data->qsb_data[IPA_QSB_MASTER_DDR]; in ipa_hardware_config_qsb()
227 val = u32_encode_bits(data0->max_writes, GEN_QMB_0_MAX_WRITES_FMASK); in ipa_hardware_config_qsb()
234 val = u32_encode_bits(data0->max_reads, GEN_QMB_0_MAX_READS_FMASK); in ipa_hardware_config_qsb()
236 val |= u32_encode_bits(data0->max_reads_beats, in ipa_hardware_config_qsb()
/drivers/video/fbdev/via/
Ddvi.c254 u8 data0, data1; in viafb_dvi_query_EDID() local
262 data0 = (u8) tmds_register_read(0x00); in viafb_dvi_query_EDID()
264 if ((data0 == 0) && (data1 == 0xFF)) { in viafb_dvi_query_EDID()
/drivers/net/ethernet/microchip/
Dlan743x_main.h780 __le32 data0; member
805 #define RX_DESC_DATA0_FRAME_LENGTH_GET_(data0) \ argument
806 (((data0) & RX_DESC_DATA0_FRAME_LENGTH_MASK_) >> 16)
818 __le32 data0; member
Dlan743x_main.c1263 descriptor_type = le32_to_cpu(descriptor->data0) & in lan743x_tx_release_desc()
1453 tx_descriptor->data0 = cpu_to_le32(tx->frame_data0); in lan743x_tx_frame_add_lso()
1497 tx_descriptor->data0 = cpu_to_le32(tx->frame_data0); in lan743x_tx_frame_add_fragment()
1570 tx_descriptor->data0 = cpu_to_le32(tx->frame_data0); in lan743x_tx_frame_end()
1979 if (le32_to_cpu(descriptor->data0) & RX_DESC_DATA0_LS_) in lan743x_rx_init_ring_element()
1985 (le32_to_cpu(descriptor->data0)), in lan743x_rx_init_ring_element()
2004 descriptor->data0 = cpu_to_le32((RX_DESC_DATA0_OWN_ | in lan743x_rx_init_ring_element()
2022 descriptor->data0 = cpu_to_le32((RX_DESC_DATA0_OWN_ | in lan743x_rx_reuse_ring_element()
2091 if (le32_to_cpu(descriptor->data0) & RX_DESC_DATA0_OWN_) in lan743x_rx_process_buffer()
2095 is_last = le32_to_cpu(descriptor->data0) & RX_DESC_DATA0_LS_; in lan743x_rx_process_buffer()
[all …]
/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dctxgk104.c867 u32 data0 = nvkm_rd32(device, 0x17e91c); in gk104_grctx_generate_patch_ltc() local
870 mmio_wr32(info, 0x17e91c, data0); in gk104_grctx_generate_patch_ltc()
/drivers/gpu/drm/amd/amdgpu/
Dvcn_v2_0.c153 adev->vcn.internal.data0 = mmUVD_GPCOM_VCPU_DATA0_INTERNAL_OFFSET; in vcn_v2_0_sw_init()
154 adev->vcn.inst->external.data0 = SOC15_REG_OFFSET(UVD, 0, mmUVD_GPCOM_VCPU_DATA0); in vcn_v2_0_sw_init()
1379 amdgpu_ring_write(ring, PACKET0(adev->vcn.internal.data0, 0)); in vcn_v2_0_dec_ring_insert_start()
1440 amdgpu_ring_write(ring, PACKET0(adev->vcn.internal.data0, 0)); in vcn_v2_0_dec_ring_emit_fence()
1449 amdgpu_ring_write(ring, PACKET0(adev->vcn.internal.data0, 0)); in vcn_v2_0_dec_ring_emit_fence()
1494 amdgpu_ring_write(ring, PACKET0(adev->vcn.internal.data0, 0)); in vcn_v2_0_dec_ring_emit_reg_wait()
1512 uint32_t data0, data1, mask; in vcn_v2_0_dec_ring_emit_vm_flush() local
1517 data0 = hub->ctx0_ptb_addr_lo32 + vmid * hub->ctx_addr_distance; in vcn_v2_0_dec_ring_emit_vm_flush()
1520 vcn_v2_0_dec_ring_emit_reg_wait(ring, data0, data1, mask); in vcn_v2_0_dec_ring_emit_vm_flush()
1528 amdgpu_ring_write(ring, PACKET0(adev->vcn.internal.data0, 0)); in vcn_v2_0_dec_ring_emit_wreg()
Djpeg_v1_0.c380 uint32_t data0, data1, mask; in jpeg_v1_0_decode_ring_emit_vm_flush() local
385 data0 = hub->ctx0_ptb_addr_lo32 + vmid * hub->ctx_addr_distance; in jpeg_v1_0_decode_ring_emit_vm_flush()
388 jpeg_v1_0_decode_ring_emit_reg_wait(ring, data0, data1, mask); in jpeg_v1_0_decode_ring_emit_vm_flush()
Djpeg_v2_0.c633 uint32_t data0, data1, mask; in jpeg_v2_0_dec_ring_emit_vm_flush() local
638 data0 = hub->ctx0_ptb_addr_lo32 + vmid * hub->ctx_addr_distance; in jpeg_v2_0_dec_ring_emit_vm_flush()
641 jpeg_v2_0_dec_ring_emit_reg_wait(ring, data0, data1, mask); in jpeg_v2_0_dec_ring_emit_vm_flush()
/drivers/iio/light/
Dtsl2563.c125 u32 data0; member
342 chip->data0 = tsl2563_normalize_adc(adc0, chip->gainlevel->gaintime); in tsl2563_get_adc()
483 calib0 = tsl2563_calib_adc(chip->data0, chip->calib0) * in tsl2563_read_raw()
495 *val = chip->data0; in tsl2563_read_raw()
/drivers/usb/host/
Dohci-dbg.c252 static const char data0 [] = "DATA0"; variable
270 case TD_T_DATA0: toggle = data0; break; in ohci_dump_td()
340 (tmp & ED_C) ? data1 : data0, in ohci_dump_ed()
429 (headp & ED_C) ? data1 : data0); in show_list()
/drivers/net/wireless/ath/ath9k/
Dar9003_mac.h74 u32 data0; /* data pointer to 1st buffer */ member
/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dpmu.h39 u32 message, u32 data0, u32 data1);
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dperf.fuc45 // $r12 - data0

123