Searched refs:bin (Results 1 - 13 of 13) sorted by relevance

/drivers/misc/eeprom/
H A Dat25.c36 struct bin_attribute bin; member in struct:at25_data
79 if (unlikely(offset >= at25->bin.size))
81 if ((offset + count) > at25->bin.size)
82 count = at25->bin.size - offset;
152 if (unlikely(off >= at25->bin.size))
154 if ((off + count) > at25->bin.size)
155 count = at25->bin.size - off;
352 sysfs_bin_attr_init(&at25->bin);
353 at25->bin.attr.name = "eeprom";
354 at25->bin
[all...]
H A Deeprom_93xx46.c32 struct bin_attribute bin; member in struct:eeprom_93xx46_dev
52 if (unlikely(off >= edev->bin.size))
54 if ((off + count) > edev->bin.size)
55 count = edev->bin.size - off;
204 if (unlikely(off >= edev->bin.size))
206 if ((off + count) > edev->bin.size)
207 count = edev->bin.size - off;
343 sysfs_bin_attr_init(&edev->bin);
344 edev->bin.attr.name = "eeprom";
345 edev->bin
[all...]
H A Dat24.c65 struct bin_attribute bin; member in struct:at24_data
572 sysfs_bin_attr_init(&at24->bin);
573 at24->bin.attr.name = "eeprom";
574 at24->bin.attr.mode = chip.flags & AT24_FLAG_IRUGO ? S_IRUGO : S_IRUSR;
575 at24->bin.read = at24_bin_read;
576 at24->bin.size = chip.byte_len;
589 at24->bin.write = at24_bin_write;
590 at24->bin.attr.mode |= S_IWUSR;
624 err = sysfs_create_bin_file(&client->dev.kobj, &at24->bin);
631 at24->bin
[all...]
/drivers/uwb/i1480/dfu/
H A Dmac.c41 const u32 *bin; member in struct:fw_hdr
78 hdr->bin = data_itr;
171 size_t size = hdr->length*sizeof(hdr->bin[0]);
173 u8 *bin = (u8 *) hdr->bin; local
183 if (memcmp(i1480->cmd_buf, bin + src_itr, result)) {
186 if (bin[src_itr + cnt] != buf[cnt]) {
190 bin[src_itr + cnt], buf[cnt]);
226 hdr_itr->length * sizeof(hdr_itr->bin[0]),
228 result = i1480->write(i1480, hdr_itr->address, hdr_itr->bin,
[all...]
/drivers/net/wan/
H A DMakefile61 $(LD68K) --oformat binary -Ttext 0x1000 $(obj)/wanxlfw.o -o $(obj)/wanxlfw.bin; \
62 hexdump -ve '"\n" 16/1 "0x%02X,"' $(obj)/wanxlfw.bin | sed 's/0x ,//g;1s/^/static u8 firmware[]={/;$$s/,$$/\n};\n/' >$(obj)/wanxlfw.inc; \
63 rm -f $(obj)/wanxlfw.bin $(obj)/wanxlfw.o
/drivers/char/
H A Ddsp56k.c125 static int dsp56k_upload(u_char __user *bin, int len) argument
129 const char fw_name[] = "dsp56k/bootstrap.bin";
170 get_user(dsp56k_host_interface.data.b[1], bin++);
171 get_user(dsp56k_host_interface.data.b[2], bin++);
172 get_user(dsp56k_host_interface.data.b[3], bin++);
319 char __user *bin; local
325 if(get_user(bin, &binary->bin) < 0)
335 r = dsp56k_upload(bin, len);
534 MODULE_FIRMWARE("dsp56k/bootstrap.bin");
[all...]
/drivers/net/wireless/ath/ath9k/
H A Dar9002_phy.c173 int bin, cur_bin; local
241 bin = bb_spur * 320;
294 upper = bin + 100;
295 lower = bin - 100;
314 upper = bin + 120;
315 lower = bin - 120;
321 volatile int tmp_v = abs(cur_vit_mask - bin);
H A Dar5008_phy.c265 int bin, cur_bin; local
306 bin = bb_spur * 32;
335 upper = bin + 100;
336 lower = bin - 100;
355 upper = bin + 120;
356 lower = bin - 120;
362 volatile int tmp_v = abs(cur_vit_mask - bin);
/drivers/scsi/arcmsr/
H A Darcmsr_attr.c64 struct bin_attribute *bin,
111 struct bin_attribute *bin,
160 struct bin_attribute *bin,
62 arcmsr_sysfs_iop_message_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin, char *buf, loff_t off, size_t count) argument
109 arcmsr_sysfs_iop_message_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin, char *buf, loff_t off, size_t count) argument
158 arcmsr_sysfs_iop_message_clear(struct file *filp, struct kobject *kobj, struct bin_attribute *bin, char *buf, loff_t off, size_t count) argument
/drivers/net/wireless/ath/ath5k/
H A Deeprom.c38 static u16 ath5k_eeprom_bin2freq(struct ath5k_eeprom_info *ee, u16 bin, argument
43 if (bin == AR5K_EEPROM_CHANNEL_DIS)
44 return bin;
48 val = (5 * bin) + 4800;
50 val = bin > 62 ? (10 * 62) + (5 * (bin - 62)) + 5100 :
51 (bin * 10) + 5100;
54 val = bin + 2300;
56 val = bin + 2400;
/drivers/net/wireless/bcmdhd/
H A Ddhd_linux.c88 uint32 bin[NUMBIN]; member in struct:histo_
2197 memset(&vi_d1.bin, 0, sizeof(uint32)*NUMBIN);
2198 memset(&vi_d2.bin, 0, sizeof(uint32)*NUMBIN);
2199 memset(&vi_d3.bin, 0, sizeof(uint32)*NUMBIN);
2200 memset(&vi_d4.bin, 0, sizeof(uint32)*NUMBIN);
2207 memset(&vi_d1.bin, 0, sizeof(uint32)*NUMBIN);
2208 memset(&vi_d2.bin, 0, sizeof(uint32)*NUMBIN);
2209 memset(&vi_d3.bin, 0, sizeof(uint32)*NUMBIN);
2210 memset(&vi_d4.bin, 0, sizeof(uint32)*NUMBIN);
4940 printf("%d ", his->bin[
[all...]
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sp.c2490 * bnx2x_mcast_get_next_bin - get the next set bin (index)
2495 * returns the next found (set) bin or a negative value if none is found.
2518 * bnx2x_mcast_clear_first_bin - find the first set bin and clear it
2522 * returns the index of the found bin or -1 if none is found
2560 int bin; local
2567 /* Get a bin and update a bins' vector */
2570 bin = bnx2x_mcast_bin_from_mac(cfg_data->mac);
2571 BIT_VEC64_SET_BIT(o->registry.aprox_match.vec, bin);
2577 * clear any (0xff) bin.
2581 bin
[all...]
H A Dbnx2x_sp.h487 u8 bin; /* used in a RESTORE flow */ member in union:bnx2x_mcast_config_data

Completed in 354 milliseconds