Home
last modified time | relevance | path

Searched refs:fw (Results 1 – 25 of 27) sorted by relevance

12

/linux-2.4.37.9/lib/
Dfirmware_class.c160 struct firmware *fw; member
225 kfree(fw_priv->fw->data); in firmware_loading_store()
226 fw_priv->fw->data = NULL; in firmware_loading_store()
227 fw_priv->fw->size = 0; in firmware_loading_store()
244 struct firmware *fw = fw_priv->fw; in firmware_data_read() local
246 if (offset > fw->size) in firmware_data_read()
248 if (offset + count > fw->size) in firmware_data_read()
249 count = fw->size - offset; in firmware_data_read()
251 memcpy(buffer, fw->data + offset, count); in firmware_data_read()
275 if (fw_priv->fw->data) { in fw_realloc_buffer()
[all …]
/linux-2.4.37.9/drivers/scsi/sym53c8xx_2/
Dsym_fw.h179 #define SYM_FW_ENTRY(fw, name) \ argument
182 (u32 *) &fw##a_scr, sizeof(fw##a_scr), &fw##a_ofs, \
183 (u32 *) &fw##b_scr, sizeof(fw##b_scr), &fw##b_ofs, \
184 (u32 *) &fw##z_scr, sizeof(fw##z_scr), &fw##z_ofs, \
185 fw##_setup, fw##_patch \
Dsym_fw.c319 sym_fw_setup_bus_addresses(hcb_p np, struct sym_fw *fw) in sym_fw_setup_bus_addresses() argument
329 po = (u_short *) fw->a_ofs; in sym_fw_setup_bus_addresses()
337 po = (u_short *) fw->b_ofs; in sym_fw_setup_bus_addresses()
345 po = (u_short *) fw->z_ofs; in sym_fw_setup_bus_addresses()
356 sym_fw1_setup(hcb_p np, struct sym_fw *fw) in sym_fw1_setup() argument
372 sym_fw_setup_bus_addresses(np, fw); in sym_fw1_setup()
380 sym_fw2_setup(hcb_p np, struct sym_fw *fw) in sym_fw2_setup() argument
396 sym_fw_setup_bus_addresses(np, fw); in sym_fw2_setup()
Dsym_hipd.h1008 void (*fw_setup)(hcb_p np, struct sym_fw *fw);
1178 int sym_hcb_attach(hcb_p np, struct sym_fw *fw, struct sym_nvram *nvram);
1180 int sym_hcb_attach(hcb_p np, struct sym_fw *fw);
Dsym_hipd.c5706 int sym_hcb_attach(hcb_p np, struct sym_fw *fw, struct sym_nvram *nvram) argument
5708 int sym_hcb_attach(hcb_p np, struct sym_fw *fw)
5719 np->scripta_sz = fw->a_size;
5720 np->scriptb_sz = fw->b_size;
5721 np->scriptz_sz = fw->z_size;
5722 np->fw_setup = fw->setup;
5723 np->fw_patch = fw->patch;
5724 np->fw_name = fw->name;
5854 bcopy(fw->a_base, np->scripta0, np->scripta_sz);
5855 bcopy(fw->b_base, np->scriptb0, np->scriptb_sz);
[all …]
Dsym_glue.c1940 struct sym_fw *fw; in sym_attach() local
1961 fw = sym_find_firmware(&dev->chip); in sym_attach()
1962 if (!fw) in sym_attach()
2075 if (sym_hcb_attach(np, fw, nvram)) in sym_attach()
/linux-2.4.37.9/drivers/net/wan/
Dcomx-hw-comx.c642 struct comx_firmware *fw = hw->firmware; in COMX_load_board() local
653 if (!fw || !fw->len) { in COMX_load_board()
661 if (!(fw = twin_hw->firmware) || !fw->len) { in COMX_load_board()
666 id1 = fw->data[OFF_FW_L1_ID]; in COMX_load_board()
667 id2 = fw->data[OFF_FW_L1_ID + 1]; in COMX_load_board()
676 (char *)(fw->data + OFF_FW_L1_ID + 2)); in COMX_load_board()
678 id1 = fw->data[OFF_FW_L2_ID]; in COMX_load_board()
679 id2 = fw->data[OFF_FW_L2_ID + 1]; in COMX_load_board()
682 (char *)(fw->data + OFF_FW_L2_ID + 2)); in COMX_load_board()
729 while (fw->len > len) { in COMX_load_board()
[all …]
/linux-2.4.37.9/Documentation/firmware_class/
Dfirmware_sample_driver.c74 static void sample_probe_async_cont(const struct firmware *fw, void *context) in sample_probe_async_cont() argument
76 if(!fw){ in sample_probe_async_cont()
84 sample_firmware_load(fw->data, fw->size); in sample_probe_async_cont()
/linux-2.4.37.9/include/linux/
Dfirmware.h10 int request_firmware (const struct firmware **fw, const char *name,
15 void (*cont)(const struct firmware *fw, void *context));
18 void release_firmware (const struct firmware *fw);
/linux-2.4.37.9/net/ipv4/netfilter/
Dipfwadm_core.c1287 struct ip_fw *fw; in ipfw_device_event() local
1295 for (fw = *chains[chn]; fw; fw = fw->fw_next) in ipfw_device_event()
1296 if ((fw->fw_vianame)[0] && !strncmp(devname, in ipfw_device_event()
1297 fw->fw_vianame, IFNAMSIZ)) in ipfw_device_event()
1298 fw->fw_viadev = dev; in ipfw_device_event()
1301 for (fw = *chains[chn]; fw; fw = fw->fw_next) in ipfw_device_event()
1303 if ((fw->fw_vianame)[0] && !strncmp(devname, in ipfw_device_event()
1304 fw->fw_vianame, IFNAMSIZ)) in ipfw_device_event()
1305 fw->fw_viadev = (struct net_device*)-1; in ipfw_device_event()
Dip_fw_compat.c57 int register_firewall(int pf, struct firewall_ops *fw) in register_firewall() argument
68 fwops = fw; in register_firewall()
72 int unregister_firewall(int pf, struct firewall_ops *fw) in unregister_firewall() argument
/linux-2.4.37.9/drivers/atm/
DMakefile77 ) >.$@.fw
87 ) >.$@.fw
103 FORE200E_FW_FILES := $(wildcard .fore200e_*.fw)
/linux-2.4.37.9/include/linux/netfilter_ipv4/
Dcompat_firewall.h41 extern int register_firewall(int pf, struct firewall_ops *fw);
42 extern int unregister_firewall(int pf, struct firewall_ops *fw);
/linux-2.4.37.9/arch/ia64/sn/fakeprom/
DMakefile14 OBJ=fpromasm.o main.o fw-emu.o fpmem.o klgraph_init.o
/linux-2.4.37.9/include/asm-alpha/
Dagp_backend.h8 u32 fw : 1; member
/linux-2.4.37.9/drivers/video/
Dcyber2000fb.c171 u_int fh, fw; in cyber2000_accel_bmove() local
174 fw = fontwidth(p); in cyber2000_accel_bmove()
175 sx *= fw; in cyber2000_accel_bmove()
176 dx *= fw; in cyber2000_accel_bmove()
177 width *= fw; in cyber2000_accel_bmove()
227 u_int fw, fh; in cyber2000_accel_clear() local
230 fw = fontwidth(p); in cyber2000_accel_clear()
233 dst = sx * fw + sy * var->xres_virtual * fh; in cyber2000_accel_clear()
234 width = width * fw - 1; in cyber2000_accel_clear()
Dneofb.c278 u_int fh, fw; in neo2200_accel_bmove() local
290 fw = fontwidth(p); in neo2200_accel_bmove()
291 sx *= fw * bpp; in neo2200_accel_bmove()
292 dx *= fw * bpp; in neo2200_accel_bmove()
293 width *= fw; in neo2200_accel_bmove()
338 u_int fw, fh; in neo2200_accel_clear() local
341 fw = fontwidth(p); in neo2200_accel_clear()
344 dst = sx * fw + sy * var->xres_virtual * fh; in neo2200_accel_clear()
345 width = width * fw; in neo2200_accel_clear()
Depson1356fb.c881 u32 fw = fontwidth(p); in fill_putcs_buffer() local
882 u32 fwb = (fw + 7) >> 3; in fill_putcs_buffer()
1090 u32 fw = fontwidth_x8(p); in e1356_cfb8_putc() local
1099 blt.dst_width = fw; in e1356_cfb8_putc()
1102 blt.dst_x = xx * fw; in e1356_cfb8_putc()
1120 u32 fw = fontwidth_x8(p); in e1356_cfb16_putc() local
1129 blt.dst_width = fw; in e1356_cfb16_putc()
1132 blt.dst_x = xx * fw; in e1356_cfb16_putc()
1150 u32 fw = fontwidth_x8(p); in e1356_cfb8_putcs() local
1160 blt.dst_width = count * fw; in e1356_cfb8_putcs()
[all …]
Dtdfxfb.c754 int fw=(fontwidth(p)+7)>>3; in do_putc() local
755 u8 *chardata=p->fontdata+(c&p->charmask)*fontheight(p)*fw; in do_putc()
761 banshee_make_room(8+((fontheight(p)*fw+3)>>2) ); in do_putc()
775 switch (fw) { in do_putc()
816 int fw=(fontwidth(p)+7)>>3; in do_putcs() local
819 int regsneed=1+((h*fw+3)>>2); in do_putcs()
840 u8 *chardata=p->fontdata+(scr_readw(s++) & p->charmask)*h*fw; in do_putcs()
847 switch (fw) { in do_putcs()
/linux-2.4.37.9/drivers/usb/
Dw9968cf.c2042 unsigned long fw, fh; in w9968cf_set_window() local
2056 fw = __SC(win.width) / cam->maxwidth; in w9968cf_set_window()
2063 w = (fw >= fh) ? cam->maxwidth : __SC(win.width)/fh; in w9968cf_set_window()
2064 h = (fw >= fh) ? __SC(win.height)/fw : cam->maxheight; in w9968cf_set_window()
2081 cw = (fw >= fh) ? cam->maxwidth : __SC(win.width)/fh; in w9968cf_set_window()
2082 ch = (fw >= fh) ? __SC(win.height)/fw : cam->maxheight; in w9968cf_set_window()
2121 ax = __SC(win.x)/fw; in w9968cf_set_window()
2137 win.x = __UNSC(ax*fw); in w9968cf_set_window()
/linux-2.4.37.9/drivers/video/intel/
Dintelfbdrv.c1873 int fw; in fbcon_intelfb_putc() local
1890 fw = ROUND_UP_TO(fontwidth(p), 8) / 8; in fbcon_intelfb_putc()
1891 cdat = p->fontdata + (c & p->charmask) * fontheight(p) * fw; in fbcon_intelfb_putc()
1941 int fw; in fbcon_intelfb_putcs() local
1958 fw = ROUND_UP_TO(fontwidth(p), 8) / 8; in fbcon_intelfb_putcs()
1961 fontheight(p) * fw; in fbcon_intelfb_putcs()
/linux-2.4.37.9/net/sched/
Dcls_api.c458 INIT_TC_FILTER(fw); in tc_filter_init()
/linux-2.4.37.9/drivers/net/wireless/
Datmel.c3334 unsigned char *fw; in reset_atmel_card() local
3336 if (!(fw = priv->firmware)) { in reset_atmel_card()
3352 fw = fw_entry->data; in reset_atmel_card()
3358 atmel_copy_to_card(priv->dev, 0, fw, len); in reset_atmel_card()
3364 atmel_copy_to_card(priv->dev, 0, fw, 0x6000); in reset_atmel_card()
3366 atmel_copy_to_card(priv->dev, 0x8000, &fw[0x6000], len - 0x6000); in reset_atmel_card()
/linux-2.4.37.9/
DMakefile255 drivers/atm/fore200e_*_fw.c drivers/atm/.fore200e_*.fw \
/linux-2.4.37.9/drivers/net/
Ddefxx.h980 PI_UINT32 fw[PI_K_LOG_FW_SIZE]; member

12