Home
last modified time | relevance | path

Searched refs:bin (Results 1 – 25 of 26) sorted by relevance

12

/drivers/misc/eeprom/
Dat25.c35 struct bin_attribute bin; member
80 if (unlikely(offset >= at25->bin.size)) in at25_ee_read()
82 if ((offset + count) > at25->bin.size) in at25_ee_read()
83 count = at25->bin.size - offset; in at25_ee_read()
158 if (unlikely(off >= at25->bin.size)) in at25_ee_write()
160 if ((off + count) > at25->bin.size) in at25_ee_write()
161 count = at25->bin.size - off; in at25_ee_write()
414 sysfs_bin_attr_init(&at25->bin); in at25_probe()
415 at25->bin.attr.name = "eeprom"; in at25_probe()
416 at25->bin.attr.mode = S_IRUSR; in at25_probe()
[all …]
Deeprom_93xx46.c31 struct bin_attribute bin; member
328 sysfs_bin_attr_init(&edev->bin); in eeprom_93xx46_probe()
329 edev->bin.attr.name = "eeprom"; in eeprom_93xx46_probe()
330 edev->bin.attr.mode = S_IRUSR; in eeprom_93xx46_probe()
331 edev->bin.read = eeprom_93xx46_bin_read; in eeprom_93xx46_probe()
332 edev->bin.size = 128; in eeprom_93xx46_probe()
334 edev->bin.write = eeprom_93xx46_bin_write; in eeprom_93xx46_probe()
335 edev->bin.attr.mode |= S_IWUSR; in eeprom_93xx46_probe()
338 err = sysfs_create_bin_file(&spi->dev.kobj, &edev->bin); in eeprom_93xx46_probe()
365 sysfs_remove_bin_file(&spi->dev.kobj, &edev->bin); in eeprom_93xx46_remove()
Dat24.c67 struct bin_attribute bin; member
586 sysfs_bin_attr_init(&at24->bin); in at24_probe()
587 at24->bin.attr.name = "eeprom"; in at24_probe()
588 at24->bin.attr.mode = chip.flags & AT24_FLAG_IRUGO ? S_IRUGO : S_IRUSR; in at24_probe()
589 at24->bin.read = at24_bin_read; in at24_probe()
590 at24->bin.size = chip.byte_len; in at24_probe()
602 at24->bin.write = at24_bin_write; in at24_probe()
603 at24->bin.attr.mode |= S_IWUSR; in at24_probe()
636 err = sysfs_create_bin_file(&client->dev.kobj, &at24->bin); in at24_probe()
643 at24->bin.size, client->name, in at24_probe()
[all …]
/drivers/scsi/qla2xxx/
DKconfig15 21xx ql2100_fw.bin
16 22xx ql2200_fw.bin
17 2300, 2312, 6312 ql2300_fw.bin
18 2322, 6322 ql2322_fw.bin
19 24xx, 54xx ql2400_fw.bin
20 25xx ql2500_fw.bin
21 2031 ql2600_fw.bin
22 8031 ql8300_fw.bin
23 27xx ql2700_fw.bin
/drivers/i2c/
Di2c-slave-eeprom.c26 struct bin_attribute bin; member
121 sysfs_bin_attr_init(&eeprom->bin); in i2c_slave_eeprom_probe()
122 eeprom->bin.attr.name = "slave-eeprom"; in i2c_slave_eeprom_probe()
123 eeprom->bin.attr.mode = S_IRUSR | S_IWUSR; in i2c_slave_eeprom_probe()
124 eeprom->bin.read = i2c_slave_eeprom_bin_read; in i2c_slave_eeprom_probe()
125 eeprom->bin.write = i2c_slave_eeprom_bin_write; in i2c_slave_eeprom_probe()
126 eeprom->bin.size = size; in i2c_slave_eeprom_probe()
128 ret = sysfs_create_bin_file(&client->dev.kobj, &eeprom->bin); in i2c_slave_eeprom_probe()
134 sysfs_remove_bin_file(&client->dev.kobj, &eeprom->bin); in i2c_slave_eeprom_probe()
146 sysfs_remove_bin_file(&client->dev.kobj, &eeprom->bin); in i2c_slave_eeprom_remove()
/drivers/uwb/i1480/dfu/
Dmac.c41 const u32 *bin; member
78 hdr->bin = data_itr; in fw_hdr_load()
171 size_t size = hdr->length*sizeof(hdr->bin[0]); in i1480_fw_cmp()
173 u8 *bin = (u8 *) hdr->bin; in i1480_fw_cmp() local
183 if (memcmp(i1480->cmd_buf, bin + src_itr, result)) { in i1480_fw_cmp()
186 if (bin[src_itr + cnt] != buf[cnt]) { in i1480_fw_cmp()
190 bin[src_itr + cnt], buf[cnt]); in i1480_fw_cmp()
226 hdr_itr->length * sizeof(hdr_itr->bin[0]), in mac_fw_hdrs_push()
228 result = i1480->write(i1480, hdr_itr->address, hdr_itr->bin, in mac_fw_hdrs_push()
229 hdr_itr->length*sizeof(hdr_itr->bin[0])); in mac_fw_hdrs_push()
[all …]
/drivers/char/
Ddsp56k.c125 static int dsp56k_upload(u_char __user *bin, int len) in dsp56k_upload() argument
170 get_user(dsp56k_host_interface.data.b[1], bin++); in dsp56k_upload()
171 get_user(dsp56k_host_interface.data.b[2], bin++); in dsp56k_upload()
172 get_user(dsp56k_host_interface.data.b[3], bin++); in dsp56k_upload()
319 char __user *bin; in dsp56k_ioctl() local
325 if(get_user(bin, &binary->bin) < 0) in dsp56k_ioctl()
335 r = dsp56k_upload(bin, len); in dsp56k_ioctl()
/drivers/net/wan/
DMakefile51 $(LD68K) --oformat binary -Ttext 0x1000 $(obj)/wanxlfw.o -o $(obj)/wanxlfw.bin; \
52 …hexdump -ve '"\n" 16/1 "0x%02X,"' $(obj)/wanxlfw.bin | sed 's/0x ,//g;1s/^/static const u8 firmwa…
53 rm -f $(obj)/wanxlfw.bin $(obj)/wanxlfw.o
/drivers/firmware/efi/libstub/
DMakefile72 rm -f $@; /bin/false); else /bin/false; fi
/drivers/net/wireless/ath/ath9k/
Dar5008_phy.c258 struct ath9k_channel *chan, int bin) in ar5008_hw_cmn_spur_mitigate() argument
281 upper = bin + 100; in ar5008_hw_cmn_spur_mitigate()
282 lower = bin - 100; in ar5008_hw_cmn_spur_mitigate()
302 upper = bin + 120; in ar5008_hw_cmn_spur_mitigate()
303 lower = bin - 120; in ar5008_hw_cmn_spur_mitigate()
308 volatile int tmp_v = abs(cur_vit_mask - bin); in ar5008_hw_cmn_spur_mitigate()
423 int bin; in ar5008_hw_spur_mitigate() local
447 bin = bb_spur * 32; in ar5008_hw_spur_mitigate()
475 ar5008_hw_cmn_spur_mitigate(ah, chan, bin); in ar5008_hw_spur_mitigate()
Dar9002_phy.c172 int bin; in ar9002_hw_spur_mitigate() local
222 bin = bb_spur * 320; in ar9002_hw_spur_mitigate()
274 ar5008_hw_cmn_spur_mitigate(ah, chan, bin); in ar9002_hw_spur_mitigate()
Ddfs.c54 u8 bin[28]; member
58 u8 bin[64]; member
Dhw.h1124 struct ath9k_channel *chan, int bin);
/drivers/atm/
D.gitignore4 pca200e.bin
/drivers/scsi/arcmsr/
Darcmsr_attr.c65 struct bin_attribute *bin, in arcmsr_sysfs_iop_message_read() argument
112 struct bin_attribute *bin, in arcmsr_sysfs_iop_message_write() argument
160 struct bin_attribute *bin, in arcmsr_sysfs_iop_message_clear() argument
/drivers/video/logo/
Dlogo_m32r_clut224.ppm7 # convert - imagemagick: /usr/bin/convert
/drivers/net/wireless/ath/ath5k/
Deeprom.c40 static u16 ath5k_eeprom_bin2freq(struct ath5k_eeprom_info *ee, u16 bin, in ath5k_eeprom_bin2freq() argument
45 if (bin == AR5K_EEPROM_CHANNEL_DIS) in ath5k_eeprom_bin2freq()
46 return bin; in ath5k_eeprom_bin2freq()
50 val = (5 * bin) + 4800; in ath5k_eeprom_bin2freq()
52 val = bin > 62 ? (10 * 62) + (5 * (bin - 62)) + 5100 : in ath5k_eeprom_bin2freq()
53 (bin * 10) + 5100; in ath5k_eeprom_bin2freq()
56 val = bin + 2300; in ath5k_eeprom_bin2freq()
58 val = bin + 2400; in ath5k_eeprom_bin2freq()
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramgt215.c102 u8 median[8], bins[4] = {0, 0, 0, 0}, bin = 0, qty = 0; in gt215_link_train_calc() local
132 bin = i + 3; in gt215_link_train_calc()
139 median[i] = max(median[i], (u8) (bin << 4)); in gt215_link_train_calc()
140 median[i] = min(median[i], (u8) ((bin << 4) | 0xf)); in gt215_link_train_calc()
145 train->r_1111e0 = 0x02000000 | (bin * 0x101); in gt215_link_train_calc()
/drivers/base/
DKconfig59 rescue mode with init=/bin/sh, even when the /dev directory
129 For example, you might set CONFIG_EXTRA_FIRMWARE="usb8388.bin", copy
130 the usb8388.bin file into the firmware directory, and build the kernel.
131 Then any request_firmware("usb8388.bin") will be satisfied internally
/drivers/net/wireless/libertas/
DREADME24 o. Copy the firmware image (e.g. usb8388.bin) to /lib/firmware/
28 insmod usb8388.ko [fw_name=usb8388.bin]
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.c2772 int bin; in bnx2x_mcast_set_one_rule_e2() local
2782 bin = bnx2x_mcast_bin_from_mac(cfg_data->mac); in bnx2x_mcast_set_one_rule_e2()
2783 BIT_VEC64_SET_BIT(o->registry.aprox_match.vec, bin); in bnx2x_mcast_set_one_rule_e2()
2793 bin = bnx2x_mcast_clear_first_bin(o); in bnx2x_mcast_set_one_rule_e2()
2797 bin = cfg_data->bin; in bnx2x_mcast_set_one_rule_e2()
2807 "Setting" : "Clearing"), bin); in bnx2x_mcast_set_one_rule_e2()
2809 data->rules[idx].bin_id = (u8)bin; in bnx2x_mcast_set_one_rule_e2()
2835 cfg_data.bin = (u8)cur_bin; in bnx2x_mcast_handle_restore_cmd_e2()
Dbnx2x_sp.h513 u8 bin; /* used in a RESTORE flow */ member
/drivers/staging/speakup/
Dspkguide.txt439 #!/bin/bash
446 #!/bin/bash
453 #!/bin/bash
460 #!/bin/bash
468 path, perhaps /usr/local/bin, and set the permissions to 755 with the
663 under /usr/bin.
665 /usr/bin/espeakup
725 directory in your path. Either /usr/bin or /usr/local/bin is a good
1123 it isn't, the recommended places to put it are /usr/local/bin or
1124 /usr/bin. This script can be run by any user, so it does not require
/drivers/net/wireless/mwifiex/
DREADME22 a) Copy sd8787.bin to /lib/firmware/mrvl/ directory,
/drivers/xen/
DKconfig54 …SUBSYSTEM=="memory", ACTION=="add", RUN+="/bin/sh -c '[ -f /sys$devpath/state ] && echo online > /…

12