Lines Matching refs:dat_w0
121 u32 dat_w0; in hci_dat_v1_set_dynamic_addr() local
123 dat_w0 = dat_w0_read(dat_idx); in hci_dat_v1_set_dynamic_addr()
124 dat_w0 &= ~(DAT_0_DYNAMIC_ADDRESS | DAT_0_DYNADDR_PARITY); in hci_dat_v1_set_dynamic_addr()
125 dat_w0 |= FIELD_PREP(DAT_0_DYNAMIC_ADDRESS, address) | in hci_dat_v1_set_dynamic_addr()
127 dat_w0_write(dat_idx, dat_w0); in hci_dat_v1_set_dynamic_addr()
133 u32 dat_w0; in hci_dat_v1_set_static_addr() local
135 dat_w0 = dat_w0_read(dat_idx); in hci_dat_v1_set_static_addr()
136 dat_w0 &= ~DAT_0_STATIC_ADDRESS; in hci_dat_v1_set_static_addr()
137 dat_w0 |= FIELD_PREP(DAT_0_STATIC_ADDRESS, address); in hci_dat_v1_set_static_addr()
138 dat_w0_write(dat_idx, dat_w0); in hci_dat_v1_set_static_addr()
144 u32 dat_w0, dat_w1; in hci_dat_v1_set_flags() local
146 dat_w0 = dat_w0_read(dat_idx); in hci_dat_v1_set_flags()
148 dat_w0 |= w0_flags; in hci_dat_v1_set_flags()
150 dat_w0_write(dat_idx, dat_w0); in hci_dat_v1_set_flags()
157 u32 dat_w0, dat_w1; in hci_dat_v1_clear_flags() local
159 dat_w0 = dat_w0_read(dat_idx); in hci_dat_v1_clear_flags()
161 dat_w0 &= ~w0_flags; in hci_dat_v1_clear_flags()
163 dat_w0_write(dat_idx, dat_w0); in hci_dat_v1_clear_flags()
170 u32 dat_w0; in hci_dat_v1_get_index() local
173 dat_w0 = dat_w0_read(dat_idx); in hci_dat_v1_get_index()
174 if (FIELD_GET(DAT_0_DYNAMIC_ADDRESS, dat_w0) == dev_addr) in hci_dat_v1_get_index()