Lines Matching defs:conf
43 static void print_sys_drive(struct conf_config *conf, int drvno);
44 static void print_phys_drive(struct conf_config *conf, int chn, int targ);
58 struct conf_config conf;
62 bzero(&conf.cc_cfg, sizeof(conf.cc_cfg));
63 if (mlx_read_configuration(unit, &conf.cc_cfg)) {
71 print_phys_drive(&conf, i, j);
74 for (i = 0; i < conf.cc_cfg.cc_num_sys_drives; i++)
75 print_sys_drive(&conf, i);
101 print_sys_drive(struct conf_config *conf, int drvno)
103 struct mlx_sys_drv *drv = &conf->cc_cfg.cc_sys_drives[drvno];
146 print_phys_drive(struct conf_config *conf, int chn, int targ)
148 struct mlx_phys_drv *drv = &conf->cc_cfg.cc_phys_drives[chn * 16 + targ];