| /linux/drivers/scsi/megaraid/ |
| H A D | Kconfig.megaraid | 14 To compile this driver as a module, choose M here: the 30 Dell PERC4/SC 1000:1960:1028:0520 31 Dell PERC4/DC 1000:1960:1028:0518 32 Dell PERC4/QC 1000:0407:1028:0531 39 Dell PERC 4e/DC 1000:0408:1028:0002 40 Dell PERC 4e/SC 1000:0408:1028:0001 41 LSI MegaRAID SCSI 320-0 1000:1960:1000:A520 42 LSI MegaRAID SCSI 320-1 1000:1960:1000:0520 43 LSI MegaRAID SCSI 320-2 1000:1960:1000:0518 44 LSI MegaRAID SCSI 320-0X 1000:0407:1000:0530 [all …]
|
| /linux/drivers/scsi/ |
| H A D | scsi_debugfs.c | 18 static int scsi_flags_show(struct seq_file *m, const unsigned long flags, in scsi_flags_show() argument 26 seq_puts(m, "|"); in scsi_flags_show() 29 seq_puts(m, flag_name[i]); in scsi_flags_show() 31 seq_printf(m, "%d", i); in scsi_flags_show() 54 void scsi_show_rq(struct seq_file *m, struct request *rq) in scsi_show_rq() argument 65 seq_printf(m, ", .cmd=%s, .retries=%d, .allowed=%d, .result = %#x%s%s", in scsi_show_rq() 68 seq_printf(m, ", .timeout=%d.%03d, allocated %d.%03d s ago", in scsi_show_rq() 69 timeout_ms / 1000, timeout_ms % 1000, in scsi_show_rq() 70 alloc_ms / 1000, alloc_ms % 1000); in scsi_show_rq() 72 seq_printf(m, ", .flags="); in scsi_show_rq() [all …]
|
| /linux/drivers/net/mdio/ |
| H A D | mdio-cavium.c | 14 enum cavium_mdiobus_mode m) in cavium_mdiobus_set_mode() argument 18 if (m == p->mode) in cavium_mdiobus_set_mode() 22 smi_clk.s.mode = (m == C45) ? 1 : 0; in cavium_mdiobus_set_mode() 25 p->mode = m; in cavium_mdiobus_set_mode() 33 int timeout = 1000; in cavium_mdiobus_c45_addr() 48 /* Wait 1000 clocks so we don't saturate the RSL bus in cavium_mdiobus_c45_addr() 51 __delay(1000); in cavium_mdiobus_c45_addr() 65 int timeout = 1000; in cavium_mdiobus_read_c22() 76 /* Wait 1000 clocks so we don't saturate the RSL bus in cavium_mdiobus_read_c22() 79 __delay(1000); in cavium_mdiobus_read_c22() [all …]
|
| /linux/arch/arm/mach-s3c/ |
| H A D | cpu.h | 46 #define MHZ (1000*1000) 49 #define print_mhz(m) ((m) / MHZ), (((m) / 1000) % 1000) argument
|
| /linux/kernel/time/ |
| H A D | timeconst.bc | 34 auto s, m; 36 m = fmul(s,n,d); 37 if (m >= 2^(b-1)) 61 s=fmuls(32,1000,hz) 63 print "#define HZ_TO_MSEC_MUL32\tU64_C(0x", fmul(s,1000,hz), ")\n" 64 print "#define HZ_TO_MSEC_ADJ32\tU64_C(0x", fadj(s,1000,hz), ")\n" 68 s=fmuls(32,hz,1000) 70 print "#define MSEC_TO_HZ_MUL32\tU64_C(0x", fmul(s,hz,1000), ")\n" 71 print "#define MSEC_TO_HZ_ADJ32\tU64_C(0x", fadj(s,hz,1000), ")\n" 76 cd=gcd(hz,1000) [all …]
|
| /linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
| H A D | timer.h | 66 #define nvkm_usec(d, u, cond...) nvkm_nsec((d), (u) * 1000ULL, ##cond) 67 #define nvkm_msec(d, m, cond...) nvkm_usec((d), (m) * 1000ULL, ##cond) argument 75 nvkm_wait_nsec((d), (u) * 1000, (addr), (mask), (data)) 76 #define nvkm_wait_msec(d,m,addr,mask,data) \ argument 77 nvkm_wait_usec((d), (m) * 1000, (addr), (mask), (data))
|
| /linux/net/ceph/ |
| H A D | ceph_common.c | 529 if (result.uint_32 < 1 || result.uint_32 > INT_MAX / 1000) in ceph_parse_param() 532 msecs_to_jiffies(result.uint_32 * 1000); in ceph_parse_param() 536 if (result.uint_32 < 1 || result.uint_32 > INT_MAX / 1000) in ceph_parse_param() 538 opt->osd_idle_ttl = msecs_to_jiffies(result.uint_32 * 1000); in ceph_parse_param() 542 if (result.uint_32 > INT_MAX / 1000) in ceph_parse_param() 544 opt->mount_timeout = msecs_to_jiffies(result.uint_32 * 1000); in ceph_parse_param() 548 if (result.uint_32 > INT_MAX / 1000) in ceph_parse_param() 551 msecs_to_jiffies(result.uint_32 * 1000); in ceph_parse_param() 603 int ceph_print_client_options(struct seq_file *m, struct ceph_client *client, in ceph_print_client_options() argument 607 size_t pos = m->count; in ceph_print_client_options() [all …]
|
| /linux/drivers/scsi/aic7xxx/ |
| H A D | aic79xx_proc.c | 46 struct seq_file *m, 49 static void ahd_dump_device_state(struct seq_file *m, 93 ahd_format_transinfo(struct seq_file *m, struct ahd_transinfo *tinfo) in ahd_format_transinfo() argument 100 seq_puts(m, "Renegotiation Pending\n"); in ahd_format_transinfo() 110 mb = speed / 1000; in ahd_format_transinfo() 112 seq_printf(m, "%d.%03dMB/s transfers", mb, speed % 1000); in ahd_format_transinfo() 114 seq_printf(m, "%dKB/s transfers", speed); in ahd_format_transinfo() 120 seq_printf(m, " (%d.%03dMHz", freq / 1000, freq % 1000); in ahd_format_transinfo() 122 seq_puts(m, " RDSTRM"); in ahd_format_transinfo() 126 seq_puts(m, printed_options ? "|DT" : " DT"); in ahd_format_transinfo() [all …]
|
| H A D | aic7xxx_proc.c | 47 struct seq_file *m, 50 static void ahc_dump_device_state(struct seq_file *m, 94 ahc_format_transinfo(struct seq_file *m, struct ahc_transinfo *tinfo) in ahc_format_transinfo() argument 107 mb = speed / 1000; in ahc_format_transinfo() 109 seq_printf(m, "%d.%03dMB/s transfers", mb, speed % 1000); in ahc_format_transinfo() 111 seq_printf(m, "%dKB/s transfers", speed); in ahc_format_transinfo() 114 seq_printf(m, " (%d.%03dMHz%s, offset %d", in ahc_format_transinfo() 115 freq / 1000, freq % 1000, in ahc_format_transinfo() 122 seq_puts(m, ", "); in ahc_format_transinfo() 124 seq_puts(m, " ("); in ahc_format_transinfo() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_amdkfd_gfx_v7.c | 136 static inline uint32_t get_sdma_rlc_reg_offset(struct cik_sdma_rlc_registers *m) in get_sdma_rlc_reg_offset() argument 140 retval = m->sdma_engine_id * SDMA1_REGISTER_OFFSET + in get_sdma_rlc_reg_offset() 141 m->sdma_queue_id * KFD_CIK_SDMA_QUEUE_OFFSET; in get_sdma_rlc_reg_offset() 144 m->sdma_engine_id, m->sdma_queue_id, retval); in get_sdma_rlc_reg_offset() 164 struct cik_mqd *m; in kgd_hqd_load() local 169 m = get_mqd(mqd); in kgd_hqd_load() 174 mqd_hqd = &m->cp_mqd_base_addr_lo; in kgd_hqd_load() 182 data = REG_SET_FIELD(m->cp_hqd_pq_doorbell_control, in kgd_hqd_load() 196 data = REG_SET_FIELD(m->cp_hqd_active, CP_HQD_ACTIVE, ACTIVE, 1); in kgd_hqd_load() 242 struct cik_sdma_rlc_registers *m; in kgd_hqd_sdma_load() local [all …]
|
| H A D | amdgpu_amdkfd_gfx_v8.c | 131 static inline uint32_t get_sdma_rlc_reg_offset(struct vi_sdma_mqd *m) in get_sdma_rlc_reg_offset() argument 135 retval = m->sdma_engine_id * SDMA1_REGISTER_OFFSET + in get_sdma_rlc_reg_offset() 136 m->sdma_queue_id * KFD_VI_SDMA_QUEUE_OFFSET; in get_sdma_rlc_reg_offset() 139 m->sdma_engine_id, m->sdma_queue_id, retval); in get_sdma_rlc_reg_offset() 159 struct vi_mqd *m; in kgd_hqd_load() local 164 m = get_mqd(mqd); in kgd_hqd_load() 169 if (m->cp_hqd_vmid == 0) { in kgd_hqd_load() 184 mqd_hqd = &m->cp_mqd_base_addr_lo; in kgd_hqd_load() 195 WREG32(mmCP_HQD_EOP_RPTR, m->cp_hqd_eop_rptr); in kgd_hqd_load() 196 WREG32(mmCP_HQD_EOP_WPTR, m->cp_hqd_eop_wptr); in kgd_hqd_load() [all …]
|
| H A D | amdgpu_amdkfd_gfx_v10_3.c | 184 struct v10_compute_mqd *m; in hqd_load_v10_3() local 188 m = get_mqd(mqd); in hqd_load_v10_3() 194 if (m->cp_hqd_vmid == 0) { in hqd_load_v10_3() 209 mqd_hqd = &m->cp_mqd_base_addr_lo; in hqd_load_v10_3() 218 data = REG_SET_FIELD(m->cp_hqd_pq_doorbell_control, in hqd_load_v10_3() 240 2 << REG_GET_FIELD(m->cp_hqd_pq_control, in hqd_load_v10_3() 242 uint64_t guessed_wptr = m->cp_hqd_pq_rptr & (queue_size - 1); in hqd_load_v10_3() 244 if ((m->cp_hqd_pq_wptr_lo & (queue_size - 1)) < guessed_wptr) in hqd_load_v10_3() 246 guessed_wptr += m->cp_hqd_pq_wptr_lo & ~(queue_size - 1); in hqd_load_v10_3() 247 guessed_wptr += (uint64_t)m->cp_hqd_pq_wptr_hi << 32; in hqd_load_v10_3() [all …]
|
| /linux/drivers/video/fbdev/core/ |
| H A D | fbmon.c | 338 tmp *= 1000; in get_chroma() 344 tmp *= 1000; in get_chroma() 350 tmp *= 1000; in get_chroma() 356 tmp *= 1000; in get_chroma() 362 tmp *= 1000; in get_chroma() 368 tmp *= 1000; in get_chroma() 374 tmp *= 1000; in get_chroma() 380 tmp *= 1000; in get_chroma() 550 && PICOS2KHZ(mode->pixclock) * 1000 > specs->dclkmax) { in get_std_timing() 575 mode->pixclock /= 1000; in get_detailed_timing() [all …]
|
| /linux/drivers/clk/xilinx/ |
| H A D | clk-xlnx-clock-wizard.c | 84 #define WZRD_TIMEOUT_POLL 1000 109 #define WZRD_FRAC_POINTS 1000 157 * @m: value of the multiplier 172 u32 m; member 346 u32 m, d, o; in clk_wzrd_get_divisors_ver() local 358 for (m = mmin; m <= mmax; m++) { in clk_wzrd_get_divisors_ver() 360 vco_freq = DIV_ROUND_CLOSEST((parent_rate * m), d); in clk_wzrd_get_divisors_ver() 372 divider->m = m; in clk_wzrd_get_divisors_ver() 388 u64 m, d, o; in clk_wzrd_get_divisors() local 400 for (m = mmin; m <= mmax; m++) { in clk_wzrd_get_divisors() [all …]
|
| /linux/drivers/video/fbdev/nvidia/ |
| H A D | nv_hw.c | 144 unsigned int pll, N, M, MB, NB, P; in nvGetClocks() local 150 M = pll & 0xFF; in nvGetClocks() 160 *MClk = ((N * NB * par->CrystalFreqKHz) / (M * MB)) >> P; in nvGetClocks() 165 M = pll & 0xFF; in nvGetClocks() 170 *NVClk = ((N * NB * par->CrystalFreqKHz) / (M * MB)) >> P; in nvGetClocks() 173 M = pll & 0xFF; in nvGetClocks() 184 *MClk = ((N * NB * par->CrystalFreqKHz) / (M * MB)) >> P; in nvGetClocks() 187 M = pll & 0xFF; in nvGetClocks() 198 *NVClk = ((N * NB * par->CrystalFreqKHz) / (M * MB)) >> P; in nvGetClocks() 203 M = pll & 0x0F; in nvGetClocks() [all …]
|
| /linux/tools/testing/selftests/net/netfilter/packetdrill/ |
| H A D | conntrack_rst_invalid.pkt | 6 +0 `$xtables -A INPUT -p tcp -m conntrack --ctstate INVALID -j DROP` 7 +0 `$xtables -A OUTPUT -p tcp -m conntrack --ctstate INVALID -j DROP` 19 +0 < . 1:1001(1000) ack 1 win 65535 20 +0 < . 1001:2001(1000) ack 1 win 65535 21 +0 < . 2001:3001(1000) ack 1 win 65535 27 +0 write(3, ..., 1000) = 1000 41 +0.0 > P. 1:1001(1000) ack 3001 win 65535 43 +0.1 read(3, ..., 1000) = 1000
|
| H A D | conntrack_inexact_rst.pkt | 17 +0 `iptables -A INPUT -p tcp -m conntrack --ctstate INVALID -j DROP` 18 +0 `iptables -A OUTPUT -p tcp -m conntrack --ctstate INVALID -j DROP` 30 +0 < . 1:1001(1000) ack 1 win 65535 31 +0 < . 1001:2001(1000) ack 1 win 65535 32 +0 < . 2001:3001(1000) ack 1 win 65535 38 +0 write(3, ..., 1000) = 1000 40 +0.0 > P. 1:1001(1000) ack 3001 win 65535 42 +0.1 read(3, ..., 1000) = 1000
|
| /linux/drivers/gpu/drm/omapdrm/dss/ |
| H A D | pll.c | 181 int m, m_start, m_stop; in dss_pll_hsdiv_calc_a() local 191 for (m = m_start; m <= m_stop; ++m) { in dss_pll_hsdiv_calc_a() 192 out = clkdco / m; in dss_pll_hsdiv_calc_a() 194 if (func(m, out, data)) in dss_pll_hsdiv_calc_a() 202 * clkdco = clkin / n * m * 2 211 int m, m_start, m_stop, m_inc; in dss_pll_calc_a() local 253 for (m = m_start; m != m_stop; m += m_inc) { in dss_pll_calc_a() 254 clkdco = 2 * m * fint; in dss_pll_calc_a() 256 if (func(n, m, fint, clkdco, data)) in dss_pll_calc_a() 269 * clkdco = clkin / n * m + clkin / n * mf / 262144 [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | udpgro.sh | 51 ip netns exec "${PEER_NS}" ./udpgso_bench_rx -C 1000 -R 100 ${rx_args} & 98 ip netns exec "${PEER_NS}" ./udpgso_bench_rx -C 1000 -R 100 ${family} -b ${addr2%/*} ${rx_args} & 120 ip netns exec "${PEER_NS}" ./udpgso_bench_rx -C 1000 -R 100 ${rx_args} -p 12345 & 160 run_test "no GRO" "${ipv4_args} -M 10 -s 1400" "-4 -n 10 -l 1400" 165 run_test "no GRO chk cmsg" "${ipv4_args} -M 10 -s 1400" "-4 -n 10 -l 1400 -S -1" 172 run_test "GRO" "${ipv4_args} -M 1 -s 14720 -S 0 " "-4 -n 1 -l 14720" 174 run_test "GRO chk cmsg" "${ipv4_args} -M 1 -s 14720 -S 0 " "-4 -n 1 -l 14720 -S 1472" 176 run_test "GRO with custom segment size" "${ipv4_args} -M 1 -s 14720 -S 500 " "-4 -n 1 -l 14720" 178 …run_test "GRO with custom segment size cmsg" "${ipv4_args} -M 1 -s 14720 -S 500 " "-4 -n 1 -l 1472… 181 run_nat_test "bad GRO lookup" "${ipv4_args} -M 1 -s 14720 -S 0" "-n 10 -l 1472" [all …]
|
| /linux/drivers/input/misc/ |
| H A D | hp_sdc_rtc.c | 194 res->tv_nsec = (long)(tenms % 100) * 10000 * 1000; in hp_sdc_rtc_read_rt() 211 res->tv_nsec = (long)(tenms % 100) * 10000 * 1000; in hp_sdc_rtc_read_fhs() 228 res->tv_nsec = (long)(tenms % 100) * 10000 * 1000; in hp_sdc_rtc_read_mt() 245 res->tv_nsec = (long)(tenms % 100) * 10000 * 1000; in hp_sdc_rtc_read_dt() 262 res->tv_nsec = (long)(tenms % 100) * 10000 * 1000; in hp_sdc_rtc_read_ct() 268 static int __maybe_unused hp_sdc_rtc_proc_show(struct seq_file *m, void *v) in hp_sdc_rtc_proc_show() argument 278 seq_puts(m, "BBRTC\t\t: READ FAILED!\n"); in hp_sdc_rtc_proc_show() 280 seq_printf(m, in hp_sdc_rtc_proc_show() 288 seq_puts(m, "i8042 rtc\t: READ FAILED!\n"); in hp_sdc_rtc_proc_show() 290 seq_printf(m, "i8042 rtc\t: %lld.%02ld seconds\n", in hp_sdc_rtc_proc_show() [all …]
|
| /linux/drivers/net/ethernet/intel/ |
| H A D | Kconfig | 42 To compile this driver as a module, choose M here. The module 46 tristate "Intel(R) PRO/1000 Gigabit Ethernet support" 49 This driver supports Intel(R) PRO/1000 gigabit ethernet family of 58 To compile this driver as a module, choose M here. The module 62 tristate "Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support" 67 This driver supports the PCI-Express Intel(R) PRO/1000 gigabit 78 To compile this driver as a module, choose M here. The module 106 To compile this driver as a module, choose M here. The module 112 depends on IGB && HWMON && !(IGB=y && HWMON=m) 123 depends on IGB && DCA && !(IGB=y && DCA=m) [all …]
|
| /linux/drivers/clk/sprd/ |
| H A D | sc9863a-clk.c | 26 static SPRD_PLL_SC_GATE_CLK_FW_NAME(mpll0_gate, "mpll0-gate", "ext-26m", 0x94, 28 static SPRD_PLL_SC_GATE_CLK_FW_NAME(dpll0_gate, "dpll0-gate", "ext-26m", 0x98, 30 static SPRD_PLL_SC_GATE_CLK_FW_NAME(lpll_gate, "lpll-gate", "ext-26m", 0x9c, 32 static SPRD_PLL_SC_GATE_CLK_FW_NAME(gpll_gate, "gpll-gate", "ext-26m", 0xa8, 34 static SPRD_PLL_SC_GATE_CLK_FW_NAME(dpll1_gate, "dpll1-gate", "ext-26m", 0x1dc, 36 static SPRD_PLL_SC_GATE_CLK_FW_NAME(mpll1_gate, "mpll1-gate", "ext-26m", 0x1e0, 38 static SPRD_PLL_SC_GATE_CLK_FW_NAME(mpll2_gate, "mpll2-gate", "ext-26m", 0x1e4, 40 static SPRD_PLL_SC_GATE_CLK_FW_NAME(isppll_gate, "isppll-gate", "ext-26m", 91 static SPRD_PLL_FW_NAME(twpll, "twpll", "ext-26m", 0x4, 3, itable, 92 f_twpll, 240, 1000, 1000, 0, 0); [all …]
|
| /linux/drivers/gpu/drm/nouveau/include/nvif/ |
| H A D | timer.h | 33 #define nvif_usec(d,u,cond...) nvif_nsec((d), (u) * 1000, ##cond) 34 #define nvif_msec(d,m,cond...) nvif_usec((d), (m) * 1000, ##cond) argument
|
| /linux/samples/connector/ |
| H A D | cn_test.c | 117 struct cn_msg *m; in cn_test_timer_func() local 122 m = kzalloc(sizeof(*m) + sizeof(data), GFP_ATOMIC); in cn_test_timer_func() 123 if (m) { in cn_test_timer_func() 125 memcpy(&m->id, &cn_test_id, sizeof(m->id)); in cn_test_timer_func() 126 m->seq = cn_test_timer_counter; in cn_test_timer_func() 127 m->len = sizeof(data); in cn_test_timer_func() 129 m->len = in cn_test_timer_func() 133 memcpy(m + 1, data, m->len); in cn_test_timer_func() 135 cn_netlink_send(m, 0, 0, GFP_ATOMIC); in cn_test_timer_func() 136 kfree(m); in cn_test_timer_func() [all …]
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | stb6000.c | 5 Copyright (C) 2008 Igor M. Liplianin (liplianin@me.by) 68 unsigned int n, m; in stb6000_set_params() local 82 freq_mhz = p->frequency / 1000; in stb6000_set_params() 109 if (freq_mhz < 1000) in stb6000_set_params() 113 m = 2; in stb6000_set_params() 116 m = 1; in stb6000_set_params() 120 (m * freq_mhz - n * 16) | 0x60); in stb6000_set_params() 161 priv->frequency = freq_mhz * 1000; in stb6000_set_params() 241 MODULE_AUTHOR("Igor M. Liplianin <liplianin@me.by>");
|