Lines Matching defs:fc
9 static void flexcop_sram_set_chip(struct flexcop_device *fc,
15 int flexcop_sram_init(struct flexcop_device *fc)
17 switch (fc->rev) {
20 flexcop_sram_set_chip(fc, FC_SRAM_1_32KB);
23 flexcop_sram_set_chip(fc, FC_SRAM_1_48KB);
31 int flexcop_sram_set_dest(struct flexcop_device *fc, flexcop_sram_dest_t dest,
35 v = fc->read_ibi_reg(fc, sram_dest_reg_714);
37 if (fc->rev != FLEXCOP_III && target == FC_SRAM_DEST_TARGET_FC3_CA) {
52 fc->write_ibi_reg(fc,sram_dest_reg_714,v);
59 void flexcop_wan_set_speed(struct flexcop_device *fc, flexcop_wan_speed_t s)
65 void flexcop_sram_ctrl(struct flexcop_device *fc, int usb_wan, int sramdma, int maximumfill)
67 flexcop_ibi_value v = fc->read_ibi_reg(fc,sram_dest_reg_714);
71 fc->write_ibi_reg(fc,sram_dest_reg_714,v);
306 static int flexcop_sram_detect(struct flexcop_device *fc)
309 r208 = fc->read_ibi_reg(fc, ctrl_208);
310 fc->write_ibi_reg(fc, ctrl_208, ibi_zero);
312 r71c_0 = fc->read_ibi_reg(fc, wan_ctrl_reg_71c);