Searched refs:data_entry (Results 1 – 2 of 2) sorted by relevance
48 } __packed * data_entry = (void *)data + sizeof(struct dmi_header); in simatic_ipc_get_station_id() local50 while ((u8 *)data_entry < data + max_len) { in simatic_ipc_get_station_id()51 if (data_entry->type == SIMATIC_IPC_DMI_TYPE && in simatic_ipc_get_station_id()52 data_entry->len == sizeof(*data_entry) && in simatic_ipc_get_station_id()53 data_entry->group == SIMATIC_IPC_DMI_GROUP && in simatic_ipc_get_station_id()54 data_entry->entry == SIMATIC_IPC_DMI_ENTRY && in simatic_ipc_get_station_id()55 data_entry->tid == SIMATIC_IPC_DMI_TID) { in simatic_ipc_get_station_id()56 return le32_to_cpu(data_entry->station_id); in simatic_ipc_get_station_id()58 data_entry = (void *)((u8 *)(data_entry) + data_entry->len); in simatic_ipc_get_station_id()
55 unsigned char data_entry; member