/drivers/pwm/ |
D | pwm-sprd.c | 53 static u32 sprd_pwm_read(struct sprd_pwm_chip *spc, u32 hwid, u32 reg) in sprd_pwm_read() argument 57 return readl_relaxed(spc->base + offset); in sprd_pwm_read() 60 static void sprd_pwm_write(struct sprd_pwm_chip *spc, u32 hwid, in sprd_pwm_write() argument 65 writel_relaxed(val, spc->base + offset); in sprd_pwm_write() 71 struct sprd_pwm_chip *spc = in sprd_pwm_get_state() local 73 struct sprd_pwm_chn *chn = &spc->chn[pwm->hwpwm]; in sprd_pwm_get_state() 84 dev_err(spc->dev, "failed to enable pwm%u clocks\n", in sprd_pwm_get_state() 89 val = sprd_pwm_read(spc, pwm->hwpwm, SPRD_PWM_ENABLE); in sprd_pwm_get_state() 103 val = sprd_pwm_read(spc, pwm->hwpwm, SPRD_PWM_PRESCALE); in sprd_pwm_get_state() 108 val = sprd_pwm_read(spc, pwm->hwpwm, SPRD_PWM_DUTY); in sprd_pwm_get_state() [all …]
|
/drivers/nvme/host/ |
D | trace.c | 251 static const char *nvme_trace_fabrics_property_set(struct trace_seq *p, u8 *spc) in nvme_trace_fabrics_property_set() argument 254 u8 attrib = spc[0]; in nvme_trace_fabrics_property_set() 255 u32 ofst = get_unaligned_le32(spc + 4); in nvme_trace_fabrics_property_set() 256 u64 value = get_unaligned_le64(spc + 8); in nvme_trace_fabrics_property_set() 264 static const char *nvme_trace_fabrics_connect(struct trace_seq *p, u8 *spc) in nvme_trace_fabrics_connect() argument 267 u16 recfmt = get_unaligned_le16(spc); in nvme_trace_fabrics_connect() 268 u16 qid = get_unaligned_le16(spc + 2); in nvme_trace_fabrics_connect() 269 u16 sqsize = get_unaligned_le16(spc + 4); in nvme_trace_fabrics_connect() 270 u8 cattr = spc[6]; in nvme_trace_fabrics_connect() 271 u32 kato = get_unaligned_le32(spc + 8); in nvme_trace_fabrics_connect() [all …]
|
D | trace.h | 24 u8 *spc);
|
/drivers/nvme/target/ |
D | trace.c | 138 u8 *spc) in nvmet_trace_fabrics_property_set() argument 141 u8 attrib = spc[0]; in nvmet_trace_fabrics_property_set() 142 u32 ofst = get_unaligned_le32(spc + 4); in nvmet_trace_fabrics_property_set() 143 u64 value = get_unaligned_le64(spc + 8); in nvmet_trace_fabrics_property_set() 152 u8 *spc) in nvmet_trace_fabrics_connect() argument 155 u16 recfmt = get_unaligned_le16(spc); in nvmet_trace_fabrics_connect() 156 u16 qid = get_unaligned_le16(spc + 2); in nvmet_trace_fabrics_connect() 157 u16 sqsize = get_unaligned_le16(spc + 4); in nvmet_trace_fabrics_connect() 158 u8 cattr = spc[6]; in nvmet_trace_fabrics_connect() 159 u32 kato = get_unaligned_le32(spc + 8); in nvmet_trace_fabrics_connect() [all …]
|
D | trace.h | 26 u8 *spc);
|
/drivers/tty/vt/ |
D | selection.c | 233 int new_sel_start, new_sel_end, spc; in vc_do_selection() local 242 spc = is_space_on_vt(sel_pos(ps, unicode)); in vc_do_selection() 244 if ((spc && !is_space_on_vt(sel_pos(ps, unicode))) || in vc_do_selection() 245 (!spc && !inword(sel_pos(ps, unicode)))) in vc_do_selection() 252 spc = is_space_on_vt(sel_pos(pe, unicode)); in vc_do_selection() 254 if ((spc && !is_space_on_vt(sel_pos(pe, unicode))) || in vc_do_selection() 255 (!spc && !inword(sel_pos(pe, unicode)))) in vc_do_selection()
|
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_main.c | 388 int spc, i, j; in nfp_net_fw_find() local 421 spc = ARRAY_SIZE(fw_name); in nfp_net_fw_find() 422 spc -= snprintf(fw_name, spc, "netronome/nic_%s", fw_model); in nfp_net_fw_find() 424 for (i = 0; spc > 0 && i < pf->eth_tbl->count; i += j) { in nfp_net_fw_find() 431 spc -= snprintf(&fw_name[ARRAY_SIZE(fw_name) - spc], spc, in nfp_net_fw_find() 435 if (spc <= 0) in nfp_net_fw_find() 438 spc -= snprintf(&fw_name[ARRAY_SIZE(fw_name) - spc], spc, ".nffw"); in nfp_net_fw_find() 439 if (spc <= 0) in nfp_net_fw_find()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 692 int spc = MLX4_INLINE_ALIGN - CTRL_SIZE - sizeof(*inl); in build_inline_wqe() local 695 if (skb->len <= spc) { in build_inline_wqe() 709 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe() 710 if (hlen <= spc) { in build_inline_wqe() 712 if (hlen < spc) { in build_inline_wqe() 714 fragptr, spc - hlen); in build_inline_wqe() 715 fragptr += spc - hlen; in build_inline_wqe() 717 inl = (void *)inl->data + spc; in build_inline_wqe() 718 memcpy(inl->data, fragptr, skb->len - spc); in build_inline_wqe() 720 skb_copy_from_linear_data(skb, inl->data, spc); in build_inline_wqe() [all …]
|
/drivers/infiniband/hw/mlx4/ |
D | qp.c | 2839 int spc; in build_sriov_qp0_header() local 2907 spc = MLX4_INLINE_ALIGN - in build_sriov_qp0_header() 2909 if (header_size <= spc) { in build_sriov_qp0_header() 2914 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_sriov_qp0_header() 2915 memcpy(inl + 1, sqp->header_buf, spc); in build_sriov_qp0_header() 2917 inl = (void *) (inl + 1) + spc; in build_sriov_qp0_header() 2918 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc); in build_sriov_qp0_header() 2933 inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc)); in build_sriov_qp0_header() 2992 int spc; in build_mlx_header() local 3208 spc = MLX4_INLINE_ALIGN - in build_mlx_header() [all …]
|
/drivers/cpufreq/ |
D | Makefile | 98 obj-$(CONFIG_ARM_VEXPRESS_SPC_CPUFREQ) += vexpress-spc-cpufreq.o
|
/drivers/dma/ |
D | imx-sdma.c | 307 u32 spc :14; member
|