Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/ata/
Dpata_cs5536.c167 u32 cast; in cs5536_set_piomode() local
174 cs5536_read(pdev, CAST, &cast); in cs5536_set_piomode()
176 cast &= ~(IDE_CAST_DRV_MASK << cshift); in cs5536_set_piomode()
177 cast |= addr_timings[mode] << cshift; in cs5536_set_piomode()
179 cast &= ~(IDE_CAST_CMD_MASK << IDE_CAST_CMD_SHIFT); in cs5536_set_piomode()
180 cast |= cmd_timings[cmdmode] << IDE_CAST_CMD_SHIFT; in cs5536_set_piomode()
182 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 scnprintf(buf, 20, format_string, cast ap->field); \
475 #define ata_dev_show_simple(field, format_string, cast) \ argument
482 return scnprintf(buf, 20, format_string, cast ata_dev->field); \
/kernel/linux/linux-5.10/drivers/ide/
Dcs5536.c138 u32 cast; in cs5536_set_pio_mode() local
151 cs5536_read(pdev, CAST, &cast); in cs5536_set_pio_mode()
153 cast &= ~(IDE_CAST_DRV_MASK << cshift); in cs5536_set_pio_mode()
154 cast |= addr_timings[pio] << cshift; in cs5536_set_pio_mode()
156 cast &= ~(IDE_CAST_CMD_MASK << IDE_CAST_CMD_SHIFT); in cs5536_set_pio_mode()
157 cast |= cmd_timings[cmd_pio] << IDE_CAST_CMD_SHIFT; in cs5536_set_pio_mode()
159 cs5536_write(pdev, CAST, cast); in cs5536_set_pio_mode()
/kernel/linux/linux-5.10/scripts/gdb/linux/
Drbtree.py15 node = root.address.cast(rb_root_type.get_type().pointer())
31 node = root.address.cast(rb_root_type.get_type().pointer())
47 return parent.cast(rb_node_type.get_type().pointer())
56 node = node.address.cast(rb_node_type.get_type().pointer())
79 node = node.address.cast(rb_node_type.get_type().pointer())
Dutils.py46 element = gdb.Value(0).cast(typeobj)
51 return (ptr.cast(get_long_type()) -
52 offset_of(typeobj, member)).cast(typeobj)
Dtasks.py99 thread_info = thread_info_addr.cast(thread_info_ptr_type)
103 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()
Dtimerlist.py47 curr = curr.address.cast(rbtree.rb_node_type.get_type().pointer())
/kernel/linux/linux-5.10/drivers/scsi/fcoe/
Dfcoe_sysfs.c136 #define fcoe_ctlr_show_function(field, format_string, sz, cast) \ argument
145 cast fcoe_ctlr_##field(ctlr)); \
148 #define fcoe_fcf_show_function(field, format_string, sz, cast) \ argument
158 cast fcoe_fcf_##field(fcf)); \
161 #define fcoe_ctlr_private_show_function(field, format_string, sz, cast) \ argument
167 return snprintf(buf, sz, format_string, cast fcoe_ctlr_##field(ctlr)); \
170 #define fcoe_fcf_private_show_function(field, format_string, sz, cast) \ argument
176 return snprintf(buf, sz, format_string, cast fcoe_fcf_##field(fcf)); \
199 #define fcoe_ctlr_private_rd_attr_cast(field, format_string, sz, cast) \ argument
200 fcoe_ctlr_private_show_function(field, format_string, sz, (cast)) \
[all …]
/kernel/linux/linux-5.10/scripts/atomic/
Dgen-atomic-long.sh27 local cast="$(gen_cast "$1" "${int}" "${atomic}")"
29 printf "${cast}${arg}"
/kernel/linux/linux-5.10/tools/perf/util/
Dprobe-finder.c306 const char *cast, bool user_access) in convert_variable_type() argument
317 if (cast && strcmp(cast, "string") != 0 && strcmp(cast, "ustring") && in convert_variable_type()
318 strcmp(cast, "x") != 0 && in convert_variable_type()
319 strcmp(cast, "s") != 0 && strcmp(cast, "u") != 0) { in convert_variable_type()
322 tvar->type = strdup(cast); in convert_variable_type()
347 if (cast && (!strcmp(cast, "string") || !strcmp(cast, "ustring"))) { in convert_variable_type()
380 tvar->type = strdup(cast); in convert_variable_type()
384 if (cast && (strcmp(cast, "u") == 0)) in convert_variable_type()
386 else if (cast && (strcmp(cast, "s") == 0)) in convert_variable_type()
388 else if (cast && (strcmp(cast, "x") == 0) && in convert_variable_type()
/kernel/linux/linux-5.10/scripts/
DMakefile.extrawarn52 KBUILD_CFLAGS += $(call cc-disable-warning, pointer-to-enum-cast)
81 KBUILD_CFLAGS += -Wbad-function-cast
Dcheckpatch.pl6224 my $cast = $1;
6232 $suffix .= 'U' if ($cast =~ /\bunsigned\b/);
6233 if ($cast =~ /\blong\s+long\b/) {
6235 } elsif ($cast =~ /\blong\b/) {
6238 $fixed[$fixlinenr] =~ s/\Q$cast\E$const\b/$newconst$suffix/;
6396 my $cast;
6399 $cast = "$cast1 or $cast2";
6401 $cast = $cast1;
6403 $cast = $cast2;
6406 "$call() should probably be ${call}_t($cast, $arg1, $arg2)\n" . "$here\n$stat\n");
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_transport_fc.c690 #define fc_rport_show_function(field, format_string, sz, cast) \ argument
703 return snprintf(buf, sz, format_string, cast rport->field); \
733 #define fc_rport_rd_attr_cast(field, format_string, sz, cast) \ argument
734 fc_rport_show_function(field, format_string, sz, (cast)) \
746 #define fc_private_rport_show_function(field, format_string, sz, cast) \ argument
752 return snprintf(buf, sz, format_string, cast rport->field); \
760 #define fc_private_rport_rd_attr_cast(field, format_string, sz, cast) \ argument
761 fc_private_rport_show_function(field, format_string, sz, (cast)) \
1005 #define fc_starget_show_function(field, format_string, sz, cast) \ argument
1019 cast fc_starget_##field(starget)); \
[all …]
Dscsi_transport_sas.c417 #define sas_phy_show_simple(field, name, format_string, cast) \ argument
424 return snprintf(buf, 20, format_string, cast phy->field); \
783 #define sas_port_show_simple(field, name, format_string, cast) \ argument
790 return snprintf(buf, 20, format_string, cast port->field); \
1130 #define sas_rphy_show_simple(field, name, format_string, cast) \ argument
1137 return snprintf(buf, 20, format_string, cast rphy->field); \
1264 #define sas_end_dev_show_simple(field, name, format_string, cast) \ argument
1272 return snprintf(buf, 20, format_string, cast rdev->field); \
1293 #define sas_expander_show_simple(field, name, format_string, cast) \ argument
1301 return snprintf(buf, 20, format_string, cast edev->field); \
/kernel/uniproton/cmake/tool_chain/
Duniproton_tool_chain.cmake17 …ive-value -Wsign-compare -Wtype-limits -Wcast-qual -Wundef -Wbad-function-cast -Wold-style-definit…
/kernel/linux/linux-5.10/Documentation/networking/
D6lowpan.rst15 To access the LL_PRIV_6LOWPAN_DATA structure you can cast::
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfs_tracepoint.c57 #define PRINT_MASKED_VALP(name, cast, p, format) { \ argument
60 (cast)&name.v);\
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/tools/scripts/
DMakefile.include23 EXTRA_WARNINGS := -Wbad-function-cast
/kernel/linux/linux-5.10/Documentation/RCU/
Drcu_dereference.rst25 In addition, the volatile cast in rcu_dereference() prevents the
35 cast the pointer to uintptr_t in order to:
45 It is important to cast the value back to pointer before
173 pointer. Note that the volatile cast in rcu_dereference()
312 guarantees that RCU depends on. And the volatile cast in rcu_dereference()
/kernel/linux/linux-5.10/lib/raid6/
Daltivec.uc63 /* vec_cmpgt returns a vector bool char; thus the need for the cast */
/kernel/uniproton/
DBUILD.gn85 "-Wbad-function-cast",
/kernel/linux/linux-5.10/arch/arm64/kernel/vdso32/
DMakefile97 VDSO_CFLAGS += -Wno-int-to-pointer-cast
/kernel/linux/linux-5.10/arch/arm/nwfpe/
DChangeLog46 as a struct user_fp (see user.h). This pointer was cast to a

12