Searched refs:tablelength (Results 1 – 1 of 1) sorted by relevance
62 void DIVA_DIDD_Read( DESCRIPTOR *table, int tablelength ) in DIVA_DIDD_Read() argument64 memset(table, 0, tablelength); in DIVA_DIDD_Read()66 if (tablelength > sizeof(DIDD_Table)) in DIVA_DIDD_Read()67 tablelength = sizeof(DIDD_Table); in DIVA_DIDD_Read()69 if(tablelength % sizeof(DESCRIPTOR)) { in DIVA_DIDD_Read()70 tablelength /= sizeof(DESCRIPTOR); in DIVA_DIDD_Read()71 tablelength *= sizeof(DESCRIPTOR); in DIVA_DIDD_Read()74 if (tablelength > 0) in DIVA_DIDD_Read()75 memcpy((void *)table, (void *)DIDD_Table, tablelength); in DIVA_DIDD_Read()80 void DIVA_DIDD_Write(DESCRIPTOR *table, int tablelength) in DIVA_DIDD_Write() argument[all …]