/openbmc/u-boot/board/work-microwave/work_92105/ |
H A D | work_92105_display.c | 90 uint8_t dout[2]; in max6957aax_write() local 92 dout[0] = reg; in max6957aax_write() 93 dout[1] = value; in max6957aax_write() 96 spi_xfer(slave, 16, dout, dout, SPI_XFER_BEGIN | SPI_XFER_END); in max6957aax_write() 112 uint8_t dout[2], din[2]; in max6957aax_read() local 115 dout[0] = reg | 0x80; /* set bit 7 to indicate read */ in max6957aax_read() 116 dout[1] = 0; in max6957aax_read() 119 spi_xfer(slave, 16, dout, dout, SPI_XFER_BEGIN | SPI_XFER_END); in max6957aax_read()
|
/openbmc/u-boot/drivers/misc/ |
H A D | cros_ec_i2c.c | 56 (struct ec_host_request_i2c *)dev->dout; in cros_ec_i2c_packet() 69 i2c_msg[0].buf = dev->dout; in cros_ec_i2c_packet() 72 memmove(&ec_request_i2c->ec_request, dev->dout, out_bytes); in cros_ec_i2c_packet() 110 int cmd_version, const uint8_t *dout, in cros_ec_i2c_command() argument 129 if (out_bytes > sizeof(dev->dout)) { in cros_ec_i2c_command() 142 i2c_msg[0].buf = dev->dout; in cros_ec_i2c_command() 149 ptr = dev->dout; in cros_ec_i2c_command() 171 memcpy(ptr, dout, dout_len); in cros_ec_i2c_command() 175 cros_ec_calc_checksum(dev->dout, dout_len + 3); in cros_ec_i2c_command() 183 cros_ec_dump_data("out", -1, dev->dout, out_bytes); in cros_ec_i2c_command()
|
/openbmc/linux/drivers/clk/ |
H A D | clk-axi-clkgen.c | 132 unsigned long f, dout, best_f, fvco; in axi_clkgen_calc_params() local 161 dout = DIV_ROUND_CLOSEST(fvco, fout); in axi_clkgen_calc_params() 162 dout = clamp_t(unsigned long, dout, 1, 128 << fract_shift); in axi_clkgen_calc_params() 163 f = fvco / dout; in axi_clkgen_calc_params() 168 *best_dout = dout << (3 - fract_shift); in axi_clkgen_calc_params() 342 unsigned int d, m, dout; in axi_clkgen_set_rate() local 351 axi_clkgen_calc_params(limits, parent_rate, rate, &d, &m, &dout); in axi_clkgen_set_rate() 353 if (d == 0 || dout == 0 || m == 0) in axi_clkgen_set_rate() 356 if ((dout & 0x7) != 0 || (m & 0x7) != 0) in axi_clkgen_set_rate() 364 axi_clkgen_calc_clk_params(dout >> 3, dout & 0x7, ¶ms); in axi_clkgen_set_rate() [all …]
|
/openbmc/u-boot/drivers/spi/ |
H A D | mvebu_a3700_spi.c | 32 u32 dout; /* 0x10608 */ member 80 const void *dout, void *din) in spi_legacy_shift_byte() argument 91 dout_8 = dout; in spi_legacy_shift_byte() 102 if (dout) in spi_legacy_shift_byte() 108 writel(pending_dout, ®->dout); in spi_legacy_shift_byte() 122 if (dout) in spi_legacy_shift_byte() 134 const void *dout, void *din, unsigned long flags) in mvebu_spi_xfer() argument 144 if (dout && din) in mvebu_spi_xfer() 154 if (dout || din) { in mvebu_spi_xfer() 155 ret = spi_legacy_shift_byte(reg, bytelen, dout, din); in mvebu_spi_xfer()
|
H A D | mxc_spi.c | 219 const u8 *dout, u8 *din, unsigned long flags) in spi_xchg_single() argument 228 __func__, bitlen, (ulong)dout, (ulong)din); in spi_xchg_single() 250 if (dout) { in spi_xchg_single() 252 data = (data << 8) | (*dout++ & 0xFF); in spi_xchg_single() 265 if (dout) { in spi_xchg_single() 267 if ((unsigned long)dout & 0x03) { in spi_xchg_single() 270 data = (data << 8) | (*dout++ & 0xFF); in spi_xchg_single() 272 data = *(u32 *)dout; in spi_xchg_single() 274 dout += 4; in spi_xchg_single() 334 unsigned int bitlen, const void *dout, in mxc_spi_xfer_internal() argument [all …]
|
H A D | kirkwood_spi.c | 32 const void *dout, void *din, unsigned long flags) in _spi_xfer() argument 37 debug("spi_xfer: dout %p din %p bitlen %u\n", dout, din, bitlen); in _spi_xfer() 53 if (dout) in _spi_xfer() 54 tmpdout = *(u32 *)dout & 0xff; in _spi_xfer() 57 writel(tmpdout, ®->dout); /* Write the data out */ in _spi_xfer() 77 if (dout) in _spi_xfer() 78 dout += 1; in _spi_xfer() 236 const void *dout, void *din, unsigned long flags) in spi_xfer() argument 238 return _spi_xfer(spireg, bitlen, dout, din, flags); in spi_xfer() 333 const void *dout, void *din, unsigned long flags) in mvebu_spi_xfer() argument [all …]
|
H A D | atcspi200_spi.c | 89 u8 *dout; member 151 if(ns->dout) in __atcspi200_spi_start() 177 static void __nspi_espi_tx(struct nds_spi_slave *ns, const void *dout) in __nspi_espi_tx() argument 179 ns->regs->data = *(u8 *)dout; in __nspi_espi_tx() 194 const void *dout = NULL; in __atcspi200_spi_xfer() local 218 ns->dout = (u8 *)data_out; in __atcspi200_spi_xfer() 224 ns->dout = 0; in __atcspi200_spi_xfer() 238 dout = data_out; in __atcspi200_spi_xfer() 251 __nspi_espi_tx(ns, dout); in __atcspi200_spi_xfer() 253 dout += CHUNK_SIZE; in __atcspi200_spi_xfer() [all …]
|
H A D | sh_qspi.c | 147 const void *dout, void *din, unsigned long flags) in sh_qspi_xfer_common() argument 155 if (dout == NULL && din == NULL) { in sh_qspi_xfer_common() 178 if (dout != NULL) in sh_qspi_xfer_common() 179 tdata = (u8 *)dout; in sh_qspi_xfer_common() 201 if (dout != NULL) in sh_qspi_xfer_common() 289 const void *dout, void *din, unsigned long flags) in spi_xfer() argument 293 return sh_qspi_xfer_common(ss, bitlen, dout, din, flags); in spi_xfer() 301 const void *dout, void *din, unsigned long flags) in sh_qspi_xfer() argument 306 return sh_qspi_xfer_common(ss, bitlen, dout, din, flags); in sh_qspi_xfer()
|
/openbmc/linux/net/ceph/ |
H A D | msgpool.c | 20 dout("msgpool_alloc %s failed\n", pool->name); in msgpool_alloc() 22 dout("msgpool_alloc %s %p\n", pool->name, msg); in msgpool_alloc() 33 dout("msgpool_release %s %p\n", pool->name, msg); in msgpool_free() 42 dout("msgpool %s init\n", name); in ceph_msgpool_init() 55 dout("msgpool %s destroy\n", pool->name); in ceph_msgpool_destroy() 77 dout("msgpool_get %s %p\n", pool->name, msg); in ceph_msgpool_get() 83 dout("msgpool_put %s %p\n", pool->name, msg); in ceph_msgpool_put()
|
H A D | messenger.c | 287 dout("%s con %p sock %d -> %d\n", __func__, con, old_state, in con_sock_state_init() 298 dout("%s con %p sock %d -> %d\n", __func__, con, old_state, in con_sock_state_connecting() 309 dout("%s con %p sock %d -> %d\n", __func__, con, old_state, in con_sock_state_connected() 322 dout("%s con %p sock %d -> %d\n", __func__, con, old_state, in con_sock_state_closing() 336 dout("%s con %p sock %d -> %d\n", __func__, con, old_state, in con_sock_state_closed() 356 dout("%s %p state = %d, queueing work\n", __func__, in ceph_sock_data_ready() 376 dout("%s %p queueing write work\n", __func__, con); in ceph_sock_write_space() 381 dout("%s %p nothing to write\n", __func__, con); in ceph_sock_write_space() 390 dout("%s %p state = %d sk_state = %u\n", __func__, in ceph_sock_state_change() 395 dout("%s TCP_CLOSE\n", __func__); in ceph_sock_state_change() [all …]
|
H A D | auth_x.c | 31 dout("%s want 0x%x have 0x%x missing 0x%x -> %d\n", __func__, in ceph_x_is_authenticated() 42 dout("%s want 0x%x have 0x%x need 0x%x -> %d\n", __func__, in ceph_x_should_authenticate() 152 dout("remove_ticket_handler %p %d\n", th, th->service); in remove_ticket_handler() 183 dout(" ticket type %d %s\n", type, ceph_entity_type_name(type)); in process_one_ticket() 200 dout(" decrypted %d bytes\n", ret); in process_one_ticket() 216 dout(" expires=%llu renew_after=%llu\n", new_expires, in process_one_ticket() 227 dout(" encrypted ticket, decrypted %d bytes\n", ret); in process_one_ticket() 236 dout(" ticket blob is %d bytes\n", dlen); in process_one_ticket() 257 dout(" got ticket service %d (%s) secret_id %lld len %d\n", in process_one_ticket() 283 dout("%d tickets\n", num); in ceph_x_proc_ticket_reply() [all …]
|
H A D | messenger_v1.c | 178 dout("prepare_write_message_footer %p\n", con); in prepare_write_message_footer() 216 dout("prepare_write_message %p seq %lld type %d len %d+%d+%zd\n", in prepare_write_message() 246 dout("%s front_crc %u middle_crc %u\n", __func__, in prepare_write_message() 269 dout("prepare_write_ack %p %llu -> %llu\n", con, in prepare_write_ack() 290 dout("prepare_write_seq %p %llu -> %llu\n", con, in prepare_write_seq() 308 dout("prepare_write_keepalive %p\n", con); in prepare_write_keepalive() 396 dout("prepare_write_connect %p cseq=%d gseq=%d proto=%d\n", con, in prepare_write_connect() 425 dout("write_partial_kvec %p %d left\n", con, con->v1.out_kvec_bytes); in write_partial_kvec() 453 dout("write_partial_kvec %p %d left in %d kvecs ret = %d\n", con, in write_partial_kvec() 472 dout("%s %p msg %p\n", __func__, con, msg); in write_partial_message_data() [all …]
|
H A D | mon_client.c | 89 dout("%s struct_v %d\n", __func__, struct_v); in ceph_monmap_decode() 115 dout("%s fsid %pU epoch %u num_mon %d\n", __func__, &fsid, epoch, in ceph_monmap_decode() 144 dout("%s mon%d addr %s\n", __func__, i, in ceph_monmap_decode() 190 dout("__close_session closing mon%d\n", monc->cur_mon); in __close_session() 232 dout("%s mon%d -> mon%d out of %d mons\n", __func__, old_mon, in pick_new_mon() 255 dout("%s opening mon%d\n", __func__, monc->cur_mon); in __open_session() 301 dout("%s hunt_mult now %d\n", __func__, monc->hunt_mult); in un_backoff() 316 dout("__schedule_delayed after %lu\n", delay); in __schedule_delayed() 340 dout("%s sent %lu\n", __func__, monc->sub_renew_sent); in __send_subscribe() 367 dout("%s %s start %llu flags 0x%x\n", __func__, buf, in __send_subscribe() [all …]
|
H A D | messenger_v2.c | 113 dout("%s con %p %s %zu\n", __func__, con, in ceph_tcp_recv() 117 dout("%s con %p ret %d left %zu\n", __func__, con, ret, in ceph_tcp_recv() 200 dout("%s con %p have %zu try_sendpage %d\n", __func__, con, in ceph_tcp_send() 206 dout("%s con %p ret %d left %zu\n", __func__, con, ret, in ceph_tcp_send() 244 dout("%s con %p len %d\n", __func__, con, len); in set_in_skip() 299 dout("%s con %p len %d\n", __func__, con, len); in out_zero_add() 307 dout("%s con %p len %d\n", __func__, con, len); in alloc_conn_buf() 681 dout("%s con %p msg %p crcs %u %u %u\n", __func__, con, con->in_msg, in verify_epilogue_crcs() 710 dout("%s con %p con_mode %d session_key_len %d con_secret_len %d\n", in setup_crypto() 805 dout("%s con %p hmac_tfm %p kvec_cnt %d\n", __func__, con, in hmac_sha256() [all …]
|
H A D | osd_client.c | 115 dout(" skipping last %llu, final file extent %llu~%llu\n", in calc_layout() 119 dout("calc_layout objnum=%llx %llu~%llu\n", *objnum, *objoff, *objlen); in calc_layout() 512 dout("%s %p (r_request %p r_reply %p)\n", __func__, req, in ceph_osdc_release_request() 537 dout("%s %p (was %d)\n", __func__, req, in ceph_osdc_get_request() 546 dout("%s %p (was %d)\n", __func__, req, in ceph_osdc_put_request() 594 dout("%s req %p\n", __func__, req); in ceph_osdc_alloc_request() 1306 dout("get_osd %p %d -> %d\n", osd, refcount_read(&osd->o_ref)-1, in get_osd() 1310 dout("get_osd %p FAIL\n", osd); in get_osd() 1317 dout("put_osd %p %d -> %d\n", osd, refcount_read(&osd->o_ref), in put_osd() 1331 dout("%s osd %p osd%d\n", __func__, osd, osd->o_osd); in DEFINE_RB_FUNCS() [all …]
|
/openbmc/linux/fs/ceph/ |
H A D | inode.c | 148 dout("No inode found for %llx.%llx\n", vino.ino, vino.snap); in ceph_get_inode() 152 dout("get_inode on %llu=%llx.%llx got %p new %d\n", ceph_present_inode(inode), in ceph_get_inode() 206 dout("Failed to alloc snapdir fscrypt_auth\n"); in ceph_get_snapdir() 282 dout("get_or_create_frag added %llx.%llx frag %x\n", in __get_or_create_frag() 339 dout("choose_frag(%x) %x splits by %d (%d ways)\n", v, t, in __ceph_choose_frag() 350 dout("choose_frag(%x) = %x\n", v, t); in __ceph_choose_frag() 398 dout("fill_dirfrag removed %llx.%llx frag %x" in ceph_fill_dirfrag() 404 dout("fill_dirfrag cleared %llx.%llx frag %x" in ceph_fill_dirfrag() 428 dout("fill_dirfrag %llx.%llx frag %x ndist=%d\n", in ceph_fill_dirfrag() 492 dout("fill_fragtree %llx.%llx\n", ceph_vinop(inode)); in ceph_fill_fragtree() [all …]
|
H A D | addr.c | 87 dout("%p dirty_folio %p idx %lu -- already dirty\n", in ceph_dirty_folio() 113 dout("%p dirty_folio %p idx %lu head %d/%d -> %d/%d " in ceph_dirty_folio() 147 dout("%p invalidate_folio idx %lu partial dirty page %zu~%zu\n", in ceph_invalidate_folio() 154 dout("%p invalidate_folio idx %lu full dirty page\n", in ceph_invalidate_folio() 169 dout("%llx:%llx release_folio idx %lu (%sdirty)\n", in ceph_release_folio() 256 dout("%s: result %d subreq->len=%zu i_size=%lld\n", __func__, req->r_result, in finish_netfs_read() 387 dout("%s: pos=%llu orig_len=%zu len=%llu\n", __func__, subreq->start, subreq->len, len); in ceph_netfs_issue_read() 404 dout("%s: iov_ter_get_pages_alloc returned %d\n", in ceph_netfs_issue_read() 433 dout("%s: result %d\n", __func__, err); in ceph_netfs_issue_read() 470 dout("start_read %p, error getting cap\n", inode); in ceph_init_request() [all …]
|
H A D | super.c | 49 dout("put_super\n"); in ceph_put_super() 68 dout("statfs\n"); in ceph_statfs() 124 dout("sync_fs (non-blocking)\n"); in ceph_sync_fs() 126 dout("sync_fs (non-blocking) done\n"); in ceph_sync_fs() 130 dout("sync_fs (blocking)\n"); in ceph_sync_fs() 133 dout("sync_fs (blocking) done\n"); in ceph_sync_fs() 290 dout("separator '=' missing in source"); in ceph_parse_new_source() 302 dout("using %s entity name", opts->name); in ceph_parse_new_source() 321 dout("file system (mds namespace) '%s'\n", fsopt->mds_namespace); in ceph_parse_new_source() 352 dout("%s '%s'\n", __func__, dev_name); in ceph_parse_source() [all …]
|
H A D | snap.c | 141 dout("%s %llx %p\n", __func__, realm->ino, realm); in ceph_create_snap_realm() 165 dout("%s %llx %p\n", __func__, r->ino, r); in __lookup_snap_realm() 193 dout("%s %p %llx\n", __func__, realm, realm->ino); in __destroy_snap_realm() 306 dout("%s %llx %p: %llx %p -> %llx %p\n", __func__, realm->ino, in adjust_snap_realm_parent() 364 dout("%s %llx %p: %p seq %lld (%u snaps) (unchanged)\n", in build_snap_context() 404 dout("%s %llx %p: %p seq %lld (%u snaps)\n", __func__, realm->ino, in build_snap_context() 458 dout("%s %llx %p, %s\n", __func__, _realm->ino, _realm, in rebuild_snap_realms() 554 dout("%s %p %llx.%llx already pending\n", in ceph_queue_cap_snap() 560 dout("%s %p %llx.%llx nothing dirty|writing\n", in ceph_queue_cap_snap() 581 dout("%s %p %llx.%llx no new_snap|dirty_page|writing\n", in ceph_queue_cap_snap() [all …]
|
H A D | caps.c | 189 dout("%s: caps %d = %d used + %d resv + %d avail\n", in __ceph_unreserve_caps() 215 dout("reserve caps ctx=%p need=%d\n", ctx, need); in ceph_reserve_caps() 301 dout("reserve caps ctx=%p %d = %d used + %d resv + %d avail\n", in ceph_reserve_caps() 314 dout("unreserve caps ctx=%p count=%d\n", ctx, ctx->count); in ceph_unreserve_caps() 362 dout("get_cap ctx=%p (%d) %d = %d used + %d resv + %d avail\n", in ceph_get_cap() 386 dout("put_cap %p %d = %d used + %d resv + %d avail\n", in ceph_put_cap() 497 dout("__cap_set_timeouts %p %lu\n", &ci->netfs.inode, in __cap_set_timeouts() 512 dout("__cap_delay_requeue %p flags 0x%lx at %lu\n", &ci->netfs.inode, in __cap_delay_requeue() 536 dout("__cap_delay_requeue_front %p\n", &ci->netfs.inode); in __cap_delay_requeue_front() 553 dout("__cap_delay_cancel %p\n", &ci->netfs.inode); in __cap_delay_cancel() [all …]
|
H A D | mds_client.c | 457 dout("parsed dir dname '%.*s'\n", _name_len, _name); in parse_reply_info_readdir() 576 dout("got %u sets of delegated inodes\n", sets); in ceph_parse_deleg_inos() 594 dout("added delegated inode 0x%llx\n", in ceph_parse_deleg_inos() 875 dout("%s dentry %p:%pd conflict with old %p:%pd\n", __func__, in ceph_wait_on_conflict_unlink() 976 dout("%s: realloc to %d\n", __func__, newmax); in register_session() 989 dout("%s: mds%d\n", __func__, mds); in register_session() 1032 dout("__unregister_session mds%d %p\n", s->s_mds, s); in __unregister_session() 1172 dout("__register_request %p tid %lld\n", req, req->r_tid); in __register_request() 1195 dout("__unregister_request %p tid %lld\n", req, req->r_tid); in __unregister_request() 1292 dout("%s using resend_mds mds%d\n", __func__, in __choose_mds() [all …]
|
H A D | file.c | 51 dout("unused open flags: %x\n", flags); in ceph_flags_sys2wire() 207 dout("%s %p %p 0%o (%s)\n", __func__, inode, file, in ceph_init_file_info() 274 dout("init_file %p %p 0%o (symlink)\n", inode, file, in ceph_init_file() 279 dout("init_file %p %p 0%o (special)\n", inode, file, in ceph_init_file() 310 dout("renew caps %p want %s issued %s updating mds_wanted\n", in ceph_renew_caps() 342 dout("renew caps %p open result=%d\n", inode, err); in ceph_renew_caps() 363 dout("open file %p is already opened\n", file); in ceph_open() 377 dout("open inode %p ino %llx.%llx file %p flags %d (%d)\n", inode, in ceph_open() 402 dout("open %p fmode %d want %s issued %s using existing\n", in ceph_open() 424 dout("open fmode %d wants %s\n", fmode, ceph_cap_string(wanted)); in ceph_open() [all …]
|
/openbmc/u-boot/include/ |
H A D | spi.h | 248 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, 303 unsigned char dout[2]; in spi_w8r8() local 307 dout[0] = byte; in spi_w8r8() 308 dout[1] = 0; in spi_w8r8() 310 ret = spi_xfer(slave, 16, dout, din, SPI_XFER_BEGIN | SPI_XFER_END); in spi_w8r8() 397 int (*xfer)(struct udevice *dev, unsigned int bitlen, const void *dout, 476 const void *dout, void *din, unsigned long flags); 633 const void *dout, void *din, unsigned long flags);
|
/openbmc/linux/drivers/siox/ |
H A D | siox-bus-gpio.c | 19 struct gpio_desc *dout; member 37 gpiod_set_value_cansleep(ddata->dout, 0); in siox_gpio_pushpull() 57 gpiod_set_value_cansleep(ddata->dout, !(set & 0x80)); in siox_gpio_pushpull() 82 gpiod_set_value_cansleep(ddata->dout, 0); in siox_gpio_pushpull() 110 ddata->dout = devm_gpiod_get(dev, "dout", GPIOD_OUT_LOW); in siox_gpio_probe() 111 if (IS_ERR(ddata->dout)) { in siox_gpio_probe() 112 ret = dev_err_probe(dev, PTR_ERR(ddata->dout), in siox_gpio_probe()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | display_mode_lib.c | 169 display_output_params_st *dout; in dml_log_pipe_params() local 178 dout = &(pipes[i].dout); in dml_log_pipe_params() 265 dml_print("DML PARAMS: output_type = %d\n", dout->output_type); in dml_log_pipe_params() 266 dml_print("DML PARAMS: output_format = %d\n", dout->output_format); in dml_log_pipe_params() 267 dml_print("DML PARAMS: dsc_input_bpc = %d\n", dout->dsc_input_bpc); in dml_log_pipe_params() 268 dml_print("DML PARAMS: output_bpp = %3.4f\n", dout->output_bpp); in dml_log_pipe_params() 269 dml_print("DML PARAMS: dp_lanes = %d\n", dout->dp_lanes); in dml_log_pipe_params() 270 dml_print("DML PARAMS: dsc_enable = %d\n", dout->dsc_enable); in dml_log_pipe_params() 271 dml_print("DML PARAMS: dsc_slices = %d\n", dout->dsc_slices); in dml_log_pipe_params() 272 dml_print("DML PARAMS: wb_enable = %d\n", dout->wb_enable); in dml_log_pipe_params() [all …]
|