| /Linux-v5.10/sound/pci/asihpi/ |
| D | hpi6000.c | 171 static void hpi6000_send_dsp_interrupt(struct dsp_obj *pdo); 179 static void hpi_write_word(struct dsp_obj *pdo, u32 address, u32 data); 181 static u32 hpi_read_word(struct dsp_obj *pdo, u32 address); 183 static void hpi_write_block(struct dsp_obj *pdo, u32 address, u32 *pdata, 186 static void hpi_read_block(struct dsp_obj *pdo, u32 address, u32 *pdata, 711 struct dsp_obj *pdo = &phw->ado[dsp_index]; in hpi6000_adapter_boot_load_dsp() local 715 iowrite32(0x00010001, pdo->prHPI_control); in hpi6000_adapter_boot_load_dsp() 720 iowrite32(test_data, pdo->prHPI_address); in hpi6000_adapter_boot_load_dsp() 721 data = ioread32(pdo->prHPI_address); in hpi6000_adapter_boot_load_dsp() 745 hpi_write_word(pdo, 0x01B7C100, 0x0000); in hpi6000_adapter_boot_load_dsp() [all …]
|
| /Linux-v5.10/include/linux/usb/ |
| D | pd.h | 294 static inline enum pd_pdo_type pdo_type(u32 pdo) in pdo_type() argument 296 return (pdo >> PDO_TYPE_SHIFT) & PDO_TYPE_MASK; in pdo_type() 299 static inline unsigned int pdo_fixed_voltage(u32 pdo) in pdo_fixed_voltage() argument 301 return ((pdo >> PDO_FIXED_VOLT_SHIFT) & PDO_VOLT_MASK) * 50; in pdo_fixed_voltage() 304 static inline unsigned int pdo_min_voltage(u32 pdo) in pdo_min_voltage() argument 306 return ((pdo >> PDO_VAR_MIN_VOLT_SHIFT) & PDO_VOLT_MASK) * 50; in pdo_min_voltage() 309 static inline unsigned int pdo_max_voltage(u32 pdo) in pdo_max_voltage() argument 311 return ((pdo >> PDO_VAR_MAX_VOLT_SHIFT) & PDO_VOLT_MASK) * 50; in pdo_max_voltage() 314 static inline unsigned int pdo_max_current(u32 pdo) in pdo_max_current() argument 316 return ((pdo >> PDO_VAR_MAX_CURR_SHIFT) & PDO_CURR_MASK) * 10; in pdo_max_current() [all …]
|
| /Linux-v5.10/drivers/usb/typec/ucsi/ |
| D | psy.c | 45 u32 pdo; in ucsi_psy_get_voltage_min() local 49 pdo = con->src_pdos[0]; in ucsi_psy_get_voltage_min() 50 val->intval = pdo_fixed_voltage(pdo) * 1000; in ucsi_psy_get_voltage_min() 68 u32 pdo; in ucsi_psy_get_voltage_max() local 73 pdo = con->src_pdos[con->num_pdos - 1]; in ucsi_psy_get_voltage_max() 74 val->intval = pdo_fixed_voltage(pdo) * 1000; in ucsi_psy_get_voltage_max() 96 u32 pdo; in ucsi_psy_get_voltage_now() local 102 pdo = con->src_pdos[index - 1]; in ucsi_psy_get_voltage_now() 103 val->intval = pdo_fixed_voltage(pdo) * 1000; in ucsi_psy_get_voltage_now() 124 u32 pdo; in ucsi_psy_get_current_max() local [all …]
|
| /Linux-v5.10/net/sunrpc/ |
| D | rpc_pipe.c | 876 void rpc_init_pipe_dir_object(struct rpc_pipe_dir_object *pdo, in rpc_init_pipe_dir_object() argument 880 INIT_LIST_HEAD(&pdo->pdo_head); in rpc_init_pipe_dir_object() 881 pdo->pdo_ops = pdo_ops; in rpc_init_pipe_dir_object() 882 pdo->pdo_data = pdo_data; in rpc_init_pipe_dir_object() 889 struct rpc_pipe_dir_object *pdo) in rpc_add_pipe_dir_object_locked() argument 894 ret = pdo->pdo_ops->create(pdh->pdh_dentry, pdo); in rpc_add_pipe_dir_object_locked() 896 list_add_tail(&pdo->pdo_head, &pdh->pdh_entries); in rpc_add_pipe_dir_object_locked() 903 struct rpc_pipe_dir_object *pdo) in rpc_remove_pipe_dir_object_locked() argument 906 pdo->pdo_ops->destroy(pdh->pdh_dentry, pdo); in rpc_remove_pipe_dir_object_locked() 907 list_del_init(&pdo->pdo_head); in rpc_remove_pipe_dir_object_locked() [all …]
|
| /Linux-v5.10/include/linux/sunrpc/ |
| D | rpc_pipe_fs.h | 22 struct rpc_pipe_dir_object *pdo); 24 struct rpc_pipe_dir_object *pdo); 100 extern void rpc_init_pipe_dir_object(struct rpc_pipe_dir_object *pdo, 105 struct rpc_pipe_dir_object *pdo); 108 struct rpc_pipe_dir_object *pdo);
|
| /Linux-v5.10/drivers/usb/typec/tcpm/ |
| D | tcpm.c | 546 u32 pdo = port->source_caps[i]; in tcpm_log_source_caps() local 547 enum pd_pdo_type type = pdo_type(pdo); in tcpm_log_source_caps() 554 pdo_fixed_voltage(pdo), in tcpm_log_source_caps() 555 pdo_max_current(pdo), in tcpm_log_source_caps() 556 (pdo & PDO_FIXED_DUAL_ROLE) ? in tcpm_log_source_caps() 558 (pdo & PDO_FIXED_SUSPEND) ? in tcpm_log_source_caps() 560 (pdo & PDO_FIXED_HIGHER_CAP) ? in tcpm_log_source_caps() 562 (pdo & PDO_FIXED_USB_COMM) ? in tcpm_log_source_caps() 564 (pdo & PDO_FIXED_DATA_SWAP) ? in tcpm_log_source_caps() 566 (pdo & PDO_FIXED_EXTPOWER) ? in tcpm_log_source_caps() [all …]
|
| /Linux-v5.10/drivers/hwmon/ |
| D | ntc_thermistor.c | 449 u64 n, puo, pdo; in get_ohm_of_thermistor() local 451 pdo = pdata->pulldown_ohm; in get_ohm_of_thermistor() 461 n = div_u64(pdo * (puv - uv), uv); in get_ohm_of_thermistor() 462 else if (pdata->connect == NTC_CONNECTED_GROUND && pdo == 0) in get_ohm_of_thermistor() 465 n = div64_u64_safe(pdo * puo * (puv - uv), in get_ohm_of_thermistor() 466 puo * uv - pdo * (puv - uv)); in get_ohm_of_thermistor() 468 n = div64_u64_safe(pdo * puo * uv, pdo * (puv - uv) - puo * uv); in get_ohm_of_thermistor()
|
| /Linux-v5.10/net/sunrpc/auth_gss/ |
| D | auth_gss.c | 60 struct rpc_pipe_dir_object pdo; member 883 struct rpc_pipe_dir_object *pdo) in gss_pipe_dentry_destroy() argument 885 struct gss_pipe *gss_pipe = pdo->pdo_data; in gss_pipe_dentry_destroy() 895 struct rpc_pipe_dir_object *pdo) in gss_pipe_dentry_create() argument 897 struct gss_pipe *p = pdo->pdo_data; in gss_pipe_dentry_create() 930 rpc_init_pipe_dir_object(&p->pdo, in gss_pipe_alloc() 946 static int gss_pipe_match_pdo(struct rpc_pipe_dir_object *pdo, void *data) in gss_pipe_match_pdo() argument 951 if (pdo->pdo_ops != &gss_pipe_dir_object_ops) in gss_pipe_match_pdo() 953 gss_pipe = container_of(pdo, struct gss_pipe, pdo); in gss_pipe_match_pdo() 968 return &gss_pipe->pdo; in gss_pipe_alloc_pdo() [all …]
|
| /Linux-v5.10/include/linux/ |
| D | nvme-tcp.h | 67 __u8 pdo; member
|
| /Linux-v5.10/fs/nfs/ |
| D | nfs4idmap.c | 424 struct rpc_pipe_dir_object *pdo) in nfs_idmap_pipe_destroy() argument 426 struct idmap *idmap = pdo->pdo_data; in nfs_idmap_pipe_destroy() 436 struct rpc_pipe_dir_object *pdo) in nfs_idmap_pipe_create() argument 438 struct idmap *idmap = pdo->pdo_data; in nfs_idmap_pipe_create()
|
| /Linux-v5.10/drivers/nvme/target/ |
| D | tcp.c | 403 pdu->hdr.pdo = pdu->hdr.hlen + hdgst; in nvmet_setup_c2h_data_pdu() 434 pdu->hdr.pdo = 0; in nvmet_setup_r2t_pdu() 459 pdu->hdr.pdo = 0; in nvmet_setup_response_pdu() 823 icresp->hdr.pdo = 0; in nvmet_tcp_handle_icreq()
|
| /Linux-v5.10/drivers/nvme/host/ |
| D | tcp.c | 584 data->hdr.pdo = data->hdr.hlen + hdgst; in nvme_tcp_setup_h2c_data_pdu() 1235 icreq->hdr.pdo = 0; in nvme_tcp_init_connection() 2271 pdu->hdr.pdo = req->pdu_len ? pdu->hdr.hlen + hdgst : 0; in nvme_tcp_setup_cmd_pdu()
|