Lines Matching refs:base_struct
305 struct sis_base_struct *base_struct; in sis_init_base_struct_addr() local
310 base_struct_unaligned = kzalloc(sizeof(*base_struct) in sis_init_base_struct_addr()
315 base_struct = PTR_ALIGN(base_struct_unaligned, in sis_init_base_struct_addr()
319 put_unaligned_le32(SIS_BASE_STRUCT_REVISION, &base_struct->revision); in sis_init_base_struct_addr()
321 &base_struct->error_buffer_paddr_low); in sis_init_base_struct_addr()
323 &base_struct->error_buffer_paddr_high); in sis_init_base_struct_addr()
325 &base_struct->error_buffer_element_length); in sis_init_base_struct_addr()
327 &base_struct->error_buffer_num_elements); in sis_init_base_struct_addr()
329 bus_address = dma_map_single(&ctrl_info->pci_dev->dev, base_struct, in sis_init_base_struct_addr()
330 sizeof(*base_struct), DMA_TO_DEVICE); in sis_init_base_struct_addr()
339 params.mailbox[3] = sizeof(*base_struct); in sis_init_base_struct_addr()
345 sizeof(*base_struct), DMA_TO_DEVICE); in sis_init_base_struct_addr()