Lines Matching +full:0 +full:x0f

20 		res->mode_clocks = (packed >> 5) & 0x07;  in extract_instr()
21 res->wait_states = packed & 0x1F; in extract_instr()
37 rv = 0; in jesd216_bfp_read_support()
43 rv = 0; in jesd216_bfp_read_support()
47 rv = 0; in jesd216_bfp_read_support()
53 rv = extract_instr(dw4 >> 0, res); in jesd216_bfp_read_support()
67 if ((dw17 >> 24) != 0) { in jesd216_bfp_read_support()
83 rv = extract_instr(dw3 >> 0, res); in jesd216_bfp_read_support()
90 if ((uint8_t)(dw17 >> 8) != 0) { in jesd216_bfp_read_support()
91 rv = extract_instr(dw17 >> 0, res); in jesd216_bfp_read_support()
96 if (sys_le32_to_cpu(bfp->dw5) & BIT(0)) { in jesd216_bfp_read_support()
127 __ASSERT_NO_MSG((idx > 0) && (idx <= JESD216_NUM_ERASE_TYPES)); in jesd216_bfp_erase()
134 if ((idx & 0x01) == 0x00) { in jesd216_bfp_erase()
142 if (exp == 0) { in jesd216_bfp_erase()
147 return 0; in jesd216_bfp_erase()
155 __ASSERT_NO_MSG((idx > 0) && (idx <= JESD216_NUM_ERASE_TYPES)); in jesd216_bfp_erase_type_times()
162 uint32_t dw10 = sys_le32_to_cpu(bfp->dw10[0]); in jesd216_bfp_erase_type_times()
172 unsigned int count = 1 + ((dw10 >> (4 + (idx - 1) * 7)) & 0x1F); in jesd216_bfp_erase_type_times()
173 unsigned int units = ((dw10 >> (4 + 5 + (idx - 1) * 7)) & 0x03); in jesd216_bfp_erase_type_times()
174 unsigned int max_factor = 2 * (1 + (dw10 & 0x0F)); in jesd216_bfp_erase_type_times()
177 case 0x00: /* 1 ms */ in jesd216_bfp_erase_type_times()
180 case 0x01: /* 16 ms */ in jesd216_bfp_erase_type_times()
183 case 0x02: /* 128 ms */ in jesd216_bfp_erase_type_times()
186 case 0x03: /* 1 s */ in jesd216_bfp_erase_type_times()
204 uint32_t value = 1 + ((dw11 >> 24) & 0x1F); in jesd216_bfp_decode_dw11()
206 switch ((dw11 >> 29) & 0x03) { in jesd216_bfp_decode_dw11()
207 case 0x00: /* 16 ms */ in jesd216_bfp_decode_dw11()
210 case 0x01: in jesd216_bfp_decode_dw11()
213 case 0x02: in jesd216_bfp_decode_dw11()
216 case 0x03: in jesd216_bfp_decode_dw11()
222 value = 1 + ((dw11 >> 19) & 0x0F); in jesd216_bfp_decode_dw11()
228 value = 1 + ((dw11 >> 14) & 0x0F); in jesd216_bfp_decode_dw11()
234 value = 1 + ((dw11 >> 8) & 0x01F); in jesd216_bfp_decode_dw11()
242 res->page_size = BIT((dw11 >> 4) & 0x0F); in jesd216_bfp_decode_dw11()
243 res->typ_max_factor = 2 * (1 + (dw11 & 0x0F)); in jesd216_bfp_decode_dw11()
245 return 0; in jesd216_bfp_decode_dw11()
263 res->enter_dpd_instr = (dw14 >> 23) & 0xFF; in jesd216_bfp_decode_dw14()
264 res->exit_dpd_instr = (dw14 >> 15) & 0xFF; in jesd216_bfp_decode_dw14()
266 uint32_t value = 1 + ((dw14 >> 8) & 0x1F); in jesd216_bfp_decode_dw14()
268 switch ((dw14 >> 13) & 0x03) { in jesd216_bfp_decode_dw14()
269 case 0x00: /* 128 ns */ in jesd216_bfp_decode_dw14()
272 case 0x01: /* 1 us */ in jesd216_bfp_decode_dw14()
275 case 0x02: /* 8 us */ in jesd216_bfp_decode_dw14()
278 case 0x03: /* 64 us */ in jesd216_bfp_decode_dw14()
285 res->poll_options = (dw14 >> 2) & 0x3F; in jesd216_bfp_decode_dw14()
287 return 0; in jesd216_bfp_decode_dw14()
301 res->hold_reset_disable = (dw15 & BIT(23)) != 0U; in jesd216_bfp_decode_dw15()
302 res->qer = (dw15 >> 20) & 0x07; in jesd216_bfp_decode_dw15()
303 res->entry_044 = (dw15 >> 16) & 0x0F; in jesd216_bfp_decode_dw15()
304 res->exit_044 = (dw15 >> 10) & 0x3F; in jesd216_bfp_decode_dw15()
305 res->support_044 = (dw15 & BIT(9)) != 0U; in jesd216_bfp_decode_dw15()
306 res->enable_444 = (dw15 >> 4) & 0x1F; in jesd216_bfp_decode_dw15()
307 res->disable_444 = (dw15 >> 0) & 0x0F; in jesd216_bfp_decode_dw15()
309 return 0; in jesd216_bfp_decode_dw15()
323 res->enter_4ba = (dw16 >> 24) & 0xFF; in jesd216_bfp_decode_dw16()
324 res->exit_4ba = (dw16 >> 14) & 0x3FF; in jesd216_bfp_decode_dw16()
325 res->srrs_support = (dw16 >> 8) & 0x3F; in jesd216_bfp_decode_dw16()
326 res->sr1_interface = (dw16 >> 0) & 0x7F; in jesd216_bfp_decode_dw16()
328 return 0; in jesd216_bfp_decode_dw16()