Home
last modified time | relevance | path

Searched refs:cast (Results 1 – 35 of 35) sorted by relevance

/linux-4.4.14/drivers/ata/
Dpata_cs5536.c179 u32 cast; in cs5536_set_piomode() local
186 cs5536_read(pdev, CAST, &cast); in cs5536_set_piomode()
188 cast &= ~(IDE_CAST_DRV_MASK << cshift); in cs5536_set_piomode()
189 cast |= addr_timings[mode] << cshift; in cs5536_set_piomode()
191 cast &= ~(IDE_CAST_CMD_MASK << IDE_CAST_CMD_SHIFT); in cs5536_set_piomode()
192 cast |= cmd_timings[cmdmode] << IDE_CAST_CMD_SHIFT; in cs5536_set_piomode()
194 cs5536_write(pdev, CAST, cast); in cs5536_set_piomode()
Dlibata-transport.c204 #define ata_port_show_simple(field, name, format_string, cast) \ argument
211 return snprintf(buf, 20, format_string, cast ap->field); \
473 #define ata_dev_show_simple(field, format_string, cast) \ argument
480 return snprintf(buf, 20, format_string, cast ata_dev->field); \
/linux-4.4.14/drivers/ide/
Dcs5536.c150 u32 cast; in cs5536_set_pio_mode() local
163 cs5536_read(pdev, CAST, &cast); in cs5536_set_pio_mode()
165 cast &= ~(IDE_CAST_DRV_MASK << cshift); in cs5536_set_pio_mode()
166 cast |= addr_timings[pio] << cshift; in cs5536_set_pio_mode()
168 cast &= ~(IDE_CAST_CMD_MASK << IDE_CAST_CMD_SHIFT); in cs5536_set_pio_mode()
169 cast |= cmd_timings[cmd_pio] << IDE_CAST_CMD_SHIFT; in cs5536_set_pio_mode()
171 cs5536_write(pdev, CAST, cast); in cs5536_set_pio_mode()
/linux-4.4.14/drivers/scsi/fcoe/
Dfcoe_sysfs.c148 #define fcoe_ctlr_show_function(field, format_string, sz, cast) \ argument
157 cast fcoe_ctlr_##field(ctlr)); \
160 #define fcoe_fcf_show_function(field, format_string, sz, cast) \ argument
170 cast fcoe_fcf_##field(fcf)); \
173 #define fcoe_ctlr_private_show_function(field, format_string, sz, cast) \ argument
179 return snprintf(buf, sz, format_string, cast fcoe_ctlr_##field(ctlr)); \
182 #define fcoe_fcf_private_show_function(field, format_string, sz, cast) \ argument
188 return snprintf(buf, sz, format_string, cast fcoe_fcf_##field(fcf)); \
211 #define fcoe_ctlr_private_rd_attr_cast(field, format_string, sz, cast) \ argument
212 fcoe_ctlr_private_show_function(field, format_string, sz, (cast)) \
[all …]
/linux-4.4.14/scripts/gdb/linux/
Dutils.py46 element = gdb.Value(0).cast(typeobj)
51 return (ptr.cast(get_long_type()) -
52 offset_of(typeobj, member)).cast(typeobj)
Dtasks.py97 thread_info = thread_info_addr.cast(thread_info_ptr_type)
99 thread_info = task['stack'].cast(thread_info_ptr_type)
Dcpus.py49 pointer = var_ptr.cast(utils.get_long_type()) + offset
50 return pointer.cast(var_ptr.type).dereference()
/linux-4.4.14/fs/coda/
Dcoda_linux.h65 #define CODA_ALLOC(ptr, cast, size) do { \ argument
69 ptr = (cast)vzalloc((unsigned long) size); \
/linux-4.4.14/drivers/scsi/
Dscsi_transport_fc.c699 #define fc_rport_show_function(field, format_string, sz, cast) \ argument
712 return snprintf(buf, sz, format_string, cast rport->field); \
742 #define fc_rport_rd_attr_cast(field, format_string, sz, cast) \ argument
743 fc_rport_show_function(field, format_string, sz, (cast)) \
755 #define fc_private_rport_show_function(field, format_string, sz, cast) \ argument
761 return snprintf(buf, sz, format_string, cast rport->field); \
769 #define fc_private_rport_rd_attr_cast(field, format_string, sz, cast) \ argument
770 fc_private_rport_show_function(field, format_string, sz, (cast)) \
1014 #define fc_starget_show_function(field, format_string, sz, cast) \ argument
1028 cast fc_starget_##field(starget)); \
[all …]
Dscsi_transport_sas.c453 #define sas_phy_show_simple(field, name, format_string, cast) \ argument
460 return snprintf(buf, 20, format_string, cast phy->field); \
820 #define sas_port_show_simple(field, name, format_string, cast) \ argument
827 return snprintf(buf, 20, format_string, cast port->field); \
1167 #define sas_rphy_show_simple(field, name, format_string, cast) \ argument
1174 return snprintf(buf, 20, format_string, cast rphy->field); \
1301 #define sas_end_dev_show_simple(field, name, format_string, cast) \ argument
1309 return snprintf(buf, 20, format_string, cast rdev->field); \
1330 #define sas_expander_show_simple(field, name, format_string, cast) \ argument
1338 return snprintf(buf, 20, format_string, cast edev->field); \
/linux-4.4.14/tools/scripts/
DMakefile.include22 EXTRA_WARNINGS := -Wbad-function-cast
/linux-4.4.14/Documentation/networking/
D6lowpan.txt12 To access the LL_PRIV_6LOWPAN_DATA structure you can cast:
/linux-4.4.14/drivers/staging/slicoss/
DTODO8 - don't cast netdev_priv it is already void
/linux-4.4.14/scripts/
DMakefile.extrawarn38 warning-3 := -Wbad-function-cast
Dcheckpatch.pl5348 my $cast;
5351 $cast = "$cast1 or $cast2";
5353 $cast = $cast1;
5355 $cast = $cast2;
5358 "$call() should probably be ${call}_t($cast, $arg1, $arg2)\n" . "$here\n$stat\n");
/linux-4.4.14/Documentation/scsi/
DChangeLog.arcmsr22 ** 1.20.00.06 3/12/2005 Erich Chen fix with arcmsr_pci_unmap_dma "unsigned long" cast,
41 ** cast off sizeof(dma_addr_t) condition for 64bit pci_set_dma_mask
DChangeLog.lpfc258 unneeded cast of kmalloc's return.
727 typed pointer lots of the cast mess can go away, and while at it
1423 * Move dma_addr_t cast inside of getPaddr macro as everywhere
1424 getPaddr is used, the return is cast to dma_addr_t.
1515 * Since everywhere IOCB_ENTRY is used, the return value is cast,
1516 move the cast into the macro.
DChangeLog.1992-1997587 * constants.c: Add type cast in switch statement.
1051 * scsicam.c: Add type cast.
/linux-4.4.14/tools/perf/util/
Dprobe-finder.c292 const char *cast) in convert_variable_type() argument
302 if (cast && strcmp(cast, "string") != 0) { in convert_variable_type()
304 tvar->type = strdup(cast); in convert_variable_type()
329 if (cast && strcmp(cast, "string") == 0) { /* String type */ in convert_variable_type()
360 tvar->type = strdup(cast); in convert_variable_type()
/linux-4.4.14/lib/raid6/
Daltivec.uc60 /* vec_cmpgt returns a vector bool char; thus the need for the cast */
/linux-4.4.14/Documentation/RCU/
Drcu_dereference.txt22 In addition, the volatile cast in rcu_dereference() prevents the
184 pointer. Note that the volatile cast in rcu_dereference()
321 guarantees that RCU depends on. And the volatile cast in rcu_dereference()
/linux-4.4.14/arch/arm/nwfpe/
DChangeLog46 as a struct user_fp (see user.h). This pointer was cast to a
/linux-4.4.14/Documentation/
Dlocal_ops.txt47 atomic_long_t inside a structure. This is made so a cast from this type to a
Dprintk-formats.txt18 format specifier of its largest possible type and explicitly cast to it.
Dunaligned-memory-access.txt95 you do not cast the field to a type of different length).
Datomic_ops.txt12 be made opaque such that any kind of cast to a normal C integer type
DDMA-API.txt44 It also returns a <dma_handle> which may be cast to an unsigned integer the
/linux-4.4.14/Documentation/arm/
Dvlocks.txt18 cast identifies the winner.
/linux-4.4.14/scripts/dtc/
Ddtc-lexer.lex.c_shipped118 * double cast.
1634 c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
2181 /* The cast to (char *) in the following accommodates both
2193 free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
/linux-4.4.14/scripts/genksyms/
Dlex.lex.c_shipped116 * double cast.
1338 c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
1889 /* The cast to (char *) in the following accommodates both
1901 free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
/linux-4.4.14/scripts/kconfig/
Dzconf.lex.c_shipped136 * double cast.
1792 c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
2337 /* The cast to (char *) in the following accommodates both
2349 free( (char *) ptr ); /* see zconfrealloc() for (char *) cast */
/linux-4.4.14/Documentation/ioctl/
Dbotching-up-ioctls.txt42 * Pointers are __u64, cast from/to a uintprt_t on the userspace side and
/linux-4.4.14/Documentation/crypto/
Ddescore-readme.txt184 i assume word pointers can be freely cast to and from char pointers.
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_attr.c5630 #define lpfc_rport_show_function(field, format_string, sz, cast) \ argument
5639 (rdata->target) ? cast rdata->target->field : 0); \
/linux-4.4.14/crypto/
DKconfig457 CRC T10 Data Integrity Field computation is being cast as