Searched refs:localPAT (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/media/i2c/
H A Dsaa6752hs.c443 unsigned char localPAT[256]; saa6752hs_init() local
474 memcpy(localPAT, PAT, sizeof(PAT)); saa6752hs_init()
475 localPAT[17] = 0xe0 | ((h->params.ts_pid_pmt >> 8) & 0x0f); saa6752hs_init()
476 localPAT[18] = h->params.ts_pid_pmt & 0xff; saa6752hs_init()
477 crc = crc32_be(~0, &localPAT[7], sizeof(PAT) - 7 - 4); saa6752hs_init()
478 localPAT[sizeof(PAT) - 4] = (crc >> 24) & 0xFF; saa6752hs_init()
479 localPAT[sizeof(PAT) - 3] = (crc >> 16) & 0xFF; saa6752hs_init()
480 localPAT[sizeof(PAT) - 2] = (crc >> 8) & 0xFF; saa6752hs_init()
481 localPAT[sizeof(PAT) - 1] = crc & 0xFF; saa6752hs_init()
515 i2c_master_send(client, localPAT, sizeof(PAT)); saa6752hs_init()

Completed in 84 milliseconds