Lines Matching full:validate
269 dev_dbg(&s->dev, "fake CIS is being used: can't validate mem\n"); in readable()
278 if (s->callback->validate) in readable()
279 ret = s->callback->validate(s, count); in readable()
332 * do_validate_mem() - low level validate a memory region for PCMCIA use
333 * @s: PCMCIA socket to validate
336 * @validate: validation function to use
339 * into two parts. Both are passed to the @validate() function. If
340 * @validate() returns non-zero, or the value parameter to @validate()
346 int (*validate)(struct pcmcia_socket *s, in do_validate_mem()
361 if (validate) { in do_validate_mem()
362 ret = validate(s, res1, &info1); in do_validate_mem()
363 ret += validate(s, res2, &info2); in do_validate_mem()
376 if (validate && !s->fake_cis) { in do_validate_mem()
387 * do_mem_probe() - validate a memory region for PCMCIA use
388 * @s: PCMCIA socket to validate
391 * @validate: validation function to use
392 * @fallback: validation function to use if validate fails
396 * into the @validate() function. Only if @validate() and @fallback() fail,
401 int (*validate)(struct pcmcia_socket *s, in do_mem_probe()
424 if (!do_validate_mem(s, j, step, validate)) in do_mem_probe()
451 * @s: PCMCIA socket to validate
473 * @s: PCMCIA socket to validate
531 * @s: PCMCIA socket to validate
555 * pcmcia_nonstatic_validate_mem() - try to validate iomem for PCMCIA use
556 * @s: PCMCIA socket to validate
558 * This is tricky... when we set up CIS memory, we try to validate