/drivers/pinctrl/ |
H A D | pinctrl-bcm281xx.c | 383 BCM281XX_PIN_DESC(BCM281XX_PIN_ADCSYNC, "adcsync", std), 384 BCM281XX_PIN_DESC(BCM281XX_PIN_BAT_RM, "bat_rm", std), 389 BCM281XX_PIN_DESC(BCM281XX_PIN_CLASSGPWR, "classgpwr", std), 390 BCM281XX_PIN_DESC(BCM281XX_PIN_CLK_CX8, "clk_cx8", std), 391 BCM281XX_PIN_DESC(BCM281XX_PIN_CLKOUT_0, "clkout_0", std), 392 BCM281XX_PIN_DESC(BCM281XX_PIN_CLKOUT_1, "clkout_1", std), 393 BCM281XX_PIN_DESC(BCM281XX_PIN_CLKOUT_2, "clkout_2", std), 394 BCM281XX_PIN_DESC(BCM281XX_PIN_CLKOUT_3, "clkout_3", std), 395 BCM281XX_PIN_DESC(BCM281XX_PIN_CLKREQ_IN_0, "clkreq_in_0", std), 396 BCM281XX_PIN_DESC(BCM281XX_PIN_CLKREQ_IN_1, "clkreq_in_1", std), [all...] |
/drivers/usb/host/whci/ |
H A D | qset.c | 191 struct whc_std *std; local 194 list_for_each_entry(std, &qset->stds, list_node) { 199 || (qset->pause_after_urb && std->urb != qset->pause_after_urb)) 202 if (std->qtd) 205 qtd = std->qtd = &qset->qtd[qset->td_end]; 208 if (usb_pipecontrol(std->urb->pipe)) 209 memcpy(qtd->setup, std->urb->setup_packet, 8); 211 status = QTD_STS_ACTIVE | QTD_STS_LEN(std->len); 213 if (whc_std_last(std) && usb_pipeout(std 264 qset_copy_bounce_to_sg(struct whc *whc, struct whc_std *std) argument 299 qset_free_std(struct whc *whc, struct whc_std *std) argument 334 struct whc_std *std, *t; local 350 struct whc_std *std, *t; local 358 qset_fill_page_list(struct whc *whc, struct whc_std *std, gfp_t mem_flags) argument 416 struct whc_std *std; local 438 struct whc_std *std = NULL; local 557 struct whc_std *std = NULL; local 668 struct whc_std *std; local 752 struct whc_std *std = list_first_entry(&qset->stds, struct whc_std, list_node); local 804 struct whc_std *std = list_first_entry(&qset->stds, struct whc_std, list_node); local [all...] |
H A D | debug.c | 38 struct whc_std *std; local 68 list_for_each_entry(std, &qset->stds, list_node) { 69 if (urb != std->urb) { 70 urb = std->urb; 74 if (std->qtd) 76 std->qtd - &qset->qtd[0], 77 std->len, std->num_pointers ? 78 (u32)(std->pl_virt[0].buf_ptr) : (u32)std [all...] |
/drivers/media/pci/ivtv/ |
H A D | ivtv-ioctl.h | 30 void ivtv_s_std_enc(struct ivtv *itv, v4l2_std_id std); 31 void ivtv_s_std_dec(struct ivtv *itv, v4l2_std_id std);
|
H A D | ivtv-cards.c | 265 { .std = V4L2_STD_ALL, .tuner = TUNER_PHILIPS_NTSC }, 306 { .std = V4L2_STD_PAL_SECAM, .tuner = TUNER_PHILIPS_FQ1216ME }, 307 { .std = V4L2_STD_ALL, .tuner = TUNER_PHILIPS_FQ1286 }, 347 { .std = V4L2_STD_PAL_SECAM, .tuner = TUNER_PHILIPS_FQ1216ME }, 348 { .std = V4L2_STD_ALL, .tuner = TUNER_PHILIPS_FQ1286 }, 383 { .std = V4L2_STD_PAL_SECAM, .tuner = TUNER_PHILIPS_FQ1216ME }, 384 { .std = V4L2_STD_ALL, .tuner = TUNER_PHILIPS_FQ1286 }, 425 { .std = V4L2_STD_PAL_SECAM, .tuner = TUNER_PHILIPS_FM1216ME_MK3 }, 426 { .std = V4L2_STD_ALL - V4L2_STD_NTSC_M_JP, 428 { .std [all...] |
H A D | ivtv-driver.c | 528 if (itv->std != 0) 535 itv->std |= V4L2_STD_PAL_BG | V4L2_STD_PAL_H; 538 itv->std |= V4L2_STD_NTSC_M; 541 itv->std |= V4L2_STD_SECAM_L; 544 itv->std |= V4L2_STD_NTSC_M; 670 itv->std = ivtv_parse_std(itv); 671 if (itv->std == 0 && tunertype >= 0) 672 itv->std = tunertype ? V4L2_STD_MN : (V4L2_STD_ALL & ~V4L2_STD_MN); 1124 if (itv->std == 0) { 1125 itv->std [all...] |
/drivers/media/pci/cx18/ |
H A D | cx18-ioctl.h | 29 int cx18_s_std(struct file *file, void *fh, v4l2_std_id std);
|
H A D | cx18-driver.c | 428 if (cx->std != 0) 441 cx->std = V4L2_STD_ALL; 444 cx->std |= V4L2_STD_PAL_BG | V4L2_STD_PAL_H; 447 cx->std |= V4L2_STD_NTSC_M; 450 cx->std |= V4L2_STD_SECAM_L; 453 cx->std |= V4L2_STD_NTSC_M; 647 cx->std = cx18_parse_std(cx); 1047 if (cx->std == 0) 1048 cx->std = V4L2_STD_NTSC_M; 1052 if ((cx->std 1164 v4l2_std_id std; local [all...] |
H A D | cx18-av-core.c | 291 v4l2_std_id std = state->std; local 305 if (std & ~V4L2_STD_NTSC) 318 if (std & V4L2_STD_625_50) { 373 if (std & V4L2_STD_PAL) { 378 } else if (std == V4L2_STD_PAL_Nc) { 433 if (std == V4L2_STD_PAL_60) { 439 } else if (std == V4L2_STD_PAL_M) { 522 if (std & V4L2_STD_625_50) { 535 v4l2_std_id std local [all...] |
/drivers/media/i2c/ |
H A D | adv7183.c | 40 v4l2_std_id std; /* Current set standard */ member in struct:adv7183 201 static int adv7183_g_std(struct v4l2_subdev *sd, v4l2_std_id *std) argument 205 *std = decoder->std; 209 static int adv7183_s_std(struct v4l2_subdev *sd, v4l2_std_id std) argument 215 if (std == V4L2_STD_PAL_60) 217 else if (std == V4L2_STD_NTSC_443) 219 else if (std == V4L2_STD_PAL_N) 221 else if (std == V4L2_STD_PAL_M) 223 else if (std 361 adv7183_querystd(struct v4l2_subdev *sd, v4l2_std_id *std) argument [all...] |
H A D | adv7343.c | 56 v4l2_std_id std; member in struct:adv7343_state 132 static int adv7343_setstd(struct v4l2_subdev *sd, v4l2_std_id std) argument 146 if (std_info[i].stdid & std) 152 "Invalid std or std is not supported: %llx\n", 153 (unsigned long long)std); 187 if (std & (V4L2_STD_NTSC | V4L2_STD_NTSC_443)) 189 else if (std & ~V4L2_STD_SECAM) 200 v4l2_err(sd, "Error setting std, write failed\n"); 292 v4l2_info(sd, "Standard: %llx\n", (unsigned long long)state->std); 331 adv7343_s_std_output(struct v4l2_subdev *sd, v4l2_std_id std) argument [all...] |
H A D | ml86v7667.c | 92 v4l2_std_id std; member in struct:ml86v7667_priv 163 static int ml86v7667_querystd(struct v4l2_subdev *sd, v4l2_std_id *std) argument 173 *std &= status & STATUS_NTSCPAL ? V4L2_STD_625_50 : V4L2_STD_525_60; 175 *std = V4L2_STD_UNKNOWN; 215 fmt->height = priv->std & V4L2_STD_525_60 ? 480 : 576; 230 static int ml86v7667_s_std(struct v4l2_subdev *sd, v4l2_std_id std) argument 238 mode = std & V4L2_STD_525_60 ? MRA_NTSC_BT601 : MRA_PAL_BT601; 243 priv->std = std; 329 * set the autodetected std i [all...] |
H A D | ak881x.c | 148 static int ak881x_s_std_output(struct v4l2_subdev *sd, v4l2_std_id std) argument 154 if (std == V4L2_STD_NTSC_443) { 157 } else if (std == V4L2_STD_PAL_M) { 160 } else if (std == V4L2_STD_PAL_60) { 163 } else if (std && !(std & ~V4L2_STD_PAL)) { 166 } else if (std && !(std & ~V4L2_STD_NTSC)) {
|
H A D | adv7393.c | 57 v4l2_std_id std; member in struct:adv7393_state 135 static int adv7393_setstd(struct v4l2_subdev *sd, v4l2_std_id std) argument 148 if (stdinfo[i].stdid & std) 154 "Invalid std or std is not supported: %llx\n", 155 (unsigned long long)std); 191 if (std & (V4L2_STD_NTSC | V4L2_STD_NTSC_443)) 204 v4l2_err(sd, "Error setting std, write failed\n"); 277 v4l2_info(sd, "Standard: %llx\n", (unsigned long long)state->std); 318 static int adv7393_s_std_output(struct v4l2_subdev *sd, v4l2_std_id std) argument [all...] |
H A D | vpx3220.c | 298 v4l2_std_id std = pstd ? *pstd : V4L2_STD_ALL; local 315 std &= V4L2_STD_PAL; 319 std &= V4L2_STD_SECAM; 325 std &= V4L2_STD_NTSC; 329 std = V4L2_STD_UNKNOWN; 332 *pstd = std; 338 static int vpx3220_querystd(struct v4l2_subdev *sd, v4l2_std_id *std) argument 341 return vpx3220_status(sd, NULL, std); 350 static int vpx3220_s_std(struct v4l2_subdev *sd, v4l2_std_id std) argument 360 v4l2_dbg(1, debug, sd, "s_std %llx\n", (unsigned long long)std); [all...] |
H A D | msp3400-kthreads.c | 40 v4l2_std_id std; member in struct:__anon2176 169 const char *msp_standard_std_name(int std) argument 174 if (msp_stdlist[i].retval == std) 179 static v4l2_std_id msp_standard_std(int std) argument 184 if (msp_stdlist[i].retval == std) 185 return msp_stdlist[i].std; 699 int val, i, std, count; local 732 std = 0x40; 734 std = (state->v4l2_std & V4L2_STD_NTSC) ? 0x20 : 1; 745 msp_standard_std_name(std), st [all...] |
H A D | adv7180.c | 165 static int v4l2_std_to_adv7180(v4l2_std_id std) argument 167 if (std == V4L2_STD_PAL_60) 169 if (std == V4L2_STD_NTSC_443) 171 if (std == V4L2_STD_PAL_N) 173 if (std == V4L2_STD_PAL_M) 175 if (std == V4L2_STD_PAL_Nc) 178 if (std & V4L2_STD_PAL) 180 if (std & V4L2_STD_NTSC) 182 if (std & V4L2_STD_SECAM) 197 v4l2_std_id *std) 196 __adv7180_status(struct i2c_client *client, u32 *status, v4l2_std_id *std) argument 217 adv7180_querystd(struct v4l2_subdev *sd, v4l2_std_id *std) argument 276 adv7180_s_std(struct v4l2_subdev *sd, v4l2_std_id std) argument [all...] |
H A D | bt819.c | 218 v4l2_std_id std = pstd ? *pstd : V4L2_STD_ALL; local 223 std = V4L2_STD_UNKNOWN; 226 std &= V4L2_STD_PAL; 228 std &= V4L2_STD_NTSC; 230 *pstd = std; 238 static int bt819_querystd(struct v4l2_subdev *sd, v4l2_std_id *std) argument 240 return bt819_status(sd, NULL, std); 248 static int bt819_s_std(struct v4l2_subdev *sd, v4l2_std_id std) argument 253 v4l2_dbg(1, debug, sd, "set norm %llx\n", (unsigned long long)std); 258 if (std [all...] |
H A D | tvp5150.c | 436 },{ /* Activates video std autodetection for all standards */ 627 v4l2_std_id std = decoder->norm; local 631 if (std == V4L2_STD_ALL) { 634 } else if (std & V4L2_STD_625_50) { 674 v4l2_std_id std = decoder->norm; local 679 if (std == V4L2_STD_ALL) { 682 } else if (std & V4L2_STD_625_50) { 707 static int tvp5150_set_std(struct v4l2_subdev *sd, v4l2_std_id std) argument 712 decoder->norm = std; 714 /* First tests should be against specific std */ 737 tvp5150_s_std(struct v4l2_subdev *sd, v4l2_std_id std) argument 856 v4l2_std_id std; local 918 v4l2_std_id std; local [all...] |
H A D | ks0127.c | 547 static int ks0127_s_std(struct v4l2_subdev *sd, v4l2_std_id std) argument 554 ks->norm = std; 555 if (std & V4L2_STD_NTSC) { 559 } else if (std & V4L2_STD_PAL_N) { 563 } else if (std & V4L2_STD_PAL) { 567 } else if (std & V4L2_STD_PAL_M) { 571 } else if (std & V4L2_STD_SECAM) { 586 (unsigned long long)std); 612 v4l2_std_id std = pstd ? *pstd : V4L2_STD_ALL; local 619 std 637 ks0127_querystd(struct v4l2_subdev *sd, v4l2_std_id *std) argument [all...] |
H A D | adv7170.c | 197 static int adv7170_s_std_output(struct v4l2_subdev *sd, v4l2_std_id std) argument 201 v4l2_dbg(1, debug, sd, "set norm %llx\n", (unsigned long long)std); 203 if (std & V4L2_STD_NTSC) { 209 } else if (std & V4L2_STD_PAL) { 217 (unsigned long long)std); 220 v4l2_dbg(1, debug, sd, "switched to %llx\n", (unsigned long long)std); 221 encoder->norm = std;
|
H A D | adv7175.c | 205 static int adv7175_s_std_output(struct v4l2_subdev *sd, v4l2_std_id std) argument 209 if (std & V4L2_STD_NTSC) { 215 } else if (std & V4L2_STD_PAL) { 221 } else if (std & V4L2_STD_SECAM) { 235 (unsigned long long)std); 238 v4l2_dbg(1, debug, sd, "switched to %llx\n", (unsigned long long)std); 239 encoder->norm = std;
|
/drivers/media/tuners/ |
H A D | tda9887.c | 38 v4l2_std_id std; member in struct:tda9887_priv 48 v4l2_std_id std; member in struct:tvnorm 138 .std = V4L2_STD_PAL_BG | V4L2_STD_PAL_H | V4L2_STD_PAL_N, 149 .std = V4L2_STD_PAL_I, 160 .std = V4L2_STD_PAL_DK, 171 .std = V4L2_STD_PAL_M | V4L2_STD_PAL_Nc, 182 .std = V4L2_STD_SECAM_B | V4L2_STD_SECAM_G | V4L2_STD_SECAM_H, 190 .std = V4L2_STD_SECAM_L, 199 .std = V4L2_STD_SECAM_LC, 209 .std [all...] |
/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-std.c | 21 #include "pvrusb2-std.h" 292 static int pvr2_std_fill(struct v4l2_standard *std,v4l2_std_id id) argument 299 idx = std->index; 300 memcpy(std,template,sizeof(*template)); 301 std->index = idx; 302 std->id = id; 303 bcnt = pvr2_std_id_to_str(std->name,sizeof(std->name)-1,id); 304 std->name[bcnt] = 0; 306 std [all...] |
/drivers/media/platform/ |
H A D | timblogiw.c | 58 v4l2_std_id std; member in struct:timblogiw_tvnorm 83 .std = V4L2_STD_PAL, 89 .std = V4L2_STD_NTSC, 107 static const struct timblogiw_tvnorm *timblogiw_get_norm(const v4l2_std_id std) argument 111 if (timblogiw_tvnorms[i].std & std) 327 static int timblogiw_g_std(struct file *file, void *priv, v4l2_std_id *std) argument 334 *std = fh->cur_norm->std; 338 static int timblogiw_s_std(struct file *file, void *priv, v4l2_std_id std) argument 436 timblogiw_querystd(struct file *file, void *priv, v4l2_std_id *std) argument 613 v4l2_std_id std; local [all...] |