Lines Matching refs:hw20k1
26 struct hw20k1 { struct
2098 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags); in hw_read_20kx()
2102 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags); in hw_read_20kx()
2112 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags); in hw_write_20kx()
2116 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags); in hw_write_20kx()
2126 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags); in hw_read_pci()
2130 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags); in hw_read_pci()
2140 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags); in hw_write_pci()
2144 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags); in hw_write_pci()
2253 struct hw20k1 *hw20k1; in create_20k1_hw_obj() local
2256 hw20k1 = kzalloc(sizeof(*hw20k1), GFP_KERNEL); in create_20k1_hw_obj()
2257 if (!hw20k1) in create_20k1_hw_obj()
2260 spin_lock_init(&hw20k1->reg_20k1_lock); in create_20k1_hw_obj()
2261 spin_lock_init(&hw20k1->reg_pci_lock); in create_20k1_hw_obj()
2263 hw20k1->hw = ct20k1_preset; in create_20k1_hw_obj()
2265 *rhw = &hw20k1->hw; in create_20k1_hw_obj()
2275 kfree(container_of(hw, struct hw20k1, hw)); in destroy_20k1_hw_obj()