STRUCT LEAPRAID_IO_UNIT_CTRL_REQ(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct leapraid_io_unit_ctrl_req(9) πŸ¦‹

okay so bestie, this is a page out of the Kernel API Manual, and it's literally all about struct leapraid_io_unit_ctrl_req β€” the I/O unit control request πŸ’…


✨ NAME ✨

struct leapraid_io_unit_ctrl_req β€” I/O unit control request πŸŽ€


🌸 SYNOPSIS 🌸

like, here's the whole shape of it, no cap:

struct leapraid_io_unit_ctrl_req {
    u8 op;
    u8 r1;
    u8 chain_offset;
    u8 func;
    __le16 dev_hdl;
    u8 adapter_para;
    u8 msg_flag;
    u8 r2[6];
    u8 phy_num;
    u8 r3[17];
    __le32 adapter_para_value;
    __le32 adapter_para_value2;
    u8 r4[4];
 };

πŸ’– Members πŸ’–

okay so let's go field by field, main character energy only πŸ‘‘

  • op β€” the operation code, like the vibe of the whole request ✨
  • r1 β€” reserved. it's giving "don't touch, not for you" πŸ™ˆ
  • chain_offset β€” the SGE chain offset πŸ”—
  • func β€” the function code 🧚
  • dev_hdl β€” the device handle, iykyk 🫢
  • adapter_para β€” the adapter parameter selector, literally picking which param we're talking about πŸŽ€
  • msg_flag β€” the message flags 🚩
  • r2 β€” reserved 🌈
  • phy_num β€” the PHY number, okurrr ⭐
  • r3 β€” reserved πŸ’œ
  • adapter_para_value β€” the actual value for the adapter parameter, the moment we've all been waiting for πŸ”₯
  • adapter_para_value2 β€” an optional second parameter value. optional!! we love a lowkey bonus field πŸ’…
  • r4 β€” reserved, we stan a respectful reserved field 😌

🌈 SEE ALSO 🌈

literally obsessed with how many siblings this thing has β€” it's a whole family reunion, fr fr πŸ‘‘ first up, the kernel file it lives in:

  • ./drivers/scsi/leapraid/leapraid.h

and then the entire squad:

  • struct leapraid_reg_base(9)
  • struct leapraid_atomic_req_desc(9)
  • union leapraid_rep_desc_union(9)
  • struct leapraid_req(9)
  • struct leapraid_rep(9)
  • struct leapraid_sge_simple32(9)
  • struct leapraid_sge_simple64(9)
  • struct leapraid_sge_simple_union(9)
  • struct leapraid_sge_chain_union(9)
  • struct leapraid_ieee_sge_simple32(9)
  • struct leapraid_ieee_sge_simple64(9)
  • union leapraid_ieee_sge_simple_union(9)
  • union leapraid_ieee_sge_chain_union(9)
  • struct leapraid_chain64_ieee_sg(9)
  • union leapraid_ieee_sge_io_union(9)
  • union leapraid_simple_sge_union(9)
  • union leapraid_sge_io_union(9)
  • struct leapraid_cfg_pg_header(9)
  • struct leapraid_cfg_ext_pg_header(9)
  • struct leapraid_cfg_req(9)
  • struct leapraid_cfg_rep(9)
  • struct leapraid_boot_dev_format_sas_wwid(9)
  • struct leapraid_boot_dev_format_enc_slot(9)
  • struct leapraid_boot_dev_format_dev_name(9)
  • union leapraid_boot_dev_format(9)
  • struct leapraid_manufacturing_p0(9)
  • struct leapraid_bios_page2(9)
  • struct leapraid_bios_page3(9)
  • struct leapraid_raidvol0_phys_disk(9)
  • struct leapraid_raidvol_p0(9)
  • struct leapraid_raidvol_p1(9)
  • struct leapraid_raidpd_p0(9)
  • struct leapraid_sas_io_unit0_phy_info(9)
  • struct leapraid_sas_io_unit_p0(9)
  • struct leapraid_exp_p0(9)
  • struct leapraid_exp_p1(9)
  • struct leapraid_sas_dev_p0(9)
  • struct leapraid_sas_phy_p0(9)
  • struct leapraid_enc_p0(9)
  • struct leapraid_raid_cfg_p0_element(9)
  • struct leapraid_raid_cfg_p0(9)
  • union leapraid_mpi_scsi_io_cdb_union(9)
  • struct leapraid_mpi_scsiio_req(9)
  • union leapraid_scsi_io_cdb_union(9)
  • struct leapraid_scsiio_req(9)
  • struct leapraid_scsiio_rep(9)
  • struct leapraid_scsi_tm_req(9)
  • struct leapraid_scsi_tm_rep(9)
  • struct leapraid_sep_req(9)
  • struct leapraid_sep_rep(9)
  • struct leapraid_adapter_init_req(9)
  • struct leapraid_rep_desc_q_arr(9)
  • struct leapraid_adapter_init_rep(9)
  • struct leapraid_adapter_log_req(9)
  • struct leapraid_adapter_log_rep(9)
  • struct leapraid_adapter_features_req(9)
  • struct leapraid_adapter_features_rep(9)
  • struct leapraid_scan_dev_req(9)
  • struct leapraid_scan_dev_rep(9)
  • struct leapraid_evt_notify_req(9)
  • struct leapraid_evt_notify_rep(9)
  • struct leapraid_evt_data_sas_dev_status_change(9)
  • struct leapraid_evt_data_ir_change(9)
  • struct leapraid_evt_data_sas_disc(9)
  • struct leapraid_evt_sas_topo_phy_entry(9)
  • struct leapraid_evt_data_sas_topo_change_list(9)
  • struct leapraid_evt_data_sas_enc_dev_status_change(9)
  • struct leapraid_io_unit_ctrl_rep(9)
  • struct leapraid_raid_act_req(9)
  • struct leapraid_raid_act_rep(9)
  • struct leapraid_smp_passthrough_req(9)
  • struct leapraid_smp_passthrough_rep(9)
  • struct leapraid_sas_io_unit_ctrl_req(9)

like, that's the whole friend group 😭 go read them too, bestie, they ate πŸ’€


okay that's the page!! quick sign-off so you know where this came from: it's from ./drivers/scsi/leapraid and the date on it is October 2026 β€” slay, go forth and control your I/O units πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from