cdns_spi_config_clock_freq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– cdns_spi_config_clock_freq(9) β€” Kernel API Manual πŸ’–

🌸 NAME 🌸

cdns_spi_config_clock_freq β€” sets clock frequency πŸ’…

✨ SYNOPSIS ✨

void cdns_spi_config_clock_freq (struct spi_device *spi , struct
       spi_transfer *transfer );

πŸŽ€ ARGUMENTS πŸŽ€

  • spi β€” a pointer to the spi_device structure, bestie 🫢
  • transfer β€” a pointer to the spi_transfer structure, and it's literally the one handing over the info about the next transfer's setup parameters ✨

πŸ’… DESCRIPTION πŸ’…

This function sets the requested clock frequency. That's the whole assignment. 😌

⚠️ NOTE ⚠️

okay, important note time 🚨 if the requested frequency is not an exact match with what can be obtained using the prescalar value, the driver sets the clock frequency that's lower than the requested frequency β€” the maximum lower one β€” for the transfer. no cap.
and if the requested frequency is higher or lower than what the SPI controller supports? the driver sets the highest or lowest frequency supported by the controller. periodt. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

go check these out, bestie πŸŽ€:


okay that's the whole page! this one comes from ./drivers/spi, dated October 2026, and it's literally cdns_spi_config_clock_freq(9) β€” bye bestie! πŸŽ€βœ¨

πŸ“¦ where this page comes from