Searched refs:algo (Results 1 - 200 of 305) sorted by relevance

12

/linux-4.1.27/lib/raid6/
H A Dalgos.c112 const struct raid6_recov_calls *const *algo; raid6_choose_recov() local
115 for (best = NULL, algo = raid6_recov_algos; *algo; algo++) raid6_choose_recov()
116 if (!best || (*algo)->priority > best->priority) raid6_choose_recov()
117 if (!(*algo)->valid || (*algo)->valid()) raid6_choose_recov()
118 best = *algo; raid6_choose_recov()
136 const struct raid6_calls *const *algo; raid6_choose_gen() local
139 for (bestgenperf = 0, bestxorperf = 0, best = NULL, algo = raid6_algos; *algo; algo++) { raid6_choose_gen()
140 if (!best || (*algo)->prefer >= best->prefer) { raid6_choose_gen()
141 if ((*algo)->valid && !(*algo)->valid()) raid6_choose_gen()
152 (*algo)->gen_syndrome(disks, PAGE_SIZE, *dptrs); raid6_choose_gen()
159 best = *algo; raid6_choose_gen()
161 pr_info("raid6: %-8s gen() %5ld MB/s\n", (*algo)->name, raid6_choose_gen()
164 if (!(*algo)->xor_syndrome) raid6_choose_gen()
175 (*algo)->xor_syndrome(disks, start, stop, raid6_choose_gen()
181 if (best == *algo) raid6_choose_gen()
184 pr_info("raid6: %-8s xor() %5ld MB/s\n", (*algo)->name, raid6_choose_gen()
/linux-4.1.27/crypto/asymmetric_keys/
H A Dpublic_key.c55 pkey_id_type_name[key->id_type], key->algo->name); public_key_describe()
80 const struct public_key_algorithm *algo; public_key_verify_signature() local
89 algo = pk->algo; public_key_verify_signature()
90 if (!algo) { public_key_verify_signature()
93 algo = pkey_algo[pk->pkey_algo]; public_key_verify_signature()
94 if (!algo) public_key_verify_signature()
98 if (!algo->verify_signature) public_key_verify_signature()
101 if (sig->nr_mpi != algo->n_sig_mpi) { public_key_verify_signature()
103 sig->nr_mpi, algo->n_sig_mpi); public_key_verify_signature()
107 return algo->verify_signature(pk, sig); public_key_verify_signature()
H A Dpkcs7_parser.c202 printk("Unsupported digest algo: %u\n", ctx->last_oid); pkcs7_sig_note_digest_algo()
222 printk("Unsupported pkey algo: %u\n", ctx->last_oid); pkcs7_sig_note_pkey_algo()
H A Dpkcs7_verify.c148 pr_warn("Sig %u: X.509 algo and PKCS#7 sig algo don't match\n", pkcs7_find_key()
H A Dx509_public_key.c279 cert->pub->algo = pkey_algo[cert->pub->pkey_algo]; x509_key_preparse()
/linux-4.1.27/drivers/video/fbdev/savage/
H A Dsavagefb-i2c.c141 chan->adapter.algo_data = &chan->algo; savage_setup_i2c_bus()
143 chan->algo.udelay = 10; savage_setup_i2c_bus()
144 chan->algo.timeout = 20; savage_setup_i2c_bus()
145 chan->algo.data = chan; savage_setup_i2c_bus()
150 chan->algo.setsda(chan, 1); savage_setup_i2c_bus()
151 chan->algo.setscl(chan, 1); savage_setup_i2c_bus()
178 par->chan.algo.setsda = prosavage_gpio_setsda; savagefb_create_i2c_busses()
179 par->chan.algo.setscl = prosavage_gpio_setscl; savagefb_create_i2c_busses()
180 par->chan.algo.getsda = prosavage_gpio_getsda; savagefb_create_i2c_busses()
181 par->chan.algo.getscl = prosavage_gpio_getscl; savagefb_create_i2c_busses()
188 par->chan.algo.setsda = prosavage_gpio_setsda; savagefb_create_i2c_busses()
189 par->chan.algo.setscl = prosavage_gpio_setscl; savagefb_create_i2c_busses()
190 par->chan.algo.getsda = prosavage_gpio_getsda; savagefb_create_i2c_busses()
191 par->chan.algo.getscl = prosavage_gpio_getscl; savagefb_create_i2c_busses()
196 par->chan.algo.setsda = savage4_gpio_setsda; savagefb_create_i2c_busses()
197 par->chan.algo.setscl = savage4_gpio_setscl; savagefb_create_i2c_busses()
198 par->chan.algo.getsda = savage4_gpio_getsda; savagefb_create_i2c_busses()
199 par->chan.algo.getscl = savage4_gpio_getscl; savagefb_create_i2c_busses()
H A Dsavagefb.h16 #include <linux/i2c-algo-bit.h>
184 struct i2c_algo_bit_data algo; member in struct:savagefb_i2c_chan
/linux-4.1.27/drivers/video/fbdev/matrox/
H A Dmatroxfb_maven.h6 #include <linux/i2c-algo-bit.h>
H A Di2c-matroxfb.c17 #include <linux/i2c-algo-bit.h>
/linux-4.1.27/include/uapi/linux/tc_ematch/
H A Dtc_em_text.h10 char algo[TC_EM_TEXT_ALGOSIZ]; member in struct:tcf_em_text
/linux-4.1.27/lib/raid6/test/
H A Dtest.c75 printf("algo=%-8s faila=%3d(%c) failb=%3d(%c) %s\n", test_disks()
92 const struct raid6_calls *const *algo; main() local
108 for (algo = raid6_algos; *algo; algo++) { main()
109 if ((*algo)->valid && !(*algo)->valid()) main()
112 raid6_call = **algo; main()
/linux-4.1.27/drivers/video/fbdev/aty/
H A Dradeon_i2c.c10 #include <linux/i2c-algo-bit.h>
74 chan->adapter.algo_data = &chan->algo; radeon_setup_i2c_bus()
76 chan->algo.setsda = radeon_gpio_setsda; radeon_setup_i2c_bus()
77 chan->algo.setscl = radeon_gpio_setscl; radeon_setup_i2c_bus()
78 chan->algo.getsda = radeon_gpio_getsda; radeon_setup_i2c_bus()
79 chan->algo.getscl = radeon_gpio_getscl; radeon_setup_i2c_bus()
80 chan->algo.udelay = 10; radeon_setup_i2c_bus()
81 chan->algo.timeout = 20; radeon_setup_i2c_bus()
82 chan->algo.data = chan; radeon_setup_i2c_bus()
H A Dradeonfb.h18 #include <linux/i2c-algo-bit.h>
275 struct i2c_algo_bit_data algo; member in struct:radeon_i2c_chan
/linux-4.1.27/drivers/video/fbdev/nvidia/
H A Dnv_i2c.c92 chan->adapter.algo_data = &chan->algo; nvidia_setup_i2c_bus()
94 chan->algo.setsda = nvidia_gpio_setsda; nvidia_setup_i2c_bus()
95 chan->algo.setscl = nvidia_gpio_setscl; nvidia_setup_i2c_bus()
96 chan->algo.getsda = nvidia_gpio_getsda; nvidia_setup_i2c_bus()
97 chan->algo.getscl = nvidia_gpio_getscl; nvidia_setup_i2c_bus()
98 chan->algo.udelay = 40; nvidia_setup_i2c_bus()
99 chan->algo.timeout = msecs_to_jiffies(2); nvidia_setup_i2c_bus()
100 chan->algo.data = chan; nvidia_setup_i2c_bus()
H A Dnv_type.h7 #include <linux/i2c-algo-bit.h>
44 struct i2c_algo_bit_data algo; member in struct:nvidia_i2c_chan
/linux-4.1.27/include/uapi/linux/netfilter/
H A Dxt_string.h17 char algo[XT_STRING_MAX_ALGO_NAME_SIZE]; member in struct:xt_string_info
/linux-4.1.27/include/linux/
H A Di2c-pca-platform.h8 int i2c_clock_speed; /* values are defined in linux/i2c-algo-pca.h */
H A Ddigsig.h34 uint8_t algo; member in struct:pubkey_hdr
42 uint8_t algo; member in struct:signature_hdr
H A Dvia_i2c.h25 #include <linux/i2c-algo-bit.h>
31 struct i2c_algo_bit_data algo; member in struct:via_i2c_stuff
H A Dgenalloc.h60 genpool_algo_t algo; /* allocation function */ member in struct:gen_pool
107 extern void gen_pool_set_algo(struct gen_pool *pool, genpool_algo_t algo,
H A Di2c-algo-bit.h2 /* i2c-algo-bit.h i2c driver algorithms for bit-shift adapters */
H A Di2c-algo-pca.h4 /* Chips known to the pca algo */
/linux-4.1.27/drivers/video/fbdev/i810/
H A Di810-i2c.c96 chan->adapter.algo_data = &chan->algo; i810_setup_i2c_bus()
98 chan->algo.setsda = i810i2c_setsda; i810_setup_i2c_bus()
99 chan->algo.setscl = i810i2c_setscl; i810_setup_i2c_bus()
100 chan->algo.getsda = i810i2c_getsda; i810_setup_i2c_bus()
101 chan->algo.getscl = i810i2c_getscl; i810_setup_i2c_bus()
102 chan->algo.udelay = 10; i810_setup_i2c_bus()
103 chan->algo.timeout = (HZ/2); i810_setup_i2c_bus()
104 chan->algo.data = chan; i810_setup_i2c_bus()
109 chan->algo.setsda(chan, 1); i810_setup_i2c_bus()
110 chan->algo.setscl(chan, 1); i810_setup_i2c_bus()
H A Di810.h20 #include <linux/i2c-algo-bit.h>
250 struct i2c_algo_bit_data algo; member in struct:i810fb_i2c_chan
/linux-4.1.27/drivers/gpu/drm/gma500/
H A Dintel_i2c.c22 #include <linux/i2c-algo-bit.h>
129 chan->adapter.algo_data = &chan->algo; psb_intel_i2c_create()
131 chan->algo.setsda = set_data; psb_intel_i2c_create()
132 chan->algo.setscl = set_clock; psb_intel_i2c_create()
133 chan->algo.getsda = get_data; psb_intel_i2c_create()
134 chan->algo.getscl = get_clock; psb_intel_i2c_create()
135 chan->algo.udelay = 20; psb_intel_i2c_create()
136 chan->algo.timeout = usecs_to_jiffies(2200); psb_intel_i2c_create()
137 chan->algo.data = chan; psb_intel_i2c_create()
H A Doaktrail_lvds_i2c.c31 #include <linux/i2c-algo-bit.h>
148 chan->adapter.algo_data = &chan->algo; oaktrail_lvds_i2c_init()
150 chan->algo.setsda = set_data; oaktrail_lvds_i2c_init()
151 chan->algo.setscl = set_clock; oaktrail_lvds_i2c_init()
152 chan->algo.getsda = get_data; oaktrail_lvds_i2c_init()
153 chan->algo.getscl = get_clock; oaktrail_lvds_i2c_init()
154 chan->algo.udelay = 100; oaktrail_lvds_i2c_init()
155 chan->algo.timeout = usecs_to_jiffies(2200); oaktrail_lvds_i2c_init()
156 chan->algo.data = chan; oaktrail_lvds_i2c_init()
H A Dintel_gmbus.c31 #include <linux/i2c-algo-bit.h>
69 struct i2c_algo_bit_data algo; member in struct:intel_gpio
197 gpio->adapter.algo_data = &gpio->algo; intel_gpio_create()
199 gpio->algo.setsda = set_data; intel_gpio_create()
200 gpio->algo.setscl = set_clock; intel_gpio_create()
201 gpio->algo.getsda = get_data; intel_gpio_create()
202 gpio->algo.getscl = get_clock; intel_gpio_create()
203 gpio->algo.udelay = I2C_RISEFALL_TIME; intel_gpio_create()
204 gpio->algo.timeout = usecs_to_jiffies(2200); intel_gpio_create()
205 gpio->algo.data = gpio; intel_gpio_create()
235 ret = adapter->algo->master_xfer(adapter, msgs, num); intel_i2c_quirk_xfer()
367 bus->force_bit->algo->functionality(bus->force_bit); gmbus_func()
422 bus->adapter.algo = &gmbus_algorithm; gma_intel_setup_gmbus()
H A Dpsb_intel_drv.h23 #include <linux/i2c-algo-bit.h>
116 struct i2c_algo_bit_data algo; member in struct:psb_intel_i2c_chan
H A Dcdv_intel_dp.c43 * @running: set by the algo indicating whether an i2c is ongoing or whether
213 adapter->algo = &i2c_dp_aux_algo; i2c_dp_aux_prepare_bus()
269 struct i2c_algo_dp_aux_data algo; member in struct:cdv_intel_dp
855 intel_dp->algo.running = false; cdv_intel_dp_i2c_init()
856 intel_dp->algo.address = 0; cdv_intel_dp_i2c_init()
857 intel_dp->algo.aux_ch = cdv_intel_dp_i2c_aux_ch; cdv_intel_dp_i2c_init()
864 intel_dp->adapter.algo_data = &intel_dp->algo; cdv_intel_dp_i2c_init()
H A Doaktrail_hdmi_i2c.c172 .algo = &oaktrail_hdmi_i2c_algorithm,
/linux-4.1.27/drivers/video/fbdev/riva/
H A Drivafb-i2c.c97 chan->adapter.algo_data = &chan->algo; riva_setup_i2c_bus()
99 chan->algo.setsda = riva_gpio_setsda; riva_setup_i2c_bus()
100 chan->algo.setscl = riva_gpio_setscl; riva_setup_i2c_bus()
101 chan->algo.getsda = riva_gpio_getsda; riva_setup_i2c_bus()
102 chan->algo.getscl = riva_gpio_getscl; riva_setup_i2c_bus()
103 chan->algo.udelay = 40; riva_setup_i2c_bus()
104 chan->algo.timeout = msecs_to_jiffies(2); riva_setup_i2c_bus()
105 chan->algo.data = chan; riva_setup_i2c_bus()
H A Drivafb.h7 #include <linux/i2c-algo-bit.h>
40 struct i2c_algo_bit_data algo; member in struct:riva_i2c_chan
/linux-4.1.27/drivers/i2c/algos/
H A Di2c-algo-pcf.c2 * i2c-algo-pcf.c i2c driver algorithms for PCF8584 adapters
30 #include <linux/i2c-algo-pcf.h>
31 #include "i2c-algo-pcf.h"
77 "i2c-algo-pcf.o: lost arbitration (CSR 0x%02x)\n", handle_lab()
100 "i2c-algo-pcf.o: reset LAB condition (CSR 0x%02x)\n", handle_lab()
162 DEB3(printk(KERN_DEBUG "i2c-algo-pcf.o: PCF state 0x%02x\n", pcf_init_8584()
172 DEB2(printk(KERN_ERR "i2c-algo-pcf.o: PCF detection failed -- can't select S0 (0x%02x).\n", temp)); pcf_init_8584()
180 DEB2(printk(KERN_ERR "i2c-algo-pcf.o: PCF detection failed -- can't set S0 (0x%02x).\n", temp)); pcf_init_8584()
188 DEB2(printk(KERN_ERR "i2c-algo-pcf.o: PCF detection failed -- can't select S2 (0x%02x).\n", temp)); pcf_init_8584()
196 DEB2(printk(KERN_ERR "i2c-algo-pcf.o: PCF detection failed -- can't set S2 (0x%02x).\n", temp)); pcf_init_8584()
205 DEB2(printk(KERN_ERR "i2c-algo-pcf.o: PCF detection failed -- can't select S1` (0x%02x).\n", temp)); pcf_init_8584()
209 printk(KERN_DEBUG "i2c-algo-pcf.o: detected and initialized PCF8584.\n"); pcf_init_8584()
322 DEB2(printk(KERN_ERR "i2c-algo-pcf.o: " pcf_xfer()
331 DEB2(printk(KERN_DEBUG "i2c-algo-pcf.o: Doing %s %d bytes to 0x%02x - %d of %d messages\n", pcf_xfer()
350 DEB2(printk(KERN_ERR "i2c-algo-pcf.o: Timeout waiting " pcf_xfer()
359 DEB2(printk(KERN_ERR "i2c-algo-pcf.o: No LRB(1) in pcf_xfer\n");) pcf_xfer()
364 DEB3(printk(KERN_DEBUG "i2c-algo-pcf.o: Msg %d, addr=0x%x, flags=0x%x, len=%d\n", pcf_xfer()
372 DEB2(printk(KERN_DEBUG "i2c-algo-pcf.o: fail: " pcf_xfer()
375 DEB2(printk(KERN_DEBUG "i2c-algo-pcf.o: read %d bytes.\n",ret)); pcf_xfer()
382 DEB2(printk(KERN_DEBUG "i2c-algo-pcf.o: fail: " pcf_xfer()
385 DEB2(printk(KERN_DEBUG "i2c-algo-pcf.o: wrote %d bytes.\n",ret)); pcf_xfer()
419 adap->algo = &pcf_algo; i2c_pcf_add_bus()
H A Di2c-algo-pca.c2 * i2c-algo-pca.c i2c driver algorithms for PCA9564 adapters
24 #include <linux/i2c-algo-pca.h>
392 adap->algo = &pca_algo; pca_init()
H A Di2c-algo-bit.c2 * i2c-algo-bit.c i2c driver algorithms for bit-shift adapters
26 #include <linux/i2c-algo-bit.h>
113 pr_debug("i2c-algo-bit: needed %ld jiffies for SCL to go " sclhi()
636 adap->algo = &i2c_bit_algo; __i2c_bit_add_bus()
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-versatile.c14 #include <linux/i2c-algo-bit.h>
28 struct i2c_algo_bit_data algo; member in struct:i2c_versatile
100 i2c->adap.algo_data = &i2c->algo; i2c_versatile_probe()
103 i2c->algo = i2c_versatile_algo; i2c_versatile_probe()
104 i2c->algo.data = i2c; i2c_versatile_probe()
H A Di2c-amd756-s4882.c61 error = amd756_smbus.algo->smbus_xfer(adap, addr, flags, read_write, amd756_access_virt0()
93 error = amd756_smbus.algo->smbus_xfer(adap, 0x18, 0, amd756_access_channel()
101 error = amd756_smbus.algo->smbus_xfer(adap, addr, flags, read_write, amd756_access_channel()
184 s4882_algo[0] = *(amd756_smbus.algo); amd756_s4882_init()
187 s4882_adapter[0].algo = s4882_algo; amd756_s4882_init()
190 s4882_algo[i] = *(amd756_smbus.algo); amd756_s4882_init()
194 s4882_adapter[i].algo = s4882_algo+i; amd756_s4882_init()
H A Di2c-nforce2-s4985.c58 error = nforce2_smbus->algo->smbus_xfer(adap, addr, flags, read_write, nforce2_access_virt0()
88 error = nforce2_smbus->algo->smbus_xfer(adap, 0x18, 0, nforce2_access_channel()
96 error = nforce2_smbus->algo->smbus_xfer(adap, addr, flags, read_write, nforce2_access_channel()
179 s4985_algo[0] = *(nforce2_smbus->algo); nforce2_s4985_init()
182 s4985_adapter[0].algo = s4985_algo; nforce2_s4985_init()
185 s4985_algo[i] = *(nforce2_smbus->algo); nforce2_s4985_init()
189 s4985_adapter[i].algo = s4985_algo + i; nforce2_s4985_init()
H A Di2c-sibyte.c136 i2c_adap->algo = &i2c_sibyte_algo; i2c_sibyte_add_bus()
155 .algo = NULL,
163 .algo = NULL,
H A Di2c-acorn.c17 #include <linux/i2c-algo-bit.h>
H A Di2c-elektor.c35 #include <linux/i2c-algo-pcf.h>
40 #include "../algos/i2c-algo-pcf.h"
54 in some functions, called from the algo-pcf module. Sometimes it's
H A Di2c-iop3xx.c7 * With acknowledgements to i2c-algo-ibm_ocp.c by
10 * And i2c-algo-pcf.c, which was created by Simon G. Vogl and Hans Berglund:
483 new_adapter->algo = &iop3xx_i2c_algo; iop3xx_i2c_probe()
H A Di2c-hydra.c25 #include <linux/i2c-algo-bit.h>
H A Di2c-simtec.c25 #include <linux/i2c-algo-bit.h>
H A Di2c-pca-isa.c28 #include <linux/i2c-algo-pca.h>
H A Di2c-robotfuzz-osif.c152 priv->adapter.algo = &osif_algorithm; osif_probe()
H A Di2c-via.c22 #include <linux/i2c-algo-bit.h>
H A Di2c-bcm2835.c282 adap->algo = &bcm2835_i2c_algo; bcm2835_i2c_probe()
H A Di2c-cbus-gpio.c251 adapter->algo = &cbus_i2c_algo; cbus_i2c_probe()
H A Di2c-cros-ec-tunnel.c262 bus->adap.algo = &ec_i2c_algorithm; ec_i2c_probe()
H A Di2c-designware-pcidrv.c257 adap->algo = &i2c_dw_algo; i2c_dw_pci_probe()
H A Di2c-designware-platdrv.c272 adap->algo = &i2c_dw_algo; dw_i2c_probe()
H A Di2c-digicolor.c335 i2c->adap.algo = &dc_i2c_algorithm; dc_i2c_probe()
H A Di2c-dln2.c210 dln2->adapter.algo = &dln2_i2c_usb_algorithm; dln2_i2c_probe()
H A Di2c-gpio.c11 #include <linux/i2c-algo-bit.h>
H A Di2c-isch.c261 .algo = &smbus_algorithm,
H A Di2c-kempld.c296 .algo = &kempld_i2c_algorithm,
H A Di2c-opal.c232 adapter->algo = &i2c_opal_algo; i2c_opal_probe()
H A Di2c-parport-light.c30 #include <linux/i2c-algo-bit.h>
H A Di2c-parport.c29 #include <linux/i2c-algo-bit.h>
H A Di2c-pca-platform.c22 #include <linux/i2c-algo-pca.h>
H A Di2c-puv3.c207 adapter->algo = &puv3_i2c_algorithm; puv3_i2c_probe()
H A Di2c-scmi.c390 smbus_cmi->adapter.algo = &acpi_smbus_cmi_algorithm; acpi_smbus_cmi_add()
H A Di2c-sis96x.c240 .algo = &smbus_algorithm,
H A Di2c-sun6i-p2wi.c276 p2wi->adapter.algo = &p2wi_algo; p2wi_probe()
H A Di2c-taos-evm.c222 adapter->algo = &taos_algorithm; taos_connect()
H A Di2c-tiny-usb.c236 dev->adapter.algo = &usb_algorithm; i2c_tiny_usb_probe()
H A Di2c-xlr.c235 priv->adap.algo = &xlr_i2c_algo; xlr_i2c_probe()
H A Di2c-tegra.c741 i2c_dev->adapter.algo = &tegra_i2c_algo; tegra_i2c_probe()
821 i2c_dev->adapter.algo = &tegra_i2c_algo; tegra_i2c_probe()
H A Di2c-ali1563.c395 .algo = &ali1563_algorithm,
H A Di2c-amd756.c297 .algo = &smbus_algorithm,
H A Di2c-amd8111.c455 smbus->adapter.algo = &smbus_algorithm; amd8111_probe()
H A Di2c-au1550.c345 priv->adap.algo = &au1550_algo; i2c_au1550_probe()
H A Di2c-bcm-iproc.c413 adap->algo = &bcm_iproc_algo; bcm_iproc_i2c_probe()
H A Di2c-efm32.c330 ddata->adapter.algo = &efm32_i2c_algo; efm32_i2c_probe()
H A Di2c-highlander.c409 adap->algo = &highlander_i2c_algo; highlander_i2c_probe()
H A Di2c-meson.c443 i2c->adap.algo = &meson_i2c_algorithm; meson_i2c_probe()
H A Di2c-nforce2.c361 smbus->adapter.algo = &smbus_algorithm; nforce2_probe_smb()
H A Di2c-pasemi.c366 smbus->adapter.algo = &smbus_algorithm; pasemi_smb_probe()
H A Di2c-riic.c373 adap->algo = &riic_algo; riic_i2c_probe()
H A Di2c-sirf.c333 adap->algo = &i2c_sirfsoc_algo; i2c_sirfsoc_probe()
H A Di2c-sis5595.c365 .algo = &smbus_algorithm,
H A Di2c-viperboard.c376 vb_i2c->i2c.algo = &vprbrd_algorithm; vprbrd_i2c_probe()
H A Di2c-wmt.c422 adap->algo = &wmt_i2c_algo; wmt_i2c_probe()
H A Di2c-xlp9xx.c395 priv->adapter.algo = &xlp9xx_i2c_algo; xlp9xx_i2c_probe()
H A Di2c-pxa.c15 * Jun 2002: Properly separated algo/adap [FB]
1232 i2c->adap.algo = &i2c_pxa_pio_algorithm; i2c_pxa_probe()
1234 i2c->adap.algo = &i2c_pxa_algorithm; i2c_pxa_probe()
H A Di2c-ali15x3.c472 .algo = &smbus_algorithm,
H A Di2c-axxia.c513 idev->adapter.algo = &axxia_i2c_algo; axxia_i2c_probe()
H A Di2c-bfin-twi.c649 p_adap->algo = &bfin_twi_algorithm; i2c_bfin_twi_probe()
H A Di2c-diolan-u2c.c473 dev->adapter.algo = &diolan_usb_algorithm; diolan_u2c_probe()
H A Di2c-hix5hd2.c454 priv->adap.algo = &hix5hd2_i2c_algorithm; hix5hd2_i2c_probe()
H A Di2c-ocores.c266 .algo = &ocores_algorithm,
H A Di2c-octeon.c440 .algo = &octeon_i2c_algo,
H A Di2c-pmcmsp.c600 .algo = &pmcmsptwi_algo,
H A Di2c-powermac.c433 adapter->algo = &i2c_powermac_algorithm; i2c_powermac_probe()
H A Di2c-sh7760.c477 id->adap.algo = &sh7760_i2c_algo; sh7760_i2c_probe()
H A Di2c-sis630.c505 .algo = &smbus_algorithm,
H A Di2c-viapro.c316 .algo = &smbus_algorithm,
H A Dscx200_acb.c437 adapter->algo = &scx200_acb_algorithm; scx200_create_iface()
/linux-4.1.27/drivers/i2c/
H A Di2c-mux.c32 struct i2c_algorithm algo; member in struct:i2c_mux_priv
74 ret = parent->algo->smbus_xfer(parent, addr, flags, i2c_mux_smbus_xfer()
88 return parent->algo->functionality(parent); i2c_mux_functionality()
129 /* Need to do algo dynamically because we don't know ahead i2c_add_mux_adapter()
132 if (parent->algo->master_xfer) i2c_add_mux_adapter()
133 priv->algo.master_xfer = i2c_mux_master_xfer; i2c_add_mux_adapter()
134 if (parent->algo->smbus_xfer) i2c_add_mux_adapter()
135 priv->algo.smbus_xfer = i2c_mux_smbus_xfer; i2c_add_mux_adapter()
136 priv->algo.functionality = i2c_mux_functionality; i2c_add_mux_adapter()
142 priv->adap.algo = &priv->algo; i2c_add_mux_adapter()
H A Di2c-core.c1393 if (unlikely(!adap->algo)) { i2c_register_adapter()
1395 "no algo!\n", adap->name); i2c_register_adapter()
2010 * takes place. adap->algo->master_xfer existence isn't checked.
2036 ret = adap->algo->master_xfer(adap, msgs, num); __i2c_transfer()
2088 if (adap->algo->master_xfer) { i2c_transfer()
2873 if (adapter->algo->smbus_xfer) { i2c_smbus_xfer()
2879 res = adapter->algo->smbus_xfer(adapter, addr, flags, i2c_smbus_xfer()
2890 if (res != -EOPNOTSUPP || !adapter->algo->master_xfer) i2c_smbus_xfer()
2927 if (!client->adapter->algo->reg_slave) i2c_slave_register()
2933 ret = client->adapter->algo->reg_slave(client); i2c_slave_register()
2947 if (!client->adapter->algo->unreg_slave) i2c_slave_unregister()
2951 ret = client->adapter->algo->unreg_slave(client); i2c_slave_unregister()
H A Di2c-stub.c320 .algo = &smbus_algorithm,
/linux-4.1.27/security/integrity/ima/
H A Dima_crypto.c84 static struct crypto_shash *ima_alloc_tfm(enum hash_algo algo) ima_alloc_tfm() argument
89 if (algo < 0 || algo >= HASH_ALGO__LAST) ima_alloc_tfm()
90 algo = ima_hash_algo; ima_alloc_tfm()
92 if (algo != ima_hash_algo) { ima_alloc_tfm()
93 tfm = crypto_alloc_shash(hash_algo_name[algo], 0, 0); ima_alloc_tfm()
97 hash_algo_name[algo], rc); ima_alloc_tfm()
171 static struct crypto_ahash *ima_alloc_atfm(enum hash_algo algo) ima_alloc_atfm() argument
176 if (algo < 0 || algo >= HASH_ALGO__LAST) ima_alloc_atfm()
177 algo = ima_hash_algo; ima_alloc_atfm()
179 if (algo != ima_hash_algo || !tfm) { ima_alloc_atfm()
180 tfm = crypto_alloc_ahash(hash_algo_name[algo], 0, 0); ima_alloc_atfm()
182 if (algo == ima_hash_algo) ima_alloc_atfm()
187 hash_algo_name[algo], rc); ima_alloc_atfm()
342 tfm = ima_alloc_atfm(hash->algo); ima_calc_file_ahash()
415 tfm = ima_alloc_tfm(hash->algo); ima_calc_file_shash()
510 tfm = ima_alloc_tfm(hash->algo); ima_calc_field_array_hash()
564 tfm = ima_alloc_tfm(hash->algo); ima_calc_boot_aggregate()
H A Dima_appraise.c52 u8 algo = iint->ima_hash->algo; ima_fix_xattr() local
54 if (algo <= HASH_ALGO_SHA1) { ima_fix_xattr()
60 iint->ima_hash->xattr.ng.algo = algo; ima_fix_xattr()
146 hash->algo = sig->hash_algo; ima_get_hash_algo()
149 hash->algo = xattr_value->digest[0]; ima_get_hash_algo()
156 hash->algo = HASH_ALGO_MD5; ima_get_hash_algo()
158 hash->algo = HASH_ALGO_SHA1; ima_get_hash_algo()
160 hash->algo = HASH_ALGO_MD5; ima_get_hash_algo()
H A Dima_template_lib.c19 static bool ima_template_hash_algo_allowed(u8 algo) ima_template_hash_algo_allowed() argument
21 if (algo == HASH_ALGO_SHA1 || algo == HASH_ALGO_MD5) ima_template_hash_algo_allowed()
166 * - DATA_FMT_DIGEST_WITH_ALGO: [<hash algo>] + ':' + '\0' + digest, ima_eventdigest_init_common()
167 * where <hash algo> is provided if the hash algoritm is not ima_eventdigest_init_common()
218 if (ima_template_hash_algo_allowed(iint->ima_hash->algo)) { ima_eventdigest_init()
228 hash.hdr.algo = ima_template_hash_algo_allowed(ima_hash_algo) ? ima_eventdigest_init()
262 hash_algo = iint->ima_hash->algo; ima_eventdigest_ng_init()
H A Dima_api.c107 /* this function uses default algo */ ima_store_template()
108 hash.hdr.algo = HASH_ALGO_SHA1; ima_store_template()
218 hash.hdr.algo = ima_hash_algo; ima_collect_measurement()
295 const char *algo_name = hash_algo_name[iint->ima_hash->algo]; ima_audit_measurement()
H A Dima_init.c68 iint->ima_hash->algo = HASH_ALGO_SHA1; ima_add_boot_aggregate()
/linux-4.1.27/drivers/video/fbdev/via/
H A Dvia_i2c.c203 struct i2c_algo_bit_data *algo, create_i2c_bus()
207 algo->setsda = via_i2c_setsda; create_i2c_bus()
208 algo->setscl = via_i2c_setscl; create_i2c_bus()
209 algo->getsda = via_i2c_getsda; create_i2c_bus()
210 algo->getscl = via_i2c_getscl; create_i2c_bus()
211 algo->udelay = 10; create_i2c_bus()
212 algo->timeout = 2; create_i2c_bus()
213 algo->data = adap_cfg; create_i2c_bus()
219 adapter->algo_data = algo; create_i2c_bus()
250 &i2c_stuff->algo, adap_cfg, viafb_i2c_probe()
202 create_i2c_bus(struct i2c_adapter *adapter, struct i2c_algo_bit_data *algo, struct via_port_cfg *adap_cfg, struct pci_dev *pdev) create_i2c_bus() argument
/linux-4.1.27/crypto/
H A Dtestmgr.c195 const char *algo = crypto_tfm_alg_driver_name(crypto_ahash_tfm(tfm)); __test_hash() local
220 "%s\n", algo); __test_hash()
248 j, algo, template[i].ksize, MAX_KEYLEN); __test_hash()
256 "test %d for %s: ret=%d\n", j, algo, __test_hash()
267 "for %s: ret=%d\n", j, algo, -ret); __test_hash()
274 "for %s: ret=%d\n", j, algo, -ret); __test_hash()
280 "for %s: ret=%d\n", j, algo, -ret); __test_hash()
286 "for %s: ret=%d\n", j, algo, -ret); __test_hash()
294 j, algo); __test_hash()
332 j, algo, template[i].ksize, MAX_KEYLEN); __test_hash()
343 "for %s: ret=%d\n", j, algo, -ret); __test_hash()
364 "ret=%d\n", j, algo, -ret); __test_hash()
371 "failed for %s\n", j, algo); __test_hash()
421 const char *algo = crypto_tfm_alg_driver_name(crypto_aead_tfm(tfm)); __test_aead() local
476 d, algo); __test_aead()
515 d, j, algo, template[i].klen, __test_aead()
525 d, j, algo, crypto_aead_get_flags(tfm)); __test_aead()
534 d, authsize, j, algo); __test_aead()
563 d, e, j, algo); __test_aead()
583 d, e, j, algo, -ret); __test_aead()
590 d, j, e, algo); __test_aead()
617 d, j, algo, template[i].klen, MAX_KEYLEN); __test_aead()
626 d, j, algo, crypto_aead_get_flags(tfm)); __test_aead()
667 d, authsize, j, algo); __test_aead()
713 d, e, j, algo); __test_aead()
733 d, e, j, algo, -ret); __test_aead()
752 d, j, e, k, algo); __test_aead()
771 d, j, e, k, algo, n); __test_aead()
834 const char *algo = crypto_tfm_alg_driver_name(crypto_cipher_tfm(tfm)); test_cipher() local
873 algo, crypto_cipher_get_flags(tfm)); test_cipher()
891 "on %s for %s\n", j, e, algo); test_cipher()
910 const char *algo = __test_skcipher() local
946 d, algo); __test_skcipher()
980 d, j, algo, crypto_ablkcipher_get_flags(tfm)); __test_skcipher()
1010 d, e, j, algo, -ret); __test_skcipher()
1017 d, j, e, algo); __test_skcipher()
1047 d, j, algo, crypto_ablkcipher_get_flags(tfm)); __test_skcipher()
1104 d, e, j, algo, -ret); __test_skcipher()
1121 d, j, e, k, algo); __test_skcipher()
1131 d, j, e, k, algo, n); __test_skcipher()
1187 const char *algo = crypto_tfm_alg_driver_name(crypto_comp_tfm(tfm)); test_comp() local
1203 "on test %d for %s: ret=%d\n", i + 1, algo, test_comp()
1210 "failed for %s: output len = %d\n", i + 1, algo, test_comp()
1218 "failed for %s\n", i + 1, algo); test_comp()
1236 "on test %d for %s: ret=%d\n", i + 1, algo, test_comp()
1243 "failed for %s: output len = %d\n", i + 1, algo, test_comp()
1251 "failed for %s\n", i + 1, algo); test_comp()
1269 const char *algo = crypto_tfm_alg_driver_name(crypto_pcomp_tfm(tfm)); test_pcomp() local
1282 "%d for %s: error=%d\n", i + 1, algo, res); test_pcomp()
1289 "%d for %s: error=%d\n", i + 1, algo, res); test_pcomp()
1303 "%d for %s: error=%d\n", i + 1, algo, res); test_pcomp()
1315 "%d for %s: error=%d\n", i + 1, algo, res); test_pcomp()
1327 "%d for %s: error=%d\n", i + 1, algo, res); test_pcomp()
1334 "output len = %d (expected %d)\n", i + 1, algo, test_pcomp()
1343 algo, produced, ctemplate[i].outlen); test_pcomp()
1349 "%s\n", i + 1, algo); test_pcomp()
1363 "test %d for %s: error=%d\n", i + 1, algo, res); test_pcomp()
1370 "%d for %s: error=%d\n", i + 1, algo, res); test_pcomp()
1384 "test %d for %s: error=%d\n", i + 1, algo, res); test_pcomp()
1396 "test %d for %s: error=%d\n", i + 1, algo, res); test_pcomp()
1408 "test %d for %s: error=%d\n", i + 1, algo, res); test_pcomp()
1417 algo, COMP_BUF_SIZE - req.avail_out, test_pcomp()
1425 algo, produced, dtemplate[i].outlen); test_pcomp()
1431 "%s\n", i + 1, algo); test_pcomp()
1444 const char *algo = crypto_tfm_alg_driver_name(crypto_rng_tfm(tfm)); test_cprng() local
1454 "for %s\n", algo); test_cprng()
1470 "for %s\n", algo); test_cprng()
1480 "%s (requested %d)\n", algo, test_cprng()
1490 i, algo); test_cprng()
H A Dtcrypt.c268 static void test_aead_speed(const char *algo, int enc, unsigned int secs, test_aead_speed() argument
317 tfm = crypto_alloc_aead(algo, 0, 0); test_aead_speed()
320 pr_err("alg: aead: Failed to load transform for %s: %ld\n", algo, test_aead_speed()
325 printk(KERN_INFO "\ntesting speed of %s (%s) %s\n", algo, test_aead_speed()
331 algo); test_aead_speed()
419 static void test_cipher_speed(const char *algo, int enc, unsigned int secs, test_cipher_speed() argument
436 tfm = crypto_alloc_blkcipher(algo, 0, CRYPTO_ALG_ASYNC); test_cipher_speed()
439 printk("failed to load transform for %s: %ld\n", algo, test_cipher_speed()
446 printk(KERN_INFO "\ntesting speed of %s (%s) %s\n", algo, test_cipher_speed()
688 static void test_hash_speed(const char *algo, unsigned int secs, test_hash_speed() argument
698 tfm = crypto_alloc_hash(algo, 0, CRYPTO_ALG_ASYNC); test_hash_speed()
701 printk(KERN_ERR "failed to load transform for %s: %ld\n", algo, test_hash_speed()
706 printk(KERN_INFO "\ntesting speed of %s (%s)\n", algo, test_hash_speed()
926 static void test_ahash_speed(const char *algo, unsigned int secs, test_ahash_speed() argument
936 tfm = crypto_alloc_ahash(algo, 0, 0); test_ahash_speed()
939 algo, PTR_ERR(tfm)); test_ahash_speed()
943 printk(KERN_INFO "\ntesting speed of async %s (%s)\n", algo, test_ahash_speed()
1080 static void test_acipher_speed(const char *algo, int enc, unsigned int secs, test_acipher_speed() argument
1100 tfm = crypto_alloc_ablkcipher(algo, 0, 0); test_acipher_speed()
1103 pr_err("failed to load transform for %s: %ld\n", algo, test_acipher_speed()
1108 pr_info("\ntesting speed of async %s (%s) %s\n", algo, test_acipher_speed()
1114 algo); test_acipher_speed()
/linux-4.1.27/drivers/media/usb/dvb-usb/
H A Ddvb-usb-i2c.c23 d->i2c_adap.algo = d->props.i2c_algo; dvb_usb_i2c_init()
/linux-4.1.27/drivers/video/fbdev/intelfb/
H A Dintelfb_i2c.c35 #include <linux/i2c-algo-bit.h>
113 chan->adapter.algo_data = &chan->algo; intelfb_setup_i2c_bus()
115 chan->algo.setsda = intelfb_gpio_setsda; intelfb_setup_i2c_bus()
116 chan->algo.setscl = intelfb_gpio_setscl; intelfb_setup_i2c_bus()
117 chan->algo.getsda = intelfb_gpio_getsda; intelfb_setup_i2c_bus()
118 chan->algo.getscl = intelfb_gpio_getscl; intelfb_setup_i2c_bus()
119 chan->algo.udelay = 40; intelfb_setup_i2c_bus()
120 chan->algo.timeout = 20; intelfb_setup_i2c_bus()
121 chan->algo.data = chan; intelfb_setup_i2c_bus()
H A Dintelfb.h11 #include <linux/i2c-algo-bit.h>
251 struct i2c_algo_bit_data algo; member in struct:intelfb_i2c_chan
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Danx9805.c154 if (mast->adapter.algo == &i2c_bit_algo) { anx9805_aux_chan_ctor()
155 struct i2c_algo_bit_data *algo = mast->adapter.algo_data; anx9805_aux_chan_ctor() local
156 algo->udelay = max(algo->udelay, 40); anx9805_aux_chan_ctor()
269 if (mast->adapter.algo == &i2c_bit_algo) { anx9805_ddc_port_ctor()
270 struct i2c_algo_bit_data *algo = mast->adapter.algo_data; anx9805_ddc_port_ctor() local
271 algo->udelay = max(algo->udelay, 40); anx9805_ddc_port_ctor()
H A Dbase.c111 const struct i2c_algorithm *algo, nvkm_i2c_port_create_()
134 if ( algo == &nvkm_i2c_bit_algo && nvkm_i2c_port_create_()
156 port->adapter.algo = algo; nvkm_i2c_port_create_()
298 if ((port->adapter.algo == &i2c_bit_algo) && nvkm_i2c_identify()
300 struct i2c_algo_bit_data *algo = port->adapter.algo_data; nvkm_i2c_identify() local
302 info[i].udelay, algo->udelay); nvkm_i2c_identify()
303 orig_udelay = algo->udelay; nvkm_i2c_identify()
304 algo->udelay = info[i].udelay; nvkm_i2c_identify()
315 struct i2c_algo_bit_data *algo = port->adapter.algo_data; nvkm_i2c_identify() local
316 algo->udelay = orig_udelay; nvkm_i2c_identify()
109 nvkm_i2c_port_create_(struct nvkm_object *parent, struct nvkm_object *engine, struct nvkm_oclass *oclass, u8 index, const struct i2c_algorithm *algo, const struct nvkm_i2c_func *func, int size, void **pobject) nvkm_i2c_port_create_() argument
/linux-4.1.27/drivers/crypto/qat/qat_common/
H A Dicp_qat_hw.h122 #define ICP_QAT_HW_AUTH_CONFIG_BUILD(mode, algo, cmp_len) \
124 ((algo & QAT_AUTH_ALGO_MASK) << QAT_AUTH_ALGO_BITPOS) | \
125 (((algo >> 4) & QAT_AUTH_ALGO_SHA3_MASK) << \
127 (((((algo == ICP_QAT_HW_AUTH_ALGO_SHA3_256) || \
128 (algo == ICP_QAT_HW_AUTH_ALGO_SHA3_512)) ? 1 : 0) \
254 #define ICP_QAT_HW_CIPHER_CONFIG_BUILD(mode, algo, convert, dir) \
256 ((algo & QAT_CIPHER_ALGO_MASK) << QAT_CIPHER_ALGO_BITPOS) | \
/linux-4.1.27/drivers/media/pci/cx88/
H A Dcx88-vp3054-i2c.c121 vp3054_i2c->algo = vp3054_i2c_algo_template; vp3054_i2c_probe()
127 vp3054_i2c->algo.data = dev; vp3054_i2c_probe()
129 vp3054_i2c->adap.algo_data = &vp3054_i2c->algo; vp3054_i2c_probe()
H A Dcx88-vp3054-i2c.h28 struct i2c_algo_bit_data algo; member in struct:vp3054_i2c_state
/linux-4.1.27/net/sched/
H A Dem_text.c66 ts_conf = textsearch_prepare(conf->algo, (u8 *) conf + sizeof(*conf), em_text_change()
113 strncpy(conf.algo, tm->config->ops->name, sizeof(conf.algo) - 1); em_text_dump()
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/
H A Dos.h14 #include <linux/i2c-algo-bit.h>
/linux-4.1.27/drivers/watchdog/
H A Dgpio_wdt.c169 const char *algo; gpio_wdt_probe() local
182 ret = of_property_read_string(pdev->dev.of_node, "hw_algo", &algo); gpio_wdt_probe()
185 if (!strncmp(algo, "toggle", 6)) { gpio_wdt_probe()
188 } else if (!strncmp(algo, "level", 5)) { gpio_wdt_probe()
/linux-4.1.27/net/netfilter/
H A Dxt_string.c49 if (conf->algo[XT_STRING_MAX_ALGO_NAME_SIZE - 1] != '\0') string_mt_check()
58 ts_conf = textsearch_prepare(conf->algo, conf->pattern, conf->patlen, string_mt_check()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_i2c.c30 #include <linux/i2c-algo-bit.h>
188 struct i2c_algo_bit_data *algo; intel_gpio_setup() local
190 algo = &bus->bit_algo; intel_gpio_setup()
195 bus->adapter.algo_data = algo; intel_gpio_setup()
196 algo->setsda = set_data; intel_gpio_setup()
197 algo->setscl = set_clock; intel_gpio_setup()
198 algo->getsda = get_data; intel_gpio_setup()
199 algo->getscl = get_clock; intel_gpio_setup()
200 algo->pre_xfer = intel_gpio_pre_xfer; intel_gpio_setup()
201 algo->post_xfer = intel_gpio_post_xfer; intel_gpio_setup()
202 algo->udelay = I2C_RISEFALL_TIME; intel_gpio_setup()
203 algo->timeout = usecs_to_jiffies(2200); intel_gpio_setup()
204 algo->data = bus; intel_gpio_setup()
608 bus->adapter.algo = &gmbus_algorithm; intel_setup_gmbus()
/linux-4.1.27/security/integrity/evm/
H A Devm_crypto.c38 char *algo; init_desc() local
44 algo = evm_hmac; init_desc()
47 algo = evm_hash; init_desc()
54 *tfm = crypto_alloc_shash(algo, 0, CRYPTO_ALG_ASYNC); init_desc()
57 pr_err("Can not allocate %s (reason: %ld)\n", algo, rc); init_desc()
/linux-4.1.27/lib/
H A Dgenalloc.c161 pool->algo = gen_pool_first_fit; gen_pool_create()
292 start_bit = pool->algo(chunk->bits, end_bit, start_bit, nbits, gen_pool_alloc()
474 * @algo: custom algorithm function
475 * @data: additional data used by @algo
477 * Call @algo for each memory allocation in the pool.
478 * If @algo is NULL use gen_pool_first_fit as default
481 void gen_pool_set_algo(struct gen_pool *pool, genpool_algo_t algo, void *data) gen_pool_set_algo() argument
485 pool->algo = algo; gen_pool_set_algo()
486 if (!pool->algo) gen_pool_set_algo()
487 pool->algo = gen_pool_first_fit; gen_pool_set_algo()
H A Dtextsearch.c245 * @algo: name of search algorithm
261 struct ts_config *textsearch_prepare(const char *algo, const void *pattern, textsearch_prepare() argument
271 ops = lookup_ts_algo(algo); textsearch_prepare()
279 request_module("ts_%s", algo); textsearch_prepare()
280 ops = lookup_ts_algo(algo); textsearch_prepare()
H A Ddigsig.c97 if (pkh->algo != PUBKEY_ALGO_RSA) digsig_verify_rsa()
202 if (sh->algo != PUBKEY_ALGO_RSA) digsig_verify()
/linux-4.1.27/drivers/media/pci/ivtv/
H A Divtv-i2c.c23 from the Hauppauge windows driver. Older ivtv versions used i2c-algo-bit,
29 The implementation is very similar to i2c-algo-bit, but there are enough
31 employed by i2c-algo-bit is to use udelay() to implement the timing
40 i2c-algo-bit would be to try to make it follow the same code path.
42 provide a generic benefit to i2c-algo-bit. Therefore consider this
636 .algo = &ivtv_algo,
683 /* template for i2c-bit-algo */
686 .algo = NULL, /* set by i2c-algo-bit */
H A Divtv-gpio.c130 struct i2c_algo_bit_data *algo = dev; ivtv_reset_tuner_gpio() local
131 struct ivtv *itv = algo->data; ivtv_reset_tuner_gpio()
/linux-4.1.27/drivers/char/
H A Dmbcs.c283 struct algoblock *algo_soft = &soft->algo; mbcs_algo_start()
583 struct algoblock *algo; mbcs_intr_alloc() local
588 algo = &soft->algo; mbcs_intr_alloc()
634 algo->intrHostDest = sn_irq->irq_xtalkaddr; mbcs_intr_alloc()
635 algo->intrVector = sn_irq->irq_irq; mbcs_intr_alloc()
638 "MBCS algo intr", (void *)soft)) { mbcs_intr_alloc()
744 DEVICE_ATTR(algo, 0644, show_algo, store_algo);
778 mbcs_algo_init(&soft->algo); mbcs_probe()
H A Dmbcs.h471 struct algo_mmr algo; member in struct:mbcs_mmr
531 struct algoblock algo; member in struct:mbcs_soft
/linux-4.1.27/drivers/video/fbdev/
H A Dtdfxfb.c1216 We rely on the i2c-algo-bit routines to set the pins high before
1289 chan->adapter.algo_data = &chan->algo; tdfxfb_setup_ddc_bus()
1291 chan->algo.setsda = tdfxfb_ddc_setsda; tdfxfb_setup_ddc_bus()
1292 chan->algo.setscl = tdfxfb_ddc_setscl; tdfxfb_setup_ddc_bus()
1293 chan->algo.getsda = tdfxfb_ddc_getsda; tdfxfb_setup_ddc_bus()
1294 chan->algo.getscl = tdfxfb_ddc_getscl; tdfxfb_setup_ddc_bus()
1295 chan->algo.udelay = 10; tdfxfb_setup_ddc_bus()
1296 chan->algo.timeout = msecs_to_jiffies(500); tdfxfb_setup_ddc_bus()
1297 chan->algo.data = chan; tdfxfb_setup_ddc_bus()
1317 chan->adapter.algo_data = &chan->algo; tdfxfb_setup_i2c_bus()
1319 chan->algo.setsda = tdfxfb_i2c_setsda; tdfxfb_setup_i2c_bus()
1320 chan->algo.setscl = tdfxfb_i2c_setscl; tdfxfb_setup_i2c_bus()
1321 chan->algo.getsda = tdfxfb_i2c_getsda; tdfxfb_setup_i2c_bus()
1322 chan->algo.getscl = tdfxfb_i2c_getscl; tdfxfb_setup_i2c_bus()
1323 chan->algo.udelay = 10; tdfxfb_setup_i2c_bus()
1324 chan->algo.timeout = msecs_to_jiffies(500); tdfxfb_setup_i2c_bus()
1325 chan->algo.data = chan; tdfxfb_setup_i2c_bus()
/linux-4.1.27/drivers/mfd/
H A D88pm860x-i2c.c115 ret = adap->algo->master_xfer(adap, msg, num); read_device()
137 ret = adap->algo->master_xfer(adap, &msg, 1); write_device()
/linux-4.1.27/include/video/
H A Dtdfx.h5 #include <linux/i2c-algo-bit.h>
191 struct i2c_algo_bit_data algo; member in struct:tdfxfb_i2c_chan
/linux-4.1.27/security/integrity/
H A Dintegrity.h75 u8 algo; member in struct:ima_digest_data
84 u8 algo; member in struct:ima_digest_data::__anon14299::__anon14301
/linux-4.1.27/drivers/i2c/muxes/
H A Di2c-mux-pca9541.c97 if (adap->algo->master_xfer) { pca9541_reg_write()
112 ret = adap->algo->smbus_xfer(adap, client->addr, pca9541_reg_write()
132 if (adap->algo->master_xfer) { pca9541_reg_read()
155 ret = adap->algo->smbus_xfer(adap, client->addr, pca9541_reg_read()
H A Di2c-mux-pca954x.c128 if (adap->algo->master_xfer) { pca954x_reg_write()
140 ret = adap->algo->smbus_xfer(adap, client->addr, pca954x_reg_write()
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
H A Drs.h44 u8 prev_rs; /* previous rate used in rs algo */
45 u8 next_rs; /* next rate used in rs algo */
46 u8 prev_rs_tgg; /* previous rate used in TGG rs algo */
47 u8 next_rs_tgg; /* next rate used in TGG rs algo */
/linux-4.1.27/drivers/video/fbdev/core/
H A Dfb_ddc.c15 #include <linux/i2c-algo-bit.h>
/linux-4.1.27/scripts/
H A Dsign-file7 "Usage: scripts/sign-file [-v] <hash algo> <key> <x509> <module> [<dest>]\n" .
8 " scripts/sign-file [-v] -s <raw sig> <hash algo> <x509> <module> [<dest>]\n";
311 my $algo = 1; # Public-key crypto algorithm: RSA
391 $algo, $hash, $id_type,
/linux-4.1.27/include/crypto/
H A Dpublic_key.h48 const struct public_key_algorithm *algo; member in struct:public_key
/linux-4.1.27/drivers/media/pci/cx18/
H A Dcx18-i2c.c212 /* template for i2c-bit-algo */
215 .algo = NULL, /* set by i2c-algo-bit */
H A Dcx18-gpio.c340 struct i2c_algo_bit_data *algo = dev; cx18_reset_tuner_gpio() local
341 struct cx18_i2c_algo_callback_data *cb_data = algo->data; cx18_reset_tuner_gpio()
/linux-4.1.27/drivers/media/usb/stk1160/
H A Dstk1160-i2c.c238 static struct i2c_algorithm algo = { variable in typeref:struct:i2c_algorithm
246 .algo = &algo,
/linux-4.1.27/drivers/media/common/b2c2/
H A Dflexcop-i2c.c248 fc->fc_i2c_adap[0].i2c_adap.algo = flexcop_i2c_init()
249 fc->fc_i2c_adap[1].i2c_adap.algo = flexcop_i2c_init()
250 fc->fc_i2c_adap[2].i2c_adap.algo = &flexcop_algo; flexcop_i2c_init()
/linux-4.1.27/net/xfrm/
H A Dxfrm_user.c271 struct xfrm_algo_desc *algo; attach_one_algo() local
278 algo = get_byname(ualg->alg_name, 1); attach_one_algo()
279 if (!algo) attach_one_algo()
281 *props = algo->desc.sadb_alg_id; attach_one_algo()
287 strcpy(p->alg_name, algo->name); attach_one_algo()
297 struct xfrm_algo_desc *algo; attach_auth() local
304 algo = xfrm_aalg_get_byname(ualg->alg_name, 1); attach_auth()
305 if (!algo) attach_auth()
307 *props = algo->desc.sadb_alg_id; attach_auth()
313 strcpy(p->alg_name, algo->name); attach_auth()
315 p->alg_trunc_len = algo->uinfo.auth.icv_truncbits; attach_auth()
326 struct xfrm_algo_desc *algo; attach_auth_trunc() local
333 algo = xfrm_aalg_get_byname(ualg->alg_name, 1); attach_auth_trunc()
334 if (!algo) attach_auth_trunc()
336 if (ualg->alg_trunc_len > algo->uinfo.auth.icv_fullbits) attach_auth_trunc()
338 *props = algo->desc.sadb_alg_id; attach_auth_trunc()
344 strcpy(p->alg_name, algo->name); attach_auth_trunc()
346 p->alg_trunc_len = algo->uinfo.auth.icv_truncbits; attach_auth_trunc()
356 struct xfrm_algo_desc *algo; attach_aead() local
363 algo = xfrm_aead_get_byname(ualg->alg_name, ualg->alg_icv_len, 1); attach_aead()
364 if (!algo) attach_aead()
366 *props = algo->desc.sadb_alg_id; attach_aead()
372 strcpy(p->alg_name, algo->name); attach_aead()
749 struct xfrm_algo *algo; copy_to_user_auth() local
753 sizeof(*algo) + (auth->alg_key_len + 7) / 8); copy_to_user_auth()
757 algo = nla_data(nla); copy_to_user_auth()
758 strncpy(algo->alg_name, auth->alg_name, sizeof(algo->alg_name)); copy_to_user_auth()
759 memcpy(algo->alg_key, auth->alg_key, (auth->alg_key_len + 7) / 8); copy_to_user_auth()
760 algo->alg_key_len = auth->alg_key_len; copy_to_user_auth()
/linux-4.1.27/sound/soc/intel/atom/
H A Dsst-atom-controls.c288 * sst_find_and_send_pipe_algo - send all the algo parameters for a pipe
299 struct sst_module *algo = NULL; sst_find_and_send_pipe_algo() local
303 list_for_each_entry(algo, &ids->algo_list, node) { sst_find_and_send_pipe_algo()
304 bc = (void *)algo->kctl->private_value; sst_find_and_send_pipe_algo()
306 dev_dbg(&drv->pdev->dev, "Found algo control name=%s pipe=%s\n", sst_find_and_send_pipe_algo()
307 algo->kctl->id.name, pipe); sst_find_and_send_pipe_algo()
337 dev_err(component->dev, "Invalid Input- algo type:%d\n", sst_algo_control_get()
361 dev_err(cmpnt->dev, "Invalid Input- algo type:%d\n", sst_algo_control_set()
365 /*if pipe is enabled, need to send the algo params from here*/ sst_algo_control_set()
1136 /*allocate space to cache the algo parameters in the driver*/ sst_algo_control_init()
1225 * Widget pointer is used to send the algo/gain in the .put() handler if the
1228 * Kcontrol pointer is used to send the algo/gain in the widget power ON/OFF
1346 * sst_map_modules_to_pipe - fill algo/gains list for all pipes
1405 /* Initialize algo control params */ sst_dsp_init_v2_dpcm()
/linux-4.1.27/drivers/net/wireless/p54/
H A Dmain.c511 u8 algo = 0; p54_set_key() local
538 algo = P54_CRYPTO_TKIPMICHAEL; p54_set_key()
547 algo = P54_CRYPTO_WEP; p54_set_key()
555 algo = P54_CRYPTO_AESCCMP; p54_set_key()
590 algo = 0; p54_set_key()
596 ret = p54_upload_key(priv, algo, slot, key->keyidx, p54_set_key()
H A Dfwio.c656 int p54_upload_key(struct p54_common *priv, u8 algo, int slot, u8 idx, u8 len, p54_upload_key() argument
670 rxkey->key_type = algo; p54_upload_key()
676 switch (algo) { p54_upload_key()
697 "invalid cryptographic algorithm: %d\n", algo); p54_upload_key()
H A Dlmac.h551 int p54_upload_key(struct p54_common *priv, u8 algo, int slot,
/linux-4.1.27/drivers/media/dvb-frontends/
H A Ddibx000_common.c418 struct i2c_algorithm *algo, const char *name, i2c_adapter_init()
422 i2c_adap->algo = algo; i2c_adapter_init()
417 i2c_adapter_init(struct i2c_adapter *i2c_adap, struct i2c_algorithm *algo, const char *name, struct dibx000_i2c_master *mst) i2c_adapter_init() argument
H A Dstv0900_sw.c639 enum fe_stv0900_search_algo algo) stv0900_get_lock_timeout()
641 switch (algo) { stv0900_get_lock_timeout()
682 if (algo == STV0900_WARM_START) stv0900_get_lock_timeout()
1831 enum fe_stv0900_search_algo algo; stv0900_algo() local
1836 algo = intp->srch_algo[demod]; stv0900_algo()
1951 if (algo == STV0900_BLIND_SEARCH) stv0900_algo()
1953 else if (algo == STV0900_COLD_START) stv0900_algo()
1955 else if (algo == STV0900_WARM_START) stv0900_algo()
1958 if ((lock == FALSE) && (algo == STV0900_COLD_START)) { stv0900_algo()
637 stv0900_get_lock_timeout(s32 *demod_timeout, s32 *fec_timeout, s32 srate, enum fe_stv0900_search_algo algo) stv0900_get_lock_timeout() argument
H A Dstv090x_priv.h266 enum stv090x_algo algo; member in struct:stv090x_state
H A Dstv090x.c820 switch (state->algo) { stv090x_get_lock_tmg()
861 if (state->algo == STV090x_WARM_SEARCH) stv090x_get_lock_tmg()
1462 if (state->algo == STV090x_WARM_SEARCH) { stv090x_start_search()
1573 switch (state->algo) { stv090x_start_search()
2610 if (state->algo == STV090x_BLIND_SEARCH) { stv090x_get_sig_params()
2647 if ((state->algo == STV090x_BLIND_SEARCH) || (state->srate < 10000000)) { stv090x_get_sig_params()
2979 if (state->algo == STV090x_BLIND_SEARCH) { stv090x_optimize_track()
3030 if (state->algo != STV090x_WARM_SEARCH) { stv090x_optimize_track()
3045 if ((state->algo == STV090x_BLIND_SEARCH) || (state->srate < 10000000)) stv090x_optimize_track()
3207 if (state->algo == STV090x_BLIND_SEARCH) { stv090x_algo()
3238 if (state->algo == STV090x_COLD_SEARCH) stv090x_algo()
3240 else if (state->algo == STV090x_WARM_SEARCH) stv090x_algo()
3345 if (state->algo != STV090x_BLIND_SEARCH) { stv090x_algo()
3354 if (state->algo == STV090x_BLIND_SEARCH) stv090x_algo()
3357 else if (state->algo == STV090x_COLD_SEARCH) stv090x_algo()
3360 else if (state->algo == STV090x_WARM_SEARCH) stv090x_algo()
3363 if ((!lock) && (state->algo == STV090x_COLD_SEARCH)) { stv090x_algo()
3490 state->algo = STV090x_COLD_SEARCH; stv090x_search()
/linux-4.1.27/drivers/media/pci/saa7164/
H A Dsaa7164-i2c.c87 .algo = &saa7164_i2c_algo_template,
/linux-4.1.27/drivers/media/platform/exynos4-is/
H A Dfimc-is-i2c.c55 i2c_adap->algo = &fimc_is_i2c_algorithm; fimc_is_i2c_probe()
/linux-4.1.27/drivers/media/platform/omap3isp/
H A Dispresizer.h71 u8 algo; /* algorithm select. */ member in struct:resizer_luma_yenh
/linux-4.1.27/drivers/video/fbdev/mb862xx/
H A Dmb862xx-i2c.c154 .algo = &mb862xx_algo,
/linux-4.1.27/drivers/media/usb/au0828/
H A Dau0828-i2c.c346 .algo = &au0828_i2c_algo_template,
388 dev->i2c_adap.algo = &dev->i2c_algo; au0828_i2c_register()
H A Dau0828.h27 #include <linux/i2c-algo-bit.h>
/linux-4.1.27/kernel/
H A Dmodule_signing.c31 u8 algo; /* Public-key crypto algorithm [enum pkey_algo] */ member in struct:module_signature
216 if (ms.algo != PKEY_ALGO_RSA || mod_verify_sig()
/linux-4.1.27/drivers/media/pci/mantis/
H A Dmantis_i2c.c232 i2c_adapter->algo = &mantis_algo; mantis_i2c_init()
/linux-4.1.27/drivers/media/pci/ngene/
H A Dngene-i2c.c170 adap->algo = &ngene_i2c_algo; ngene_i2c_init()
/linux-4.1.27/drivers/media/pci/zoran/
H A Dzoran_procfs.c38 #include <linux/i2c-algo-bit.h>
/linux-4.1.27/drivers/media/usb/hdpvr/
H A Dhdpvr-i2c.c191 .algo = &hdpvr_algo,
/linux-4.1.27/drivers/net/wireless/rsi/
H A Drsi_main.h198 /* WMM algo related */
/linux-4.1.27/drivers/gpu/drm/mgag200/
H A Dmgag200_i2c.c30 #include <linux/i2c-algo-bit.h>
H A Dmgag200_drv.h28 #include <linux/i2c-algo-bit.h>
/linux-4.1.27/drivers/gpu/drm/msm/hdmi/
H A Dhdmi_i2c.c267 i2c->algo = &hdmi_i2c_algorithm; hdmi_i2c_init()
/linux-4.1.27/arch/arm/mach-ks8695/
H A Dboard-acs5k.c21 #include <linux/i2c-algo-bit.h>
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Drs.h43 u8 prev_rs; /* previous rate used in rs algo */
44 u8 next_rs; /* next rate used in rs algo */
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dcfg80211.c446 key_le->algo = cpu_to_le32(key->algo); convert_key_from_CPU()
1678 key.algo = CRYPTO_ALGO_WEP1; brcmf_set_sharedkey()
1681 key.algo = CRYPTO_ALGO_WEP128; brcmf_set_sharedkey()
1689 brcmf_dbg(CONN, "key length (%d) key index (%d) algo (%d)\n", brcmf_set_sharedkey()
1690 key.len, key.index, key.algo); brcmf_set_sharedkey()
2107 key.algo = CRYPTO_ALGO_WEP1; brcmf_add_keyext()
2111 key.algo = CRYPTO_ALGO_WEP128; brcmf_add_keyext()
2115 key.algo = CRYPTO_ALGO_TKIP; brcmf_add_keyext()
2119 key.algo = CRYPTO_ALGO_AES_CCM; brcmf_add_keyext()
2123 key.algo = CRYPTO_ALGO_AES_CCM; brcmf_add_keyext()
2183 key->algo = CRYPTO_ALGO_WEP1; brcmf_cfg80211_add_key()
2188 key->algo = CRYPTO_ALGO_WEP128; brcmf_cfg80211_add_key()
2199 key->algo = CRYPTO_ALGO_TKIP; brcmf_cfg80211_add_key()
2204 key->algo = CRYPTO_ALGO_AES_CCM; brcmf_cfg80211_add_key()
2209 key->algo = CRYPTO_ALGO_AES_CCM; brcmf_cfg80211_add_key()
2261 key.algo = CRYPTO_ALGO_OFF; brcmf_cfg80211_del_key()
2314 brcmf_err("Invalid algo (0x%x)\n", wsec); brcmf_cfg80211_get_key()
2344 if ((key->algo == CRYPTO_ALGO_WEP1) || brcmf_cfg80211_reconfigure_wep()
2345 (key->algo == CRYPTO_ALGO_WEP128)) brcmf_cfg80211_reconfigure_wep()
H A Dbtcoex.c160 brcmf_dbg(INFO, "new SCO/eSCO coex algo {save & override}\n"); brcmf_btcoex_boost_wifi()
182 brcmf_dbg(INFO, "Do new SCO/eSCO coex algo {restore}\n"); brcmf_btcoex_boost_wifi()
H A Dfwil_types.h409 u32 algo; /* CRYPTO_ALGO_AES_CCM, CRYPTO_ALGO_WEP128, etc */ member in struct:brcmf_wsec_key
431 __le32 algo; /* CRYPTO_ALGO_AES_CCM, CRYPTO_ALGO_WEP128, etc */ member in struct:brcmf_wsec_key_le
/linux-4.1.27/drivers/crypto/
H A Dixp4xx_crypto.c654 const struct ix_hash_algo *algo; setup_auth() local
658 algo = ix_hash(tfm); setup_auth()
661 cfgword = algo->cfgword | ( authsize << 6); /* (authsize/4) << 8 */ setup_auth()
669 memcpy(cinfo, algo->icv, digest_len); setup_auth()
673 + sizeof(algo->cfgword); setup_auth()
H A Dgeode-aes.c265 printk(KERN_ERR "Error allocating fallback algo %s\n", name); fallback_init_cip()
375 printk(KERN_ERR "Error allocating fallback algo %s\n", name); fallback_init_blk()
/linux-4.1.27/fs/isofs/
H A Drock.c542 int algo; parse_rock_ridge_inode_internal() local
546 algo = isonum_721(rr->u.ZF.algorithm); parse_rock_ridge_inode_internal()
547 if (algo == SIG('p', 'z')) { parse_rock_ridge_inode_internal()
/linux-4.1.27/drivers/media/platform/marvell-ccic/
H A Dmmp-driver.c255 * Calculate CSI2_DPHY3 algo for PXA910 mmpcam_calc_dphy()
263 * Calculate CSI2_DPHY3 algo for PXA2128 mmpcam_calc_dphy()
/linux-4.1.27/drivers/media/pci/cx23885/
H A Dcx23885-i2c.c271 .algo = &cx23885_i2c_algo_template,
/linux-4.1.27/drivers/media/pci/cx25821/
H A Dcx25821-i2c.c295 .algo = &cx25821_i2c_algo_template,
/linux-4.1.27/drivers/media/pci/smipcie/
H A Dsmipcie.h21 #include <linux/i2c-algo-bit.h>
/linux-4.1.27/drivers/media/pci/solo6x10/
H A Dsolo6x10-i2c.c295 adap->algo = &solo_i2c_algo; solo_i2c_init()
/linux-4.1.27/drivers/media/platform/soc_camera/
H A Dmx2_camera.c207 int algo; /* type of algorithm used */ member in struct:emma_prp_resize
607 if (pcdev->resizing[dir].algo == RESIZE_ALGO_BILINEAR) mx2_prp_resize_commit()
1041 tmprsz.algo = RESIZE_ALGO_AVERAGING; mx2_emmaprp_resize()
1072 tmprsz.algo = RESIZE_ALGO_BILINEAR; mx2_emmaprp_resize()
/linux-4.1.27/drivers/media/rc/
H A Digorplugusb.c11 * <hochstein@algo.informatik.tu-darmstadt.de>
/linux-4.1.27/drivers/media/usb/go7007/
H A Dgo7007-i2c.c203 .algo = &go7007_algo,
/linux-4.1.27/drivers/media/usb/tm6000/
H A Dtm6000-i2c.c310 dev->i2c_adap.algo = &tm6000_algo; tm6000_i2c_register()
/linux-4.1.27/drivers/staging/rtl8723au/core/
H A Drtw_cmd.c547 u32 algo = padapter->securitypriv.dot11PrivacyAlgrthm; rtw_joinbss_cmd23a() local
552 if (algo != WLAN_CIPHER_SUITE_WEP40 && rtw_joinbss_cmd23a()
553 algo != WLAN_CIPHER_SUITE_WEP104 && rtw_joinbss_cmd23a()
554 algo != WLAN_CIPHER_SUITE_TKIP) { rtw_joinbss_cmd23a()
/linux-4.1.27/arch/mips/include/asm/ip32/
H A Dmace.h250 * -> drivers/i2c/algos/i2c-algo-sgi.c */
/linux-4.1.27/arch/sh/boards/
H A Dboard-sh7785lcr.c21 #include <linux/i2c-algo-pca.h>
/linux-4.1.27/drivers/net/wireless/iwlegacy/
H A Dcommon.h2482 u8 prev_rs; /* previous rate used in rs algo */
2483 u8 next_rs; /* next rate used in rs algo */
2484 u8 prev_rs_tgg; /* previous rate used in TGG rs algo */
2485 u8 next_rs_tgg; /* next rate used in TGG rs algo */
2493 u8 prev_rs; /* previous rate used in rs algo */
2494 u8 next_rs; /* next rate used in rs algo */
2495 u8 prev_rs_tgg; /* previous rate used in TGG rs algo */
2496 u8 next_rs_tgg; /* next rate used in TGG rs algo */
/linux-4.1.27/drivers/char/tpm/
H A Dtpm_i2c_infineon.c115 if (!tpm_dev.client->adapter->algo->master_xfer) iic_tpm_read()
188 if (!tpm_dev.client->adapter->algo->master_xfer) iic_tpm_write_generic()
/linux-4.1.27/drivers/media/pci/bt8xx/
H A Dbttv-i2c.c360 btv->c.i2c_adap.algo = &bttv_algo; init_bttv_i2c()
H A Dbttvp.h31 #include <linux/i2c-algo-bit.h>
/linux-4.1.27/drivers/media/pci/saa7134/
H A Dsaa7134-i2c.c344 .algo = &saa7134_algo,
/linux-4.1.27/drivers/media/usb/usbvision/
H A Dusbvision-i2c.c211 usbvision->i2c_adap.algo = &usbvision_algo; usbvision_i2c_register()
/linux-4.1.27/drivers/gpu/drm/ast/
H A Dast_drv.h42 #include <linux/i2c-algo-bit.h>
/linux-4.1.27/arch/powerpc/kernel/
H A Deeh_cache.c46 * than any hash algo I could think of for this problem, even
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/
H A Ddvb_usb_core.c77 d->i2c_adap.algo = d->props->i2c_algo; dvb_usbv2_i2c_init()
83 d->i2c_adap.algo = NULL; dvb_usbv2_i2c_init()
99 if (d->i2c_adap.algo) dvb_usbv2_i2c_exit()
/linux-4.1.27/drivers/net/ethernet/intel/igb/
H A Digb.h38 #include <linux/i2c-algo-bit.h>
/linux-4.1.27/drivers/media/radio/si4713/
H A Dradio-usb-si4713.c415 .algo = &si4713_algo,

Completed in 5403 milliseconds

12