Lines Matching refs:info
250 #define TAM3517_READ_EEPROM(info, ret) \ argument
254 (void *)info, sizeof(*info))) \
260 #define TAM3517_READ_MAC_FROM_EEPROM(info) \ argument
265 for (i = 0 ; i < ARRAY_SIZE((info)->eth_addr); i++) { \
267 (info)->eth_addr[i][5], \
268 (info)->eth_addr[i][4], \
269 (info)->eth_addr[i][3], \
270 (info)->eth_addr[i][2], \
271 (info)->eth_addr[i][1], \
272 (info)->eth_addr[i][0]); \
284 #define TAM3517_sequence_number(info) \ argument
285 ((info)->sequence_number % 0x1000000000000LL)
286 #define TAM3517_week_of_year(info) (((info)->sequence_number >> 48) % 0x100) argument
287 #define TAM3517_year(info) ((info)->sequence_number >> 56) argument
288 #define TAM3517_revision_fixed(info) ((info)->revision % 0x100) argument
289 #define TAM3517_revision_major(info) (((info)->revision >> 8) % 0x100) argument
290 #define TAM3517_revision_tn(info) ((info)->revision >> 16) argument
292 #define TAM3517_PRINT_SOM_INFO(info) \ argument
294 printf("Vendor:%s\n", (info)->customer); \
295 printf("SOM: %s\n", (info)->product); \
297 TAM3517_year(info), \
298 TAM3517_week_of_year(info), \
299 TAM3517_sequence_number(info)); \
301 TAM3517_revision_tn(info), \
302 TAM3517_revision_major(info), \
303 TAM3517_revision_fixed(info)); \