Home
last modified time | relevance | path

Searched refs:soft (Results 1 - 25 of 231) sorted by relevance

12345678910

/kernel/linux/linux-5.10/drivers/net/arcnet/
H A Drfc1201.c94 struct arc_rfc1201 *soft = &pkt->soft.rfc1201; in type_trans() local
109 switch (soft->proto) { in type_trans()
138 struct arc_rfc1201 *soft = &pkthdr->soft.rfc1201; in rx() local
150 if (soft->split_flag == 0xFF) { /* Exception Packet */ in rx()
163 soft, sizeof(pkt->soft)); in rx()
165 if (!soft->split_flag) { /* not split */ in rx()
167 soft in rx()
383 struct arc_rfc1201 *soft = &pkt->soft.rfc1201; build_header() local
442 load_pkt(struct net_device *dev, struct arc_hardware *hard, struct arc_rfc1201 *soft, int softlen, int bufnum) load_pkt() argument
515 struct arc_rfc1201 *soft = &out->pkt->soft.rfc1201, *newsoft; continue_tx() local
[all...]
H A Dcapmode.c70 /* up to sizeof(pkt->soft) has already been copied from the card in rx()
77 memcpy(pktbuf, pkthdrbuf, ARC_HDR_SIZE + sizeof(pkt->soft.cap.proto)); in rx()
78 memcpy(pktbuf + ARC_HDR_SIZE + sizeof(pkt->soft.cap.proto) + sizeof(int), in rx()
79 pkthdrbuf + ARC_HDR_SIZE + sizeof(pkt->soft.cap.proto), in rx()
80 sizeof(struct archdr) - ARC_HDR_SIZE - sizeof(pkt->soft.cap.proto)); in rx()
82 if (length > sizeof(pkt->soft)) in rx()
83 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx()
84 pkt->soft.raw + sizeof(pkt->soft) in rx()
86 length - sizeof(pkt->soft)); in rx()
[all...]
H A Drfc1051.c90 struct arc_rfc1051 *soft = &pkt->soft.rfc1051; in type_trans() local
105 switch (soft->proto) { in type_trans()
146 /* up to sizeof(pkt->soft) has already been copied from the card */ in rx()
148 if (length > sizeof(pkt->soft)) in rx()
149 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx()
150 pkt->soft.raw + sizeof(pkt->soft), in rx()
151 length - sizeof(pkt->soft)); in rx()
160 /* Create the ARCnet hard/soft header
166 struct arc_rfc1051 *soft = &pkt->soft.rfc1051; build_header() local
[all...]
H A Darc-rawmode.c2 * Linux ARCnet driver - "raw mode" packet encapsulation (no soft headers)
67 /* up to sizeof(pkt->soft) has already been copied from the card */ in rx()
69 if (length > sizeof(pkt->soft)) in rx()
70 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx()
71 pkt->soft.raw + sizeof(pkt->soft), in rx()
72 length - sizeof(pkt->soft)); in rx()
81 /* Create the ARCnet hard/soft headers for raw mode.
82 * There aren't any soft headers in raw mode - not even the protocol id.
146 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft, lengt in prepare_tx()
[all...]
/kernel/linux/linux-6.6/drivers/net/arcnet/
H A Drfc1201.c94 struct arc_rfc1201 *soft = &pkt->soft.rfc1201; in type_trans() local
109 switch (soft->proto) { in type_trans()
138 struct arc_rfc1201 *soft = &pkthdr->soft.rfc1201; in rx() local
150 if (soft->split_flag == 0xFF) { /* Exception Packet */ in rx()
163 soft, sizeof(pkt->soft)); in rx()
165 if (!soft->split_flag) { /* not split */ in rx()
167 soft in rx()
383 struct arc_rfc1201 *soft = &pkt->soft.rfc1201; build_header() local
442 load_pkt(struct net_device *dev, struct arc_hardware *hard, struct arc_rfc1201 *soft, int softlen, int bufnum) load_pkt() argument
515 struct arc_rfc1201 *soft = &out->pkt->soft.rfc1201, *newsoft; continue_tx() local
[all...]
H A Dcapmode.c70 /* up to sizeof(pkt->soft) has already been copied from the card in rx()
77 memcpy(pktbuf, pkthdrbuf, ARC_HDR_SIZE + sizeof(pkt->soft.cap.proto)); in rx()
78 memcpy(pktbuf + ARC_HDR_SIZE + sizeof(pkt->soft.cap.proto) + sizeof(int), in rx()
79 pkthdrbuf + ARC_HDR_SIZE + sizeof(pkt->soft.cap.proto), in rx()
80 sizeof(struct archdr) - ARC_HDR_SIZE - sizeof(pkt->soft.cap.proto)); in rx()
82 if (length > sizeof(pkt->soft)) in rx()
83 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx()
84 pkt->soft.raw + sizeof(pkt->soft) in rx()
86 length - sizeof(pkt->soft)); in rx()
[all...]
H A Drfc1051.c90 struct arc_rfc1051 *soft = &pkt->soft.rfc1051; in type_trans() local
105 switch (soft->proto) { in type_trans()
146 /* up to sizeof(pkt->soft) has already been copied from the card */ in rx()
148 if (length > sizeof(pkt->soft)) in rx()
149 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx()
150 pkt->soft.raw + sizeof(pkt->soft), in rx()
151 length - sizeof(pkt->soft)); in rx()
160 /* Create the ARCnet hard/soft header
166 struct arc_rfc1051 *soft = &pkt->soft.rfc1051; build_header() local
[all...]
H A Darc-rawmode.c2 * Linux ARCnet driver - "raw mode" packet encapsulation (no soft headers)
67 /* up to sizeof(pkt->soft) has already been copied from the card */ in rx()
69 if (length > sizeof(pkt->soft)) in rx()
70 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx()
71 pkt->soft.raw + sizeof(pkt->soft), in rx()
72 length - sizeof(pkt->soft)); in rx()
81 /* Create the ARCnet hard/soft headers for raw mode.
82 * There aren't any soft headers in raw mode - not even the protocol id.
146 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft, lengt in prepare_tx()
[all...]
/kernel/linux/linux-5.10/arch/x86/math-emu/
H A Dfpu_system.h77 #define FPU_info (I387->soft.info)
87 #define FPU_lookahead (I387->soft.lookahead)
91 #define no_ip_update (*(u_char *)&(I387->soft.no_update))
92 #define FPU_rm (*(u_char *)&(I387->soft.rm))
96 #define access_limit (*(u_char *)&(I387->soft.alimit))
98 #define partial_status (I387->soft.swd)
99 #define control_word (I387->soft.cwd)
100 #define fpu_tag_word (I387->soft.twd)
101 #define registers (I387->soft.st_space)
102 #define top (I387->soft
[all...]
H A Dfpu_aux.c34 void fpstate_init_soft(struct swregs_state *soft) in fpstate_init_soft() argument
37 memset(soft, 0, sizeof(*soft)); in fpstate_init_soft()
38 soft->cwd = 0x037f; in fpstate_init_soft()
39 soft->swd = 0; in fpstate_init_soft()
40 soft->ftop = 0; /* We don't keep top in the status word internally. */ in fpstate_init_soft()
41 soft->twd = 0xffff; in fpstate_init_soft()
44 oaddr = (struct address *)&soft->foo; in fpstate_init_soft()
47 iaddr = (struct address *)&soft->fip; in fpstate_init_soft()
51 soft in fpstate_init_soft()
[all...]
/kernel/linux/linux-6.6/arch/x86/math-emu/
H A Dfpu_system.h77 #define FPU_info (I387->soft.info)
87 #define FPU_lookahead (I387->soft.lookahead)
91 #define no_ip_update (*(u_char *)&(I387->soft.no_update))
92 #define FPU_rm (*(u_char *)&(I387->soft.rm))
96 #define access_limit (*(u_char *)&(I387->soft.alimit))
98 #define partial_status (I387->soft.swd)
99 #define control_word (I387->soft.cwd)
100 #define fpu_tag_word (I387->soft.twd)
101 #define registers (I387->soft.st_space)
102 #define top (I387->soft
[all...]
H A Dfpu_aux.c34 void fpstate_init_soft(struct swregs_state *soft) in fpstate_init_soft() argument
37 memset(soft, 0, sizeof(*soft)); in fpstate_init_soft()
38 soft->cwd = 0x037f; in fpstate_init_soft()
39 soft->swd = 0; in fpstate_init_soft()
40 soft->ftop = 0; /* We don't keep top in the status word internally. */ in fpstate_init_soft()
41 soft->twd = 0xffff; in fpstate_init_soft()
44 oaddr = (struct address *)&soft->foo; in fpstate_init_soft()
47 iaddr = (struct address *)&soft->fip; in fpstate_init_soft()
51 soft in fpstate_init_soft()
[all...]
/kernel/linux/linux-5.10/sound/oss/dmasound/
H A Ddmasound_q40.c14 * [0.3] - put in default hard/soft settings.
66 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8; in q40_ct_law()
123 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctx_law()
127 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_law()
163 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_s8()
200 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_u8()
233 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctc_law()
237 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_law()
276 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_s8()
315 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft in q40_ctc_u8()
[all...]
H A Ddmasound_atari.c14 * 01/02/2001 [0.3] - put in default hard/soft settings.
159 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8 in ata_ct_law()
165 if (dmasound.soft.stereo) in ata_ct_law()
188 if (dmasound.soft.stereo) in ata_ct_s8()
204 if (!dmasound.soft.stereo) { in ata_ct_u8()
239 if (!dmasound.soft.stereo) { in ata_ct_s16be()
271 if (!dmasound.soft.stereo) { in ata_ct_u16be()
311 if (!dmasound.soft.stereo) { in ata_ct_s16le()
352 if (!dmasound.soft.stereo) { in ata_ct_u16le()
389 char *table = dmasound.soft in ata_ctx_law()
[all...]
H A Ddmasound_core.c240 return dmasound.soft.speed; in sound_set_speed()
243 at present we allow (arbitrarily) low rates - using soft in sound_set_speed()
245 no soft down-conversion. in sound_set_speed()
251 dmasound.soft.speed = speed; in sound_set_speed()
254 dmasound.dsp.speed = dmasound.soft.speed; in sound_set_speed()
256 return dmasound.soft.speed; in sound_set_speed()
262 return dmasound.soft.stereo; in sound_set_stereo()
266 dmasound.soft.stereo = stereo; in sound_set_stereo()
279 switch (dmasound.soft.format) { in sound_copy_translate()
470 to be used when the user requests the fragments sizes (with no soft in sq_setup()
[all...]
/kernel/linux/linux-6.6/sound/oss/dmasound/
H A Ddmasound_q40.c14 * [0.3] - put in default hard/soft settings.
66 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8; in q40_ct_law()
123 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctx_law()
127 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_law()
163 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_s8()
200 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_u8()
233 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctc_law()
237 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_law()
276 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_s8()
315 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft in q40_ctc_u8()
[all...]
H A Ddmasound_atari.c14 * 01/02/2001 [0.3] - put in default hard/soft settings.
159 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8 in ata_ct_law()
165 if (dmasound.soft.stereo) in ata_ct_law()
188 if (dmasound.soft.stereo) in ata_ct_s8()
204 if (!dmasound.soft.stereo) { in ata_ct_u8()
239 if (!dmasound.soft.stereo) { in ata_ct_s16be()
271 if (!dmasound.soft.stereo) { in ata_ct_u16be()
311 if (!dmasound.soft.stereo) { in ata_ct_s16le()
352 if (!dmasound.soft.stereo) { in ata_ct_u16le()
389 char *table = dmasound.soft in ata_ctx_law()
[all...]
H A Ddmasound_core.c240 return dmasound.soft.speed; in sound_set_speed()
243 at present we allow (arbitrarily) low rates - using soft in sound_set_speed()
245 no soft down-conversion. in sound_set_speed()
251 dmasound.soft.speed = speed; in sound_set_speed()
254 dmasound.dsp.speed = dmasound.soft.speed; in sound_set_speed()
256 return dmasound.soft.speed; in sound_set_speed()
262 return dmasound.soft.stereo; in sound_set_stereo()
266 dmasound.soft.stereo = stereo; in sound_set_stereo()
279 switch (dmasound.soft.format) { in sound_copy_translate()
470 to be used when the user requests the fragments sizes (with no soft in sq_setup()
[all...]
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_qm_syscalls.c232 xfs_qcnt_t soft, in xfs_setqlim_limits()
235 /* The hard limit can't be less than the soft limit. */ in xfs_setqlim_limits()
236 if (hard != 0 && hard < soft) { in xfs_setqlim_limits()
238 soft); in xfs_setqlim_limits()
243 res->softlimit = soft; in xfs_setqlim_limits()
246 qlim->soft = soft; in xfs_setqlim_limits()
286 xfs_qcnt_t hard, soft; in xfs_qm_scall_setqlim() local
320 * Make sure that hardlimits are >= soft limits before changing. in xfs_qm_scall_setqlim()
326 * used. Ditto for the default soft an in xfs_qm_scall_setqlim()
227 xfs_setqlim_limits( struct xfs_mount *mp, struct xfs_dquot_res *res, struct xfs_quota_limits *qlim, xfs_qcnt_t hard, xfs_qcnt_t soft, const char *tag) xfs_setqlim_limits() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
H A Dmirror_gre.sh45 # unsupported soft device.
47 tunnel_create gt6-soft ip6gretap 2001:db8:4::1 2001:db8:4::2 \
50 tunnel_create h3-gt6-soft ip6gretap 2001:db8:4::2 2001:db8:4::1
51 ip link set h3-gt6-soft vrf v$h3
52 matchall_sink_create h3-gt6-soft
67 tunnel_destroy h3-gt6-soft
68 tunnel_destroy gt6-soft
175 test_span_failable $should_fail gt6-soft "mirror to gretap w/ soft underlay"
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
H A Dmirror_gre.sh45 # unsupported soft device.
47 tunnel_create gt6-soft ip6gretap 2001:db8:4::1 2001:db8:4::2 \
50 tunnel_create h3-gt6-soft ip6gretap 2001:db8:4::2 2001:db8:4::1
51 ip link set h3-gt6-soft vrf v$h3
52 matchall_sink_create h3-gt6-soft
67 tunnel_destroy h3-gt6-soft
68 tunnel_destroy gt6-soft
175 test_span_failable $should_fail gt6-soft "mirror to gretap w/ soft underlay"
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_qm_syscalls.c449 xfs_qcnt_t soft, in xfs_setqlim_limits()
452 /* The hard limit can't be less than the soft limit. */ in xfs_setqlim_limits()
453 if (hard != 0 && hard < soft) { in xfs_setqlim_limits()
455 soft); in xfs_setqlim_limits()
460 res->softlimit = soft; in xfs_setqlim_limits()
463 qlim->soft = soft; in xfs_setqlim_limits()
514 xfs_qcnt_t hard, soft; in xfs_qm_scall_setqlim() local
555 * Make sure that hardlimits are >= soft limits before changing. in xfs_qm_scall_setqlim()
561 * used. Ditto for the default soft an in xfs_qm_scall_setqlim()
444 xfs_setqlim_limits( struct xfs_mount *mp, struct xfs_dquot_res *res, struct xfs_quota_limits *qlim, xfs_qcnt_t hard, xfs_qcnt_t soft, const char *tag) xfs_setqlim_limits() argument
[all...]
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Delf.c34 * @soft: The soft(-float) requirement means that the program being
53 bool soft; member
221 prog_req.soft = interp_req.soft && prog_req.soft; in arch_check_elf()
261 !prog_req.fr1 && !prog_req.single && !prog_req.soft) in arch_check_elf()
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Delf.c34 * @soft: The soft(-float) requirement means that the program being
53 bool soft; member
221 prog_req.soft = interp_req.soft && prog_req.soft; in arch_check_elf()
261 !prog_req.fr1 && !prog_req.single && !prog_req.soft) in arch_check_elf()
/kernel/linux/linux-5.10/drivers/watchdog/
H A Dbcm47xx_wdt.c180 bool soft; in bcm47xx_wdt_probe() local
186 soft = wdt->max_timer_ms < WDT_SOFTTIMER_THRESHOLD * 1000; in bcm47xx_wdt_probe()
188 if (soft) { in bcm47xx_wdt_probe()
211 soft ? ", Software Timer" : ""); in bcm47xx_wdt_probe()
215 if (soft) in bcm47xx_wdt_probe()

Completed in 15 milliseconds

12345678910