Home
last modified time | relevance | path

Searched full:dout (Results 1 – 25 of 237) sorted by relevance

12345678910

/openbmc/linux/drivers/siox/
H A Dsiox-bus-gpio.c19 struct gpio_desc *dout; member
37 gpiod_set_value_cansleep(ddata->dout, 0); in siox_gpio_pushpull()
56 /* DOUT is logically inverted */ in siox_gpio_pushpull()
57 gpiod_set_value_cansleep(ddata->dout, !(set & 0x80)); in siox_gpio_pushpull()
76 * Resetting dout isn't necessary protocol wise, but it makes the in siox_gpio_pushpull()
77 * signals more pretty because the dout level is deterministic between in siox_gpio_pushpull()
78 * cycles. Note that this only affects dout between the master and the in siox_gpio_pushpull()
79 * first siox device. dout for the later devices depend on the output of 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()
[all …]
/openbmc/u-boot/drivers/spi/
H A Dmvebu_a3700_spi.c32 u32 dout; /* 0x10608 */ member
54 * @dout: Buffer address of what to send.
58 * will shift out char buffer from @dout, and shift in char buffer to
69 * If @dout == NULL, which means no actual data needs to be sent out,
80 const void *dout, void *din) in spi_legacy_shift_byte() argument
86 /* Use 0x00 as dummy dout */ in spi_legacy_shift_byte()
90 /* dout_8: pointer of current dout */ in spi_legacy_shift_byte()
91 dout_8 = dout; in spi_legacy_shift_byte()
102 if (dout) in spi_legacy_shift_byte()
108 writel(pending_dout, &reg->dout); in spi_legacy_shift_byte()
[all …]
H A Dmxc_spi.c219 const u8 *dout, u8 *din, unsigned long flags) in spi_xchg_single() argument
227 debug("%s: bitlen %d dout 0x%lx din 0x%lx\n", in spi_xchg_single()
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()
[all …]
H A Dmeson_spifc.c128 * @dout: data buffer for TX
137 const u8 *dout, u8 *din, int offset, in meson_spifc_txrx() argument
144 if (dout) in meson_spifc_txrx()
145 meson_spifc_fill_buffer(spifc, dout + offset, len); in meson_spifc_txrx()
147 /* enable DOUT stage */ in meson_spifc_txrx()
153 /* enable data input during DOUT */ in meson_spifc_txrx()
183 * @dout: data buffer for TX
189 const void *dout, void *din, unsigned long flags) in meson_spifc_xfer() argument
198 debug("xfer len %d (%d) dout %p din %p\n", bitlen, blen, dout, din); in meson_spifc_xfer()
204 ret = meson_spifc_txrx(spifc, dout, din, done, len, in meson_spifc_xfer()
H A Datcspi200_spi.c89 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 Dkirkwood_spi.c32 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, &reg->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 Dsh_qspi.c147 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 Dauth_x.c31 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 Dmsgpool.c20 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 Dmessenger.c287 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 Dmessenger_v1.c178 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 Dmon_client.c89 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 Dmessenger_v2.c113 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 …]
/openbmc/linux/drivers/clk/
H A Dclk-axi-clkgen.c132 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, &params); in axi_clkgen_set_rate()
[all …]
/openbmc/linux/fs/ceph/
H A Daddr.c87 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 Dinode.c148 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 Dsuper.c49 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 Dsnap.c141 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 Dcaps.c189 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 Dfile.c51 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/board/work-microwave/work_92105/
H A Dwork_92105_display.c90 uint8_t dout[2]; in max6957aax_write() local
92 dout[0] = reg; in max6957aax_write()
93 dout[1] = value; in max6957aax_write()
95 /* do SPI read/write (passing din==dout is OK) */ 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()
118 /* do SPI read/write (passing din==dout is OK) */ in max6957aax_read()
119 spi_xfer(slave, 16, dout, dout, SPI_XFER_BEGIN | SPI_XFER_END); in max6957aax_read()
[all …]
/openbmc/u-boot/drivers/misc/
H A Dcros_ec_i2c.c56 (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/u-boot/cmd/
H A Dspi.c32 static uchar dout[MAX_SPI_BYTES]; variable
63 ret = spi_xfer(slave, bitlen, dout, din, in do_spi_xfer()
92 * spi {dev} {num_bits} {dout}
95 * {dout} is a hexadecimal string of data to send
139 dout[j / 2] = (tmp << 4); in do_spi()
141 dout[j / 2] |= tmp; in do_spi()
162 "[<bus>:]<cs>[.<mode>] <bit_len> <dout> - Send and receive bits\n"
167 "<dout> - Hexadecimal string that gets sent"
/openbmc/linux/Documentation/devicetree/bindings/misc/
H A Dxlnx,sd-fec.txt19 - "m_axis_dout_aclk", DOUT AXI4-Stream Master interface clock (optional)
34 - xlnx,sdfec-dout-words : A value 0 indicates that the DOUT_WORDS interface is
38 - xlnx,sdfec-dout-width : Configures the DOUT AXI stream where a value of 1
56 xlnx,sdfec-dout-words = <0>;
57 xlnx,sdfec-dout-width = <1>;
/openbmc/u-boot/include/
H A Dspi.h232 * The source of the outgoing bits is the "dout" parameter and the
233 * destination of the input bits is the "din" parameter. Note that "dout"
241 * @dout: Pointer to a string of bits to send out. The bits are
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()
381 * The source of the outgoing bits is the "dout" parameter and the
383 * "dout" and "din" can point to the same memory location, in which
[all …]

12345678910