Home
last modified time | relevance | path

Searched refs:sdr (Results 1 – 22 of 22) sorted by relevance

/drivers/media/platform/
Drcar_drif.c135 #define to_rcar_drif_buf_pair(sdr, ch_num, idx) \ argument
136 (&((sdr)->ch[!(ch_num)]->buf[(idx)]))
142 #define rdrif_dbg(sdr, fmt, arg...) \ argument
143 dev_dbg(sdr->v4l2_dev.dev, fmt, ## arg)
145 #define rdrif_err(sdr, fmt, arg...) \ argument
146 dev_err(sdr->v4l2_dev.dev, fmt, ## arg)
203 struct rcar_drif_sdr *sdr; /* Group device */ member
261 static void rcar_drif_release_dmachannels(struct rcar_drif_sdr *sdr) in rcar_drif_release_dmachannels() argument
265 for_each_rcar_drif_channel(i, &sdr->cur_ch_mask) in rcar_drif_release_dmachannels()
266 if (sdr->ch[i]->dmach) { in rcar_drif_release_dmachannels()
[all …]
/drivers/media/platform/vivid/
Dvivid-sdr-cap.c452 f->fmt.sdr.pixelformat = dev->sdr_pixelformat; in vidioc_g_fmt_sdr_cap()
453 f->fmt.sdr.buffersize = dev->sdr_buffersize; in vidioc_g_fmt_sdr_cap()
454 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in vidioc_g_fmt_sdr_cap()
467 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in vidioc_s_fmt_sdr_cap()
469 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in vidioc_s_fmt_sdr_cap()
472 f->fmt.sdr.buffersize = formats[i].buffersize; in vidioc_s_fmt_sdr_cap()
478 f->fmt.sdr.pixelformat = formats[0].pixelformat; in vidioc_s_fmt_sdr_cap()
479 f->fmt.sdr.buffersize = formats[0].buffersize; in vidioc_s_fmt_sdr_cap()
487 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in vidioc_try_fmt_sdr_cap()
489 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in vidioc_try_fmt_sdr_cap()
[all …]
DMakefile5 vivid-rds-gen.o vivid-sdr-cap.o vivid-vbi-cap.o vivid-vbi-out.o \
/drivers/mtd/nand/
Dnand_timings.c20 .timings.sdr = {
62 .timings.sdr = {
104 .timings.sdr = {
146 .timings.sdr = {
188 .timings.sdr = {
230 .timings.sdr = {
281 return &onfi_sdr_timings[mode].timings.sdr; in onfi_async_timing_mode_to_sdr_timings()
311 struct nand_sdr_timings *timings = &iface->timings.sdr; in onfi_init_data_interface()
Dtango_nand.c501 const struct nand_sdr_timings *sdr = nand_get_sdr_timings(conf); in tango_set_timings() local
508 if (IS_ERR(sdr)) in tango_set_timings()
509 return PTR_ERR(sdr); in tango_set_timings()
514 Trdy = to_ticks(kHz, sdr->tCEA_max - sdr->tREA_max); in tango_set_timings()
515 Textw = to_ticks(kHz, sdr->tWB_max); in tango_set_timings()
516 Twc = to_ticks(kHz, sdr->tWC_min); in tango_set_timings()
517 Twpw = to_ticks(kHz, sdr->tWC_min - sdr->tWP_min); in tango_set_timings()
519 Tacc = to_ticks(kHz, sdr->tREA_max); in tango_set_timings()
520 Thold = to_ticks(kHz, sdr->tREH_min); in tango_set_timings()
521 Trpw = to_ticks(kHz, sdr->tRC_min - sdr->tREH_min); in tango_set_timings()
[all …]
Dnand_base.c808 if (chip->data_interface && chip->data_interface->timings.sdr.tCCS_min) in nand_ccs_delay()
809 ndelay(chip->data_interface->timings.sdr.tCCS_min / 1000); in nand_ccs_delay()
/drivers/media/usb/msi2500/
Dmsi2500.c933 f->fmt.sdr.pixelformat = dev->pixelformat; in msi2500_g_fmt_sdr_cap()
934 f->fmt.sdr.buffersize = dev->buffersize; in msi2500_g_fmt_sdr_cap()
935 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in msi2500_g_fmt_sdr_cap()
948 (char *)&f->fmt.sdr.pixelformat); in msi2500_s_fmt_sdr_cap()
953 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in msi2500_s_fmt_sdr_cap()
955 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in msi2500_s_fmt_sdr_cap()
958 f->fmt.sdr.buffersize = formats[i].buffersize; in msi2500_s_fmt_sdr_cap()
965 f->fmt.sdr.pixelformat = formats[0].pixelformat; in msi2500_s_fmt_sdr_cap()
966 f->fmt.sdr.buffersize = formats[0].buffersize; in msi2500_s_fmt_sdr_cap()
978 (char *)&f->fmt.sdr.pixelformat); in msi2500_try_fmt_sdr_cap()
[all …]
/drivers/media/usb/airspy/
Dairspy.c649 f->fmt.sdr.pixelformat = s->pixelformat; in airspy_g_fmt_sdr_cap()
650 f->fmt.sdr.buffersize = s->buffersize; in airspy_g_fmt_sdr_cap()
651 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in airspy_g_fmt_sdr_cap()
666 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in airspy_s_fmt_sdr_cap()
668 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in airspy_s_fmt_sdr_cap()
671 f->fmt.sdr.buffersize = formats[i].buffersize; in airspy_s_fmt_sdr_cap()
678 f->fmt.sdr.pixelformat = formats[0].pixelformat; in airspy_s_fmt_sdr_cap()
679 f->fmt.sdr.buffersize = formats[0].buffersize; in airspy_s_fmt_sdr_cap()
689 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in airspy_try_fmt_sdr_cap()
691 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in airspy_try_fmt_sdr_cap()
[all …]
/drivers/media/usb/hackrf/
Dhackrf.c940 (char *)&f->fmt.sdr.pixelformat); in hackrf_s_fmt_sdr()
950 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in hackrf_s_fmt_sdr()
952 if (f->fmt.sdr.pixelformat == formats[i].pixelformat) { in hackrf_s_fmt_sdr()
955 f->fmt.sdr.buffersize = formats[i].buffersize; in hackrf_s_fmt_sdr()
962 f->fmt.sdr.pixelformat = formats[0].pixelformat; in hackrf_s_fmt_sdr()
963 f->fmt.sdr.buffersize = formats[0].buffersize; in hackrf_s_fmt_sdr()
976 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in hackrf_g_fmt_sdr()
977 f->fmt.sdr.pixelformat = dev->pixelformat; in hackrf_g_fmt_sdr()
978 f->fmt.sdr.buffersize = dev->buffersize; in hackrf_g_fmt_sdr()
990 (char *)&f->fmt.sdr.pixelformat); in hackrf_try_fmt_sdr()
[all …]
/drivers/media/dvb-frontends/
Drtl2832_sdr.c1150 f->fmt.sdr.pixelformat = dev->pixelformat; in rtl2832_sdr_g_fmt_sdr_cap()
1151 f->fmt.sdr.buffersize = dev->buffersize; in rtl2832_sdr_g_fmt_sdr_cap()
1153 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in rtl2832_sdr_g_fmt_sdr_cap()
1167 (char *)&f->fmt.sdr.pixelformat); in rtl2832_sdr_s_fmt_sdr_cap()
1172 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in rtl2832_sdr_s_fmt_sdr_cap()
1174 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in rtl2832_sdr_s_fmt_sdr_cap()
1177 f->fmt.sdr.buffersize = formats[i].buffersize; in rtl2832_sdr_s_fmt_sdr_cap()
1184 f->fmt.sdr.pixelformat = formats[0].pixelformat; in rtl2832_sdr_s_fmt_sdr_cap()
1185 f->fmt.sdr.buffersize = formats[0].buffersize; in rtl2832_sdr_s_fmt_sdr_cap()
1198 (char *)&f->fmt.sdr.pixelformat); in rtl2832_sdr_try_fmt_sdr_cap()
[all …]
/drivers/mtd/nand/atmel/
Dnand-controller.c1210 if (conf->timings.sdr.tRC_min < 30000) in atmel_smc_nand_prepare_smcconf()
1223 ncycles = DIV_ROUND_UP(conf->timings.sdr.tWP_min, mckperiodps); in atmel_smc_nand_prepare_smcconf()
1241 timeps = max3(conf->timings.sdr.tCLS_min, conf->timings.sdr.tCS_min, in atmel_smc_nand_prepare_smcconf()
1242 conf->timings.sdr.tALS_min); in atmel_smc_nand_prepare_smcconf()
1243 timeps = max(timeps, conf->timings.sdr.tDS_min); in atmel_smc_nand_prepare_smcconf()
1258 timeps = max3(conf->timings.sdr.tCLH_min, conf->timings.sdr.tCH_min, in atmel_smc_nand_prepare_smcconf()
1259 conf->timings.sdr.tALH_min); in atmel_smc_nand_prepare_smcconf()
1260 timeps = max3(timeps, conf->timings.sdr.tDH_min, in atmel_smc_nand_prepare_smcconf()
1261 conf->timings.sdr.tWH_min); in atmel_smc_nand_prepare_smcconf()
1272 ncycles = DIV_ROUND_UP(conf->timings.sdr.tWC_min, mckperiodps); in atmel_smc_nand_prepare_smcconf()
[all …]
/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c141 struct v4l2_sdr_format sdr; member
228 return copy_in_user(&kp->fmt.sdr, &up->fmt.sdr, in __get_v4l2_format32()
229 sizeof(kp->fmt.sdr)) ? -EFAULT : 0; in __get_v4l2_format32()
297 return copy_in_user(&up->fmt.sdr, &kp->fmt.sdr, in __put_v4l2_format32()
298 sizeof(kp->fmt.sdr)) ? -EFAULT : 0; in __put_v4l2_format32()
Dv4l2-ioctl.c250 const struct v4l2_sdr_format *sdr; in v4l_print_format() local
326 sdr = &p->fmt.sdr; in v4l_print_format()
328 (sdr->pixelformat >> 0) & 0xff, in v4l_print_format()
329 (sdr->pixelformat >> 8) & 0xff, in v4l_print_format()
330 (sdr->pixelformat >> 16) & 0xff, in v4l_print_format()
331 (sdr->pixelformat >> 24) & 0xff); in v4l_print_format()
1537 CLEAR_AFTER_FIELD(p, fmt.sdr.buffersize); in v4l_s_fmt()
1542 CLEAR_AFTER_FIELD(p, fmt.sdr.buffersize); in v4l_s_fmt()
1624 CLEAR_AFTER_FIELD(p, fmt.sdr.buffersize); in v4l_try_fmt()
1629 CLEAR_AFTER_FIELD(p, fmt.sdr.buffersize); in v4l_try_fmt()
Dvideobuf2-v4l2.c544 requested_sizes[0] = f->fmt.sdr.buffersize; in vb2_create_bufs()
/drivers/crypto/amcc/
Dcrypto4xx_core.c391 dev->sdr = dma_alloc_coherent(dev->core_dev->device, in crypto4xx_build_sdr()
394 if (!dev->sdr) in crypto4xx_build_sdr()
405 sd_array = dev->sdr; in crypto4xx_build_sdr()
417 if (dev->sdr) in crypto4xx_destroy_sdr()
420 dev->sdr, dev->sdr_pa); in crypto4xx_destroy_sdr()
478 return (struct ce_sd *)(dev->sdr + sizeof(struct ce_sd) * idx); in crypto4xx_get_sdp()
Dcrypto4xx_core.h86 void *sdr; /* scatter descriptor ring */ member
/drivers/media/i2c/m5mols/
Dm5mols_capture.c90 ret = m5mols_read_u16(sd, EXIF_INFO_SDR, &exif->sdr); in m5mols_capture_info()
Dm5mols.h71 u16 sdr; member
/drivers/input/keyboard/
Damikbd.c190 scancode = ~ciaa.sdr; /* get and invert scancode (keyboard is active low) */ in amikbd_interrupt()
/drivers/misc/cxl/
Dcxl.h759 __be64 sdr; /* CAIA 1 */ member
Dnative.c738 ctx->elem->u.sdr = cpu_to_be64(mfspr(SPRN_SDR1)); in cxl_attach_afu_directed_psl8()
/drivers/infiniband/hw/qib/
Dqib_iba7322.c587 struct txdds_ent sdr; member
7666 *sdr_dds = &v->sdr; in find_best_ent()