sps 4339 arch/powerpc/kvm/book3s_hv.c static void kvmppc_add_seg_page_size(struct kvm_ppc_one_seg_page_size **sps, sps 4342 arch/powerpc/kvm/book3s_hv.c (*sps)->page_shift = shift; sps 4343 arch/powerpc/kvm/book3s_hv.c (*sps)->slb_enc = sllp; sps 4344 arch/powerpc/kvm/book3s_hv.c (*sps)->enc[0].page_shift = shift; sps 4345 arch/powerpc/kvm/book3s_hv.c (*sps)->enc[0].pte_enc = kvmppc_pgsize_lp_encoding(shift, shift); sps 4352 arch/powerpc/kvm/book3s_hv.c (*sps)->enc[1].page_shift = 24; sps 4353 arch/powerpc/kvm/book3s_hv.c (*sps)->enc[1].pte_enc = penc; sps 4356 arch/powerpc/kvm/book3s_hv.c (*sps)++; sps 4362 arch/powerpc/kvm/book3s_hv.c struct kvm_ppc_one_seg_page_size *sps; sps 4377 arch/powerpc/kvm/book3s_hv.c sps = &info->sps[0]; sps 4378 arch/powerpc/kvm/book3s_hv.c kvmppc_add_seg_page_size(&sps, 12, 0); sps 4379 arch/powerpc/kvm/book3s_hv.c kvmppc_add_seg_page_size(&sps, 16, SLB_VSID_L | SLB_VSID_LP_01); sps 4380 arch/powerpc/kvm/book3s_hv.c kvmppc_add_seg_page_size(&sps, 24, SLB_VSID_L); sps 1948 arch/powerpc/kvm/book3s_pr.c info->sps[0].page_shift = 12; sps 1949 arch/powerpc/kvm/book3s_pr.c info->sps[0].slb_enc = 0; sps 1950 arch/powerpc/kvm/book3s_pr.c info->sps[0].enc[0].page_shift = 12; sps 1951 arch/powerpc/kvm/book3s_pr.c info->sps[0].enc[0].pte_enc = 0; sps 1966 arch/powerpc/kvm/book3s_pr.c info->sps[i].page_shift = 16; sps 1967 arch/powerpc/kvm/book3s_pr.c info->sps[i].slb_enc = SLB_VSID_L | SLB_VSID_LP_01; sps 1968 arch/powerpc/kvm/book3s_pr.c info->sps[i].enc[0].page_shift = 16; sps 1969 arch/powerpc/kvm/book3s_pr.c info->sps[i].enc[0].pte_enc = 1; sps 1974 arch/powerpc/kvm/book3s_pr.c info->sps[i].page_shift = 24; sps 1975 arch/powerpc/kvm/book3s_pr.c info->sps[i].slb_enc = SLB_VSID_L; sps 1976 arch/powerpc/kvm/book3s_pr.c info->sps[i].enc[0].page_shift = 24; sps 1977 arch/powerpc/kvm/book3s_pr.c info->sps[i].enc[0].pte_enc = 0; sps 537 arch/powerpc/mm/nohash/tlb.c unsigned int ps, sps; sps 539 arch/powerpc/mm/nohash/tlb.c sps = eptcfg & 0x1f; sps 543 arch/powerpc/mm/nohash/tlb.c if (!ps || !sps) sps 550 arch/powerpc/mm/nohash/tlb.c if (sps == (def->shift - 10)) sps 173 arch/powerpc/sysdev/fsl_gtm.c u8 sps; sps 197 arch/powerpc/sysdev/fsl_gtm.c sps = prescaler - 1; sps 200 arch/powerpc/sysdev/fsl_gtm.c sps = prescaler / 256 - 1; sps 216 arch/powerpc/sysdev/fsl_gtm.c clrsetbits_be16(tmr->gtmdr, 0xFFFF, iclk | GTMDR_SPS(sps) | sps 358 drivers/iio/imu/adis16400.c int sps, ret; sps 365 drivers/iio/imu/adis16400.c sps = (t & ADIS16400_SMPL_PRD_TIME_BASE) ? 52851 : 1638404; sps 366 drivers/iio/imu/adis16400.c sps /= (t & ADIS16400_SMPL_PRD_DIV_MASK) + 1; sps 368 drivers/iio/imu/adis16400.c return sps; sps 407 drivers/iio/imu/adis16400.c static int adis16400_set_filter(struct iio_dev *indio_dev, int sps, int val) sps 414 drivers/iio/imu/adis16400.c if (sps / adis16400_3db_divisors[i] >= val) sps 510 drivers/iio/imu/adis16400.c int ret, sps; sps 527 drivers/iio/imu/adis16400.c sps = st->variant->get_freq(st); sps 528 drivers/iio/imu/adis16400.c if (sps < 0) { sps 530 drivers/iio/imu/adis16400.c return sps; sps 533 drivers/iio/imu/adis16400.c ret = adis16400_set_filter(indio_dev, sps, sps 538 drivers/iio/imu/adis16400.c sps = val * 1000 + val2 / 1000; sps 540 drivers/iio/imu/adis16400.c if (sps <= 0) sps 544 drivers/iio/imu/adis16400.c ret = st->variant->set_freq(st, sps); sps 259 drivers/media/platform/coda/coda-h264.c struct rbsp sps; sps 266 drivers/media/platform/coda/coda-h264.c sps.buf = buf + 5; /* Skip NAL header */ sps 267 drivers/media/platform/coda/coda-h264.c sps.size = *size - 5; sps 269 drivers/media/platform/coda/coda-h264.c profile_idc = sps.buf[0]; sps 272 drivers/media/platform/coda/coda-h264.c sps.pos = 24; sps 275 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_uev(&sps, NULL); sps 291 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_uev(&sps, NULL); sps 295 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_uev(&sps, &pic_order_cnt_type); sps 301 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_uev(&sps, NULL); sps 308 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_bit(&sps); sps 312 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_sev(&sps, NULL); sps 316 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_sev(&sps, NULL); sps 320 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_uev(&sps, sps 326 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_sev(&sps, NULL); sps 333 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_uev(&sps, NULL); sps 338 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_bit(&sps); sps 341 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_uev(&sps, &pic_width_in_mbs_minus1); sps 344 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_uev(&sps, &pic_height_in_map_units_minus1); sps 347 drivers/media/platform/coda/coda-h264.c frame_mbs_only_flag = ret = rbsp_read_bit(&sps); sps 352 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_bit(&sps); sps 357 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_bit(&sps); sps 362 drivers/media/platform/coda/coda-h264.c pos = sps.pos; sps 363 drivers/media/platform/coda/coda-h264.c frame_cropping_flag = ret = rbsp_read_bit(&sps); sps 369 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_uev(&sps, &crop_left); sps 372 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_uev(&sps, &crop_right); sps 375 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_uev(&sps, &crop_top); sps 378 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_uev(&sps, &crop_bottom); sps 382 drivers/media/platform/coda/coda-h264.c vui_parameters_present_flag = ret = rbsp_read_bit(&sps); sps 401 drivers/media/platform/coda/coda-h264.c sps.size = max_size - 5; sps 402 drivers/media/platform/coda/coda-h264.c sps.pos = pos; sps 404 drivers/media/platform/coda/coda-h264.c ret = rbsp_write_bit(&sps, frame_cropping_flag); sps 407 drivers/media/platform/coda/coda-h264.c ret = rbsp_write_uev(&sps, 0); /* crop_left */ sps 410 drivers/media/platform/coda/coda-h264.c ret = rbsp_write_uev(&sps, crop_right); sps 413 drivers/media/platform/coda/coda-h264.c ret = rbsp_write_uev(&sps, 0); /* crop_top */ sps 416 drivers/media/platform/coda/coda-h264.c ret = rbsp_write_uev(&sps, crop_bottom); sps 419 drivers/media/platform/coda/coda-h264.c ret = rbsp_write_bit(&sps, 0); /* vui_parameters_present_flag */ sps 422 drivers/media/platform/coda/coda-h264.c ret = rbsp_write_bit(&sps, 1); sps 426 drivers/media/platform/coda/coda-h264.c *size = 5 + DIV_ROUND_UP(sps.pos, 8); sps 1189 drivers/mtd/nand/raw/mtk_nand.c static int mtk_nfc_set_spare_per_sector(u32 *sps, struct mtd_info *mtd) sps 1197 drivers/mtd/nand/raw/mtk_nand.c *sps = mtd->oobsize / eccsteps; sps 1200 drivers/mtd/nand/raw/mtk_nand.c *sps >>= 1; sps 1202 drivers/mtd/nand/raw/mtk_nand.c if (*sps < MTK_NFC_MIN_SPARE) sps 1206 drivers/mtd/nand/raw/mtk_nand.c if (*sps >= spare[i] && spare[i] >= spare[closest_spare]) { sps 1208 drivers/mtd/nand/raw/mtk_nand.c if (*sps == spare[i]) sps 1213 drivers/mtd/nand/raw/mtk_nand.c *sps = spare[closest_spare]; sps 1216 drivers/mtd/nand/raw/mtk_nand.c *sps <<= 1; sps 44 drivers/soc/actions/owl-sps.c struct owl_sps *sps; sps 54 drivers/soc/actions/owl-sps.c return owl_sps_set_pg(pd->sps->base, pwr_mask, ack_mask, enable); sps 61 drivers/soc/actions/owl-sps.c dev_dbg(pd->sps->dev, "%s power on", pd->info->name); sps 70 drivers/soc/actions/owl-sps.c dev_dbg(pd->sps->dev, "%s power off", pd->info->name); sps 75 drivers/soc/actions/owl-sps.c static int owl_sps_init_domain(struct owl_sps *sps, int index) sps 79 drivers/soc/actions/owl-sps.c pd = devm_kzalloc(sps->dev, sizeof(*pd), GFP_KERNEL); sps 83 drivers/soc/actions/owl-sps.c pd->info = &sps->info->domains[index]; sps 84 drivers/soc/actions/owl-sps.c pd->sps = sps; sps 92 drivers/soc/actions/owl-sps.c sps->genpd_data.domains[index] = &pd->genpd; sps 101 drivers/soc/actions/owl-sps.c struct owl_sps *sps; sps 117 drivers/soc/actions/owl-sps.c sps = devm_kzalloc(&pdev->dev, sps 118 drivers/soc/actions/owl-sps.c struct_size(sps, domains, sps_info->num_domains), sps 120 drivers/soc/actions/owl-sps.c if (!sps) sps 123 drivers/soc/actions/owl-sps.c sps->base = of_io_request_and_map(pdev->dev.of_node, 0, "owl-sps"); sps 124 drivers/soc/actions/owl-sps.c if (IS_ERR(sps->base)) { sps 126 drivers/soc/actions/owl-sps.c return PTR_ERR(sps->base); sps 129 drivers/soc/actions/owl-sps.c sps->dev = &pdev->dev; sps 130 drivers/soc/actions/owl-sps.c sps->info = sps_info; sps 131 drivers/soc/actions/owl-sps.c sps->genpd_data.domains = sps->domains; sps 132 drivers/soc/actions/owl-sps.c sps->genpd_data.num_domains = sps_info->num_domains; sps 135 drivers/soc/actions/owl-sps.c ret = owl_sps_init_domain(sps, i); sps 140 drivers/soc/actions/owl-sps.c ret = of_genpd_add_provider_onecell(pdev->dev.of_node, &sps->genpd_data); sps 1313 drivers/staging/media/allegro-dvt/allegro-core.c struct nal_h264_sps *sps; sps 1320 drivers/staging/media/allegro-dvt/allegro-core.c sps = kzalloc(sizeof(*sps), GFP_KERNEL); sps 1321 drivers/staging/media/allegro-dvt/allegro-core.c if (!sps) sps 1324 drivers/staging/media/allegro-dvt/allegro-core.c sps->profile_idc = nal_h264_profile_from_v4l2(channel->profile); sps 1325 drivers/staging/media/allegro-dvt/allegro-core.c sps->constraint_set0_flag = 0; sps 1326 drivers/staging/media/allegro-dvt/allegro-core.c sps->constraint_set1_flag = 1; sps 1327 drivers/staging/media/allegro-dvt/allegro-core.c sps->constraint_set2_flag = 0; sps 1328 drivers/staging/media/allegro-dvt/allegro-core.c sps->constraint_set3_flag = 0; sps 1329 drivers/staging/media/allegro-dvt/allegro-core.c sps->constraint_set4_flag = 0; sps 1330 drivers/staging/media/allegro-dvt/allegro-core.c sps->constraint_set5_flag = 0; sps 1331 drivers/staging/media/allegro-dvt/allegro-core.c sps->level_idc = nal_h264_level_from_v4l2(channel->level); sps 1332 drivers/staging/media/allegro-dvt/allegro-core.c sps->seq_parameter_set_id = 0; sps 1333 drivers/staging/media/allegro-dvt/allegro-core.c sps->log2_max_frame_num_minus4 = 0; sps 1334 drivers/staging/media/allegro-dvt/allegro-core.c sps->pic_order_cnt_type = 0; sps 1335 drivers/staging/media/allegro-dvt/allegro-core.c sps->log2_max_pic_order_cnt_lsb_minus4 = 6; sps 1336 drivers/staging/media/allegro-dvt/allegro-core.c sps->max_num_ref_frames = 3; sps 1337 drivers/staging/media/allegro-dvt/allegro-core.c sps->gaps_in_frame_num_value_allowed_flag = 0; sps 1338 drivers/staging/media/allegro-dvt/allegro-core.c sps->pic_width_in_mbs_minus1 = sps 1340 drivers/staging/media/allegro-dvt/allegro-core.c sps->pic_height_in_map_units_minus1 = sps 1342 drivers/staging/media/allegro-dvt/allegro-core.c sps->frame_mbs_only_flag = 1; sps 1343 drivers/staging/media/allegro-dvt/allegro-core.c sps->mb_adaptive_frame_field_flag = 0; sps 1344 drivers/staging/media/allegro-dvt/allegro-core.c sps->direct_8x8_inference_flag = 1; sps 1345 drivers/staging/media/allegro-dvt/allegro-core.c sps->frame_cropping_flag = sps 1347 drivers/staging/media/allegro-dvt/allegro-core.c if (sps->frame_cropping_flag) { sps 1348 drivers/staging/media/allegro-dvt/allegro-core.c sps->crop_left = 0; sps 1349 drivers/staging/media/allegro-dvt/allegro-core.c sps->crop_right = (round_up(channel->width, size_mb) - channel->width) / crop_unit_x; sps 1350 drivers/staging/media/allegro-dvt/allegro-core.c sps->crop_top = 0; sps 1351 drivers/staging/media/allegro-dvt/allegro-core.c sps->crop_bottom = (round_up(channel->height, size_mb) - channel->height) / crop_unit_y; sps 1353 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui_parameters_present_flag = 1; sps 1354 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.aspect_ratio_info_present_flag = 0; sps 1355 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.overscan_info_present_flag = 0; sps 1356 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.video_signal_type_present_flag = 1; sps 1357 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.video_format = 1; sps 1358 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.video_full_range_flag = 0; sps 1359 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.colour_description_present_flag = 1; sps 1360 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.colour_primaries = 5; sps 1361 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.transfer_characteristics = 5; sps 1362 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.matrix_coefficients = 5; sps 1363 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.chroma_loc_info_present_flag = 1; sps 1364 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.chroma_sample_loc_type_top_field = 0; sps 1365 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.chroma_sample_loc_type_bottom_field = 0; sps 1366 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.timing_info_present_flag = 1; sps 1367 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.num_units_in_tick = 1; sps 1368 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.time_scale = 50; sps 1369 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.fixed_frame_rate_flag = 1; sps 1370 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.nal_hrd_parameters_present_flag = 0; sps 1371 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.vcl_hrd_parameters_present_flag = 1; sps 1372 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.vcl_hrd_parameters.cpb_cnt_minus1 = 0; sps 1373 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.vcl_hrd_parameters.bit_rate_scale = 0; sps 1374 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.vcl_hrd_parameters.cpb_size_scale = 1; sps 1376 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.vcl_hrd_parameters.bit_rate_value_minus1[0] = sps 1377 drivers/staging/media/allegro-dvt/allegro-core.c channel->bitrate_peak / (1 << (6 + sps->vui.vcl_hrd_parameters.bit_rate_scale)) - 1; sps 1379 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.vcl_hrd_parameters.cpb_size_value_minus1[0] = sps 1380 drivers/staging/media/allegro-dvt/allegro-core.c (channel->cpb_size * 1000) / (1 << (4 + sps->vui.vcl_hrd_parameters.cpb_size_scale)) - 1; sps 1381 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.vcl_hrd_parameters.cbr_flag[0] = 1; sps 1382 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.vcl_hrd_parameters.initial_cpb_removal_delay_length_minus1 = 31; sps 1383 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.vcl_hrd_parameters.cpb_removal_delay_length_minus1 = 31; sps 1384 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.vcl_hrd_parameters.dpb_output_delay_length_minus1 = 31; sps 1385 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.vcl_hrd_parameters.time_offset_length = 0; sps 1386 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.low_delay_hrd_flag = 0; sps 1387 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.pic_struct_present_flag = 1; sps 1388 drivers/staging/media/allegro-dvt/allegro-core.c sps->vui.bitstream_restriction_flag = 0; sps 1390 drivers/staging/media/allegro-dvt/allegro-core.c size = nal_h264_write_sps(&dev->plat_dev->dev, dest, n, sps); sps 1392 drivers/staging/media/allegro-dvt/allegro-core.c kfree(sps); sps 594 drivers/staging/media/allegro-dvt/nal-h264.c static void nal_h264_rbsp_sps(struct rbsp *rbsp, struct nal_h264_sps *sps) sps 598 drivers/staging/media/allegro-dvt/nal-h264.c if (!sps) { sps 603 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_bits(rbsp, 8, &sps->profile_idc); sps 604 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_bit(rbsp, &sps->constraint_set0_flag); sps 605 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_bit(rbsp, &sps->constraint_set1_flag); sps 606 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_bit(rbsp, &sps->constraint_set2_flag); sps 607 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_bit(rbsp, &sps->constraint_set3_flag); sps 608 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_bit(rbsp, &sps->constraint_set4_flag); sps 609 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_bit(rbsp, &sps->constraint_set5_flag); sps 610 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_bits(rbsp, 2, &sps->reserved_zero_2bits); sps 611 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_bits(rbsp, 8, &sps->level_idc); sps 613 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_uev(rbsp, &sps->seq_parameter_set_id); sps 615 drivers/staging/media/allegro-dvt/nal-h264.c if (sps->profile_idc == 100 || sps->profile_idc == 110 || sps 616 drivers/staging/media/allegro-dvt/nal-h264.c sps->profile_idc == 122 || sps->profile_idc == 244 || sps 617 drivers/staging/media/allegro-dvt/nal-h264.c sps->profile_idc == 44 || sps->profile_idc == 83 || sps 618 drivers/staging/media/allegro-dvt/nal-h264.c sps->profile_idc == 86 || sps->profile_idc == 118 || sps 619 drivers/staging/media/allegro-dvt/nal-h264.c sps->profile_idc == 128 || sps->profile_idc == 138 || sps 620 drivers/staging/media/allegro-dvt/nal-h264.c sps->profile_idc == 139 || sps->profile_idc == 134 || sps 621 drivers/staging/media/allegro-dvt/nal-h264.c sps->profile_idc == 135) { sps 622 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_uev(rbsp, &sps->chroma_format_idc); sps 624 drivers/staging/media/allegro-dvt/nal-h264.c if (sps->chroma_format_idc == 3) sps 625 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_bit(rbsp, &sps->separate_colour_plane_flag); sps 626 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_uev(rbsp, &sps->bit_depth_luma_minus8); sps 627 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_uev(rbsp, &sps->bit_depth_chroma_minus8); sps 628 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_bit(rbsp, &sps->qpprime_y_zero_transform_bypass_flag); sps 629 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_bit(rbsp, &sps->seq_scaling_matrix_present_flag); sps 630 drivers/staging/media/allegro-dvt/nal-h264.c if (sps->seq_scaling_matrix_present_flag) sps 634 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_uev(rbsp, &sps->log2_max_frame_num_minus4); sps 636 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_uev(rbsp, &sps->pic_order_cnt_type); sps 637 drivers/staging/media/allegro-dvt/nal-h264.c switch (sps->pic_order_cnt_type) { sps 639 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_uev(rbsp, &sps->log2_max_pic_order_cnt_lsb_minus4); sps 642 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_bit(rbsp, &sps->delta_pic_order_always_zero_flag); sps 643 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_sev(rbsp, &sps->offset_for_non_ref_pic); sps 644 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_sev(rbsp, &sps->offset_for_top_to_bottom_field); sps 646 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_uev(rbsp, &sps->num_ref_frames_in_pic_order_cnt_cycle); sps 647 drivers/staging/media/allegro-dvt/nal-h264.c for (i = 0; i < sps->num_ref_frames_in_pic_order_cnt_cycle; i++) sps 648 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_sev(rbsp, &sps->offset_for_ref_frame[i]); sps 655 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_uev(rbsp, &sps->max_num_ref_frames); sps 656 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_bit(rbsp, &sps->gaps_in_frame_num_value_allowed_flag); sps 657 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_uev(rbsp, &sps->pic_width_in_mbs_minus1); sps 658 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_uev(rbsp, &sps->pic_height_in_map_units_minus1); sps 660 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_bit(rbsp, &sps->frame_mbs_only_flag); sps 661 drivers/staging/media/allegro-dvt/nal-h264.c if (!sps->frame_mbs_only_flag) sps 662 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_bit(rbsp, &sps->mb_adaptive_frame_field_flag); sps 664 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_bit(rbsp, &sps->direct_8x8_inference_flag); sps 666 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_bit(rbsp, &sps->frame_cropping_flag); sps 667 drivers/staging/media/allegro-dvt/nal-h264.c if (sps->frame_cropping_flag) { sps 668 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_uev(rbsp, &sps->crop_left); sps 669 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_uev(rbsp, &sps->crop_right); sps 670 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_uev(rbsp, &sps->crop_top); sps 671 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_uev(rbsp, &sps->crop_bottom); sps 674 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_bit(rbsp, &sps->vui_parameters_present_flag); sps 675 drivers/staging/media/allegro-dvt/nal-h264.c if (sps->vui_parameters_present_flag) sps 676 drivers/staging/media/allegro-dvt/nal-h264.c nal_h264_rbsp_vui_parameters(rbsp, &sps->vui); sps 750 drivers/staging/media/allegro-dvt/nal-h264.c void *dest, size_t n, struct nal_h264_sps *sps) sps 768 drivers/staging/media/allegro-dvt/nal-h264.c nal_h264_rbsp_sps(&rbsp, sps); sps 791 drivers/staging/media/allegro-dvt/nal-h264.c struct nal_h264_sps *sps, void *src, size_t n) sps 815 drivers/staging/media/allegro-dvt/nal-h264.c nal_h264_rbsp_sps(&rbsp, sps); sps 194 drivers/staging/media/allegro-dvt/nal-h264.h void *dest, size_t n, struct nal_h264_sps *sps); sps 196 drivers/staging/media/allegro-dvt/nal-h264.h struct nal_h264_sps *sps, void *src, size_t n); sps 197 drivers/staging/media/allegro-dvt/nal-h264.h void nal_h264_print_sps(const struct device *dev, struct nal_h264_sps *sps); sps 27 drivers/staging/media/hantro/hantro_g1_h264_dec.c const struct v4l2_ctrl_h264_sps *sps = ctrls->sps; sps 35 drivers/staging/media/hantro/hantro_g1_h264_dec.c if (sps->flags & V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD) sps 37 drivers/staging/media/hantro/hantro_g1_h264_dec.c if (sps->profile_idc > 66) { sps 43 drivers/staging/media/hantro/hantro_g1_h264_dec.c if (!(sps->flags & V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY) && sps 44 drivers/staging/media/hantro/hantro_g1_h264_dec.c (sps->flags & V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD || sps 54 drivers/staging/media/hantro/hantro_g1_h264_dec.c reg = G1_REG_DEC_CTRL1_PIC_MB_WIDTH(sps->pic_width_in_mbs_minus1 + 1) | sps 55 drivers/staging/media/hantro/hantro_g1_h264_dec.c G1_REG_DEC_CTRL1_PIC_MB_HEIGHT_P(sps->pic_height_in_map_units_minus1 + 1) | sps 56 drivers/staging/media/hantro/hantro_g1_h264_dec.c G1_REG_DEC_CTRL1_REF_FRAMES(sps->max_num_ref_frames); sps 66 drivers/staging/media/hantro/hantro_g1_h264_dec.c if (!(sps->flags & V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY)) sps 77 drivers/staging/media/hantro/hantro_g1_h264_dec.c reg = G1_REG_DEC_CTRL4_FRAMENUM_LEN(sps->log2_max_frame_num_minus4 + 4) | sps 82 drivers/staging/media/hantro/hantro_g1_h264_dec.c if (sps->flags & V4L2_H264_SPS_FLAG_DIRECT_8X8_INFERENCE) sps 84 drivers/staging/media/hantro/hantro_g1_h264_dec.c if (sps->chroma_format_idc == 0) sps 251 drivers/staging/media/hantro/hantro_g1_h264_dec.c if (ctrls->sps->profile_idc > 66 && ctrls->decode->nal_ref_idc) { sps 273 drivers/staging/media/hantro/hantro_h264.c const struct v4l2_ctrl_h264_sps *sps; sps 282 drivers/staging/media/hantro/hantro_h264.c sps = ctx->h264_dec.ctrls.sps; sps 283 drivers/staging/media/hantro/hantro_h264.c max_frame_num = 1 << (sps->log2_max_frame_num_minus4 + 4); sps 584 drivers/staging/media/hantro/hantro_h264.c ctrls->sps = sps 586 drivers/staging/media/hantro/hantro_h264.c if (WARN_ON(!ctrls->sps)) sps 61 drivers/staging/media/hantro/hantro_hw.h const struct v4l2_ctrl_h264_sps *sps; sps 62 drivers/staging/media/sunxi/cedrus/cedrus.h const struct v4l2_ctrl_h264_sps *sps; sps 58 drivers/staging/media/sunxi/cedrus/cedrus_dec.c run.h264.sps = cedrus_find_control_data(ctx, sps 98 drivers/staging/media/sunxi/cedrus/cedrus_h264.c const struct v4l2_ctrl_h264_sps *sps = run->h264.sps; sps 148 drivers/staging/media/sunxi/cedrus/cedrus_h264.c else if (sps->flags & V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD) sps 302 drivers/staging/media/sunxi/cedrus/cedrus_h264.c const struct v4l2_ctrl_h264_sps *sps = run->h264.sps; sps 366 drivers/staging/media/sunxi/cedrus/cedrus_h264.c reg |= (sps->chroma_format_idc & 0x7) << 19; sps 367 drivers/staging/media/sunxi/cedrus/cedrus_h264.c reg |= (sps->pic_width_in_mbs_minus1 & 0xff) << 8; sps 368 drivers/staging/media/sunxi/cedrus/cedrus_h264.c reg |= sps->pic_height_in_map_units_minus1 & 0xff; sps 369 drivers/staging/media/sunxi/cedrus/cedrus_h264.c if (sps->flags & V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY) sps 371 drivers/staging/media/sunxi/cedrus/cedrus_h264.c if (sps->flags & V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD) sps 373 drivers/staging/media/sunxi/cedrus/cedrus_h264.c if (sps->flags & V4L2_H264_SPS_FLAG_DIRECT_8X8_INFERENCE) sps 346 fs/dlm/config.c struct dlm_spaces *sps = NULL; sps 350 fs/dlm/config.c sps = kzalloc(sizeof(struct dlm_spaces), GFP_NOFS); sps 353 fs/dlm/config.c if (!cl || !sps || !cms) sps 357 fs/dlm/config.c config_group_init_type_name(&sps->ss_group, "spaces", &spaces_type); sps 360 fs/dlm/config.c configfs_add_default_group(&sps->ss_group, &cl->group); sps 379 fs/dlm/config.c space_list = &sps->ss_group; sps 385 fs/dlm/config.c kfree(sps); sps 750 include/uapi/linux/kvm.h struct kvm_ppc_one_seg_page_size sps[KVM_PPC_PAGE_SIZES_MAX_SZ]; sps 60 sound/soc/sof/pcm.c struct snd_sof_pcm_stream *sps = sps 64 sound/soc/sof/pcm.c snd_pcm_period_elapsed(sps->substream); sps 750 tools/include/uapi/linux/kvm.h struct kvm_ppc_one_seg_page_size sps[KVM_PPC_PAGE_SIZES_MAX_SZ];