Lines Matching refs:hw20k1
30 struct hw20k1 { struct
2108 &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_read_20kx()
2122 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags); in hw_write_20kx()
2126 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags); in hw_write_20kx()
2136 &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_read_pci()
2150 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags); in hw_write_pci()
2154 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags); in hw_write_pci()
2263 struct hw20k1 *hw20k1; in create_20k1_hw_obj() local
2266 hw20k1 = kzalloc(sizeof(*hw20k1), GFP_KERNEL); in create_20k1_hw_obj()
2267 if (!hw20k1) in create_20k1_hw_obj()
2270 spin_lock_init(&hw20k1->reg_20k1_lock); in create_20k1_hw_obj()
2271 spin_lock_init(&hw20k1->reg_pci_lock); in create_20k1_hw_obj()
2273 hw20k1->hw = ct20k1_preset; in create_20k1_hw_obj()
2275 *rhw = &hw20k1->hw; in create_20k1_hw_obj()
2285 kfree(container_of(hw, struct hw20k1, hw)); in destroy_20k1_hw_obj()