Lines Matching refs:opp_table
517 opp_table: *mut bindings::opp_table,
527 // SAFETY: 'opp_table' is guaranteed by the C code to be valid.
528 &unsafe { Table::from_raw_table(opp_table, &dev) },
566 /// Rust abstraction for the C `struct opp_table`.
589 /// let mut opp_table = Table::from_of_cpumask(dev, mask)?;
591 /// if opp_table.opp_count()? == 0 {
595 /// pr_info!("Max transition latency is: {} ns\n", opp_table.max_transition_latency_ns());
596 /// pr_info!("Suspend frequency is: {:?}\n", opp_table.suspend_freq());
598 /// opp_table.set_rate(freq)?;
599 /// Ok(opp_table)
603 ptr: *mut bindings::opp_table,
625 unsafe fn from_raw_table(ptr: *mut bindings::opp_table, dev: &ARef<Device>) -> Self {