/linux-master/drivers/net/dsa/mv88e6xxx/ |
H A D | chip.c | 7127 if (strcmp(pdata->cd.port_names[port], "cpu")) 7129 pdata->cd.netdev[port] = &pdata->netdev->dev;
|
/linux-master/fs/nfsd/ |
H A D | nfs4xdr.c | 3013 u32 flush_time = convert_to_wallclock(exp->cd->flush_time); 3709 nfsd4_encode_entry4_fattr(struct nfsd4_readdir *cd, const char *name, argument 3712 struct svc_export *exp = cd->rd_fhp->fh_export; 3717 dentry = lookup_positive_unlocked(name, cd->rd_fhp->fh_dentry, namlen); 3733 && !attributes_need_mount(cd->rd_bmval)) { 3742 err = nfsd_cross_mnt(cd->rd_rqstp, &dentry, &exp); 3747 nfserr = check_nfsd_access(exp, cd->rd_rqstp); 3753 nfserr = nfsd4_encode_fattr4(cd->rd_rqstp, cd->xdr, NULL, exp, dentry, 3754 cd 3784 struct nfsd4_readdir *cd = container_of(ccd, struct nfsd4_readdir, common); local [all...] |
/linux-master/drivers/mtd/nand/raw/ |
H A D | diskonchip.c | 140 struct rs_codec *cd = rs->codec; local 161 tmp = cd->index_of[ds[j]]; 163 s[i] ^= cd->alpha_to[rs_modnn(cd, tmp + (FCR + i) * j)]; 169 syn[i] = rs_modnn(cd, cd->index_of[s[i]] + (NN - FCR - i));
|
/linux-master/virt/kvm/ |
H A D | kvm_main.c | 4777 struct kvm_create_device *cd) 4781 bool test = cd->flags & KVM_CREATE_DEVICE_TEST; 4785 if (cd->type >= ARRAY_SIZE(kvm_device_ops_table)) 4788 type = array_index_nospec(cd->type, ARRAY_SIZE(kvm_device_ops_table)); 4830 cd->fd = ret; 5308 struct kvm_create_device cd; local 5311 if (copy_from_user(&cd, argp, sizeof(cd))) 5314 r = kvm_ioctl_create_device(kvm, &cd); 5319 if (copy_to_user(argp, &cd, sizeo 4776 kvm_ioctl_create_device(struct kvm *kvm, struct kvm_create_device *cd) argument [all...] |
/linux-master/fs/smb/client/ |
H A D | fscache.c | 27 struct cifs_fscache_volume_coherency_data *cd) 29 memset(cd, 0, sizeof(*cd)); 30 cd->resource_id = cpu_to_le64(tcon->resource_id); 31 cd->vol_create_time = tcon->vol_create_time; 32 cd->vol_serial_number = cpu_to_le32(tcon->vol_serial_number); 37 struct cifs_fscache_volume_coherency_data cd; local 85 cifs_fscache_fill_volume_coherency(tcon, &cd); 88 &cd, sizeof(cd)); 25 cifs_fscache_fill_volume_coherency( struct cifs_tcon *tcon, struct cifs_fscache_volume_coherency_data *cd) argument 116 struct cifs_fscache_volume_coherency_data cd; local 129 struct cifs_fscache_inode_coherency_data cd; local 152 struct cifs_fscache_inode_coherency_data cd; local 156 fscache_unuse_cookie(cifs_inode_cookie(inode), &cd, &i_size); local [all...] |
H A D | inode.c | 84 struct cifs_fscache_inode_coherency_data cd; local 118 cifs_fscache_fill_coherency(&cifs_i->netfs.inode, &cd); 119 fscache_invalidate(cifs_inode_cookie(inode), &cd, i_size_read(inode), 0); local
|
H A D | fscache.h | 50 struct cifs_fscache_inode_coherency_data *cd) 55 memset(cd, 0, sizeof(*cd)); 56 cd->last_write_time_sec = cpu_to_le64(mtime.tv_sec); 57 cd->last_write_time_nsec = cpu_to_le32(mtime.tv_nsec); 58 cd->last_change_time_sec = cpu_to_le64(ctime.tv_sec); 59 cd->last_change_time_nsec = cpu_to_le32(ctime.tv_nsec); 70 struct cifs_fscache_inode_coherency_data cd; local 72 cifs_fscache_fill_coherency(inode, &cd); 73 fscache_invalidate(cifs_inode_cookie(inode), &cd, local 49 cifs_fscache_fill_coherency(struct inode *inode, struct cifs_fscache_inode_coherency_data *cd) argument 119 cifs_fscache_fill_coherency(struct inode *inode, struct cifs_fscache_inode_coherency_data *cd) argument [all...] |
/linux-master/drivers/accel/ivpu/ |
H A D | ivpu_mmu.c | 701 u64 cd[4]; local 710 cd[0] = FIELD_PREP(IVPU_MMU_CD_0_TCR_T0SZ, IVPU_MMU_T0SZ_48BIT) | 722 cd[1] = cd_dma & IVPU_MMU_CD_1_TTB0_MASK; 723 cd[2] = 0; 724 cd[3] = 0x0000000000007444; 728 cd[0] |= IVPU_MMU_CD_0_A; 730 memset(cd, 0, sizeof(cd)); 733 WRITE_ONCE(entry[1], cd[1]); 734 WRITE_ONCE(entry[2], cd[ [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_common.c | 301 * @cd: pointer to command details structure or NULL 313 struct ice_sq_cd *cd) 329 status = ice_aq_send_cmd(hw, &desc, buf, buf_size, cd); 360 * @cd: pointer to command details structure or NULL 367 struct ice_sq_cd *cd) 392 status = ice_aq_send_cmd(hw, &desc, pcaps, pcaps_size, cd); 452 * @cd: pointer to command details structure or NULL 462 struct ice_sq_cd *cd) 479 return ice_aq_send_cmd(pi->hw, &desc, NULL, 0, cd); 714 * @cd 312 ice_aq_manage_mac_read(struct ice_hw *hw, void *buf, u16 buf_size, struct ice_sq_cd *cd) argument 365 ice_aq_get_phy_caps(struct ice_port_info *pi, bool qual_mods, u8 report_mode, struct ice_aqc_get_phy_caps_data *pcaps, struct ice_sq_cd *cd) argument 461 ice_aq_get_link_topo_handle(struct ice_port_info *pi, u8 node_type, struct ice_sq_cd *cd) argument 719 ice_aq_get_link_info(struct ice_port_info *pi, bool ena_lse, struct ice_link_status *link, struct ice_sq_cd *cd) argument 869 ice_aq_set_mac_cfg(struct ice_hw *hw, u16 max_frame_size, struct ice_sq_cd *cd) argument 1457 ice_sbq_send_cmd(struct ice_hw *hw, struct ice_sbq_cmd_desc *desc, void *buf, u16 buf_size, struct ice_sq_cd *cd) argument 1544 ice_sq_send_cmd_retry(struct ice_hw *hw, struct ice_ctl_q_info *cq, struct ice_aq_desc *desc, void *buf, u16 buf_size, struct ice_sq_cd *cd) argument 1592 ice_aq_send_cmd(struct ice_hw *hw, struct ice_aq_desc *desc, void *buf, u16 buf_size, struct ice_sq_cd *cd) argument 1647 ice_aq_get_fw_ver(struct ice_hw *hw, struct ice_sq_cd *cd) argument 1683 ice_aq_send_driver_ver(struct ice_hw *hw, struct ice_driver_ver *dv, struct ice_sq_cd *cd) argument 1761 ice_aq_req_res(struct ice_hw *hw, enum ice_aq_res_ids res, enum ice_aq_res_access_type access, u8 sdp_number, u32 *timeout, struct ice_sq_cd *cd) argument 1830 ice_aq_release_res(struct ice_hw *hw, enum ice_aq_res_ids res, u8 sdp_number, struct ice_sq_cd *cd) argument 2747 ice_aq_list_caps(struct ice_hw *hw, void *buf, u16 buf_size, u32 *cap_count, enum ice_adminq_opc opc, struct ice_sq_cd *cd) argument 2931 ice_aq_manage_mac_write(struct ice_hw *hw, const u8 *mac_addr, u8 flags, struct ice_sq_cd *cd) argument 2984 ice_aq_set_port_params(struct ice_port_info *pi, bool double_vlan, struct ice_sq_cd *cd) argument 3212 ice_aq_set_phy_cfg(struct ice_hw *hw, struct ice_port_info *pi, struct ice_aqc_set_phy_cfg_data *cfg, struct ice_sq_cd *cd) argument 3677 ice_aq_set_link_restart_an(struct ice_port_info *pi, bool ena_link, struct ice_sq_cd *cd) argument 3707 ice_aq_set_event_mask(struct ice_hw *hw, u8 port_num, u16 mask, struct ice_sq_cd *cd) argument 3732 ice_aq_set_mac_loopback(struct ice_hw *hw, bool ena_lpbk, struct ice_sq_cd *cd) argument 3755 ice_aq_set_port_id_led(struct ice_port_info *pi, bool is_orig_mode, struct ice_sq_cd *cd) argument 3905 ice_aq_sff_eeprom(struct ice_hw *hw, u16 lport, u8 bus_addr, u16 mem_addr, u8 page, u8 set_page, u8 *data, u8 length, bool write, struct ice_sq_cd *cd) argument 4127 ice_aq_add_lan_txq(struct ice_hw *hw, u8 num_qgrps, struct ice_aqc_add_tx_qgrp *qg_list, u16 buf_size, struct ice_sq_cd *cd) argument 4175 ice_aq_dis_lan_txq(struct ice_hw *hw, u8 num_qgrps, struct ice_aqc_dis_txq_item *qg_list, u16 buf_size, enum ice_disq_rst_src rst_src, u16 vmvf_num, struct ice_sq_cd *cd) argument 4275 ice_aq_cfg_lan_txq(struct ice_hw *hw, struct ice_aqc_cfg_txqs_buf *buf, u16 buf_size, u16 num_qs, u8 oldport, u8 newport, struct ice_sq_cd *cd) argument 4315 ice_aq_add_rdma_qsets(struct ice_hw *hw, u8 num_qset_grps, struct ice_aqc_add_rdma_qset_data *qset_list, u16 buf_size, struct ice_sq_cd *cd) argument 4588 ice_ena_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle, u8 num_qgrps, struct ice_aqc_add_tx_qgrp *buf, u16 buf_size, struct ice_sq_cd *cd) argument 4693 ice_dis_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u8 num_queues, u16 *q_handles, u16 *q_ids, u32 *q_teids, enum ice_disq_rst_src rst_src, u16 vmvf_num, struct ice_sq_cd *cd) argument 5561 ice_aq_read_i2c(struct ice_hw *hw, struct ice_aqc_link_topo_addr topo_addr, u16 bus_addr, __le16 addr, u8 params, u8 *data, struct ice_sq_cd *cd) argument 5616 ice_aq_write_i2c(struct ice_hw *hw, struct ice_aqc_link_topo_addr topo_addr, u16 bus_addr, __le16 addr, u8 params, const u8 *data, struct ice_sq_cd *cd) argument 5654 ice_aq_set_gpio(struct ice_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx, bool value, struct ice_sq_cd *cd) argument 5681 ice_aq_get_gpio(struct ice_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx, bool *value, struct ice_sq_cd *cd) argument 5836 ice_aq_set_lldp_mib(struct ice_hw *hw, u8 mib_type, void *buf, u16 buf_size, struct ice_sq_cd *cd) argument [all...] |
H A D | ice_switch.h | 339 struct ice_sq_cd *cd); 342 bool keep_vsi_alloc, struct ice_sq_cd *cd); 345 struct ice_sq_cd *cd); 411 u8 num_rules, enum ice_adminq_opc opc, struct ice_sq_cd *cd); 422 u16 *num_recipes, u16 recipe_root, struct ice_sq_cd *cd); 425 u16 num_recipes, struct ice_sq_cd *cd); 428 struct ice_sq_cd *cd); 431 struct ice_sq_cd *cd);
|
H A D | ice_switch.c | 1416 * @cd: pointer to command details structure or NULL 1437 struct ice_sq_cd *cd) 1447 status = ice_aq_send_cmd(hw, &desc, buf, buf_size, cd); 1460 * @cd: pointer to command details structure or NULL 1466 struct ice_sq_cd *cd) 1488 sizeof(vsi_ctx->info), cd); 1504 * @cd: pointer to command details structure or NULL 1510 bool keep_vsi_alloc, struct ice_sq_cd *cd) 1526 status = ice_aq_send_cmd(hw, &desc, NULL, 0, cd); 1539 * @cd 1435 ice_aq_get_sw_cfg(struct ice_hw *hw, struct ice_aqc_get_sw_cfg_resp_elem *buf, u16 buf_size, u16 *req_desc, u16 *num_elems, struct ice_sq_cd *cd) argument 1465 ice_aq_add_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, struct ice_sq_cd *cd) argument 1509 ice_aq_free_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, bool keep_vsi_alloc, struct ice_sq_cd *cd) argument 1544 ice_aq_update_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, struct ice_sq_cd *cd) argument 1686 ice_add_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, struct ice_sq_cd *cd) argument 1727 ice_free_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, bool keep_vsi_alloc, struct ice_sq_cd *cd) argument 1751 ice_update_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, struct ice_sq_cd *cd) argument 1869 ice_aq_sw_rules(struct ice_hw *hw, void *rule_list, u16 rule_list_sz, u8 num_rules, enum ice_adminq_opc opc, struct ice_sq_cd *cd) argument 1903 ice_aq_add_recipe(struct ice_hw *hw, struct ice_aqc_recipe_data_elem *s_recipe_list, u16 num_recipes, struct ice_sq_cd *cd) argument 1940 ice_aq_get_recipe(struct ice_hw *hw, struct ice_aqc_recipe_data_elem *s_recipe_list, u16 *num_recipes, u16 recipe_root, struct ice_sq_cd *cd) argument 2033 ice_aq_map_recipe_to_profile(struct ice_hw *hw, u32 profile_id, u64 r_assoc, struct ice_sq_cd *cd) argument 2059 ice_aq_get_recipe_to_profile(struct ice_hw *hw, u32 profile_id, u64 *r_assoc, struct ice_sq_cd *cd) argument [all...] |
H A D | ice_sched.c | 96 * @cd: pointer to command details structure or NULL 103 u16 *elems_resp, struct ice_sq_cd *cd) 113 status = ice_aq_send_cmd(hw, &desc, buf, buf_size, cd); 127 * @cd: pointer to command details structure or NULL 134 u16 *elems_ret, struct ice_sq_cd *cd) 138 elems_ret, cd); 214 * @cd: pointer to command details structure or NULL 221 u16 *grps_del, struct ice_sq_cd *cd) 225 grps_del, cd); 366 * @cd 101 ice_aqc_send_sched_elem_cmd(struct ice_hw *hw, enum ice_adminq_opc cmd_opc, u16 elems_req, void *buf, u16 buf_size, u16 *elems_resp, struct ice_sq_cd *cd) argument 132 ice_aq_query_sched_elems(struct ice_hw *hw, u16 elems_req, struct ice_aqc_txsched_elem_data *buf, u16 buf_size, u16 *elems_ret, struct ice_sq_cd *cd) argument 219 ice_aq_delete_sched_elems(struct ice_hw *hw, u16 grps_req, struct ice_aqc_delete_elem *buf, u16 buf_size, u16 *grps_del, struct ice_sq_cd *cd) argument 371 ice_aq_get_dflt_topo(struct ice_hw *hw, u8 lport, struct ice_aqc_get_topo_elem *buf, u16 buf_size, u8 *num_branches, struct ice_sq_cd *cd) argument 401 ice_aq_add_sched_elems(struct ice_hw *hw, u16 grps_req, struct ice_aqc_add_elem *buf, u16 buf_size, u16 *grps_added, struct ice_sq_cd *cd) argument 422 ice_aq_cfg_sched_elems(struct ice_hw *hw, u16 elems_req, struct ice_aqc_txsched_elem_data *buf, u16 buf_size, u16 *elems_cfgd, struct ice_sq_cd *cd) argument 460 ice_aq_suspend_sched_elems(struct ice_hw *hw, u16 elems_req, __le32 *buf, u16 buf_size, u16 *elems_ret, struct ice_sq_cd *cd) argument 480 ice_aq_resume_sched_elems(struct ice_hw *hw, u16 elems_req, __le32 *buf, u16 buf_size, u16 *elems_ret, struct ice_sq_cd *cd) argument 498 ice_aq_query_sched_res(struct ice_hw *hw, u16 buf_size, struct ice_aqc_query_txsched_res_resp *buf, struct ice_sq_cd *cd) argument 662 ice_aq_rl_profile(struct ice_hw *hw, enum ice_adminq_opc opcode, u16 num_profiles, struct ice_aqc_rl_profile_elem *buf, u16 buf_size, u16 *num_processed, struct ice_sq_cd *cd) argument 693 ice_aq_add_rl_profile(struct ice_hw *hw, u16 num_profiles, struct ice_aqc_rl_profile_elem *buf, u16 buf_size, u16 *num_profiles_added, struct ice_sq_cd *cd) argument 713 ice_aq_remove_rl_profile(struct ice_hw *hw, u16 num_profiles, struct ice_aqc_rl_profile_elem *buf, u16 buf_size, u16 *num_profiles_removed, struct ice_sq_cd *cd) argument [all...] |
H A D | ice_ddp.c | 1163 * @cd: pointer to command details structure or NULL 1170 u32 *error_info, struct ice_sq_cd *cd) 1188 status = ice_aq_send_cmd(hw, &desc, pkg_buf, buf_size, cd); 1629 * @cd: pointer to command details structure or NULL 1635 u16 buf_size, struct ice_sq_cd *cd) 1641 return ice_aq_send_cmd(hw, &desc, pkg_info, buf_size, cd); 1652 * @cd: pointer to command details structure or NULL 1658 u32 *error_info, struct ice_sq_cd *cd) 1676 status = ice_aq_send_cmd(hw, &desc, pkg_buf, buf_size, cd); 1696 * @cd 1168 ice_aq_download_pkg(struct ice_hw *hw, struct ice_buf_hdr *pkg_buf, u16 buf_size, bool last_buf, u32 *error_offset, u32 *error_info, struct ice_sq_cd *cd) argument 1633 ice_aq_get_pkg_info_list(struct ice_hw *hw, struct ice_aqc_get_pkg_info_resp *pkg_info, u16 buf_size, struct ice_sq_cd *cd) argument 1656 ice_aq_update_pkg(struct ice_hw *hw, struct ice_buf_hdr *pkg_buf, u16 buf_size, bool last_buf, u32 *error_offset, u32 *error_info, struct ice_sq_cd *cd) argument 1700 ice_aq_upload_section(struct ice_hw *hw, struct ice_buf_hdr *pkg_buf, u16 buf_size, struct ice_sq_cd *cd) argument [all...] |
/linux-master/drivers/net/ethernet/renesas/ |
H A D | sh_eth.c | 503 if (mdp->cd->csmr) 507 if (mdp->cd->select_mii) 517 if (WARN_ON(!mdp->cd->gecmr)) 914 if (WARN_ON(!mdp->cd->gecmr)) 1101 static void sh_eth_set_default_cpu_data(struct sh_eth_cpu_data *cd) argument 1103 if (!cd->ecsr_value) 1104 cd->ecsr_value = DEFAULT_ECSR_INIT; 1106 if (!cd->ecsipr_value) 1107 cd->ecsipr_value = DEFAULT_ECSIPR_INIT; 1109 if (!cd 1844 struct sh_eth_cpu_data *cd = mdp->cd; local 2060 struct sh_eth_cpu_data *cd = mdp->cd; local [all...] |
/linux-master/kernel/time/ |
H A D | posix-clock.c | 219 static int get_clock_desc(const clockid_t id, struct posix_clock_desc *cd) argument 230 cd->fp = fp; 231 cd->clk = get_posix_clock(fp); 233 err = cd->clk ? 0 : -ENODEV; 240 static void put_clock_desc(struct posix_clock_desc *cd) argument 242 put_posix_clock(cd->clk); 243 fput(cd->fp); 248 struct posix_clock_desc cd; local 251 err = get_clock_desc(id, &cd); 255 if ((cd 272 struct posix_clock_desc cd; local 291 struct posix_clock_desc cd; local 310 struct posix_clock_desc cd; local [all...] |
/linux-master/drivers/iommu/arm/arm-smmu-v3/ |
H A D | arm-smmu-v3.c | 1244 struct arm_smmu_ctx_desc *cd) 1273 if (!cd) { /* (5) */ 1275 } else if (cd == &quiet_cd) { /* (4) */ 1281 val |= FIELD_PREP(CTXDESC_CD_0_ASID, cd->asid); 1287 cdptr[1] = cpu_to_le64(cd->ttbr & CTXDESC_CD_1_TTB0_MASK); 1289 cdptr[3] = cpu_to_le64(cd->mair); 1298 val = cd->tcr | 1303 (cd->mm ? 0 : CTXDESC_CD_0_ASET) | 1305 FIELD_PREP(CTXDESC_CD_0_ASID, cd->asid) | 1407 bool arm_smmu_free_asid(struct arm_smmu_ctx_desc *cd) argument 1243 arm_smmu_write_ctx_desc(struct arm_smmu_master *master, int ssid, struct arm_smmu_ctx_desc *cd) argument 2238 struct arm_smmu_ctx_desc *cd = &smmu_domain->cd; local [all...] |
H A D | arm-smmu-v3.h | 728 struct arm_smmu_ctx_desc cd; member in union:arm_smmu_domain::__anon15 750 struct arm_smmu_ctx_desc *cd); 755 bool arm_smmu_free_asid(struct arm_smmu_ctx_desc *cd);
|
/linux-master/io_uring/ |
H A D | waitid.c | 159 int io_waitid_cancel(struct io_ring_ctx *ctx, struct io_cancel_data *cd, argument 166 if (cd->flags & (IORING_ASYNC_CANCEL_FD|IORING_ASYNC_CANCEL_FD_FIXED)) 171 if (req->cqe.user_data != cd->data && 172 !(cd->flags & IORING_ASYNC_CANCEL_ANY)) 176 if (!(cd->flags & IORING_ASYNC_CANCEL_ALL))
|
H A D | poll.c | 806 struct io_cancel_data *cd, 811 u32 index = hash_long(cd->data, table->hash_bits); 818 if (cd->data != req->cqe.user_data) 822 if (cd->flags & IORING_ASYNC_CANCEL_ALL) { 823 if (io_cancel_match_sequence(req, cd->seq)) 834 struct io_cancel_data *cd, 849 if (io_cancel_req_match(req, cd)) { 870 static int __io_poll_cancel(struct io_ring_ctx *ctx, struct io_cancel_data *cd, argument 876 if (cd->flags & (IORING_ASYNC_CANCEL_FD | IORING_ASYNC_CANCEL_OP | 878 req = io_poll_file_find(ctx, cd, tabl 805 io_poll_find(struct io_ring_ctx *ctx, bool poll_only, struct io_cancel_data *cd, struct io_hash_table *table, struct io_hash_bucket **out_bucket) argument 833 io_poll_file_find(struct io_ring_ctx *ctx, struct io_cancel_data *cd, struct io_hash_table *table, struct io_hash_bucket **out_bucket) argument 889 io_poll_cancel(struct io_ring_ctx *ctx, struct io_cancel_data *cd, unsigned issue_flags) argument 995 struct io_cancel_data cd = { .ctx = ctx, .data = poll_update->old_user_data, }; local [all...] |
H A D | futex.c | 122 int io_futex_cancel(struct io_ring_ctx *ctx, struct io_cancel_data *cd, argument 129 if (cd->flags & (IORING_ASYNC_CANCEL_FD|IORING_ASYNC_CANCEL_FD_FIXED)) 134 if (req->cqe.user_data != cd->data && 135 !(cd->flags & IORING_ASYNC_CANCEL_ANY)) 139 if (!(cd->flags & IORING_ASYNC_CANCEL_ALL))
|
/linux-master/drivers/tty/serial/ |
H A D | xilinx_uartps.c | 522 u32 cd, bdiv; local 536 cd = DIV_ROUND_CLOSEST(clk, baud * (bdiv + 1)); 537 if (cd < 1 || cd > CDNS_UART_CD_MAX) 540 calc_baud = clk / (cd * (bdiv + 1)); 549 *rcd = cd; 572 u32 cd = 0, bdiv = 0; local 577 calc_baud = cdns_uart_calc_baud_divs(port->uartclk, baud, &bdiv, &cd, 587 writel(cd, port->membase + CDNS_UART_BAUDGEN); 619 u32 bdiv, cd; local 1334 u32 cd = 0, bdiv = 0; local [all...] |
/linux-master/drivers/staging/fieldbus/anybuss/ |
H A D | host.c | 247 typedef int (*ab_task_fn_t)(struct anybuss_host *cd, 249 typedef void (*ab_done_fn_t)(struct anybuss_host *cd); 316 static void __ab_task_finish(struct ab_task *t, struct anybuss_host *cd) argument 319 t->done_fn(cd); 324 ab_task_dequeue_finish_put(struct kfifo *q, struct anybuss_host *cd) argument 331 __ab_task_finish(t, cd); 390 static void reset_assert(struct anybuss_host *cd) argument 392 cd->reset(cd->dev, true); 395 static void reset_deassert(struct anybuss_host *cd) argument 459 struct anybuss_host *cd = data; local 481 task_fn_power_off(struct anybuss_host *cd, struct ab_task *t) argument 497 task_fn_power_on_2(struct anybuss_host *cd, struct ab_task *t) argument 513 task_fn_power_on(struct anybuss_host *cd, struct ab_task *t) argument 534 struct anybuss_host *cd = client->host; local 550 task_fn_area_3(struct anybuss_host *cd, struct ab_task *t) argument 565 task_fn_area_2(struct anybuss_host *cd, struct ab_task *t) argument 600 task_fn_area(struct anybuss_host *cd, struct ab_task *t) argument 696 task_fn_mbox_2(struct anybuss_host *cd, struct ab_task *t) argument 720 task_fn_mbox(struct anybuss_host *cd, struct ab_task *t) argument 804 _anybus_mbox_cmd(struct anybuss_host *cd, u16 cmd_num, bool is_fb_cmd, const void *msg_out, size_t msg_out_sz, void *msg_in, size_t msg_in_sz, const void *ext, size_t ext_sz) argument 862 process_q(struct anybuss_host *cd, struct kfifo *q) argument 889 process_qs(struct anybuss_host *cd) argument 899 softint_ack(struct anybuss_host *cd) argument 912 process_softint(struct anybuss_host *cd) argument 967 struct anybuss_host *cd = data; local 1012 struct anybuss_host *cd = client->host; local 1049 struct anybuss_host *cd = client->host; local 1059 struct anybuss_host *cd = client->host; local 1086 struct anybuss_host *cd = client->host; local 1111 struct anybuss_host *cd = client->host; local 1139 struct anybuss_host *cd = client->host; local 1149 struct anybuss_host *cd = client->host; local 1159 struct anybuss_host *cd = client->host; local 1268 struct anybuss_host *cd; local 1400 struct anybuss_host *cd = host; local [all...] |
H A D | arcx-anybus.c | 50 static void do_reset(struct controller_priv *cd, u8 rst_bit, bool reset) argument 52 mutex_lock(&cd->ctrl_lock); 55 * cd->control_reg 58 cd->control_reg &= ~rst_bit; 60 cd->control_reg |= rst_bit; 61 writeb(cd->control_reg, cd->cpld_base + CPLD_CONTROL); 73 mutex_unlock(&cd->ctrl_lock); 76 static int anybuss_reset(struct controller_priv *cd, argument 81 if (cd 90 struct controller_priv *cd = dev_get_drvdata(dev); local 97 struct controller_priv *cd = dev_get_drvdata(dev); local 167 struct controller_priv *cd = dev_get_drvdata(dev); local 176 struct controller_priv *cd = dev_get_drvdata(dev); local 204 struct controller_priv *cd = rdev_get_drvdata(rdev); local 229 struct controller_priv *cd; local 329 struct controller_priv *cd = platform_get_drvdata(pdev); local [all...] |
/linux-master/arch/m68k/amiga/ |
H A D | config.c | 176 const struct ConfigDev *cd = data; local 178 dev->rom = cd->cd_Rom; 179 dev->slotaddr = be16_to_cpu(cd->cd_SlotAddr); 180 dev->slotsize = be16_to_cpu(cd->cd_SlotSize); 181 dev->boardaddr = be32_to_cpu(cd->cd_BoardAddr); 182 dev->boardsize = be32_to_cpu(cd->cd_BoardSize);
|
/linux-master/drivers/s390/cio/ |
H A D | fcx.c | 284 * @cd: pointer to control data for this dcw or NULL if none is required 289 * by @cmd, @flags, @cd, @cd_count and @count to the tca of the tccb. Return 297 void *cd, u8 cd_count, u32 count) 316 if (cd) 317 memcpy(&dcw->cd[0], cd, cd_count); 296 tccb_add_dcw(struct tccb *tccb, size_t tccb_size, u8 cmd, u8 flags, void *cd, u8 cd_count, u32 count) argument
|