Home
last modified time | relevance | path

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

12

/linux-3.4.99/drivers/ata/
Dpata_cs5536.c164 u32 cast; in cs5536_set_piomode() local
171 cs5536_read(pdev, CAST, &cast); in cs5536_set_piomode()
173 cast &= ~(IDE_CAST_DRV_MASK << cshift); in cs5536_set_piomode()
174 cast |= addr_timings[mode] << cshift; in cs5536_set_piomode()
176 cast &= ~(IDE_CAST_CMD_MASK << IDE_CAST_CMD_SHIFT); in cs5536_set_piomode()
177 cast |= cmd_timings[cmdmode] << IDE_CAST_CMD_SHIFT; in cs5536_set_piomode()
179 cs5536_write(pdev, CAST, cast); in cs5536_set_piomode()
Dlibata-transport.c203 #define ata_port_show_simple(field, name, format_string, cast) \ argument
210 return snprintf(buf, 20, format_string, cast ap->field); \
470 #define ata_dev_show_simple(field, format_string, cast) \ argument
477 return snprintf(buf, 20, format_string, cast ata_dev->field); \
/linux-3.4.99/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-3.4.99/fs/coda/
Dcoda_linux.h60 #define CODA_ALLOC(ptr, cast, size) do { \ argument
64 ptr = (cast)vzalloc((unsigned long) size); \
/linux-3.4.99/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.c452 #define sas_phy_show_simple(field, name, format_string, cast) \ argument
459 return snprintf(buf, 20, format_string, cast phy->field); \
819 #define sas_port_show_simple(field, name, format_string, cast) \ argument
826 return snprintf(buf, 20, format_string, cast port->field); \
1166 #define sas_rphy_show_simple(field, name, format_string, cast) \ argument
1173 return snprintf(buf, 20, format_string, cast rphy->field); \
1310 #define sas_end_dev_show_simple(field, name, format_string, cast) \ argument
1318 return snprintf(buf, 20, format_string, cast rdev->field); \
1339 #define sas_expander_show_simple(field, name, format_string, cast) \ argument
1347 return snprintf(buf, 20, format_string, cast edev->field); \
/linux-3.4.99/tools/perf/util/
Dprobe-finder.c371 const char *cast) in convert_variable_type() argument
380 if (cast && strcmp(cast, "string") != 0) { in convert_variable_type()
382 tvar->type = strdup(cast); in convert_variable_type()
407 if (cast && strcmp(cast, "string") == 0) { /* String type */ in convert_variable_type()
438 tvar->type = strdup(cast); in convert_variable_type()
/linux-3.4.99/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.
/linux-3.4.99/drivers/staging/slicoss/
DREADME16 - don't cast netdev_priv it is already void
/linux-3.4.99/drivers/staging/tidspbridge/pmgr/
Ddev.c918 #define STORE_FXN(cast, pfn) \ in store_interface_fxns() argument
920 (cast)fxn_not_implemented)) in store_interface_fxns()
/linux-3.4.99/lib/raid6/
Daltivec.uc63 /* vec_cmpgt returns a vector bool char; thus the need for the cast */
/linux-3.4.99/scripts/
Dcheckpatch.pl3278 my $cast;
3281 $cast = "$cast1 or $cast2";
3283 $cast = $cast1;
3285 $cast = $cast2;
3288 "$call() should probably be ${call}_t($cast, $arg1, $arg2)\n" . "$here\n$stat\n");
DMakefile.build82 warning-3 := -Wbad-function-cast
/linux-3.4.99/arch/arm/nwfpe/
DChangeLog46 as a struct user_fp (see user.h). This pointer was cast to a
/linux-3.4.99/Documentation/
Dprintk-formats.txt139 possible type and explicitly cast to it. Example:
Dlocal_ops.txt42 atomic_long_t inside a structure. This is made so a cast from this type to a
Dunaligned-memory-access.txt95 you do not cast the field to a type of different length).
/linux-3.4.99/scripts/kconfig/
Dzconf.lex.c_shipped135 * double cast.
1739 c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
2284 /* The cast to (char *) in the following accommodates both
2296 free( (char *) ptr ); /* see zconfrealloc() for (char *) cast */
/linux-3.4.99/scripts/dtc/
Ddtc-lexer.lex.c_shipped116 * double cast.
1393 c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
1938 /* The cast to (char *) in the following accommodates both
1950 free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
/linux-3.4.99/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-3.4.99/kernel/trace/
Dtrace_kprobe.c68 #define DEFINE_BASIC_PRINT_TYPE_FUNC(type, fmt, cast) \ argument
73 return trace_seq_printf(s, " %s=" fmt, name, (cast)*(type *)data);\
/linux-3.4.99/tools/perf/
DMakefile104 EXTRA_WARNINGS := $(EXTRA_WARNINGS) -Wbad-function-cast
/linux-3.4.99/Documentation/crypto/
Ddescore-readme.txt184 i assume word pointers can be freely cast to and from char pointers.
/linux-3.4.99/drivers/scsi/lpfc/
Dlpfc_attr.c4706 #define lpfc_rport_show_function(field, format_string, sz, cast) \ argument
4715 (rdata->target) ? cast rdata->target->field : 0); \

12