Searched refs:localPAT (Results 1 – 1 of 1) sorted by relevance
431 unsigned char localPAT[256]; in saa6752hs_init() local462 memcpy(localPAT, PAT, sizeof(PAT)); in saa6752hs_init()463 localPAT[17] = 0xe0 | ((h->params.ts_pid_pmt >> 8) & 0x0f); in saa6752hs_init()464 localPAT[18] = h->params.ts_pid_pmt & 0xff; in saa6752hs_init()465 crc = crc32_be(~0, &localPAT[7], sizeof(PAT) - 7 - 4); in saa6752hs_init()466 localPAT[sizeof(PAT) - 4] = (crc >> 24) & 0xFF; in saa6752hs_init()467 localPAT[sizeof(PAT) - 3] = (crc >> 16) & 0xFF; in saa6752hs_init()468 localPAT[sizeof(PAT) - 2] = (crc >> 8) & 0xFF; in saa6752hs_init()469 localPAT[sizeof(PAT) - 1] = crc & 0xFF; in saa6752hs_init()503 i2c_master_send(client, localPAT, sizeof(PAT)); in saa6752hs_init()