Home
last modified time | relevance | path

Searched refs:pdo (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/sound/pci/asihpi/
Dhpi6000.c182 static void hpi6000_send_dsp_interrupt(struct dsp_obj *pdo);
190 static void hpi_write_word(struct dsp_obj *pdo, u32 address, u32 data);
192 static u32 hpi_read_word(struct dsp_obj *pdo, u32 address);
194 static void hpi_write_block(struct dsp_obj *pdo, u32 address, u32 *pdata,
197 static void hpi_read_block(struct dsp_obj *pdo, u32 address, u32 *pdata,
722 struct dsp_obj *pdo = &phw->ado[dsp_index]; in hpi6000_adapter_boot_load_dsp() local
726 iowrite32(0x00010001, pdo->prHPI_control); in hpi6000_adapter_boot_load_dsp()
731 iowrite32(test_data, pdo->prHPI_address); in hpi6000_adapter_boot_load_dsp()
732 data = ioread32(pdo->prHPI_address); in hpi6000_adapter_boot_load_dsp()
756 hpi_write_word(pdo, 0x01B7C100, 0x0000); in hpi6000_adapter_boot_load_dsp()
[all …]
/Linux-v4.19/include/linux/usb/
Dpd.h300 static inline enum pd_pdo_type pdo_type(u32 pdo) in pdo_type() argument
302 return (pdo >> PDO_TYPE_SHIFT) & PDO_TYPE_MASK; in pdo_type()
305 static inline unsigned int pdo_fixed_voltage(u32 pdo) in pdo_fixed_voltage() argument
307 return ((pdo >> PDO_FIXED_VOLT_SHIFT) & PDO_VOLT_MASK) * 50; in pdo_fixed_voltage()
310 static inline unsigned int pdo_min_voltage(u32 pdo) in pdo_min_voltage() argument
312 return ((pdo >> PDO_VAR_MIN_VOLT_SHIFT) & PDO_VOLT_MASK) * 50; in pdo_min_voltage()
315 static inline unsigned int pdo_max_voltage(u32 pdo) in pdo_max_voltage() argument
317 return ((pdo >> PDO_VAR_MAX_VOLT_SHIFT) & PDO_VOLT_MASK) * 50; in pdo_max_voltage()
320 static inline unsigned int pdo_max_current(u32 pdo) in pdo_max_current() argument
322 return ((pdo >> PDO_VAR_MAX_CURR_SHIFT) & PDO_CURR_MASK) * 10; in pdo_max_current()
[all …]
Dtcpm.h161 int tcpm_update_source_capabilities(struct tcpm_port *port, const u32 *pdo,
163 int tcpm_update_sink_capabilities(struct tcpm_port *port, const u32 *pdo,
/Linux-v4.19/drivers/usb/typec/
Dtcpm.c494 u32 pdo = port->source_caps[i]; in tcpm_log_source_caps() local
495 enum pd_pdo_type type = pdo_type(pdo); in tcpm_log_source_caps()
502 pdo_fixed_voltage(pdo), in tcpm_log_source_caps()
503 pdo_max_current(pdo), in tcpm_log_source_caps()
504 (pdo & PDO_FIXED_DUAL_ROLE) ? in tcpm_log_source_caps()
506 (pdo & PDO_FIXED_SUSPEND) ? in tcpm_log_source_caps()
508 (pdo & PDO_FIXED_HIGHER_CAP) ? in tcpm_log_source_caps()
510 (pdo & PDO_FIXED_USB_COMM) ? in tcpm_log_source_caps()
512 (pdo & PDO_FIXED_DATA_SWAP) ? in tcpm_log_source_caps()
514 (pdo & PDO_FIXED_EXTPOWER) ? in tcpm_log_source_caps()
[all …]
/Linux-v4.19/net/sunrpc/
Drpc_pipe.c877 void rpc_init_pipe_dir_object(struct rpc_pipe_dir_object *pdo, in rpc_init_pipe_dir_object() argument
881 INIT_LIST_HEAD(&pdo->pdo_head); in rpc_init_pipe_dir_object()
882 pdo->pdo_ops = pdo_ops; in rpc_init_pipe_dir_object()
883 pdo->pdo_data = pdo_data; in rpc_init_pipe_dir_object()
890 struct rpc_pipe_dir_object *pdo) in rpc_add_pipe_dir_object_locked() argument
895 ret = pdo->pdo_ops->create(pdh->pdh_dentry, pdo); in rpc_add_pipe_dir_object_locked()
897 list_add_tail(&pdo->pdo_head, &pdh->pdh_entries); in rpc_add_pipe_dir_object_locked()
904 struct rpc_pipe_dir_object *pdo) in rpc_remove_pipe_dir_object_locked() argument
907 pdo->pdo_ops->destroy(pdh->pdh_dentry, pdo); in rpc_remove_pipe_dir_object_locked()
908 list_del_init(&pdo->pdo_head); in rpc_remove_pipe_dir_object_locked()
[all …]
/Linux-v4.19/include/linux/sunrpc/
Drpc_pipe_fs.h24 struct rpc_pipe_dir_object *pdo);
26 struct rpc_pipe_dir_object *pdo);
102 extern void rpc_init_pipe_dir_object(struct rpc_pipe_dir_object *pdo,
107 struct rpc_pipe_dir_object *pdo);
110 struct rpc_pipe_dir_object *pdo);
/Linux-v4.19/drivers/hwmon/
Dntc_thermistor.c383 u64 n, puo, pdo; in get_ohm_of_thermistor() local
385 pdo = pdata->pulldown_ohm; in get_ohm_of_thermistor()
395 n = div_u64(pdo * (puv - uv), uv); in get_ohm_of_thermistor()
396 else if (pdata->connect == NTC_CONNECTED_GROUND && pdo == 0) in get_ohm_of_thermistor()
399 n = div64_u64_safe(pdo * puo * (puv - uv), in get_ohm_of_thermistor()
400 puo * uv - pdo * (puv - uv)); in get_ohm_of_thermistor()
402 n = div64_u64_safe(pdo * puo * uv, pdo * (puv - uv) - puo * uv); in get_ohm_of_thermistor()
/Linux-v4.19/net/sunrpc/auth_gss/
Dauth_gss.c82 struct rpc_pipe_dir_object pdo; member
878 struct rpc_pipe_dir_object *pdo) in gss_pipe_dentry_destroy() argument
880 struct gss_pipe *gss_pipe = pdo->pdo_data; in gss_pipe_dentry_destroy()
890 struct rpc_pipe_dir_object *pdo) in gss_pipe_dentry_create() argument
892 struct gss_pipe *p = pdo->pdo_data; in gss_pipe_dentry_create()
925 rpc_init_pipe_dir_object(&p->pdo, in gss_pipe_alloc()
941 static int gss_pipe_match_pdo(struct rpc_pipe_dir_object *pdo, void *data) in gss_pipe_match_pdo() argument
946 if (pdo->pdo_ops != &gss_pipe_dir_object_ops) in gss_pipe_match_pdo()
948 gss_pipe = container_of(pdo, struct gss_pipe, pdo); in gss_pipe_match_pdo()
963 return &gss_pipe->pdo; in gss_pipe_alloc_pdo()
[all …]
/Linux-v4.19/fs/nfs/
Dnfs4idmap.c413 struct rpc_pipe_dir_object *pdo) in nfs_idmap_pipe_destroy() argument
415 struct idmap *idmap = pdo->pdo_data; in nfs_idmap_pipe_destroy()
425 struct rpc_pipe_dir_object *pdo) in nfs_idmap_pipe_create() argument
427 struct idmap *idmap = pdo->pdo_data; in nfs_idmap_pipe_create()