/linux-master/drivers/net/wireless/intel/ipw2x00/ |
H A D | ipw2100.c | 1628 if ((priv->ieee->sec.flags & SEC_ENABLED) && priv->ieee->sec.enabled) 5471 if (!priv->ieee->sec.enabled) { 5477 if (priv->ieee->sec.flags & SEC_AUTH_MODE) { 5478 if (priv->ieee->sec.auth_mode == WLAN_AUTH_SHARED_KEY) 5480 else if (priv->ieee->sec.auth_mode == WLAN_AUTH_LEAP) 5485 if (priv->ieee->sec.flags & SEC_LEVEL) 5486 sec_level = priv->ieee->sec.level; 5489 if (priv->ieee->sec.flags & SEC_UNICAST_GROUP) 5490 use_group = priv->ieee->sec 5549 shim__set_security(struct net_device *dev, struct libipw_security *sec) argument 5849 struct libipw_security sec = { local 7616 struct libipw_security sec = { local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | clock.c | 526 static u64 perout_conf_internal_timer(struct mlx5_core_dev *mdev, s64 sec) argument 531 ts.tv_sec = sec; 537 static u64 perout_conf_real_time(s64 sec, u32 nsec) argument 539 return (u64)nsec | (u64)sec << 32; 549 ts.tv_sec = rq->perout.period.sec; 555 *time_stamp = real_time ? perout_conf_real_time(rq->perout.start.sec, 0) : 556 perout_conf_internal_timer(mdev, rq->perout.start.sec); 571 ts.tv_sec = rq->perout.on.sec; 578 ts.tv_sec = rq->perout.period.sec; 603 ts.tv_sec = rq->perout.period.sec; [all...] |
/linux-master/drivers/net/ethernet/microchip/ |
H A D | lan743x_ptp.c | 195 u32 *sec, u32 *nsec, u32 *sub_nsec); 515 start_sec = perout_request->start.sec; 519 period_sec = perout_request->period.sec; 528 ts_on.tv_sec = perout_request->on.sec; 531 ts_period.tv_sec = perout_request->period.sec; 744 pulse_sec = perout_request->on.sec; 748 pulse_sec = perout_request->period.sec; 808 period_sec = perout_request->period.sec; 818 start_sec = perout_request->start.sec; 1042 u32 sec, nse local 1220 lan743x_ptp_io_clock_get(struct lan743x_adapter *adapter, u32 *sec, u32 *nsec, u32 *sub_nsec) argument [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7925/ |
H A D | mcu.c | 966 struct sta_rec_sec_uni *sec; local 977 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_KEY_V3, sizeof(*sec)); 978 sec = (struct sta_rec_sec_uni *)tlv; 979 sec->bss_idx = mvif->mt76.idx; 980 sec->is_authenticator = 0; 981 sec->mgmt_prot = 0; 982 sec->wlan_idx = (u8)wcid->idx; 985 sec->tx_key = 1; 986 sec->key_type = 1; 987 memcpy(sec 2144 } __packed * sec; local [all...] |
/linux-master/drivers/rtc/ |
H A D | rtc-sc27xx.c | 170 u32 val, sec, min, hour, day; local 200 sec = val & SPRD_RTC_SEC_MASK; 219 *secs = (((time64_t)(day * 24) + hour) * 60 + min) * 60 + sec; 227 u32 sec, min, hour, day, val; local 235 sec = rem - min * 60; 263 ret = regmap_write(rtc->regmap, rtc->base + sec_reg, sec);
|
/linux-master/net/rxrpc/ |
H A D | call_accept.c | 246 const struct rxrpc_security *sec, 294 rxrpc_new_incoming_connection(rx, conn, sec, skb); 335 const struct rxrpc_security *sec = NULL; local 363 sec = rxrpc_get_incoming_security(rx, skb); 364 if (!sec) 376 call = rxrpc_alloc_incoming_call(rx, local, peer, conn, sec, peer_srx, 242 rxrpc_alloc_incoming_call(struct rxrpc_sock *rx, struct rxrpc_local *local, struct rxrpc_peer *peer, struct rxrpc_connection *conn, const struct rxrpc_security *sec, struct sockaddr_rxrpc *peer_srx, struct sk_buff *skb) argument
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/falcon/ |
H A D | gm200.c | 82 gm200_flcn_pio_dmem_wr_init(struct nvkm_falcon *falcon, u8 port, bool sec, u32 dmem_base) argument 98 gm200_flcn_pio_imem_wr_init(struct nvkm_falcon *falcon, u8 port, bool sec, u32 imem_base) argument 100 nvkm_falcon_wr32(falcon, 0x180 + (port * 0x10), (sec ? BIT(28) : 0) | BIT(24) | imem_base);
|
/linux-master/arch/powerpc/kernel/ |
H A D | vdso.c | 250 #define VDSO_DO_FIXUPS(type, value, bits, sec) do { \ 251 void *__start = (void *)VDSO##bits##_SYMBOL(&vdso##bits##_start, sec##_start); \ 252 void *__end = (void *)VDSO##bits##_SYMBOL(&vdso##bits##_start, sec##_end); \
|
/linux-master/tools/testing/selftests/net/tcp_ao/ |
H A D | rst.c | 194 ssize_t wait_for, time_t sec) 196 struct timeval tv = { .tv_sec = sec }; 209 if (sec) 193 test_wait_fds(int sk[], size_t nr, bool is_writable[], ssize_t wait_for, time_t sec) argument
|
/linux-master/scripts/ |
H A D | insert-sys-cert.c | 160 Elf_Shdr *sec; local 175 sec = &x[secndx]; 178 s->offset = s->address - sec->sh_addr 179 + sec->sh_offset;
|
/linux-master/arch/arm/mach-omap2/ |
H A D | omap-headsmp.S | 59 .arch_extension sec
|
/linux-master/arch/arm/mach-exynos/ |
H A D | sleep.S | 48 .arch_extension sec
|
/linux-master/tools/perf/util/ |
H A D | time-utils.c | 530 u64 sec = timestamp / NSEC_PER_SEC; local 533 return scnprintf(buf, sz, "%"PRIu64".%06"PRIu64, sec, usec); 538 u64 sec = timestamp / NSEC_PER_SEC, local 541 return scnprintf(buf, sz, "%" PRIu64 ".%09" PRIu64, sec, nsec);
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_ptp.h | 135 u32 nsec, u32 sec);
|
/linux-master/include/linux/ |
H A D | time64.h | 66 extern void set_normalized_timespec64(struct timespec64 *ts, time64_t sec, s64 nsec);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_tc_edt.sh | 58 bpf da obj ${BPF_FILE} sec cls_test 85 awk '{printf "elapsed: %d sec; bps difference: %.2f%%\n", 89 # The difference is usually about 0.1% on a 20-sec test, and ==> zero
|
H A D | test_lwt_seg6local.sh | 121 ip netns exec ${NS2} ip -6 route add fb00::6 encap bpf in obj ${BPF_FILE} sec encap_srh dev veth2 125 ip netns exec ${NS3} ip -6 route add fd00::1 encap seg6local action End.BPF endpoint obj ${BPF_FILE} sec add_egr_x dev veth4 127 ip netns exec ${NS4} ip -6 route add fd00::2 encap seg6local action End.BPF endpoint obj ${BPF_FILE} sec pop_egr dev veth6 132 ip netns exec ${NS5} ip -6 route add fd00::3 encap seg6local action End.BPF endpoint obj ${BPF_FILE} sec inspect_t dev veth8
|
/linux-master/arch/x86/kernel/ |
H A D | pvclock.c | 136 * Note: wall_clock->sec is a u32 value, so it can 142 now.tv_sec = wall_clock->sec;
|
/linux-master/arch/parisc/include/asm/ |
H A D | pdc.h | 67 int pdc_tod_set(unsigned long sec, unsigned long usec);
|
/linux-master/drivers/net/dsa/microchip/ |
H A D | ksz_ptp.c | 216 ptp_data->perout_target_time_first.tv_sec = request->start.sec; 219 ptp_data->perout_period.tv_sec = request->period.sec; 227 pulse_width_ns = request->on.sec * NSEC_PER_SEC + 233 req_pulse_width_ns = (request->period.sec * NSEC_PER_SEC + 673 request.start.sec = next.tv_sec; 675 request.period.sec = ptp_data->perout_period.tv_sec; 775 s32 sec, nsec; local 782 * both sec and nsec are subtracted by hw 784 sec = div_s64_rem(delta, NSEC_PER_SEC, &nsec); 790 ret = ksz_write32(dev, REG_PTP_RTC_SEC, abs(sec)); [all...] |
/linux-master/include/uapi/linux/ |
H A D | ptp_clock.h | 89 __s64 sec; /* seconds */ member in struct:ptp_clock_time
|
/linux-master/kernel/time/ |
H A D | clocksource.c | 109 * Interval: 0.5sec. 1120 u64 sec; local 1136 sec = cs->mask; 1137 do_div(sec, freq); 1138 do_div(sec, scale); 1139 if (!sec) 1140 sec = 1; 1141 else if (sec > 600 && cs->mask > UINT_MAX) 1142 sec = 600; 1145 NSEC_PER_SEC / scale, sec * scal [all...] |
/linux-master/net/bluetooth/ |
H A D | l2cap_sock.c | 560 struct bt_security sec; local 587 memset(&sec, 0, sizeof(sec)); 589 sec.level = chan->conn->hcon->sec_level; 592 sec.key_size = chan->conn->hcon->enc_key_size; 594 sec.level = chan->sec_level; 597 len = min_t(unsigned int, len, sizeof(sec)); 598 if (copy_to_user(optval, (char *) &sec, len)) 883 struct bt_security sec; local 910 sec [all...] |
/linux-master/kernel/module/ |
H A D | sysfs.c | 98 Elf_Shdr *sec = &info->sechdrs[i]; local 100 if (sect_empty(sec)) 103 sattr->address = sec->sh_addr; 105 kstrdup(info->secstrings + sec->sh_name, GFP_KERNEL);
|
/linux-master/drivers/crypto/hisilicon/sec2/ |
H A D | sec_crypto.c | 20 #include "sec.h" 236 struct sec_dfx *dfx = &qp_ctx->ctx->sec->debug.dfx; 292 atomic64_inc(&ctx->sec->debug.dfx.send_cnt); 293 atomic64_inc(&ctx->sec->debug.dfx.send_busy_cnt); 304 atomic64_inc(&ctx->sec->debug.dfx.send_cnt); 591 struct sec_dev *sec; local 596 pr_err("Can not create sec qps!\n"); 600 sec = container_of(ctx->qps[0]->qm, struct sec_dev, qm); 601 ctx->sec = sec; [all...] |