Lines Matching refs:fn
334 } fn[8]; member
536 u8 r = vub300->fn[func].offload_point + vub300->fn[func].offload_count; in __add_offloaded_reg_to_fifo()
537 memcpy(&vub300->fn[func].reg[MAXREGMASK & r], register_access, in __add_offloaded_reg_to_fifo()
539 vub300->fn[func].offload_count += 1; in __add_offloaded_reg_to_fifo()
1082 int fn = 0x7 & (cmd->arg >> 28); in send_command() local
1085 vub300->cmnd.head.block_size[0] = (vub300->fbs[fn] >> 8) & 0xFF; in send_command()
1086 vub300->cmnd.head.block_size[1] = (vub300->fbs[fn] >> 0) & 0xFF; in send_command()
1103 int fn = 0x7 & (cmd->arg >> 28); in send_command() local
1131 if (vub300->datasize < vub300->fbs[fn]) { in send_command()
1809 int first = MAXREGMASK & vub300->fn[Function].offload_point; in examine_cyclic_buffer()
1810 struct offload_registers_access *rf = &vub300->fn[Function].reg[first]; in examine_cyclic_buffer()
1821 vub300->fn[Function].offload_point += 1; in examine_cyclic_buffer()
1822 vub300->fn[Function].offload_count -= 1; in examine_cyclic_buffer()
1827 u8 register_count = vub300->fn[Function].offload_count - 1; in examine_cyclic_buffer()
1828 u32 register_point = vub300->fn[Function].offload_point + 1; in examine_cyclic_buffer()
1832 &vub300->fn[Function].reg[point]; in examine_cyclic_buffer()
1843 vub300->fn[Function].offload_point += delta; in examine_cyclic_buffer()
1844 vub300->fn[Function].offload_count -= delta; in examine_cyclic_buffer()
1899 else if (vub300->fn[func].offload_count == 0) in satisfy_request_from_offloaded_data()
2199 for (i = 0; i < ARRAY_SIZE(vub300->fn); i++) { in vub300_probe()
2200 vub300->fn[i].offload_point = 0; in vub300_probe()
2201 vub300->fn[i].offload_count = 0; in vub300_probe()